finos/morphir-scala / .claude/skills/squire
squire
VerifiedUse 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.
references/mill-morphir.md
View on GitHub# Mill Morphir workflows
Use the fast route while editing. Use the dogfood route before integration or publication work.
## Fast route
- Run plugin unit tests:
```bash
./mill --ticker false 'mill-plugins.morphir.{toolchain,javascript,elm-tooling,core,elm}.__.test'
```
The repository has no Morphir Elm projects of its own. The dogfood route below generates IR in a fresh consumer,
which exercises Mill-owned tool acquisition, project inputs, and cached generation.
## Dogfood route
Run the fresh-consumer acceptance suite:
```bash
./mill --ticker false mill-plugins.morphir.integration.test
```
The suite:
- publishes task-local SNAPSHOT plugin jars in dependency order;
- resolves them through a task-local Maven repository;
- generates IR with an unpublished source dependency;
- generates Scala, then compiles and runs it;
- proves the consumer cannot see repository source modules or metabuild classes.
CI Sonatype publication for the five plugins uses the same `MorphirMillPublishModule` surface
(`__.publishSonatypeCentral`), invoked from `ci.sonatype.*` / `ci.publish`. GitHub Actions runs
`ci.sonatype.writeMillEnv` first so Morphir `GPG_*` names become `MILL_*` in the publish mill.
Local SNAPSHOT acceptance stays authoritative; Central snapshots do not replace it.
## Diagnostics
Run `/squire doctor`. Its project check reports:
- missing plugin modules;
- broken task-local repository wiring;
- corrupt or disabled machine acquisition cache state;
- stale metabuild compilation.
Follow the reported Mill command. The machine cache is optional; disabling it changes reuse, not correctness.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |