Imported from dan-the-dev/xp-developer-skills (
AGENTS.md). Install upstream withnpx skills add dan-the-dev/xp-developer-skills. Copyright stays with the author.
AMPD — agent orientation
Source of truth: skills/*/SKILL.md. Subagents are thin routers with isolated context.
Subagents
Location: agents/ (symlinked at .claude/agents/ for Claude Code in this repo). After install: Cursor → ~/.cursor/agents/; Claude Code (global) → ~/.claude/agents/. Invoke with /name or natural mention.
| Subagent | Skill(s) |
|---|---|
new-feature |
skills/new-feature/ — slice epic into increments/<stem>.md; plan + orchestrate; confirms the plan before executing; hand off to new-increment, then increment-review; step (default) or automatic (explicit); can open the feature PR from the increments' mini-journals |
new-increment |
skills/new-increment/ → skills/tdd per slice (ATDD only at outer seam); one increment per invocation; verify green; commit squashed to one; return a mini-journal; stop |
increment-review |
skills/increment-review/ — fast, single-pass review (target <60s) of one increment, per docs/code-review.md; default reviewer new-feature calls, not refactoring |
refactoring |
skills/refactoring/ — dedicated tidy-up, or executing an increment-review fix brief (not for untested code); legacy manual post-increment review on direct request |
tweak |
skills/tweak/ — small, direct follow-up edit on the current branch; no branch/backlog/PR ceremony |
bugfix |
skills/bugfix/ |
legacy-refactor |
skills/legacy-testing/ then skills/refactoring/ — harness first on unprotected code, then structure |
spike |
skills/spike/ (spike/ branch, disposable) |
pr-reviewer |
docs/manifesto.md + applicable skills (readonly) |
Skills (delivery)
bugfix, tdd, atdd, refactoring, legacy-testing, spike, new-feature, new-increment, increment-review, tweak — under skills/.
Docs
docs/manifesto.mddocs/code-review.md— checklistincrement-review(andpr-reviewer) applydocs/delivery-process.md— shared delivery rules (verification, roles, feature branch §1a, return payload)docs/project-verification.md— scoped checks during work; full gates after every code-touching slicedocs/test-strategy-selection.md— which test layers and techniques to adopt per slice (mutation, contract, property-based, owned vendor clients §3a, etc.)docs/simple-design.md— Simple Design + YAGNI; mandatory Object Calisthenics; patterns as emerged destinationsdocs/design-quality.md— agent playbook (smell → move → pattern)docs/roadmap.md
Install
See INSTALL.md for global setup — Cursor (~/.cursor/ampd) and/or Claude Code (<claude-home>/ampd, default ~/.claude; use --home for e.g. ~/.claude-personal) + auto-discovery.