用途分类 / 开发辅助
Writing Plans Skill 安全审计
作者说它能做什么(原文)
Use when you have a spec or requirements for a multi-step task, before touching code
第三方安全检查结论
这次检查未发现明显风险
- 已检查文件
- 2
- 发现的风险
- 0
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。未发现风险
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。未发现风险
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。未发现风险
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险
Skill 逻辑拆解
该 Skill 的实际用途是生成细化的实施计划,并默认把计划保存到仓库内按日期命名的 Markdown 路径;用户指定的位置可以覆盖该默认值。
查看原文
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.**Save plans to:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`- (User preferences for plan location override this default)生成的计划必须包含面向后续执行代理的指令,要求使用另一个名为 `superpowers:subagent-driven-development` 或 `superpowers:executing-plans` 的 Skill。该文件仅要求把这些指令写进计划;本次提供的源码没有包含这些外部 Skill 的实现。
查看原文
**Every plan MUST start with this header:**```markdown# [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.**If Subagent-Driven chosen:**- **REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development- Fresh subagent per task + two-stage review**If Inline Execution chosen:**- **REQUIRED SUB-SKILL:** Use superpowers:executing-plans- Batch execution with checkpoints for review计划模板会为实施步骤加入 `git add` 和 `git commit` 命令,但这些内容是写入计划的示例步骤,不是该规划 Skill 自己立即执行的命令。保存计划后,它还应先向用户提供两种执行方式供选择。
查看原文
- [ ] **Step 5: Commit**```bashgit add tests/path/test.py src/path/file.pygit commit -m "feat: add specific feature"```````## Execution HandoffAfter saving the plan, offer execution choice:**"Plan complete and saved to `docs/superpowers/plans/<filename>.md`. Two execution options:****1. Subagent-Driven (recommended)** - I dispatch a fresh subagent per task, review between tasks, fast iteration**2. Inline Execution** - Execute tasks in this session using executing-plans, batch execution with checkpoints**Which approach?"**单独的 reviewer 文件是一个放在代码围栏中的子代理提示词模板,而非自动运行逻辑;主 Skill 还明确说明其自审清单不应派发子代理。
查看原文
Use this template when dispatching a plan document reviewer subagent.**Purpose:** Verify the plan is complete, matches the spec, and has proper task decomposition.**Dispatch after:** The complete plan is written.```Subagent (general-purpose):## Self-ReviewAfter writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.从这里开始 · 工作说明SKILL.md
writing-plans文件与检查记录2 个文件
检查范围与遗漏
逐文件查看涉及的内容
下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。
SKILL.md已纳入全文plan-document-reviewer-prompt.md已纳入全文
这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。
SKILL.md工作说明plan-document-reviewer-prompt.md配套文件
代码和说明中提到的操作
运行命令
```bashgit add tests/path/test.py src/path/file.py- 读取了多少行
- 222
- 文件校验值(用于核对版本)
- e608c19cd8802acc2c3a35376073c5dfbd11b3e26588a185f404fc1cabbd8c4d