go-agent/claude/code/commands/commit.md
Snider 61e01bfdf1 feat: initial go-agent — agentci + jobrunner + plugins marketplace
Consolidates three codebases into a single agent orchestration repo:

- agentci (from go-scm): Clotho dual-run verification, agent config,
  SSH security (sanitisation, secure commands, token masking)
- jobrunner (from go-scm): Poll-dispatch-report pipeline with 7 handlers
  (dispatch, completion, auto-merge, publish draft, dismiss reviews,
  send fix command, tick parent epic)
- plugins marketplace (from agentic/plugins): 27 Claude/Codex/Gemini
  plugins with shared MCP server

All 150+ tests passing across 6 packages.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 15:47:19 +00:00

1.4 KiB

name plugin description args flags hooks
commit code Generate a conventional commit message for staged changes [message]
--amend
Before
hooks
type command
command ${CLAUDE_PLUGIN_ROOT}/scripts/smart-commit.sh

Smart Commit

Generate a conventional commit message for staged changes.

Usage

Generate message automatically: /core:commit

Provide a custom message: /core:commit "feat(auth): add token validation"

Amend the previous commit: /core:commit --amend

Behavior

  1. Analyze Staged Changes: Examines the git diff --staged to understand the nature of the changes.
  2. Generate Conventional Commit Message:
    • feat: For new files, functions, or features.
    • fix: For bug fixes.
    • refactor: For code restructuring without changing external behavior.
    • docs: For changes to documentation.
    • test: For adding or modifying tests.
    • chore: For routine maintenance tasks.
  3. Determine Scope: Infers the scope from the affected module's file paths (e.g., auth, payment, ui).
  4. Add Co-Authored-By Trailer: Appends Co-Authored-By: Claude <noreply@anthropic.com> to the commit message.

Message Generation Example

feat(auth): add JWT token validation

- Add validateToken() function
- Add token expiry check
- Add unit tests for validation

Co-Authored-By: Claude <noreply@anthropic.com>