Agent skill

Commit Parser

by revfactory in revfactory/harness-100

Methodology for parsing git commit messages and extracting structured change information.

Apache-2.0Auto-check passedDevelopment

Install Commit Parser

skills CLI
$ npx skills add revfactory/harness-100 --skill commit-parser -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 commit-parser --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/39-changelog-generator/.claude/skills/commit-parser .claude/skills/commit-parser && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-parser
GitHub stars
1.3k
Token cost
~1.1k tokens
SKILL.md length
74 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

Methodology for parsing git commit messages and extracting structured change information.

  • Commit message analysis
  • SKILL.md covers Target Agents, Conventional Commits Parsing…, Non-Conventional Commit… and PR/Issue Mapping Strategy, plus 2 more sections
  • Calls git
  • Conventional Commits parsing

What it does

Commit Parser is an agent skill from revfactory/harness-100. Methodology for parsing git commit messages and extracting structured change information. Use this skill for 'commit parsing', 'commit message analysis', 'Conventional Commits parsing', 'git history structuring', and other commit analysis tasks. Note: git hook configuration and commit lint tool installation are outside the scope of this skill.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages and Git workflow. It works with Git. The licence is Apache-2.0.

When your agent uses it

  • Commit message analysis
  • Conventional Commits parsing
  • Git history structuring
  • Other commit analysis tasks

Example prompts

  • “commit parsing”
  • “commit message analysis”
  • “Conventional Commits parsing”
  • “/commit-parser”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Parser loads about 1.1k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 74 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 74 words, ~1,127 tokens.

Download SKILL.mdSave it as .claude/skills/commit-parser/SKILL.md (or your agent's skills folder).
name
commit-parser
description
Methodology for parsing git commit messages and extracting structured change information. Use this skill for 'commit parsing', 'commit message analysis', 'Conventional Commits parsing', 'git history structuring', and other commit analysis tasks. Note: git hook configuration and commit lint tool installation are outside the scope of this skill.

Commit Parser — Commit Message Parsing and Structuring Methodology

A skill that enhances the commit analysis capabilities of the commit-analyst.

Target Agents

  • commit-analyst — Extracts meaningful change information from git history
  • change-classifier — Classifies changes using parsed results

Conventional Commits Parsing Rules

Regex Pattern
^(?<type>feat|fix|docs|style|refactor|perf|test|ci|chore|build|revert)
(?:\((?<scope>[^)]+)\))?
(?<breaking>!)?
:\s*
(?<subject>.+)$

Body: BREAKING CHANGE: <description>
Footer: Refs: #123, Closes #456
Parsed Result Structure
python
ParsedCommit = {
    "hash": "abc1234",
    "type": "feat",           # Change type
    "scope": "auth",          # Impact scope (optional)
    "breaking": True/False,   # Breaking Change
    "subject": "add OAuth2",  # Subject
    "body": "...",            # Body
    "footer": {
        "refs": ["#123"],     # Referenced issues
        "closes": ["#456"],   # Closed issues
        "breaking_change": "" # BREAKING CHANGE description
    },
    "author": "name <email>",
    "date": "2025-01-15",
    "files_changed": ["src/auth.py"],
    "insertions": 50,
    "deletions": 10
}

Non-Conventional Commit Classification Strategy

For projects that do not use Conventional Commits:

Keyword-Based Classification
python
classification_rules = {
    "feat": ["add", "new", "implement", "introduce", "support"],
    "fix": ["fix", "bug", "patch", "resolve", "correct", "hotfix"],
    "refactor": ["refactor", "restructure", "reorganize", "clean"],
    "perf": ["performance", "optimize", "speed", "faster", "cache"],
    "docs": ["doc", "readme", "comment"],
    "test": ["test", "spec", "coverage"],
    "ci": ["ci", "pipeline", "workflow", "deploy"],
    "style": ["format", "lint", "whitespace"],
    "chore": ["bump", "update dep", "upgrade", "dependency"]
}
Diff-Based Classification (when keyword matching fails)
1. Analyze changed file extensions:
   - .md/.rst -> docs
   - test_*.py / *.test.js -> test
   - .yml/.yaml (CI paths) -> ci

2. Analyze change patterns:
   - New file added + export -> feat
   - Existing file modified + error/exception -> fix
   - Code moved without new imports -> refactor

3. Analyze change scale:
   - +500 lines or more -> likely feat
   - +/-10 lines or fewer -> likely fix/style

PR/Issue Mapping Strategy

