用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill doc-currency命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | doc-currency |
| description | | Use when this capability is needed. |
Documentation that lags the code is worse than no documentation — it actively misleads. Before you call a task done, make sure the docs catch up.
This skill is mandatory at task completion for any change that:
Trivial fixes (single-file bugfix with no contract change, dependency bump, test-only edit) are exempt — you should still glance at the doc tree but no update is required.
Before editing anything, identify which authoritative docs describe the area you touched. The canonical owners in this repo are:
[!IMPORTANT] If your change touches an architectural boundary — auth, the Copilot worker dispatch, background jobs, storage, observability, Aspire resource graph —
docs/architecture.mdis in scope by default. It is the index doc that links everything else, so a drifted system diagram or stale code pointer there is louder than a stale rule in a deeper reference.
| Area touched | Authoritative doc(s) |
|---|---|
| Architectural data flow, system shape, dev-loop story, anything cross-cutting | docs/architecture.md |
| OTel exporters, samplers, attributes, browser bootstrap, env vars | .github/skills/opentelemetry/SKILL.md |
| Aspire AppHost, resource graph, env injection, dev workflow | apphost.ts, docs/architecture.md (local-dev section), .github/skills/aspire-debugging/SKILL.md |
| Auth, multi-tenant token flow, per-request Octokit | docs/architecture.md (story), docs/architecture-multitenant.md (deep dive), .github/copilot-instructions.md |
| Copilot SDK sessions, MCP wiring, session persistence | docs/copilot-sdk-persistence.md, .github/skills/copilot-sdk/SKILL.md, .github/skills/copilot-sdk-worker-only/SKILL.md |
| Copilot worker boundary, per-user runtime pool, job executors | docs/architecture.md (decisions 2–4), .github/skills/copilot-sdk-worker-only/SKILL.md |
| Per-user storage layout, token store envelope, retention sweeps | docs/architecture.md (storage section), docs/architecture-multitenant.md |
| Deployment to Azure Container Apps | docs/deployment-aca.md, infra/README.md |
| Documentation rules themselves | .github/instructions/documentation.instructions.md |
| TypeScript conventions, anti-patterns | .github/instructions/typescript.instructions.md |
| Testing patterns (Vitest, Playwright) | .github/instructions/testing.instructions.md |
| Architectural data flow, environment variables, commands | .github/copilot-instructions.md, docs/architecture.md |
| Tech-debt tooling, scripts | .github/copilot-instructions.md |
| User-facing setup, dev-loop commands | README.md, docs/architecture.md (local-dev section), CONTRIBUTING.md |
If your change spans more than one row, every owning doc is in scope.
For each owning doc:
Treat omissions with as much weight as contradictions. If the doc should say "we do X" and now doesn't, that's a gap.
Doc updates follow the same proportionality as TSDoc:
documentation.instructions.md, link to it from the skill, don't restate it.Documentation captures the current state of the system, not the history of how it got there. A reader coming to the docs for the first time does not need to know what we tried before, what regression we recovered from, or which commit introduced a rule. They need to know what is true today and what they must do to stay aligned with it.
Anti-patterns to avoid in docs:
What to write instead:
path/file.ts:N for the implementation." (Pointer the reader can verify.)Migration notes have a legitimate but narrow place: when a new pattern replaces an old one that still appears in the codebase so readers recognise the deprecated form and can finish the migration. Once the old form is gone, the migration note goes with it.
If today's change unwinds an earlier approach, remove the earlier explanation rather than layering a "but now we do…" paragraph on top of it. The doc tree is not append-only.
After updating docs:
grep for ](../ paths if you've moved files).Doc updates belong in the same PR (and ideally same commit) as the code change. A doc-only follow-up PR routinely never lands. If the code commit is already pushed and you discover a gap, push a focused follow-up immediately — don't queue it.
task_completeIf any box is unticked, the task is not complete.
Source: chrisreddington/flight-school — distributed by TomeVault.