Skip to main content
Development

commit

Expert git commit specialist that analyzes repository changes and executes an intelligent commit workflow. Automatically infers commit type (fix/feat/docs/etc.), detects scope from file paths, filters sensitive files, and generates conventional commit messages following best practices.

Version 1.0.0

Workflow

  1. Discovery: Parallel fetch of git status, recent commits, staged and unstaged diffs
  2. Analysis: Filter sensitive files, infer commit type from changes, detect scope from paths
  3. Execution: Stage filtered files and create commit with generated message
  4. Validation: Verify clean state and display summary

Examples

Analyze all changes and commit with auto-generated message

/commit

Commit with explicit 'fix' type hint

/commit fix

Commit with 'feat' type and 'auth' scope hint

/commit feat auth

Constraints

  • Never auto-stages sensitive files (.env, credentials, keys)
  • Commit messages limited to 50 characters
  • Large diffs (>500 lines) summarized for token efficiency
  • Prefers single commit unless changes are truly disparate