authoring-agent-skills
Meta-skill for creating Agent Forge skills under .claude/skills/ with SKILL.md, optional references/ and scripts/, and Bun scaffolds. Use when the user wants to add or author a skill, scaffold a new s
Files2
View on GitHubSKILL.md.claude/skills/authoring-agent-skills/SKILL.md
GitHubAuthoring Agent Forge skills
Edit .claude/skills/<name>/SKILL.md as the source. .agents/skills/ is a generated
Codex mirror; regenerate it with bun run codex:sync after changes.
Workflow
- Define the job. Identify the requested outcome, inputs, side effects, and nearby skills that could be confused with this one. Reuse the user's context; ask only for decisions that materially change the workflow.
- Write discovery metadata. Use a kebab-case directory and matching
name. Describe the capability and distinct invocation cases indescription. Preserve existing invocation policy; normal Forge skills remain discoverable. - Write the execution path. Give the agent the domain-specific decisions, commands, and evidence needed to finish. Each stage should yield an observable result or explicitly identify what prevents it. Keep shared requirements in the entrypoint; link optional detail at the branch that needs it.
- Package reusable work. Read the authoring guide
when choosing references, helpers, or verification cases. Bundle dependencies
needed by the skill;
repos/contains ignored user clones, not shipped resources. Bun helpers use the repository's JSON envelope. Other runtimes are appropriate for document rendering when their prerequisites are documented. - Verify behavior and discovery. Try an ordinary request, an adjacent request that should select another skill, and a relevant missing-input or failure case. Run changed helpers. Confirm every linked resource exists and every claimed completion has evidence. Structural checks alone do not establish skill quality.
- Refresh consumers. Run
bun run codex:syncandbun run dashboard:commands; inspect the generated diff. Run the applicable repository gates and report their actual results.
For a new folder, the optional scaffold is:
bun run .claude/skills/authoring-agent-skills/scripts/scaffold.ts <skill-name> "<capability and invocation cases>"
Replace every scaffold prompt with working instructions; retain only resources the workflow uses. The finished skill must be usable from a fresh harness clone.