Add prompt-author, shaped like instructions-author: dispatch to create or improve, a scaffold script that also creates .apm/prompts/, a minimal template, and references on schema, per-target field survival, content and verification. Verification is a throwaway apm install because apm compile never reads prompts. Forge gains a Prompt file row and a prompt-file-or-hand-invoked-skill discriminator, and apm-workflow points at prompt-author from compile.md. Bump kyberforge to 2.2.0 and the root pin, version and marketplace. Refs #149 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
tests/
new-prompt.bats— coversscripts/new-prompt.sh: name validation, package walk-up, no-package refusal, creating.apm/prompts/, no-op on an existing file and template placeholders. It does not assert apm's behaviour; the skill's gotchas are checked by hand withreferences/verify.md.
Dependencies
The test file loads bats-support and bats-assert from the repo root's tests/test_helper/, and runs on the repo's bats submodule at tests/bats/. The first bash tests/run-bats.sh initialises the submodules.
From the repo root:
tests/bats/bin/bats plugins/kyberforge/.apm/skills/prompt-author/tests/new-prompt.bats