一键导入
plan-task
Break complex features into a phased plan with parallel tasks, dependency graph, and verifiable success criteria. Use before multi-file work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Break complex features into a phased plan with parallel tasks, dependency graph, and verifiable success criteria. Use before multi-file work.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Optimize token usage and context window discipline. Reduce costs and improve response quality through smart context management.
Unified context lifecycle for FlowDeck sessions — ingest, filter, prune, protect, summarize, and persist with telemetry.
Predict affected files, modules, APIs, tests, and DB paths before changes. Returns an impact map for human review.
Map architecture, conventions, and file structure into `.codebase/`. Use when onboarding or before deep feature work.
Plan differently when the agent has low certainty — ask for clarification or narrow scope instead of pretending full understanding.
Protect critical context from pruning during compaction. Preserve active plans, safety files, pending operations, and user intent anchors.
| name | plan-task |
| description | Break complex features into a phased plan with parallel tasks, dependency graph, and verifiable success criteria. Use before multi-file work. |
| origin | FlowDeck |
Turns vague feature requests into concrete, executable plans. Each step maps to a file, has a verification, and fits within a working session.
Activate when:
| Size | Duration | Action |
|---|---|---|
| Too small | < 30 min | Combine with a related task |
| Right size | 1-3 hours | Keep as is |
| Too large | > 3 hours | Split into two steps in separate waves |
Same wave (run in parallel):
Next wave:
# Plan: [Feature Name]
## Objective
[What this delivers and why]
## Wave 1 — Foundation (parallel)
### Task 1.A — [Name]
- **Agent**: @backend-coder
- **File**: `src/models/subscription.ts`
- **Scope**: Create Subscription model with id, userId, status, expiresAt
- **Verify**: `npx tsc --noEmit` passes
### Task 1.B — [Name]
- **Agent**: @researcher
- **Scope**: Document Stripe subscription API
- **Verify**: Research covers: create, cancel, webhook events
## Wave 2 — Implementation (after Wave 1)
### Task 2.A — [Name]
- **Agent**: @backend-coder
- **Depends on**: Task 1.A, Task 1.B
- **File**: `src/services/billing-service.ts`
- **Scope**: Implement subscribe(), cancel(), handleWebhook()
- **Verify**: `npm test src/billing.test.ts` passes
## Success Criteria
- [ ] [Observable outcome 1]
- [ ] [Observable outcome 2]
- [ ] `npm test` exits 0
- [ ] `npx tsc --noEmit` exits 0
✅ Good: "User can log in with email+password and receives a JWT"
❌ Bad: "Authentication works"
✅ Good: "GET /users/:id returns 404 when user does not exist"
❌ Bad: "Error handling works"
✅ Good: "npm test produces 0 failures"
❌ Bad: "Tests pass"