Generate a monthly documentation report from git history. Use this skill when the user asks to create a monthly docs report, monthly newsletter, or wants to summarize documentation changes for a specific month. Trigger when user mentions "monthly report", "docs newsletter", "documentation changes for [month]", or similar phrasing.
84
—
Does it follow best practices?
Impact
94%
1.54xAverage score across 2 eval scenarios
Passed
No known issues
Generate a structured monthly report of documentation changes from git commit history.
Analyzes git commits for a specified month and produces a markdown report categorizing documentation changes. The report is formatted for easy copying into Google Docs and uses clear, factual language without hyperbole.
The report should follow this exact structure:
# [Month YYYY] Documentation Updates
## Summary Statistics
- Total commits: [N] (excluding dependency updates and merges)
- New documentation pages: [N]
- Configuration reference updates: [N]
- Contributors: [N]
## New Pages
- **[Page Title]** ([PR #]) - Contributor Name
- Brief description of what the page covers
- Key topics or use cases addressed
## Major Features and Updates
- **[Feature/Update Name]** ([PR #]) - Contributor Name
- What changed or was added
- Impact or purpose of the change
## Reference Updates
- **[What was added to config reference]** ([PR #]) - Contributor Name
- Brief description of the addition
## Infrastructure and Tooling Updates
- **[Tool/Infrastructure Change]** ([PR #]) - Contributor Name
- What changed and why it mattersAsk the user which month and year they want to analyze if not specified.
Run these git commands to gather commit data:
# Get all non-merge commits for the month
git log --since="YYYY-MM-01" --until="YYYY-MM-31" --oneline --no-merges
# Get commits excluding dependency updates
git log --since="YYYY-MM-01" --until="YYYY-MM-31" --oneline --no-merges | \
grep -vE "(chore\(deps\)|fix\(deps\)|Update dependency|Update Node.js|Update aws-sdk|Update module|Update tailwindcss|Update cimg/)"
# For key commits, get details with file changes
git show --stat --oneline <commit-hash>Review the commits and categorize them:
New Pages: Look for commits that add new .adoc files or mention "new page", "new guide", "new documentation"
Major Features and Updates: Look for:
Reference Updates: Look for commits that modify configuration-reference.adoc or explicitly mention adding to the config reference
Infrastructure and Tooling: Look for:
Exclude these from detailed listings:
You can mention large cleanup campaigns (e.g., "Vale linting cleanup across 60+ files") as a single infrastructure item.
For each significant change:
(#10123))--format="%an")To get contributor names along with commits:
git log --since="YYYY-MM-01" --until="YYYY-MM-31" --pretty=format:"%h | %s | %an" --no-mergesWhen multiple people contribute to related changes, list all contributors (e.g., "Contributor A, Contributor B")
# Get unique contributor count for the month
git log --since="YYYY-MM-01" --until="YYYY-MM-31" --format="%an" | \
grep -vE "(dependabot|renovate)" | sort -u | wc -lWrite the markdown file to [month]-[year]-newsletter.md (e.g., april-2026-newsletter.md).
Be factual and concise:
Good examples:
Avoid:
Per-item format: Each item should have:
Example:
- **Slack Integration Guide** (#10146) - Henna
- Setup instructions for CircleCI Slack integration
- Includes org and project-level configurationEmpty month: If no substantive commits, say so clearly:
# [Month YYYY] Documentation Updates
No significant documentation updates were made in [Month YYYY].Mixed types: If a PR affects multiple categories, list it in the most relevant one, don't duplicate.
Large cleanup campaigns: Group related small changes (e.g., 50 Vale linting fixes) into one infrastructure item rather than listing each individually.
Changes that don't fit the categories: If you find commits that don't fit into any of the 5 categories, inform the user and ask if a new section is needed. List the commits that don't fit and suggest potential category names. For example:
I found [N] commits that don't fit the existing categories:
- [commit description] (#PR)
- [commit description] (#PR)
These seem to be related to [theme]. Should I add a new section called "[Suggested Name]"?Save the report to a file named [month]-[year]-newsletter.md in the current working directory and inform the user where it was saved.
65ff472
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.