一键导入
document
Capture hard-won engineering knowledge in durable project documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture hard-won engineering knowledge in durable project documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a task autonomously with reversible defaults and a reviewable handback.
Turn an idea into an approved implementation spec through collaborative design.
Inspect and commit the intended local changes cleanly.
Diagnose bugs, test failures, and unexpected behavior from evidence before changing code.
Isolate independent or context-heavy work when parallelism or fresh context materially improves the task.
Implement an approved spec or clearly defined piece of work.
| name | document |
| description | Capture hard-won engineering knowledge in durable project documentation. |
| disable-model-invocation | true |
| argument-hint | [what to document] |
Capture knowledge for humans. Not for AI, not for ceremony — for the person who maintains this code in six months.
If the project has a docs/ folder, use it. The spec file from brainstorm is a starting point, but it needs rewriting — specs are instructions for an agent, docs are explanations for a person.
Write for someone who will use or maintain this feature. What does it do, how does it work, what should they know.
When a complex issue is resolved, especially one that took significant investigation:
Place this close to the relevant code: inline comments for small gotchas, a dedicated doc for complex ones.
For complex ongoing work — like replicating engine-specific rendering in WebGL, or fighting a particularly tricky integration — maintain a living doc of approaches tried:
## Approaches Tried
- **Gamma correction swap (sRGB -> linear)** — didn't work because [reason]. See [source].
- **Manual tone mapping curve** — partially worked but [limitation].
- **[What actually worked]** — works because [explanation]. Key insight: [the non-obvious thing].
This prevents future sessions from re-treading the same ground. If the agent's first instinct is "maybe it's the gamma correction" but that was already tried and documented — the doc catches it.
When a non-obvious choice is made, document why. Not a formal ADR — just a brief note:
Lives in docs/ or as a comment near the relevant code, depending on scope.