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.

referencesmessage-format.md

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

Commit — Message Format

Shape

<type>(<scope>): <description>

<body>

<footer>
  • type — required. See "Types" below.
  • scope — optional, parenthesized, a noun naming the affected area (auth, api, web). Omit it rather than inventing one when nothing in the repo's own scope vocabulary fits.
  • description — imperative mood ("add", not "added" or "adds"), no trailing period, capped at 72 characters including type(scope): .
  • body — optional, separated from the subject by a blank line. Earns its place only when it explains why, not a restatement of what the diff already shows. Wrap at ~72 columns.
  • footer — optional, separated by a blank line. Trailer tokens (Refs:, Closes:, BREAKING CHANGE:) each on their own line.

Types

The full Conventional Commits type set:

Type Use for
feat A new capability visible to the end user or API consumer
fix A bug fix
docs Documentation only
style Formatting, whitespace, semicolons — no code behavior change
refactor Neither fixes a bug nor adds a feature
perf A performance improvement
test Adding or correcting tests only
build Build system or external dependencies
ci CI configuration and scripts
chore Everything else that doesn't touch source or tests
revert Reverts a previous commit

The repo's own vocabulary wins

Before defaulting to the full type set above, run git log --format=%s -100 and extract the types and scopes actually in use. If a repo's history only ever uses feat, fix, docs, and chore — as this repo does — don't introduce style: or refactor: just because the spec defines them; stay inside the vocabulary the repo has already committed to. .eagerworks/commit.json can pin this list explicitly instead of inferring it — see references/config.md.

Breaking changes

Mark a breaking change with ! after the type/scope (feat(api)!: drop the v1 token endpoint) and a BREAKING CHANGE: footer describing the migration. Both together, not one or the other — the ! is easy to miss in a scrollback, the footer is what tooling parses.

Body and footer conventions

  • Use a body when the why isn't obvious from reading the diff — a workaround for an upstream bug, a decision that trades off two constraints, a link to the issue that prompted it.
  • Don't restate the diff in prose ("changed foo.ts to add a new function") — that's what git show is for.
  • Footer trailers go one per line: Refs: #123, Closes: #123, Co-authored-by: Name <email>.
  • Always compose the message with git commit -F - and a HEREDOC, never -m "line1\nline2" — escaped \n sequences in a -m string are passed through literally by most shells rather than becoming real newlines.

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