Skip to content

finos/morphir-scala / .claude/skills/squire

squire

Verified

Use when morphir-scala work needs environment diagnostics or build/network/sandbox unblocking; reference repository management; branch lifecycle refresh after squash-merging a target branch into main; Morphir IR spec/schema sync or export; or task-tracking configuration and beads mode resolution.

FileKindSize
.gitignoreother180 B
.mill-versionother19 B
README.mdmarkdown7.6 KB
SKILL.mdskill md6.7 KB
SquireBranch.scalaother6.4 KB
SquireCellar.scalaother7.4 KB
SquireChangelog.scalaother20.6 KB
SquireDoctor.scalaother13.9 KB
SquireEnv.scalaother16.2 KB
SquireModel.scalaother4.9 KB
SquireProcess.scalaother1.5 KB
SquireRepo.scalaother30.4 KB
SquireSchemas.scalaother25.2 KB
SquireSpec.scalaother35.6 KB
SquireTests.scalaother323.1 KB
SquireTracking.scalaother16.4 KB
SquireVersionCorpus.scalaother3.3 KB
millexecutablescript6.5 KB
mill.batscript9.7 KB
references/branch.mdmarkdown4.4 KB
references/cellar.mdmarkdown4.4 KB
references/doctor.mdmarkdown5.3 KB
references/env.mdmarkdown3.9 KB
references/mill-morphir.mdmarkdown1.6 KB
references/repo.mdmarkdown7.6 KB
references/spec-sync.mdmarkdown10.6 KB
references/tracking.mdmarkdown10.9 KB
squireexecutablescript1.2 KB
squire.batscript1.8 KB
squire.scalaother36.8 KB
test-resources/META-INF/services/kyo.test.Testother275 B
test-resources/schemas/morphir-ir-v4.jsonconfig107.1 KB
test-resources/schemas/morphir-ir-v4.yamlconfig74.2 KB

squire.bat

View on GitHub
@echo off
setlocal
set "SQUIRE_SKILL_DIR=%~dp0"
for /f "delims=" %%I in ('where jsonschema 2^>nul') do if not defined SQUIRE_JSONSCHEMA_BIN set "SQUIRE_JSONSCHEMA_BIN=%%I"
if not defined TEMP set "TEMP=%SQUIRE_SKILL_DIR%"

:make_exit_file
set "SQUIRE_EXIT_FILE=%TEMP%\squire-exit-%RANDOM%-%RANDOM%-%RANDOM%.tmp"
if exist "%SQUIRE_EXIT_FILE%" goto make_exit_file
type nul > "%SQUIRE_EXIT_FILE%"
if not exist "%SQUIRE_EXIT_FILE%" (
  >&2 echo ERROR [launcher]: could not create Squire exit-code handoff
  exit /b 1
)

:scan_squire_arguments
set "SQUIRE_HELP_REQUESTED=0"
:next_squire_argument
if "%1"=="" goto run_squire
if "%~1"=="--" goto run_squire
if "%~1"=="--help" set "SQUIRE_HELP_REQUESTED=1"
if "%~1"=="-h" set "SQUIRE_HELP_REQUESTED=1"
if "%~1"=="-help" set "SQUIRE_HELP_REQUESTED=1"
if "%~1"=="--usage" set "SQUIRE_HELP_REQUESTED=1"
shift
goto next_squire_argument

:run_squire
pushd "%SQUIRE_SKILL_DIR%"
call "%SQUIRE_SKILL_DIR%mill.bat" --no-server --ticker false squire.scala %*
set "SQUIRE_MILL_EXIT=%ERRORLEVEL%"
popd

if "%SQUIRE_MILL_EXIT%"=="0" if "%SQUIRE_HELP_REQUESTED%"=="1" (
  for %%F in ("%SQUIRE_EXIT_FILE%") do if %%~zF EQU 0 > "%SQUIRE_EXIT_FILE%" echo 0
)

set "SQUIRE_RECORDED_EXIT="
%SystemRoot%\System32\findstr.exe /r /x "[0-9][0-9]*" "%SQUIRE_EXIT_FILE%" >nul 2>&1
if not errorlevel 1 set /p "SQUIRE_RECORDED_EXIT="<"%SQUIRE_EXIT_FILE%"
del /q "%SQUIRE_EXIT_FILE%" >nul 2>&1
set "SQUIRE_EXIT_FILE="

if not defined SQUIRE_RECORDED_EXIT goto no_recorded_exit
set /a SQUIRE_RECORDED_EXIT=SQUIRE_RECORDED_EXIT 2>nul
if errorlevel 1 goto no_recorded_exit
if %SQUIRE_RECORDED_EXIT% GTR 255 goto no_recorded_exit
exit /b %SQUIRE_RECORDED_EXIT%

:no_recorded_exit
if not "%SQUIRE_MILL_EXIT%"=="0" exit /b %SQUIRE_MILL_EXIT%
>&2 echo ERROR [launcher]: Squire completed without a valid exit-code handoff
exit /b 1
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall