跳到正文
cccskills
免费在 GitHub 公开

plan-pipeline-start

Turn a feature request into an implementation plan before coding. Five planning phases cover requirements, interface design, technical choices, research, and metrics, producing ordered tasks, a test plan, and records explaining major decisions.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

5-phase planning: PRD analysis, design review, technical decisions, dynamic research team, metrics. Produces a complete implementation plan + ADRs before any code is written.

查看安装方法

适用场景

  • Planning a feature that touches several files
  • Resolving unclear requirements before implementation
  • Recording architecture and interface decisions
  • Organizing task dependencies and verification steps

包含的文件(1)

  • SKILL.md6.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/plan-pipeline:start: 5-phase planning

Analyze the request and produce a complete implementation plan through structured phases. No code is written. Every significant decision is recorded. Run /clear after this command before running /plan-pipeline:validate.


Phase 1: PRD & design analysis

Step 1.1: PRD analysis

Skip if no PRD exists (refactor, infra change, bug fix).

Read all PRD files and docs/INFORMATION_ARCHITECTURE.md if present. Scan the codebase to understand current implementation status.

Surface findings in 3 buckets:

Missing requirements: acceptance criteria that are absent or incomplete Ambiguous requirements: items with multiple valid interpretations Compliance concerns: security, data privacy, API contract implications

For each finding: present options with concrete pros/cons. Discuss with user. Record every decision in the plan file under a ## Decisions section before moving on. Do not proceed past unresolved ambiguities.

Step 1.2: Design analysis

Skip if no UI changes are in scope.

Read: DESIGN_SYSTEM.md, existing UX ADRs, CLAUDE.md UX rules.

Produce specs for:

  • Screen inventory: new/modified screens, route placement, component reuse audit
  • State catalog: empty, loading, populated, error, and partial states for every interactive element
  • Interaction specs: user flows (happy path + alternates), focus/keyboard behavior
  • Animation specs: map each interaction to existing keyframes or specify new ones, include prefers-reduced-motion fallbacks
  • Responsive behavior: breakpoints, web/mobile divergence decisions
  • Accessibility: WAI-ARIA pattern selection, live regions, error visibility

Create Design ADRs for significant UX decisions (choice of interaction pattern, new animation convention, platform divergence). Record minor layout choices directly in the plan file.


Phase 2: Technical analysis

Spawn 1-2 Explore agents for targeted codebase research. Run them in the background via Task tool.

While agents run, check:

  • Existing ADRs in docs/adr/: if 3+ ADRs confirm a decision → auto-resolve without asking
  • PATTERNS.md: apply confirmed patterns directly

When agents return: present architecture decisions with 2-3 options each, concrete pros/cons, and a recommendation. Ask for user input on each unresolved decision.

For each significant decision:

  1. Create docs/adr/ADR-XXXX.md using standard Nygard format (Context / Decision / Status / Consequences)
  2. Update docs/adr/PATTERNS.md with the new observation

Phase 3: Scope assessment

Apply trigger rules to determine which research agents are needed. Present the proposed team with justification for each inclusion.

Research agent pool:

AgentTriggerModel
code-explorerAlwaysSonnet
arch-researcherChanges touch 2+ architectural layersSonnet
database-analystAny DB schema changeSonnet
security-analystAuth, payments, PII, RBAC, rate limitingOpus
test-analyzerNon-trivial feature (not just a bug fix)Sonnet
cross-platform-specialistWeb + mobile parity requiredSonnet
native-app-specialistTasks touch mobile/native UI packageSonnet
design-system-researcherUI changes in scopeSonnet
dependency-researcherNew packages being addedSonnet
devops-specialistDocker, env vars, CI/CD changesSonnet
integration-researcherNew services, libraries, OTEL configOpus
planning-coordinatorAlways, when 2+ agents selectedOpus

Tier labels (descriptive, not prescriptive):

  • Tier 0 (0 agents): Solo (inline research, no spawning)
  • Tier 1 (1-3 agents): Focused
  • Tier 2 (4-6 agents): Standard
  • Tier 3 (7-9 agents): Comprehensive
  • Tier 4 (10+ agents): Full Spectrum

Tell the user: "I recommend a [Tier N - Label] team: [agent list with one-line justification each]. Want to add or remove any agents?"

Wait for approval before Phase 4.


Phase 4: Research & plan creation

Tier 0: Conduct inline research. Write plan directly without spawning agents.

Tier 1+: Spawn approved agents in parallel using Task tool (run_in_background: true). For each agent, provide:

  • Its specific research scope
  • The relevant files/areas to investigate
  • The questions it needs to answer

