feat(kyberforge): add prompt-author skill for .apm/prompts files

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
This commit is contained in:
Defame1297andClaude Sonnet 5.5 committed 2026-10-15 16:04:33 +00:00
1 parent 59e0f3a3b8
commit 6a3fd48fbd
24 files changed
+719 -19

No files matched your search

@@ -0,0 +1,5 @@
# assets/
## templates/
- **`prompt.md`** — minimal valid `.apm/prompts/<name>.prompt.md`, copied by `scripts/new-prompt.sh`. Carries a `description`, one `input:` name and a body that uses it, marked `FILL IN:`, with the optional `allowed-tools`, `model` and `argument-hint` commented out. Field semantics are in `references/schema.md`, what each target keeps in `references/target-mapping.md`.
@@ -0,0 +1,16 @@
---
# Delete these comments once filled in; Copilot receives this file verbatim.
description: "FILL IN: one line on what this command does, shown in the command picker."
input:
- target
# FILL IN: rename or remove. input takes names only, matching
# [A-Za-z][A-Za-z0-9_-]{0,63}, no duplicates; a description beside a name is
# discarded. It becomes `arguments:` on Claude.
# Optional, uncomment only if needed. The Claude family keeps them, Gemini drops them:
# allowed-tools: Bash(git status:*) Read
# model: FILL IN
# argument-hint: "<target>" # synthesised from input: when omitted
---
FILL IN: an instruction to the model, written so it works with nothing else loaded.
Work on ${input:target}. Do not also write a literal $ARGUMENTS.