pb-plan
Installation
SKILL.md
pb-plan
Transform a natural-language requirement into a build-eligible spec under specs/<spec-dir>/.
Workflow
1. Understand the requirement
- Read the requirement,
AGENTS.md, and the affected code yourself (search, read key files, reuse what exists). - Restate the goal in one sentence, list scope boundaries (in scope / out of scope), and surface assumptions.
- Only proceed when the behavior is pin-downable to testable cases.
2. Design — write design.md
Required sections (schema in docs/contract.md): Summary, Approach, Architecture Decisions,
TDD & Mutation Testing Strategy, Verification. Add optional sections only when the aspect changes
(topology → Mermaid, data → DBML/Prisma). Decisions use MADR (Context / Decision / Consequences);
constraints use RFC 2119 keywords. Prefer the ladder: YAGNI → stdlib → existing dep → minimum code.