/gauntlet:forge-skillfrom gauntlet
Governs creation and editing of SKILL.md files, agent personas, prompt templates, and slash commands in pi and Claude Code. Enforces conventions for frontmatter, file placement, and invocation.
Ships in gauntlet. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill governs every file a model reads as instructions: SKILL.md and its reference files, agent personas, prompt templates, and slash commands, in pi and in Claude Code. Every sentence below is a rule to apply or a fact to check.
Skills only; persona conventions are in ## Persona rules.
Sources: pi - docs/skills in @earendil-works/pi-coding-agent; Claude Code - code.claude.com/docs/en/skills.
| Item | pi | Claude Code |
|---|---|---|
| Frontmatter | --- on line 1, name and description, closing --- | Same; an unknown field is ignored silently; unparseable YAML loads the skill with no fields |
name | Lowercase letters, digits, hyphens; no leading, trailing, or doubled hyphen; at most 64 chars; match the directory name (Agent Skills standard; pi does not enforce it) | Display label for a personal or project skill (the command is the directory name); the last command segment for a plugin skill |
description | At most 1024 chars; a skill without one is not loaded | Recommended; description plus when_to_use is cut at 1536 chars in the listing |
| Harness-only fields | license, compatibility, metadata, allowed-tools (spec-listed, not enforced) | when_to_use, argument-hint, arguments, user-invocable, allowed-tools (enforced) |
disable-model-invocation: true | Command-only skill | Same; also excluded from subagent preload |
| Invocation | /skill:name [args] | /name [args], or /plugin:name for a plugin skill |
| Supporting files | Use reference/<topic>.md (pi docs show references/); read it at the step that names it. Keep dispatch payloads beside SKILL.md. Under skills/gauntlet/, use Gauntlet file placement instead. | Any file linked by relative path; references/, scripts/, assets/ by convention; scripts/ files are executed, not loaded |
| Substitutions | None; the body is read as written | Argument tokens and CLAUDE_* variables in the dollar form expand before the model reads the body. In prose, prefix an argument token with one backslash (backslash, dollar, ARGUMENTS) and name a variable bare (CLAUDE_SKILL_DIR) |
| Locations | .pi/skills/, ~/.pi/agent/skills/, .agents/skills/, ~/.agents/skills/, a package's skills/ dir | .claude/skills/, ~/.claude/skills/, a plugin's skills/ dir; .agents/skills/ is not read |
| Reload after edit | /reload | Watched for .claude/skills/ and ~/.claude/skills/; a plugin skill needs a new session |
Under skills/gauntlet/, put each step the tracker names in its phase or engine directory. Keep the brainstorm entry, SKILL.md, at the tree root and count it as a reader in brainstorm/.
Place anchored files at the directories below, relative to skills/gauntlet/:
| File | Directory | Owner |
|---|---|---|
worktrees.md | . | Run setup |
receiving-review.md | . | Integrated-wave and verify review |
tdd.md | implement/ | Regression tests in receiving-review.md |
implementer-prompt.md | implement/waves/ | waves.md |
wave-reviewer-prompt.md | implement/waves/ | waves.md |
For each remaining file, count the run files that reference it by path. Place it in the lowest directory containing all its phase readers, counting an anchored reader in its assigned directory. Put a file read by more than one phase beside the entry file; put a file read by both engines but no other phase in implement/.
Ignore readers already beside the entry file, except the entry itself. When those shared files are the only run readers, place the referenced file beside them. Report any unanchored file with no run reader as unplaced; give it an anchor naming its owner to keep it.
Link from skills outside the run to the file at its assigned location; external readers do not change placement. For example, those skills read the menu layout, commit wording and return-file cleanup beside the entry file.
These rules bind the lines an edit adds or changes. Leave other lines alone.
2025-03-02: builds now use the release profile because debug ran out of memory under ## History becomes Build with the release profile (debug runs out of memory) under ## Deploy, and ## History is deleted.## section - in the same change and leaves a one-line "read X now" pointer at the step that needs it. Use reference/<topic>.md for the extraction; under skills/gauntlet/, use Gauntlet file placement instead./skill:name, Claude Code /name or /plugin:name); never with @.|---| table separators, present tense.A persona is an agents/<name>.md file dispatched by name (pi-cohort subagent({ agent }), Claude Code subagents); its body is the child's entire system prompt. Frontmatter fields: the "Agent frontmatter" table in pi-cohort's agents-and-chains doc; a project's pins: its personas doc ("Frontmatter knobs" in this repo's doc/personas). Every ## Authoring rules bullet without a Skills only: marker binds here too.
inheritProjectContext or inheritSkills opts in; Claude Code replaces its default prompt with it. Open with the role and why it exists, state the output contract the caller parses before any method; when the caller parses a closing line, keep it last.description is the one-sentence dispatch label the orchestrator's agent list shows: name when to dispatch, and write Not for direct dispatch when a skill owns the call. Never a summary of the body.agentOverrides knob, so the request states the pin; a line the edit rewrites follows the ASCII rule like any other. Never pin model.tools and inherit* list the operations the job performs and nothing else; a reviewer keeps bash when its caller injects a scoped command. A non-implementing persona with bash sets completionGuard: false; an implementing persona keeps the guard unless its caller owns an equivalent edit-less-completion check named in the project's personas doc. Document the exception there.lean: nothing to cut stays verbatim./skill: cross-reference and no reference/ file: the body is read whole and nothing beside it is loaded (frontmatter skills: injects named skills; it is a knob, not a file split). A persona over 500 lines splits by job into a second persona.agents/ on every dispatch, so an edit is live at the next call; Claude Code needs a new session.## Authoring rules.Run after adding a rule or rewording a discipline rule.
SKILL.md body; the baseline worker's task is the scenario alone.| Harness | Dispatch |
|---|---|
| pi | subagent({ agent: "worker", context: "fresh", task }) twice, one task with the body appended |
| Claude Code | The harness's subagent dispatch tool, twice, same split |
| pi, persona | baseline: subagent({ agent: "worker", context: "fresh", task }) with the pre-edit body appended; loaded: subagent({ agent: "<name>", context: "fresh", task }) after the edit - pi-cohort re-reads agents/ per dispatch, so capture the pre-edit body first |
If gauntlet.md exists - checked in order: .pi/gauntlet.md, <repo root>/gauntlet.md, <repo root>/doc/gauntlet.md; first found wins - read it. Skip the read only when the file from the same repository at the same trusted revision is already in context. Apply, without a relevance judgment, these sections of # shared: ## issue-tracker, ## worktrees, ## verification, ## cleanup, ## siblings, ## deployment, ## spec-index. Apply the whole # forge-skill block. Apply nothing else from the file: no other block, no text directly under # shared, no other section of # shared.
The recognized headings, their readers, and the rules an override cannot change are listed in the configuration front door; an override extends or replaces the step it names and never lifts this skill's HARD CONSTRAINT or MUST text.
What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/chase-bugUse when a human hands you a bug report to triage - a Slack paste, tracker ticket, GitHub issue, or described symptom - and the goal is an evidenced verdict (real bug, not-a-bug, cannot reproduce, already fixed or reported); triage itself never fixes - a real-bug verdict may hand off to a bounded hotfix after the menu./check-deliveryUse only when explicitly asked to prove delivery of one or more named merged tickets ("check delivery of/gatekeep-prUse only when explicitly asked to gatekeep, verify, or gate a named pull request before it merges - or on pi a set of them - ("gatekeep PR 123", "gatekeep PRs 123 124 125", a loop task naming the PR and the verb); post-merge delivery proof belongs to /skill:check-delivery./housekeepingUse when a human asks to check a repository directory, uncommitted files, or a pull request for cleanup against repository rules./linearUse when reading, searching, commenting on, editing, or managing Linear tickets via the `linearis` CLI - ticket IDs like ABC-123, "check ticket ABC-99", "move ABC-12 to done", or when a tracker-facing skill routes Linear mechanics here. Authoring a NEW ticket (structure, acceptance criteria) belongs to /skill:shape-ticket, which calls this skill's create mechanic./shape-ticketUse when asked to file, create, or shape a ticket, open a tracker issue, or repair or clean up one or more existing ones (ticket IDs like ABC-123, or a comma- or space-separated list "ABC-123, ABC-124") - including when another skill or command routes ticket authoring here.npx claudepluginhub jjuraszek/pi-gauntlet --plugin gauntletOther plugins' skills for the same job