get-commits

Extract and parse local git commit history into structured JSON format with custom tags ([Why], [What], [Impact]). Use when generating changelogs, creating PR summaries, updating CHANGELOG.md files, or analyzing recent code changes. Parses conventional commits, extracts technical details and business impact, and returns flat JSON to save context tokens and reduce hallucinations during documentation generation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "get-commits" with this command: npx skills add aroldolanderos/skills/aroldolanderos-skills-get-commits

Git Changelog Parser

Parse local git commit history into clean, structured JSON. Extracts conventional commit metadata, custom tags ([Why], [What], [Impact]), and returns a token-efficient flat structure ready for documentation workflows.

Quick Start

python3 scripts/get_commits.py 20

Returns JSON with last 20 commits:

[
  {
    "hash": "abc1234",
    "date": "2026-02-09",
    "type": "feat",
    "scope": "auth",
    "title": "Add JWT authentication",
    "what": "Implemented JWT tokens with refresh mechanism",
    "impact": "Breaking change: auth endpoints require tokens"
  }
]

Use in your workflow

  1. Changelog: Run script, extract [What] fields, format as Markdown
  2. PR Summary: Run script, extract [Impact] fields, create executive summary
  3. Change Analysis: Run script, filter by type/scope, generate reports

Commit Message Format

The script expects commits following this structure:

feat(scope): Brief description

[Why] Reason for this change
[What] Technical implementation details
[Impact] Business impact or breaking changes
  • First line: type(scope): title or type: title
  • Tags on separate lines: [Why]: ..., [What]: ..., [Impact]: ...
  • All tags are optional; missing tags return empty strings
  • Merge commits are filtered out automatically

Script Parameters

python3 scripts/get_commits.py [limit]
  • limit (optional): Number of commits to retrieve (default: 50)

JSON Output Structure

Flat, token-efficient structure (no nesting):

FieldDescription
hashShort commit hash (7 chars)
dateISO date formatted as YYYY-MM-DD
typeConventional commit type (feat, fix, etc.)
scopeComponent/area affected (empty if missing)
titleDescription with type/scope prefix removed
whatTechnical details from [What] tag
impactBusiness impact from [Impact] tag

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

user-story-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Self Updater

⭐ OPEN SOURCE! GitHub: github.com/GhostDragon124/openclaw-self-updater ⭐ ONLY skill with Cron-aware + Idle detection! Auto-updates OpenClaw core & skills, an...

Registry SourceRecently Updated
1221Profile unavailable
Coding

ClawHub CLI Assistant

Use the ClawHub CLI to publish, inspect, version, update, sync, and troubleshoot OpenClaw skills from the terminal.

Registry SourceRecently Updated
1.9K2Profile unavailable
Coding

SkillTree Learning Progress Tracker

Track learning across topics like an RPG skill tree. Prerequisites, milestones, suggested next steps. Gamified learning path.

Registry SourceRecently Updated
910Profile unavailable