jnMetaCode/superpowers-zh / skills/writing-skills
writing-skills
Verified当创建新技能、编辑现有技能或在部署前验证技能是否有效时使用
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 15.6 KB |
| anthropic-best-practices.md | markdown | 41.5 KB |
| examples/CLAUDE_MD_TESTING.md | markdown | 5.3 KB |
| graphviz-conventions.dot | other | 5.8 KB |
| persuasion-principles.md | markdown | 5.3 KB |
| references/bulletproofing.md | markdown | 2.0 KB |
| references/discovery.md | markdown | 5.8 KB |
| references/flowcharts.md | markdown | 1.2 KB |
| references/skill-template.md | markdown | 1.2 KB |
| render-graphs.jsexecutable | script | 5.5 KB |
| testing-skills-with-subagents.md | markdown | 12.1 KB |
references/flowcharts.md
View on GitHub## 流程图使用
```dot
digraph when_flowchart {
"需要展示信息?" [shape=diamond];
"我可能在决策中犯错?" [shape=diamond];
"使用 markdown" [shape=box];
"小型内联流程图" [shape=box];
"需要展示信息?" -> "我可能在决策中犯错?" [label="是"];
"我可能在决策中犯错?" -> "小型内联流程图" [label="是"];
"我可能在决策中犯错?" -> "使用 markdown" [label="否"];
}
```
**仅在以下情况使用流程图:**
- 非显而易见的决策点
- 你可能过早停止的流程循环
- "何时使用 A vs B"的决策
**绝不使用流程图用于:**
- 参考资料 → 表格、列表
- 代码示例 → Markdown 代码块
- 线性指令 → 编号列表
- 无语义意义的标签(step1、helper2)
参见 @../graphviz-conventions.dot 了解 graphviz 样式规则。
**为你的搭档可视化:** 使用技能目录中的 `render-graphs.js` 将技能的流程图渲染为 SVG:
在 `writing-skills` 技能目录中运行:
```bash
node ./render-graphs.js ../some-skill # 每个图表分别渲染
node ./render-graphs.js ../some-skill --combine # 所有图表合并为一个 SVG
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |