根据需求先拆解多步骤任务,生成清晰可执行的实施计划
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "writing-plans" 技能: 1. 下载 https://raw.githubusercontent.com/obra/superpowers/main/skills/writing-plans/SKILL.md 2. 保存为 ~/.claude/skills/writing-plans/SKILL.md 3. 装好后重载技能,告诉我可以用了
我有一个需求:为现有 Web 应用增加用户通知中心,支持站内消息、已读未读状态和消息筛选。请先不要写代码,先根据这个需求输出分阶段实施计划,包括关键任务、依赖、风险和验收标准。
一份结构化实施计划,按阶段拆解工作,并列出依赖、风险与验收标准。
下面是一项多步骤任务:把团队每周手工整理的销售报表流程自动化。请基于现状描述,输出执行计划,包含需求澄清、数据来源梳理、自动化方案、测试步骤和上线顺序。
一份从调研到上线的完整任务规划,帮助团队按顺序推进自动化工作。
我已经写好了产品需求文档,目标是上线一个文件上传与权限管理模块。请阅读需求后,先输出技术实施计划,不要直接编码。计划中请说明模块拆分、接口设计重点、测试检查点和可能的阻塞问题。
一份面向开发执行的技术计划,明确模块、接口重点、测试点和潜在阻塞。
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Context: If working in an isolated worktree, it should have been created via the superpowers:using-git-worktrees skill at execution time.
Save plans to: docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md
If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
Each step is one action (2-5 minutes):
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
- [ ] **Step 1: Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
```
- [ ] **Step 2: Run test to verify it fails**
Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
- [ ] **Step 3: Write minimal implementation**
```python
def function(input):
return expected
```
- [ ] **Step 4: Run test to verify it passes**
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS
- [ ] **Step 5: Commit**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```
Every step must contain the actual content an engineer needs. These are plan failures — never write them:
…
帮助你审慎分析代码评审意见,核实技术合理性后再决定是否采纳。
在对话开始时建立技能发现与调用规则,确保先用技能再作答。
在宣称任务完成或修复成功前,先执行验证并用结果佐证结论。
在开发分支完成并通过测试后,帮助选择合并、提 PR 或清理收尾方案。
在创意与实现前梳理用户意图、需求与方案方向,降低返工风险。
用于在当前会话中拆分并并行推进独立实现任务,加快开发执行效率。
在设计完成后,为缺乏上下文的工程师生成可执行的详细实施计划。
为工程师生成分步实施计划,帮助在陌生代码库中快速落地任务。
审查实现计划中的遗漏、假设与步骤顺序,降低后续开发返工风险
按批次执行详细计划并设置复核检查点,帮助任务稳步推进与纠偏
将 Notion 规格说明转为实施计划、任务拆解与进度跟踪。
用持久化 Markdown 规划流程管理复杂任务,持续跟踪目标、进度与决策。