一键导入
sync-doc-surfaces
Update DevGraph's owned docs surfaces after code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update DevGraph's owned docs surfaces after code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | sync-doc-surfaces |
| description | Update DevGraph's owned docs surfaces after code changes. |
| disable-model-invocation | true |
Update DevGraph's owned docs surfaces after code changes.
This skill keeps active docs aligned with current code and package truth.
It owns:
README.mdapps/docs/internal-docs/DEVELOPMENT.mdIt does not own:
internal-docs/RELEASING.mdCONTRIBUTING.md.changeset/*Read current truth from code first. Read:
packages/devgraph-cli/src/index.tspackage.jsonpackages/devgraph-cli/package.jsonpackages/devgraph-core/package.jsonpackages/devgraph-core/src/index.tspackages/devgraph-core/src/types.ts
Completion criterion: you can state the current command surface, artifact shape, and relevant build or check scripts without relying on existing prose.Inspect the code diff before choosing docs to edit. Use the diff to classify what changed:
Update only the owned active surfaces.
Use references/SURFACES.md to map code truth to docs files.
Update the minimum owned set needed by the diff, which can include:
README.mdapps/docs/docs.jsonapps/docs/introduction.mdxapps/docs/quickstart.mdxinternal-docs/DEVELOPMENT.md
Completion criterion: every changed command, script, artifact, and owned workflow surface is updated or explicitly reported as unchanged.Sweep for stale legacy references without editing them.
Use references/LEGACY_POLICY.md.
Scan for stale mentions of removed commands or old workflows outside owned surfaces.
Completion criterion: stale legacy references are listed for the final report, and no non-owned historical surface is edited by default.
Verify the repo after edits. Run:
pnpm checkpnpm format
Completion criterion: both commands have been run, and any failures or remaining drift are reported.Report: