mcpField
C
commit

commit

github.com/owainlewisDevelopment425331 installsUpdated 4d ago
Repository

About commit

A commit skill for agents that checks diffs, stages only intended files, creates a style-matched commit, and reports its hash. It includes safeguards against committing secrets or bypassing hooks.

Key features

  1. 01Review working tree and diffs
  2. 02Stage only intended files
  3. 03Write a Conventional Commit when needed
  4. 04Report commit hash and message
  5. 05Avoid secrets and hook bypasses

Use cases

  1. 01Commit a focused set of changes
  2. 02Check a diff before committing
  3. 03Handle a failing commit hook safely

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/owainlewis/blueprint --skill commit

After installing, type/commitin Claude Code to confirm it loaded.

Details

From the project README

Commit

  1. Inspect the working tree and diffs. If there are no intended changes, or you cannot explain the diff, stop.
  2. Stage only the intended files, not broad adds.
  3. Use the user's message if provided. Otherwise write a Conventional Commit matching the repo's existing style: imperative subject, add a body only when the reason, checks, or risk matter.
  4. Commit and report the hash and message.

Rules

  • Never commit .env, credentials, or keys.
  • Never bypass hooks with --no-verify. If a hook fails, fix the cause or stop and report.

Comments

Markdown supported