← Back to list

doc-maintainer
by wenjie2024
⭐ 1🍴 0📅 Jan 22, 2026
SKILL.md
name: doc-maintainer description: Auto-updates documentation (README, implementation plans) based on recent code changes.
Document Maintainer
This skill helps you keep project documentation synchronized with the codebase. It analyzes recent git changes and suggests updates to documentation files.
When to Use
- After completing a significant feature or refactor.
- When
README.mdorimplementation_plan.mdassumes outdated implementation details. - To verify if documentation reflects the current codebase state.
Workflow
- Analyze Changes: Run the analysis script to see what code has changed.
- Review Suggestions: The script will output a summary of changes and suggest documentation updates.
- Apply Updates: You (the Agent) should apply the updates to the markdown files using your file editing tools.
Tools
Analyze Changes
Run the following script to analyze the git diff and identify impacted documentation:
python .agent/skills/doc-maintainer/scripts/analyze.py --since HEAD~1
(Note: Adjust --since to cover the relevant commit range if needed)
Output Format: Text summary of changes and potential documentation impacts.
Example:
--- Doc Impact Analysis (Since HEAD~1) ---
Changed Files (1):
- src/auth.py
Documentation References:
📄 README.md mentions:
-> src/auth.py
Rules
- Truth Source: The Code is the source of truth. If docs contradict code, fix the docs.
- Conciseness: Don't narrate the diff; summarize the impact on the user or developer.
- Safety: Do not overwrite
productContext.md(Requirements) unless the user explicitly requested a requirement change.
Troubleshooting
If the script fails:
- Check if you are in the project root.
- Ensure git is initialized and has commits.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon