Index of every page on this site: llms.txt
All skills
eagerworks avatar

/commit

@4e2af20
by eagerworkseagerworks/skills16 stars
Run it yourself

Commits everything modified or new in the working tree by default, grouped into a series of coherent Conventional Commits — one commit per logical change, staged by path, with the type/scope vocabulary inferred from the repo's own git history — instead of sweeping everything into a single commit. Configurable per repo to ask before including new files. Use when asked to "commit this", "commit my changes", "commit everything", "make a commit", "split this into commits", or to write a commit message for work already staged.

Use this Skill: https://skilld.dev/gh/eagerworks/skills/commit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesconfig.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Commit — Configuration

.eagerworks/commit.json, at the target repo's root, is entirely optional. The skill works with no config file at all — by default it commits everything modified or new that it safely can (see the hard exclusion list in references/grouping.md), infers the type and scope vocabulary from git log, groups by change intent, and writes English commit messages. Add the file only when a repo needs to override a default — for example, to have the skill ask before including new files instead of committing them outright.

Resolution order

.eagerworks/commit.json → conventions stated in AGENTS.md/CLAUDE.md → inference from git log → the skill's built-in default. A later source only fills in what an earlier one didn't set.

Commit message language

commit.language has its own ladder, separate from Resolution Order above — the same shape create-pr uses for pr.language:

  1. An explicit instruction in the user's request for this run (e.g. "commit this in English") — wins, once, without touching the config file.
  2. commit.language in .eagerworks/commit.json.
  3. A stated convention in the target repo's AGENTS.md/CLAUDE.md.
  4. Built-in default: English.

The language the user is chatting in is never an input to this ladder. A developer working in English still gets a commit message in es if that's what the repo's config says — the commit message is a permanent part of the repo's history, not a reply to the user.

Schema

All fields optional.

{
  "commit": {
    // Allowed types. Unset infers from `git log`, falling back to the
    // Conventional Commits default set — see references/message-format.md.
    "types": [],

    // Allowed scopes. Unset infers from `git log`. "off" never emits a scope.
    "scopes": [],

    // Require every commit to carry a scope. Default false.
    "requireScope": false,

    // Hard cap on the subject line, type and scope included.
    "subjectMaxLength": 72,

    // Language the commit message is written in — a BCP-47 tag or a plain
    // language name ("en", "es", "pt-BR"). Default "en", regardless of what
    // language the conversation is in. An explicit one-off instruction in the
    // user's request for this run overrides this for that run only — see
    // "Commit message language" above.
    "language": "en",

    // Untracked files found in the working tree: "always" (default) includes
    // them like any other change — the skill commits everything modified or
    // new that it can, by default. "ask" confirms before including any of
    // them in a group instead. "never" leaves them out of every commit
    // entirely. The hard exclusion list (.env, credentials, node_modules,
    // build output, screenshots — see references/grouping.md) applies
    // regardless of this setting.
    "includeUntracked": "always",

    // Stop and check in after this many commits in a single run, rather than
    // creating an unbounded series unattended.
    "maxCommitsPerRun": 5,

    // Append a `Signed-off-by` trailer via `git commit -s`.
    "signoff": false,

    // Fixed trailers appended to every commit's footer, verbatim.
    "trailers": []
  }
}

commit.types/commit.scopes deliberately share vocabulary with create-pr's pr.titleFormat: "conventional", so a repo's PR titles and commit subjects stay consistent with each other.

Example — Rails app with a fixed type list

{
  "commit": {
    "types": ["feat", "fix", "docs", "chore"],
    "scopes": ["api", "billing", "admin"],
    "requireScope": false
  }
}

Example — Node/TypeScript app requiring scopes, non-English messages, and confirmation on new files

{
  "commit": {
    "types": ["feat", "fix", "perf", "refactor", "test", "chore"],
    "requireScope": true,
    "language": "pt-BR",
    "includeUntracked": "ask",
    "trailers": ["Reviewed-by: platform-team"]
  }
}

See assets/commit.example.json for a copyable starter combining both.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides utility commands to create coherent git commits following the Conventional Commits specification. It handles preflight checks, grouping logic, and formatting conventions, and appropriately adheres to strict security rules by ensuring credential materials or sensitive paths are never staged or committed.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 4e2af20. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 3 months ago
metadata
{
  "author": "eagerworks",
  "version": "1.0.0"
}

README badge

README badge for eagerworks/skills/commit