Structured workflow skills for pi, adapted from Superpowers by Jesse Vincent.
Brainstorming → Planning → TDD → Debugging → Code Review → Finishing — as composable skills your coding agent loads on demand.
pi install git:github.com/coctostan/pi-superpowersOr add to .pi/settings.json (project-level) or ~/.pi/agent/settings.json (global):
{
"packages": ["git:github.com/coctostan/pi-superpowers"]
}| Skill | Description | Invoke |
|---|---|---|
| brainstorming | Socratic design refinement — questions, alternatives, incremental validation | /skill:brainstorming |
| writing-plans | Detailed implementation plans with bite-sized TDD tasks | /skill:writing-plans |
| executing-plans | Batch execution with checkpoints for architect review | /skill:executing-plans |
| subagent-driven-development | Fresh subagent per task with two-stage review | /skill:subagent-driven-development |
| test-driven-development | RED-GREEN-REFACTOR cycle (includes anti-patterns reference) | /skill:test-driven-development |
| systematic-debugging | 4-phase root cause investigation | /skill:systematic-debugging |
| verification-before-completion | Evidence before claims, always | /skill:verification-before-completion |
| requesting-code-review | Pre-merge review with severity categories | /skill:requesting-code-review |
| receiving-code-review | Technical evaluation of review feedback | /skill:receiving-code-review |
| dispatching-parallel-agents | Concurrent subagent workflows | /skill:dispatching-parallel-agents |
| using-git-worktrees | Isolated development branches | /skill:using-git-worktrees |
| finishing-a-development-branch | Merge/PR decision workflow | /skill:finishing-a-development-branch |
The plan_tracker tool replaces file-based task tracking. It stores state in the session and shows progress in the TUI:
Tasks: ✓✓→○○ (2/5) Task 3: Recovery modes
Usage by the agent:
plan_tracker({ action: "init", tasks: ["Task 1: Setup", "Task 2: Core", ...] })
plan_tracker({ action: "update", index: 0, status: "complete" })
plan_tracker({ action: "status" })
plan_tracker({ action: "clear" })
- Brainstorm —
/skill:brainstormingrefines your idea into a design document - Isolate —
/skill:using-git-worktreescreates a clean workspace - Plan —
/skill:writing-plansbreaks work into bite-sized TDD tasks - Execute —
/skill:executing-plansor/skill:subagent-driven-developmentworks through the plan - Verify —
/skill:verification-before-completionproves it works - Review —
/skill:requesting-code-reviewcatches issues - Finish —
/skill:finishing-a-development-branchmerges or creates a PR
Each skill cross-references related skills so the agent knows what to use next.
Skills that reference subagent dispatch (subagent-driven-development, requesting-code-review, dispatching-parallel-agents) work with any dispatch mechanism:
- With pi-superteam: The agent uses the
teamtool automatically - Without pi-superteam: Run
pi -p "prompt"in another terminal, or use tmux panes for parallel tasks
Tests use vitest and live in tests/:
tests/
├── extension/
│ └── plan-tracker.test.ts # Unit tests for plan-tracker core logic
└── skills/
└── skill-validation.test.ts # Validates all skills: frontmatter, cross-refs, file refs
Run the full suite:
npm testRun in watch mode during development:
npm run test:watchSkill validation tests check that every skill in skills/ has:
- A valid
SKILL.mdwith YAML frontmatter (name,description) - Name matching directory name, lowercase with hyphens, ≤ 64 chars
- All
/skill:namecross-references pointing to existing skills - All referenced
.md,.sh,.tsfiles existing on disk - Correct wiring in
package.json(pi.skills,pi.extensions)
Extension tests cover the plan-tracker core: init, update, status, clear, formatting, widget data, and state reconstruction from conversation branches.
Skill content adapted from Superpowers by Jesse Vincent, licensed under MIT.
MIT — see LICENSE for details.