Monitor agents by reading their output files directly (TaskOutput was removed in v2.1.278; use Read on the output path reported by the agent instead). Report progress: "3/6 agents complete..."

When all agents return: if planning-coordinator was spawned, send it all agent reports and have it synthesize the final plan. Otherwise, synthesize directly.

Plan file structure (docs/plans/plan-{name}.md):

# Plan: {feature-name}
Created: {date} | Branch: {branch-name} | Tier: {N}

## Summary
One paragraph: what this implements and why.

## Decisions
Decisions recorded during Phase 1 (PRD analysis).

## Architecture
ADRs created, patterns applied, architectural choices made.

## Tasks
Ordered task list with layers (1 = foundation, 2 = depends on 1, etc.)

### Layer 1
- [ ] Task A: description, files affected, acceptance criteria
- [ ] Task B: description, files affected, acceptance criteria

### Layer 2
- [ ] Task C (depends on A): description, files affected, acceptance criteria

## Test Plan
How each task will be verified. TDD tasks marked explicitly.

## Integration Verification
Smoke test commands to run post-execution (if backend/services in scope).

## Out of Scope
What this plan explicitly does not address.

Commit: plan file + ADR files + agent report manifests.


Phase 5: Finalize metrics

Record timestamps, phase durations, agent counts, and cost estimates in docs/plans/metrics/{name}.json. Commit.


Auto-transition

If Phase 1 produced no unresolved ambiguities and Phase 2 produced no unresolved decisions: auto-start /plan-pipeline:validate without asking.

If any human discussion occurred: ask "Ready to validate this plan?" before proceeding.


Usage

/plan-pipeline:start

Provide the feature description or point to a PRD file when prompted. The command handles the rest interactively.

When to use

Use for any non-trivial feature: anything touching more than 2 files, involving architecture decisions, or where a planning mistake would be expensive to undo.

For simple changes (typos, trivial refactors): use /plan mode instead.

Pipeline position

/plan-pipeline:ceo-review    → product direction locked
/plan-pipeline:eng-review    → architecture locked
/plan-pipeline:start         → produce implementation plan   ← you are here
/plan-pipeline:validate      → validate before execution
/plan-pipeline:execute       → execute to merged PR

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Evaluate Claude Code agents, skills, and commands with weighted quality criteria. Get scores, readiness grades, template comparisons, and practical improvement suggestions in Markdown or JSON reports to guide reviews before release.

中文简介正在准备中。当前显示英语简介。

  • Review skills before release
  • Compare agent definitions with reference templates
  • Quickly check critical quality criteria
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

Assess a codebase across seven areas, including exposed credentials, security, dependencies, structure, and tests. Receive category scores, findings tied to file locations, and a prioritized improvement plan with smaller tasks that can be completed quickly.

中文简介正在准备中。当前显示英语简介。

  • Assessing the overall health of an inherited project
  • Reviewing exposed credentials and security risks
  • Identifying dependency and test coverage gaps
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

Measure code patterns such as casts to any or disabled lint rules, then run repeated, targeted edits. Keep changes that improve the chosen metric, revert unsuccessful changes, and track results for each improvement loop.

中文简介正在准备中。当前显示英语简介。

  • Finding code patterns to prioritize for cleanup
  • Preparing measurement files for an improvement loop
  • Repeating targeted edits to reduce casts to any
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

best-of-n

免费

Generate several separate solutions, compare them against criteria fixed in advance, and verify the selected result through executable checks or an independent reviewer. Keep a proof log documenting candidates, evidence, failures, and remaining limits.

中文简介正在准备中。当前显示英语简介。

  • Comparing implementation options before choosing one
  • Verifying a solution when a wrong choice would be costly
  • Keeping evaluation evidence for delivery or audit
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

canary

免费

Monitor a live application after deployment and compare it with a saved baseline, a record of its earlier state. Check page responses, loading times, and new errors, flag persistent changes, and produce a per-page health report.

中文简介正在准备中。当前显示英语简介。

  • Recording a healthy baseline before deployment
  • Monitoring production immediately after deployment
  • Checking key pages for slower responses or failures
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

catchup

免费

Rebuild project context after clearing a conversation or returning to work. Review recent Git history, uncommitted changes, and TODO markers to get a structured summary of project status and suggested next steps.

中文简介正在准备中。当前显示英语简介。

  • Restoring project context after /clear
  • Reviewing recent changes after a long break
  • Checking unfinished work before choosing the next task
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

查看 FlorianBruniaux 的全部技能

报告此技能的问题