Commit
Tüm aşamalı git değişikliklerini analiz edin ve akıllı bir geleneksel taahhüt mesajı oluşturun.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
Tüm aşamalı git değişikliklerini analiz edin ve akıllı bir geleneksel taahhüt mesajı oluşturun.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/commit-cc-toolkit/raw -o .claude/commands/commit-cc-toolkit.mdHedef dosya: .claude/commands/commit-cc-toolkit.md
Analyze all staged git changes and generate an intelligent conventional commit message.
Run git diff --cached --stat to identify all staged files and their change magnitudes.
Run git diff --cached to read the full diff of staged changes.
Determine the primary commit type based on the nature of changes:
feat - New functionality, new files introducing features, new endpoints or UI componentsfix - Bug corrections, error handling improvements, null checks, edge case fixesrefactor - Code restructuring without behavior change, renaming, extraction of functionsdocs - Documentation-only changes, comments, README updates, docstringstest - Adding or modifying tests, test fixtures, test utilitieschore - Build config, dependency updates, CI changes, tooling, linting rulesperf - Performance improvements, caching, query optimization, lazy loadingstyle - Formatting, whitespace, semicolons, code style (no logic change)ci - CI/CD pipeline changes, workflow files, deployment configsDerive the scope from the most affected directory or module:
auth, api, ui)core, app)Write the commit subject line (max 72 characters):
Determine if a body is needed (skip for obvious single-line changes):
Add footers when applicable:
BREAKING CHANGE: <description> if the change breaks existing APIs or behaviorCloses #<number> if the change resolves a tracked issueRefs: <context> for related PRs, issues, or discussionsPresent the commit message for review, then execute git commit with the approved message.
type(scope): concise imperative description
Optional body explaining the motivation and approach.
Optional footers.
feat and refactor, ask: does the user-visible behavior change?git log --oneline -10 first to match the repository's existing commit style