Comprehensive bootstrap flow for a brand-new project. Begins with a deep-dive architectural conversation, then runs a plan → implement → review chain, and finally writes the initial UML.md. Load this when the user starts pi in an empty or near-empty directory, or when explicitly asked to bootstrap a new project.
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Use this when the current working directory is a fresh project (no UML.md,
little or no source code). Drive the user through four phases in order. Do not
skip phases. Do not start writing code before phase 3.
Before any planning, hold a short structured conversation with the user. Ask the questions below one batch at a time, wait for answers, then move on. Stop early if the user says "just start".
Batch A — Product:
Batch B — Constraints: 4. Language / runtime / minimum versions? 5. Deployment target (local, container, edge, embedded, ...)? 6. Hard non-functional constraints (latency, offline, privacy, size)?
Batch C — Shape: 7. Expected lifetime: throwaway, prototype, long-lived/? 8. Solo or team? Open source? 9. Any existing systems it must integrate with?
Batch D — Architecture preferences: 10. Preferred architectural style (monolith, modular monolith, plugin, services)? 11. State / persistence needs? 12. Testing posture (unit-heavy, e2e-heavy, "I'll add tests later")?
Reflect back a 3–5 bullet summary of what you heard and ask the user to confirm before moving to phase 2.
Write plan.md at the repo root with this structure:
# Plan: <project name>
## Goal
## Architecture
- chosen style + 1-paragraph rationale
- top-level module list
## Tech choices
- language, framework, key libs, build tool, test runner
## Milestone 1 — walking skeleton
## Milestone 2+ — features
## Risks
## ChecklistShow the plan to the user. Get explicit approval before phase 3.
Build Milestone 1 only: the smallest end-to-end thing that runs. Tick checklist items as you go. If reality contradicts the plan, stop and update the plan before continuing.
When Milestone 1 runs:
UML.md per the uml-maintenance skill. Use the architecture
from phase 1 as the source of truth, not just what currently exists in code.g23polar/pi-project-memory
eb14419
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.