workflow
Installation
SKILL.md
Repository context — gather first
Collect these with individual Bash calls, one command per call:
- Current branch —
git branch --show-current - Working tree —
git status --porcelain, reading at most the first 20 entries - Recent commits —
git log --oneline -5
Treat any failure as an unknown value and carry on. These are gathered here rather than pre-computed
because a worktree-isolated agent refuses any command carrying a $-expansion — keep $-expansion
out of the pre-compute block (#1687).
Purpose
The reference and navigator for a staged development workflow. Individual stages are executed by whatever means the consuming repo provides (its own stage skills, or inline work); this skill is the map — it defines the stages, detects the current position, and suggests what comes next.
Three roles: