Files
Holocron/plugins/kyberforge/.apm/skills/prompt-author/tests
Defame1297andClaude Sonnet 5.5 8381c9f395 fix(kyberforge): correct prompt-author claims found in clean-context review
Three clean-context reviewers checked the skill against apm 0.28.0. Fix what
they showed to be wrong: a failed hidden-character install still writes the
Copilot and Gemini outputs and withholds only the Claude command; a multi-key
input item turns each key into an argument. Add the symptom row, use "prompt
file" for the source concept, name the Claude slash-commands source for the
forge discriminator, drop an ambiguous Step 3 pointer and a "trim" heading
with no trim guidance, and tighten two bats assertions. CONTEXT.md now says
"a single-file command that is not a SKILL.md".

Refs #149

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
2026-10-15 16:16:27 +00:00
..

tests/

  • new-prompt.bats — covers scripts/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 with references/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