mcpField
S
smart-commit

smart-commit

github.com/fearovex-labsDevelopment44 installs
Repository

About smart-commit

smart-commit is a commit-triggered skill for Claude Code users. Its documented execution layer mints a review receipt after `/code-review`; receipt failures are reported but do not block the commit.

Key features

  1. 01Activates on commit requests or `/commit`
  2. 02Mints a review receipt after `/code-review`
  3. 03Uses staged paths when no files are specified
  4. 04Reports receipt failure without blocking commit

Use cases

  1. 01Recording a review result before committing
  2. 02Attaching a receipt to currently staged paths
  3. 03Proceeding with a commit if receipt minting fails

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fearovex-labs/agent-config --skill smart-commit

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

Details

From the project README

Triggers: When the user says "commit", "smart commit", or /commit.



Claude execution wiring

These notes bind the tool-neutral logic above to the Claude Code harness. They are the EXECUTION layer that does not port to other tools.

  • Receipt mint (Step 0, sub-step 5) — the neutral "record a review receipt" step resolves to one Bash call from the repo root, after /code-review returns and before the commit plan is presented:

    node core/hooks/_shared/receipt-mint.js --minter smart-commit --verdict <PASS|PASS_WITH_WARNINGS>
    

    Use PASS when /code-review reported nothing and PASS_WITH_WARNINGS when it produced coherence findings. With no --files, the receipt attests to the currently staged paths. Best-effort: report a failure in the plan summary and proceed — it never blocks the commit.

Comments

Markdown supported