Agent Skills
A collection of structured, project-aware agent skills for software development workflows. Each skill follows the Agent Skills specification and can be installed via the skills.sh registry. Suite-level history and the skill versioning policy live in the changelog.
Installation
Section titled “Installation”Two install paths, two philosophies: the Claude Code plugin installs the whole suite as a managed bundle that updates when this repo ships, while skills.sh copies editable skill files into your project (or user directory) for Claude Code, Codex, Cursor, Devin, and 70+ other agents. Pick one — installing both duplicates every skill.
Claude Code (plugin marketplace)
Section titled “Claude Code (plugin marketplace)”This repo is a Claude Code plugin marketplace. Add it once, then install the skills plugin:
claude plugin marketplace add pokanop/aiclaude plugin install skills@pokanopOr from inside a session: /plugin marketplace add pokanop/ai, then /plugin install skills@pokanop. Plugin installs are read-only and update automatically with this repo.
skills.sh CLI (Claude Code, Codex, Cursor, Devin, and others)
Section titled “skills.sh CLI (Claude Code, Codex, Cursor, Devin, and others)”The skills.sh CLI installs skills from this repo into your agent of choice. Install the whole collection:
npx skills add pokanop/aiOr install a single skill by name with --skill:
npx skills add pokanop/ai --skill idea-to-prdUseful variations: --list shows the available skills without installing, --agent <name> targets specific agents, and --global installs to your user directory instead of the current project. If you prefer Bun, bunx skills add … works identically (this repo uses Bun internally, but npx is the canonical install command in user-facing docs).
Per-agent install directories used by the CLI (project scope / global scope):
| Agent | --agent | Project | Global |
|---|---|---|---|
| Claude Code | claude-code | .claude/skills/ | ~/.claude/skills/ |
| Codex | codex | .agents/skills/ | ~/.codex/skills/ |
| Cursor | cursor | .agents/skills/ | ~/.cursor/skills/ |
| Devin (Terminal) | devin | .devin/skills/ | ~/.config/devin/skills/ |
Manual copy
Section titled “Manual copy”Every skill is a self-contained directory with a SKILL.md entrypoint, so you can also copy skills/<name>/ straight into your agent’s skills directory from the table above (include skills/_shared/ — several skills reference its conventions).
Available Skills
Section titled “Available Skills”| Skill | Purpose | Use When |
|---|---|---|
setup-pokanop-skills | One-time repo onboarding — record tracker, conventions, and workflows in plans/config.md | First use of the suite in a repo |
next-step | Report plan status and route to the right skill | Starting here, resuming work, checking status, or unsure which skill fits |
idea-to-prd | Write a Product Requirements Document | Starting a new feature or initiative |
prd-to-design | Turn a PRD into a technical design + ADRs | Architecting a non-trivial feature before tasks |
design-to-tasks | Break a design (or PRD) into an actionable task list | Planning implementation from a design or PRD |
tasks-to-code | Implement tasks one at a time | Executing an approved task list |
code-review | Structured review of code changes | Reviewing a PR, diff, or set of changed files |
debug-and-fix | Diagnose bugs and add regression tests | Something is broken and needs root-cause analysis |
refactor | Restructure code without changing behavior | Cleaning up code or executing a deferred improvement |
write-tests | Add or backfill test coverage without changing behavior | Code works but nothing tests it; a dedicated coverage pass |
dependency-upgrade | Safe, staged dependency and major-version upgrades | Bumping packages, frameworks, or toolchains; fixing audit findings |
incident-postmortem | Blameless postmortem with routed action items | After an incident or outage, once the system is stable |
ui-design-audit | Sweep UI for design system inconsistencies | Auditing components before a design cleanup |
security-review | Lightweight threat model + OWASP-style security sweep | Before launching auth/payments; a dedicated security pass |
performance-review | Measurement-driven performance sweep | Before launch; when the app feels slow; when data volume grows |
release-checklist | Go/no-go assessment before shipping | Preparing to deploy a completed plan |
plan-retrospective | Close out a plan with metrics and lessons | Wrapping up a completed feature |
The lifecycle these skills form — and the routing table for classifying any incoming request — is defined once in shared conventions.
Renamed (June 2026):
create-a-prdis nowidea-to-prdandprd-to-tasksis nowdesign-to-tasks, so the build-pipeline skills readinput-to-outputand the newprd-to-designstep slots in between. Existing installs of the old slugs keep working; new installs and links use the new names.
Recommended Order of Operations
Section titled “Recommended Order of Operations”These skills are designed to chain together into a complete software development lifecycle — the canonical diagram and routing table live in shared conventions, and the next-step skill navigates it for you. The primary workflows:
Build Pipeline (Feature Development)
Section titled “Build Pipeline (Feature Development)”The skill names encode the pipeline: each X-to-Y transform names its input and output, so the run order is self-evident.
idea-to-prd → prd-to-design → design-to-tasks → tasks-to-code (what/why) (architecture) (task list) (build)The build pipeline covers a feature from idea to shipped code:
-
idea-to-prd— Turns a product idea into a structured PRD atplans/<name>/prd.md. Includes codebase discovery, user story writing, requirement labeling (FR-N,US-N,NFR-N,QG-N), phased implementation planning, and testing strategy. -
prd-to-design(optional) — Turns the PRD into a technical design atplans/<name>/design.mdplus ADRs underplans/<name>/adr/: component boundaries, API/data contracts, sequence flows, and key decisions with rationale. Warranted for non-trivial features; skip it for simple ones and go straight todesign-to-tasks. -
design-to-tasks— Reads the design (or the PRD when no design exists) and generates a comprehensive, traceable task list atplans/<name>/tasks.md. Every task traces back to a specific PRD requirement. Tasks are sized (S/M/L/XL), prioritized (P0/P1/P2), and have explicit acceptance criteria. -
tasks-to-code— Implements tasks one at a time, following the project’s existing patterns and the design when present. Updatestasks.mdwith progress markers and records implementation decisions inplans/<name>/decisions.md. Waits for user confirmation between tasks.
After the Pipeline
Section titled “After the Pipeline”tasks-to-code ⇄ code-review → release-checklist → plan-retrospective (build) (quality) (ship) (close)-
code-review— Run per task or per phase during implementation, and always before release. Reviews changes against the project’s conventions, the task’s acceptance criteria, and the plan’sdesign.md/ADRs when they exist. Unresolved🔴 Blockingfindings inreview.mdhard-block the release. -
release-checklist— Once implementation is complete, runs all quality gates, verifies P0 task completion and review-finding resolution, checks PRD success criteria, produces a deployment checklist, and generates aCHANGELOG.mdentry. Issues a Go/No-Go verdict. -
plan-retrospective— Formally closes the plan. Computes completion metrics and scope drift (via the deterministic_shared/scripts/plan tooling), captures lessons learned and ADR outcomes, producesplans/<name>/retro.md, and archives the entire plan folder toplans/archive/<name>/.
Worked Example
Section titled “Worked Example”See one small feature — a persisted dark-mode toggle — carried through the entire pipeline as a set of golden artifacts (PRD → design + ADR → tasks → decisions → review → release → retro): examples/dark-mode-toggle.
Audit Workflows
Section titled “Audit Workflows”Three audit skills share one contract — standalone, whole-system, severity-tiered, and PRD-emitting — so their findings enter the build pipeline directly at design-to-tasks, with no separate idea-to-prd pass:
ui-design-audit / security-review / performance-review → design-to-tasks → tasks-to-code (findings as a PRD) (task list) (build)| Audit | Question it answers | Findings PRD |
|---|---|---|
ui-design-audit | Is the UI consistent with the project’s own design system? | plans/ui-audit-<date>/prd.md |
security-review | Is the system’s security posture sound? | plans/security-review-<date>/prd.md |
performance-review | Where does the system spend the user’s time? | plans/performance-review-<date>/prd.md |
Each complements the matching per-change dimension in code-review (which checks one diff) with a whole-system pass (which checks the posture).
Standalone Skills
Section titled “Standalone Skills”These skills work independently and don’t require a plan:
setup-pokanop-skills— The one-time onboarding step. Interviews the user about the repo’s issue tracker, plans/docs locations, coding conventions, and preferred workflows, then writesplans/config.md— the repo-local configuration every other skill reads during discovery instead of re-asking. Run once per repo; re-run only to revise answers.next-step— The suite’s front door. Reads theplans/directory, reports where every plan sits in the lifecycle (using the deterministic_shared/scripts/plan tooling), and routes any request to the right skill via the canonical routing table.code-review— Use any time you need a structured review of a diff, branch, or changed file set. Optionally readsplans/<name>/tasks.mdto validate acceptance criteria if the change comes from a task, anddesign.md/ADRs for architecture conformance.debug-and-fix— Use when something is broken. Works entirely from a bug report (symptom, steps to reproduce, expected vs. actual). Has no plan dependency.refactor— Use when code needs restructuring without any behavior change. Closes the loop on the suite’s no-gold-plating discipline: it executes the structural improvements thattasks-to-code,code-review, andplan-retrospectivedefer intodecisions.md/retro.md“Future Opportunities”. Has no plan dependency.write-tests— Use for a dedicated coverage pass over code that already works. Discovers the project’s test framework and patterns first, prioritizes coverage by risk, and never modifies the code under test — bugs it finds route todebug-and-fix. Has no plan dependency.dependency-upgrade— Use for version bumps, framework migrations, and dependency-audit fixes. Stages risky bumps one at a time with quality gates green after each; new-capability adoption routes toidea-to-prd. Has no plan dependency.incident-postmortem— Use after an incident is over. Like the audit skills it is PRD-emitting: systemic prevention work becomesplans/incident-<date>-<slug>/prd.mdentering the pipeline atdesign-to-tasks, while specific defect fixes route todebug-and-fix.
Skill Details
Section titled “Skill Details”next-step
Section titled “next-step”Trigger phrases: “what’s next”, “where were we”, “resume work”, “status of the plan”, “which skill should I use”, “where do I start”
What it produces: A plan-status report (stage + computed progress per active plan) and a single routed recommendation: which skill, on which plan, and why
Key behaviors:
- Detects each plan’s lifecycle stage from the artifacts on disk and the task markers — never from memory
- Runs
plan-metrics.py/plan-validate.pyfor computed progress instead of estimates - Routes ambiguous requests via the canonical routing table; splits compound requests (“fix the crash and add export”) into separately-routed parts
- Blockers outrank progress: a
[!]task, failing gate, or unresolved🔴 Blockingreview finding is always the recommended next step - Read-only — orients and hands off; never performs the routed skill’s work itself
idea-to-prd
Section titled “idea-to-prd”Trigger phrases: “idea to prd”, “write a PRD”, “create requirements”, “plan a feature”, “scope a feature”
What it produces: plans/<name>/prd.md — a 10-section PRD with labeled requirements, user stories, phased implementation plan, testing strategy, and risk assessment.
Key behaviors:
- Runs codebase discovery before writing to align the PRD with existing tech stack and conventions
- Uses
FR-N,NFR-N,US-N,QG-Nlabels on all requirements for traceability - Self-validates completeness before presenting the draft
- Asks 2–4 focused clarifying questions; documents unresolved items as Open Questions
References inside the skill:
references/prd-schema.md— full 10-section PRD structurereferences/codebase-discovery.md— shared codebase discovery checklistreferences/quality-standards.md— writing standards and completeness checklist
prd-to-design
Section titled “prd-to-design”Trigger phrases: “prd to design”, “design the architecture”, “write an ADR”, “technical design”, “system design”
What it produces: plans/<name>/design.md — component boundaries, API/data contracts, sequence flows, and a key-decisions index — plus one plans/<name>/adr/NNNN-*.md per significant decision.
Optional step. Use it for non-trivial features where the architecture isn’t obvious or is hard to reverse; skip it for simple ones and hand the PRD straight to design-to-tasks.
Key behaviors:
- Designs to the contract level (interfaces, boundaries, data ownership), not line-level code
- Captures each significant or hard-to-reverse decision as an ADR with its rejected alternatives
- Traces every component back to an
FR-N; addresses everyNFR-Nwith a structural choice - Never modifies the PRD — surfaces requirement gaps back to
idea-to-prdinstead
References inside the skill:
references/design-schema.md— full design-document structurereferences/adr-template.md— ADR template, numbering, and status lifecyclereferences/tradeoff-rubric.md— evaluating alternatives and when a choice warrants an ADR
design-to-tasks
Section titled “design-to-tasks”Trigger phrases: “design to tasks”, “create tasks from a design”, “break down a PRD”, “generate a task list”, “create tasks from requirements”
What it produces: plans/<name>/tasks.md — a hierarchical task list with dependency mapping, effort estimates, and progress tracking.
Key behaviors:
- Reads
design.mdas the primary input when present and falls back toprd.mdwhen no design exists, so simple features still go PRD→tasks - Will not generate tasks from a PRD missing Goals, labeled requirements, acceptance criteria, implementation phases, or testing strategy — it asks you to fix the PRD first
- Traces every task back to a specific
FR-N/US-N/NFR-Nrequirement; the PRD stays authoritative for traceability - Validates coverage before presenting: every PRD requirement must appear in at least one task
- Task count heuristic: 3–8 tasks per PRD phase, 1–2 tasks per functional requirement
Status markers in tasks.md: [ ] Not started, [~] In progress, [x] Completed, [!] Blocked, [-] Skipped — defined in shared conventions.
tasks-to-code
Section titled “tasks-to-code”Trigger phrases: “implement the next task”, “work on task N.M”, “start coding”, “pick up the next item”
What it produces: Code changes + updated tasks.md + plans/<name>/decisions.md
Key behaviors:
- Reads both
tasks.mdandprd.mdbefore touching code — PRD is authoritative, task list is derivative - Marks task
[~]before starting,[x]only after all acceptance criteria pass and all quality gates pass - Never chains tasks automatically — asks for confirmation after each one
- Records every non-obvious implementation decision in
decisions.md - Only implements what acceptance criteria require; notes future improvements in
decisions.mdinstead
References inside the skill:
references/implementation-guide.md— pattern-first implementation principlesreferences/decision-log.md— decision recording formatreferences/verification-guide.md— acceptance criteria and quality gate checklist
code-review
Section titled “code-review”Trigger phrases: “review this code”, “review my changes”, “do a code review”, “check this PR”
Accepts: A diff, changed file list, branch description, or task reference
What it produces: Structured review with severity-tiered findings; optional plans/<name>/review.md for multi-round tracking
Severity levels: 🔴 Blocking, 🟡 Suggestion, ⚪ Nit — the code-review disposition names for the single severity↔priority scale (Critical/Major/Minor → P0/P1/P2) — plus ✅ Praise, a positive callout that is not a severity.
Key behaviors:
- Understands the why (PRD task, bug fix, refactor?) before reading code
- Reviews against the project’s own patterns, not generic preferences
- Supports re-reviews — checks blocking and suggestion items against updated code
debug-and-fix
Section titled “debug-and-fix”Trigger phrases: “there’s a bug”, “this is broken”, “I’m getting an error”, “this isn’t working”
Requires: Symptom + steps to reproduce + expected vs. actual behavior
What it produces: Root-cause identified + minimal fix implemented + regression test added
Workflow phases:
- Understand the bug (reproduce, characterize, read the error)
- Isolate root cause using hypothesis-driven debugging (form hypotheses → elimination tests → document path)
- Implement a minimal fix (no refactors, no new dependencies)
- Verify (run quality gates, regression check, edge cases)
- Add a regression test that fails on unfixed code
- Report with structured bug fix summary
Key rule: A bug without a regression test is not fixed — the test is mandatory.
refactor
Section titled “refactor”Trigger phrases: “refactor this”, “clean up this code”, “reduce duplication”, “extract a function”, “simplify this”, “pay down tech debt”
Accepts: A scope-boxed target + a structural goal — often a deferred entry from a decisions.md / retro.md Future Opportunities list
What it produces: Restructured code with identical behavior + a summary of the structural changes (no behavior change). No plan required; optionally records follow-ups in decisions.md.
The contract: Tests stay green, behavior unchanged. Same tests pass before and after, no test is modified to accommodate a change, the public surface is identical, and quality gates stay green throughout.
Workflow phases:
- Scope the refactor (box it; triage refactor vs. feature vs. bug)
- Establish the safety net (characterization tests first — pin current behavior)
- Refactor in small, behavior-preserving steps (one named transformation at a time; tests green after each)
- Verify behavior is unchanged (all quality gates; confirm no test was modified to pass)
- Report the structural changes
Key behaviors:
- Behavior-preserving only — new behavior routes to
idea-to-prd, bug fixes route todebug-and-fix - Characterization-tests-first: never restructures behavior that isn’t under test
- Scope-boxed recursively — improvements noticed mid-refactor become new Future Opportunities, not scope creep
References inside the skill:
references/intake-and-scope.md— consuming Future Opportunities, triage, and scope-boxingreferences/safety-net.md— characterization-tests-first methodology and golden-master testingreferences/refactoring-catalog.md— named behavior-preserving transformations and mechanicsreferences/behavior-preservation.md— verifying behavior is unchanged
write-tests
Section titled “write-tests”Trigger phrases: “write tests”, “add tests”, “backfill test coverage”, “increase coverage”, “test this module”, “add integration tests”
Accepts: A coverage target (module, feature, service, or “the scary parts”) + a coverage intent
What it produces: Tests in the project’s own framework and style, a risk-ranked coverage plan for large targets, and a coverage summary — with zero changes to the code under test
Workflow phases:
- Discover the project’s testing conventions (framework, location, style, doubles policy, coverage tooling)
- Map and prioritize the coverage gap — behavior inventory, risk ranking, pyramid level per behavior
- Decide characterization vs. specification tests per target
- Write the tests (one behavior per test, deterministic, error paths covered)
- Verify with the full suite and all quality gates, then report
Key behaviors:
- Never modifies the code under test — needed seams are surfaced as
refactorwork, not smuggled in - Bugs discovered while testing are characterized, flagged, and routed to
debug-and-fix— never silently fixed or enshrined as “expected” - Coverage is risk-weighted: money-moving, auth, and widely-imported code first, not whatever is easiest
References inside the skill:
references/test-pyramid.md— choosing unit / integration / end-to-end per behaviorreferences/coverage-strategy.md— behavior inventory, risk ranking, characterization vs. specification
dependency-upgrade
Section titled “dependency-upgrade”Trigger phrases: “upgrade dependencies”, “update packages”, “bump versions”, “major version upgrade”, “fix npm audit findings”, “update the lockfile”
Requires: A green baseline — all quality gates passing before the first bump
What it produces: Staged, individually-verified version bumps with disciplined lockfile diffs and an upgrade summary
Workflow phases:
- Inventory and plan the batches — outdated/audit report, risk classification, one stage per risky bump
- Read before you bump — changelogs across every crossed version, migration guides, supply-chain signals
- Apply one stage at a time — bump via the package manager, make required code changes, gates green, inspect the lockfile diff, commit
- Verify the whole, then report
Key behaviors:
- Never upgrades on a red baseline; never stacks a second risky stage on an unverified one
- Supply-chain caution: prefers versions published ≥ 7 days ago; pinned/bounded ranges only; lockfile is reviewed like code and never hand-edited
- Adopting new capabilities the upgrade enables routes to
idea-to-prd— the upgrade diff contains versions plus required changes, nothing else
References inside the skill:
references/upgrade-planning.md— risk classification, batching, stage ordering, changelog readingreferences/supply-chain.md— threat signals, the ≥7-day rule, version-range and lockfile discipline
incident-postmortem
Section titled “incident-postmortem”Trigger phrases: “write a postmortem”, “incident review”, “write up the outage”, “root cause analysis of the incident”, “blameless retro on the incident”
Requires: The incident to be over or stable (a live outage routes to debug-and-fix first), plus the evidence: impact facts, logs/alerts/deploy history, responder accounts
What it produces: plans/incident-<date>-<slug>/postmortem.md — impact, evidence-based timeline, contributing factors, routed action items — plus a prd.md in the same folder when systemic work is emitted, entering the pipeline at design-to-tasks
Workflow phases:
- Establish impact and severity (numbers, on the shared severity scale)
- Reconstruct the timeline — timestamped, factual, sourced; detection/mitigation gaps are findings
- Analyze contributing factors — blameless, system-focused, never a single root cause
- Derive action items that actually route — defect fixes →
debug-and-fix, systemic prevention → findings PRD - Write and file the postmortem
Key behaviors:
- Blameless as a method: every “human error” is rewritten as the system condition that made it possible
- Contributing factors, not root cause — real incidents are conjunctions, and each factor is a prevention opportunity
- Action items are work or decoration: specific, prioritized on the shared scale, and routed into the pipeline
References inside the skill:
references/postmortem-schema.md— full postmortem document structurereferences/analysis-guide.md— blameless facilitation, iterative “why” analysis, factor classification, anti-patterns
ui-design-audit
Section titled “ui-design-audit”Trigger phrases: “audit the UI”, “check for design inconsistencies”, “find loading state issues”, “review component consistency”
What it produces: plans/ui-audit-<date>/prd.md — findings in PRD format, ready for design-to-tasks
Seven audit dimensions (work through in order, or scope to specific dimensions):
- Loading States — spinners, skeletons, placeholders, empty states
- Spacing and Sizing — padding, margin, gap, width, height
- Typography — font families, sizes, weights, line heights
- Color and Theming — brand colors, semantic colors, dark mode
- Interactive States — hover, focus, active, disabled
- Animation and Motion — transitions, entrance/exit animations
- Accessibility — WCAG 2.1 AA contrast, semantic HTML, ARIA, keyboard/focus, screen-reader labels, forms, reduced motion
Key behaviors:
- Establishes the project’s own design system as the baseline — audits against what the project has established, not external standards
- Groups systemic issues (e.g., “12 components all use
Loader2directly instead ofSpinner”) as one finding, not 12 - Each finding maps to a severity on the shared severity↔priority scale: 🔴 Critical → P0, 🟡 Major → P1, ⚪ Minor → P2
security-review
Section titled “security-review”Trigger phrases: “do a security review”, “threat model this”, “run a security audit”, “check for vulnerabilities”, “review the auth flow”, “is this safe to launch”
What it produces: A prioritized, severity-tiered findings report; optionally plans/security-review-<date>/prd.md in PRD format, ready for design-to-tasks
Approach — a lightweight threat model, not a pen test:
- Asset & trust-boundary inventory — what is worth protecting, where untrusted input enters, and where the boundaries are
- Six-dimension sweep — Authentication & Authorization, Input Validation & Injection, Secrets & Transport, Dependencies & Known CVEs, Security-Event Logging, Rate Limiting & Abuse Resistance
Key behaviors:
- Complements
code-reviewinstead of duplicating it — code-review checks the security of one diff; security-review assesses the whole system’s posture (missing layers, unmodeled boundaries) and defers line-level diff issues back to code-review - Severity is calibrated by exploitability × impact on the shared severity↔priority scale: 🔴 Critical → P0, 🟡 Major → P1, ⚪ Minor → P2
- The security baseline (OWASP / the stack’s guidance) holds even when a weakness is applied consistently — like accessibility in
ui-design-audit - Redacts secrets and never runs live exploits — it surfaces work, it does not attack the system
performance-review
Section titled “performance-review”Trigger phrases: “performance review”, “performance audit”, “why is it slow”, “find bottlenecks”, “optimize performance”, “is it fast enough to launch”
What it produces: A prioritized, severity-tiered findings report with baseline measurements; optionally plans/performance-review-<date>/prd.md in PRD format, ready for design-to-tasks
Approach — measurement-driven, never optimize on faith:
- Baseline — define the user-visible metrics for the scope, measure with the stack’s own tools, set budgets (plan NFRs → project history → platform defaults)
- Six-dimension sweep — Data Access & Queries, Network & Payloads, Rendering & Responsiveness, Memory & Resources, Concurrency & Async, Scalability Posture
Key behaviors:
- Complements
code-reviewinstead of duplicating it — code-review checks the performance of one diff; performance-review assesses where the whole system spends the user’s time - Severity is calibrated by user impact × frequency on the shared severity↔priority scale; every severity claim cites a measurement, trace, or growth argument
- Baseline measurements become PRD success criteria — remediation is verified by re-measuring
- Never trades correctness for speed; consistency trade-offs route to
prd-to-designas ADRs
release-checklist
Section titled “release-checklist”Trigger phrases: “prepare a release”, “we’re ready to ship”, “generate a changelog”, “check if we’re ready to deploy”
Requires: plans/<name>/tasks.md and plans/<name>/prd.md; reads review.md and decisions.md when present
What it produces: Go/No-Go verdict + deployment checklist + CHANGELOG.md entry
Hard blocks (release cannot proceed):
- Any P0 task not
[x]complete - Any failing quality gate (lint, typecheck, test, build — all must pass)
- Any unmet or unverified PRD success criterion
- Any unresolved
🔴 Blockingfinding inreview.md
Checklist covers: pre-release gate results, deployment prerequisites, smoke test steps, rollback plan, post-release verification.
After Go: Prompts to invoke plan-retrospective to close out the plan.
plan-retrospective
Section titled “plan-retrospective”Trigger phrases: “close out a plan”, “do a retro”, “archive a plan”, “wrap up a feature”
Requires: plans/<name>/prd.md, plans/<name>/tasks.md, optionally plans/<name>/decisions.md
What it produces: plans/<name>/retro.md → plan moved to plans/archive/<name>/
Computes:
- Completion rate (completed / (total − skipped))
- Requirement coverage (FR-N/US-N traced to completed tasks)
- Scope drift (tasks added without PRD backing; PRD requirements never tasked)
Retro sections: Summary, Metrics, What Was Built, Scope Drift, Key Decisions, What Worked Well, What to Improve, Open Items, Future Opportunities
Key rule: Does not archive without explicit user confirmation. Archiving is irreversible without a manual mv.
Shared References
Section titled “Shared References”Several skills share reference documents to avoid duplication:
| Reference | Shared By |
|---|---|
_shared/references/conventions.md | All skills — the lifecycle and routing table, status markers, priority, severity↔priority, effort sizes, labels, and the plans/ layout |
_shared/scripts/ (plan-metrics.py, plan-validate.py) | design-to-tasks (post-generation validation), tasks-to-code (statistics), release-checklist (completion assessment), plan-retrospective (metrics), next-step (status) |
idea-to-prd/references/codebase-discovery.md | idea-to-prd, prd-to-design, design-to-tasks, tasks-to-code, code-review, debug-and-fix, refactor, write-tests, dependency-upgrade, security-review, performance-review |
idea-to-prd/references/prd-schema.md | idea-to-prd, ui-design-audit, security-review, performance-review, incident-postmortem |
refactor/references/safety-net.md | refactor, write-tests (characterization-test mechanics) |
code-review/references/review-checklist.md | code-review, security-review (defers line-level diff checks to it) |
tasks-to-code/references/implementation-guide.md | tasks-to-code, debug-and-fix, refactor |
plans/ Directory Convention
Section titled “plans/ Directory Convention”All planning artifacts live in a per-initiative folder under plans/; completed plans move to plans/archive/, preserving full history while keeping the working directory clean. The canonical layout — which skill creates each file, and the active → archive lifecycle — is defined in _shared/references/conventions.md.