New instructions-author skill (v0.1.0): scaffolds and revises .apm/instructions/*.instructions.md via scripts/new-instructions.sh, a minimal template, and create/improve flows.
Verification recipe (references/verify.md) uses a real apm compile --dry-run plus a throwaway-package install, because apm compile --validate always exits 0 and hides the missing-description, missing-applyTo and empty-body warnings.
Gotchas demonstrated in bats against real apm 0.28.0: Claude Code drops description; an unquoted applyTo installs with no paths: (loads in every session); compile writes no CLAUDE.md once rules are installed.
Wiring: forge routing row (+ author-routes.md, version-bump.md), one-line pointer in apm-workflow/references/compile.md, and ADR-0022 patch bumps for forge (1.0.3) and apm-workflow (1.0.2).
Research docs for the primitive (schema, target mapping, gotchas, sources) added earlier on this branch.
## Summary
- New `instructions-author` skill (v0.1.0): scaffolds and revises `.apm/instructions/*.instructions.md` via `scripts/new-instructions.sh`, a minimal template, and create/improve flows.
- Verification recipe (`references/verify.md`) uses a real `apm compile --dry-run` plus a throwaway-package install, because `apm compile --validate` always exits 0 and hides the missing-`description`, missing-`applyTo` and empty-body warnings.
- Gotchas demonstrated in bats against real apm 0.28.0: Claude Code drops `description`; an unquoted `applyTo` installs with no `paths:` (loads in every session); compile writes no `CLAUDE.md` once rules are installed.
- Wiring: `forge` routing row (+ `author-routes.md`, `version-bump.md`), one-line pointer in `apm-workflow/references/compile.md`, and ADR-0022 patch bumps for `forge` (1.0.3) and `apm-workflow` (1.0.2).
- Research docs for the primitive (schema, target mapping, gotchas, sources) added earlier on this branch.
- Versions: kyberforge 2.0.2 -> 2.1.0, catalog 0.5.2 (root `apm.yml`, `executables.allow` key, `marketplace.json`).
## Notes
- `factory-audit` has no instructions flow yet (#151), so forge's clean-context rerun is skipped for instructions files; stated in `author-routes.md`.
- `apm-workflow/references/compile.md` line 66 (empty `apm compile` exits 1) looks stale for 0.28.0; left untouched as out of scope.
## Test plan
- [x] `factory-audit` on `instructions-author`: validate, provenance and Vale clean; qualitative review resolved
- [x] `scripts/skill-size-check.sh` (ADR-0020 budgets)
- [x] `apm audit --ci` and `apm pack --check-clean`
- [x] Full bats suite: 440 tests, 0 failures
- [x] Pre-push hooks pass
Fixes #148
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
The existing schema doc covered only Claude and Copilot and called missing
description and empty content errors when apm 0.28.0 only warns. Rewrite it
with the applyTo grammar and add per-target compile/install mapping and a
gotchas doc (unquoted globs, install-vs-compile discovery, dedup and
overwrite behaviour), all verified against the apm 0.28.0 binary.
Refs: #148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
Scaffolds and revises apm instructions files, with a throwaway-package
verification recipe because `apm compile --validate` always exits 0 and
Claude Code drops `description`. Routed from forge and linked from
apm-workflow's compile reference. Bumps kyberforge to 2.1.0 and the catalog
to 0.5.2.
Fixes#148
Co-Authored-By: Claude Code <[email protected]>
Claude-Session: https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
instructions-authorskill (v0.1.0): scaffolds and revises.apm/instructions/*.instructions.mdviascripts/new-instructions.sh, a minimal template, and create/improve flows.references/verify.md) uses a realapm compile --dry-runplus a throwaway-package install, becauseapm compile --validatealways exits 0 and hides the missing-description, missing-applyToand empty-body warnings.description; an unquotedapplyToinstalls with nopaths:(loads in every session); compile writes noCLAUDE.mdonce rules are installed.forgerouting row (+author-routes.md,version-bump.md), one-line pointer inapm-workflow/references/compile.md, and ADR-0022 patch bumps forforge(1.0.3) andapm-workflow(1.0.2).apm.yml,executables.allowkey,marketplace.json).Notes
factory-audithas no instructions flow yet (#151), so forge's clean-context rerun is skipped for instructions files; stated inauthor-routes.md.apm-workflow/references/compile.mdline 66 (emptyapm compileexits 1) looks stale for 0.28.0; left untouched as out of scope.Test plan
factory-auditoninstructions-author: validate, provenance and Vale clean; qualitative review resolvedscripts/skill-size-check.sh(ADR-0020 budgets)apm audit --ciandapm pack --check-cleanFixes #148
🤖 Generated with Claude Code
https://claude.ai/code/session_01KkT7RSDwDbmrM9T34b6sTi
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.