一键导入
docgen-tutorial-update
Update or generate tutorial and guide documentation based on repo understanding and change impact.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update or generate tutorial and guide documentation based on repo understanding and change impact.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review documentation for human understanding effect; not format or fact-check only.
Analyze repository changes and map them to documentation impact.
Guide how to write documentation for quick project understanding; expression order and priorities, not scope or target selection.
Conservative patch skill for the repository homepage README. Enforces skeleton preservation and bilingual sync. Do NOT use for book/tutorial chapters.
Final review pass for teaching quality and readability. Does not rewrite content.
Verify generated or updated documentation against the actual repository state.
| name | docgen-tutorial-update |
| description | Update or generate tutorial and guide documentation based on repo understanding and change impact. |
| allowed-tools | Bash, Read, Write, Edit |
Produce or update teaching-oriented documentation (tutorials, guides, README sections) that is factually grounded in the current repository state. This skill consumes upstream context from repo-understanding and change-impact skills.
docs/generated/doc_scope_decision.json (update_readme, update_book, book_dirs_or_chapters, directory_actions).docs/generated/reference_context.json (examples, tests, templates, source_paths, existing_doc_excerpts). Reference only; target docs are README and book only.docs/generated/change_facts.json.directory_actions is "add", "delete", "merge", "reorg", or "none".book/src/SUMMARY.md if you will add or remove chapters).docs/documentation-collaboration-style.md, docs/templates/diagram-gallery.md, and docs/templates/diagram-spec-template.md.docs/generated/diagram_specs/ using a slugged doc-path directory, for example docs/generated/diagram_specs/book__src__01-overview/block-01.md. Do this before writing or revising Mermaid, and also when you keep an existing figure but rely on it in the updated chapter. The spec is mandatory writer output, not hidden reasoning.scripts/docgen/verify_mermaid.py now emits rendered SVG/PNG artifacts under docs/generated/diagram_artifacts/; these are required inputs for visual review.directory_actions is "add"): Create the new chapter file(s) under book/src, update SUMMARY.md to list them, and write the new chapter content from the change and reference context (what the new module/capability does). Do not only edit existing files — add new structure when the change introduced new modules or capabilities.docs/generated/candidates/.<!-- TODO: verify --> comments.scripts/docgen/run_verify_report.py for the in-scope target set, or run scripts/docgen/verify_paths.py / scripts/docgen/verify_links.py one target doc per invocation. Do not pass multiple markdown targets to a verifier that expects a single doc_file.scripts/docgen/verify_mermaid.py when target docs contain Mermaid diagrams, then keep the emitted artifact report and PNGs under docs/generated/diagram_artifacts/ available for review (for example docs/generated/diagram_artifacts/book__src__01-overview/report.json).docgen-fact-check for factual verification.docgen-repo-understanding (recommended) and docgen-change-impact (if change-driven).docgen-fact-check and docgen-reviewer.codex exec mode, the template path should be specified explicitly.