doc-writer
Create or update numbered task docs using repo context, DOC_TEMPLATE.md, and naming conventions.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Doc Writer Skill
Purpose
Generate or refresh docs/planned/XX-*.md and docs/completed/XX-*.md files using the mandated template (docs/DOC_TEMPLATE.md) and existing repository content.
Instructions
- Inspect relevant source material:
- Read
docs/DOC_TEMPLATE.mdfor structure expectations. - Gather context from
PLAN.md,AGENTS.md, and any existing task doc being updated. - When creating a new task, identify prior numbering and ensure a unique two-digit prefix.
- Read
- Draft the document following exact sections: metadata block, Objective, Prerequisites / Dependencies, Implementation Steps, Validation, Completion Criteria, Notes / Follow-ups.
- Reference existing code or documentation by linking relative paths rather than duplicating large excerpts.
- Confirm acceptance criteria reflect the latest repository state (tests, tooling, env requirements).
- Save the file under the correct directory (
docs/planned/ordocs/completed/) with the naming conventionNN-task-name.md. - Run required validators (lint/tests) if file changes mandate repository updates; record commands executed.
- Summarize the edits in the PR/task notes.
Verification
- Ensure the new/updated doc passes markdown lint (if configured) and adheres to
docs/DOC_TEMPLATE.mdstructure. - Confirm numbering sequence remains unique.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!