Agent skill
commit-based-brag-docs
Use when a user needs a personal brag doc draft generated from git commits in a specific repository and relative timeframe, with evidence-first bullets and prompts for non-commit contributions.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/brag-doc-skill
SKILL.md
Commit-Based Brag Docs
Overview
Generate a structured brag doc draft from commit history. This skill is optimized for personal records: it is commit-only by default, then explicitly asks for non-commit contributions so invisible work is not lost.
Core rule: no impact claims without evidence in commit history or a manual note.
Quick Start
- Confirm inputs:
- target repo path
- relative window (default:
30 days) - optional author override
- Run:
python3 scripts/generate_brag_doc.py \
--repo /absolute/path/to/repo \
--window "30 days"
Installed skill path variant:
python3 "${CODEX_HOME:-$HOME/.codex}/skills/commit-based-brag-docs/scripts/generate_brag_doc.py" \
--repo /absolute/path/to/repo \
--window "30 days"
- Optional outputs:
python3 scripts/generate_brag_doc.py \
--repo /absolute/path/to/repo \
--window "90 days" \
--author "[email protected]" \
--output /absolute/path/to/output.md \
--json-output /absolute/path/to/output.json
Default markdown destination:
<repo>/docs/brag-docs/YYYY-MM-DD-brag-doc-last-<window>.md
Share / Install
Install from a GitHub repo/path:
$skill-installer scripts/install-skill-from-github.py \
--repo benceHornyak/brag-doc-skill \
--path . \
--name commit-based-brag-docs
Or from a GitHub repo URL:
$skill-installer scripts/install-skill-from-github.py \
--url https://github.com/benceHornyak/brag-doc-skill \
--path . \
--name commit-based-brag-docs
Or install with skills.sh:
npx skills add benceHornyak/brag-doc-skill
Usage example after install:
Use $commit-based-brag-docs to draft my brag doc for the last 30 days from /absolute/path/to/repo.
Workflow
- Collect evidence from git:
- commits in timeframe
- metadata (hash, date, author, subject/body)
- numstat and filenames
- Group evidence into themes:
- delivery/product
- quality/reliability
- tooling/DevEx
- docs/knowledge sharing
- maintenance/refactoring
- Generate markdown sections:
## Snapshot## Key Accomplishments## Quality and Reliability## Invisible but Valuable Work (Manual Fill)## Lessons / What I'd Do Differently## Evidence Appendix
- Rewrite weak bullets:
- convert activity into outcomes
- name who benefited
- keep evidence pointers (commit hashes, file scope, diff stats)
Guardrails
- Do not invent impact numbers.
- If impact is unknown, use
TODO:prompts instead of guessing. - Keep direct traceability to commit evidence.
- Preserve the manual-fill section; commit-only data misses mentoring, incident response, and cross-team support.
Writing Rubric
Use this transformation pattern:
- Activity: "Refactored auth middleware."
- Better: "Reduced auth-path complexity in middleware used by X services (evidence:
abc123,def456), lowering change risk for future auth work."
Checklist for each accomplishment bullet:
- clear action
- scope (system/team/user)
- plausible outcome
- concrete evidence pointer
- no unsupported claims
Reference
For the distilled research principles, read:
references/brag_doc_principles.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?