编写计划
针对复杂目标编写详尽的步骤规划和行动指南。
SKILL.md Definition
Writing Plans
Overview
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: This should be run in a dedicated worktree (created by brainstorming skill).
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md
Bite-Sized Task Granularity
Each step is one action (2-5 minutes):
- "Write the failing test" - step
- "Run it to make sure it fails" - step
- "Implement the minimal code to make the test pass" - step
- "Run the tests and make sure they pass" - step
- "Commit" - step
Plan Document Header
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
Task Structure
### 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
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
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
## Remember
- Exact file paths always
- Complete code in plan (not "add validation")
- Exact commands with expected output
- Reference relevant skills with @ syntax
- DRY, YAGNI, TDD, frequent commits
## Execution Handoff
After saving the plan, offer execution choice:
**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**
**1. Subagent-Driven (this session)** - I dispatch fresh subagent per task, review between tasks, fast iteration
**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints
**Which approach?"**
**If Subagent-Driven chosen:**
- **REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development
- Stay in this session
- Fresh subagent per task + code review
**If Parallel Session chosen:**
- Guide them to open new session in worktree
- **REQUIRED SUB-SKILL:** New session uses superpowers:executing-plans
---
## About Superpowers
Superpowers is a complete software development workflow for your coding agents, built on top of a set of composable "skills".
### Philosophy
- **Test-Driven Development** - Write tests first, always
- **Systematic over ad-hoc** - Process over guessing
- **Complexity reduction** - Simplicity as primary goal
- **Evidence over claims** - Verify before declaring success
### Installation
**Note:** Installation differs by platform. Claude Code has a built-in plugin system. Codex and OpenCode require manual setup.
#### Claude Code (via Plugin Marketplace)
In Claude Code, register the marketplace first:
```bash
/plugin marketplace add obra/superpowers-marketplace
Then install the plugin from this marketplace:
/plugin install superpowers@superpowers-marketplace
Verify Installation
Check that commands appear:
/help
# Should see:
# /superpowers:brainstorm - Interactive design refinement
# /superpowers:write-plan - Create implementation plan
# /superpowers:execute-plan - Execute plan in batches
Links & Support
- Repository: https://github.com/obra/superpowers
- Issues: https://github.com/obra/superpowers/issues
强大的 Agent Skills
通过我们的专业技能集合提升您的 AI 性能。
开箱即用
复制并粘贴到任何支持技能的智能体系统中。
模块化设计
混合并匹配 'code skills' 以创建复杂的智能体行为。
针对性优化
每个 'agent skill' 都经过调整,以实现高性能和准确性。
开源透明
所有 'code skills' 都开放贡献和自定义。
跨平台支持
适用于各种 LLM 和智能体框架。
安全可靠
经过审核的技能,遵循 AI 安全最佳实践。
如何使用
简单三步,让您的 AI 智能体拥有专业技能。
选择技能
在首页根据分类找到您需要的技能。
查阅定义
点击进入详情页,查看该技能的详细约束和指令。
一键复制
点击复制按钮,将其粘贴到您的 AI 系统设置中。
测试反馈
在对话中测试效果,并根据需要微调参数。
部署上线
完成测试后,正式部署您的增强型智能体。
用户评价
看看全球开发者如何使用我们的技能集。
张伟
AI 工程师
"Agiskills 让我的智能体开发效率提升了 300%!"
Li Na
产品经理
"这里的 PDF 专家技能解决了我困扰已久的代码生成问题。"
David
开发者
"MCP 构建器非常实用,帮我快速接入了各种工具。"
Sarah
独立开发者
"算法艺术生成的代码非常优雅,注释也很到位。"
陈默
前端专家
"前端设计技能生成的组件质量极高,直接可用。"
王强
CTO
"我们的团队现在统一使用 Agiskills 作为技能标准。"
常见问题
关于 Agiskills 您可能想知道的一切。
是的,所有公开的技能都可以免费复制和使用。