python
# Extract issue numbers from commits
issue_patterns = [
    r'#(\d+)',                    # #123
    r'(?:close|fix|resolve)s?\s+#(\d+)',  # closes #123
    r'([A-Z]+-\d+)',              # JIRA-123
    r'GH-(\d+)',                  # GH-123
]

# Extract related issues from PRs (Merge commit)
merge_pattern = r'Merge pull request #(\d+)'

# Extract PR number from squash merges
squash_pattern = r'\(#(\d+)\)$'

Change Impact Score Calculation

python
def impact_score(commit):
    score = 0

    # Based on file count
    score += min(len(commit.files), 10) * 2  # Max 20

    # Based on lines changed
    changes = commit.insertions + commit.deletions
    if changes > 500: score += 30
    elif changes > 100: score += 20
    elif changes > 30: score += 10
    else: score += 5

    # Breaking Change
    if commit.breaking: score += 50

    # Public API changes
    if any('api' in f or 'public' in f for f in commit.files):
        score += 15

    # Database migrations
    if any('migration' in f for f in commit.files):
        score += 20

    return min(score, 100)

# Score interpretation:
# 80-100: Critical — Release note highlight
# 50-79: High — Include in release notes
# 20-49: Medium — Include in change list
# 0-19: Low — Include in detailed list only

Git Command Recipes

bash
# Commits between two tags
git log v1.2.0..v2.0.0 --oneline --no-merges

# Include changed files
git log v1.2.0..v2.0.0 --name-only --pretty=format:"%H|%s|%an|%ai"

# Diff statistics
git diff v1.2.0..v2.0.0 --stat

# Contributor list
git log v1.2.0..v2.0.0 --format="%aN" | sort -u

# Breaking Change commits only
git log v1.2.0..v2.0.0 --grep="BREAKING" --grep="!" --all-match

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in en/39-changelog-generator/.claude/skills/commit-parser of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Commit Parser next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Parser compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Parser this skillrevfactory/harness-1001.3k—~1.1kAutomated safety check: PassApache-2.0
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0
Git Workflow and Versioningaddyosmani/agent-skills102k2 repos~3.5kAutomated safety check: NotesMIT
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Emoji Commit ConventionsbaptisteArno/typebot.io11k—~424Automated safety check: PassCustom licence

Similar skills

  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    102k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Emoji Commit Conventions

    baptisteArno/typebot.io

    Sets the repository's convention for commit messages and pull request titles: one emoji prefix for the main intent, a concise title and clean follow-up commits.

    11k GitHub stars~424 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draft Pull Request Creator

    wordpress-mobile/WordPress-Android

    Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.

    3.2k GitHub stars~881 tokensUpdated today
    DevelopmentAuto-check: notes

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Works with

Categories

Questions about Commit Parser

What does Commit Parser do?

Methodology for parsing git commit messages and extracting structured change information. Commit Parser is an agent skill from revfactory/harness-100. Methodology for parsing git commit messages and extracting structured change information.

When should I use Commit Parser?

Commit Parser fits situations like: commit message analysis; conventional Commits parsing; Git history structuring; other commit analysis tasks.

How do I install Commit Parser in Claude Code?

Run `npx skills add revfactory/harness-100 --skill commit-parser -a claude-code`. Or copy the skill folder (en/39-changelog-generator/.claude/skills/commit-parser in revfactory/harness-100) into .claude/skills/commit-parser in your project. Claude Code loads it when a task matches its description.

How do I install Commit Parser in Codex?

Run `npx skills add revfactory/harness-100 --skill commit-parser -a codex`. Or copy the skill folder (en/39-changelog-generator/.claude/skills/commit-parser in revfactory/harness-100) into .agents/skills/commit-parser in your project. Codex loads it when a task matches its description.

Can I use Commit Parser in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill commit-parser -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-parser, .gemini/skills/commit-parser, .github/skills/commit-parser and .opencode/skills/commit-parser in your project.

What does Commit Parser need to run?

Going by SKILL.md and its folder, Commit Parser needs the command-line tools its instructions call (git). Our summary lists: Python 3.

Does Commit Parser access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit Parser safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit Parser use?

Commit Parser is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit Parser use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Parser?

Skills that share tags, products or a category with Commit Parser: ToolJet Multi-Repo Commit (ToolJet/ToolJet, 41k stars), Git Workflow and Versioning (addyosmani/agent-skills, 102k stars), React Router Pull Request Creator (remix-run/react-router, 57k stars) and Saleor Commit Workflow (saleor/saleor, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Parser?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.