/commit
Create a git commit
$ npx -y skills add NikiforovAll/claude-code-rules --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/commit
Context preview
What this command does when you run it.
Create a git commit
Command definition
commit.mdallowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
argument-hint: "[--no-verify]"
description: Create a git commit
Commit
Create well-formatted commits with conventional commit messages and emojis.
Features:
- Runs pre-commit checks by default (lint, build, generate docs)
- Automatically stages files if none are staged
- Uses conventional commit format with descriptive emojis
- Suggests splitting commits for different concerns
Usage:
- `/commit` - Standard commit with pre-commit checks
- `/commit --no-verify` - Skip pre-commit checks if $ARGUMENTS contains `--no-verify` flag
Commit Types:
- โจ feat: New features
- ๐ fix: Bug fixes
- ๐ docs: Documentation changes
- โป๏ธ refactor: Code restructuring without changing functionality
- ๐จ style: Code formatting, missing semicolons, etc.
- โก๏ธ perf: Performance improvements
- โ
test: Adding or correcting tests
- ๐งโ๐ป chore: Tooling, configuration, maintenance
- ๐ง wip: Work in progress
- ๐ฅ remove: Removing code or files
- ๐ hotfix: Critical fixes
- ๐ security: Security improvements
Process:
1. Check for staged changes (!`git status`) 2. If no staged changes, review and stage appropriate files 3. Run pre-commit checks (unless --no-verify) 4. Analyze changes to determine commit type 5. Generate descriptive commit message 6. Include scope if applicable: `type(scope): description` 7. Add body for complex changes explaining why 8. NOTE: Exclude Claude co-authorship footer from commits 9. Execute commit
Best Practices:
- Keep commits atomic and focused
- Write in imperative mood ("Add feature" not "Added feature")
- Explain why, not just what
- Reference issues/PRs when relevant
- Split unrelated changes into separate commits
Read more
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*) argument-hint: "[--no-verify]" description: Create a git commit
Commit
Create well-formatted commits with conventional commit messages and emojis.
Features:
- Runs pre-commit checks by default (lint, build, generate docs)
- Automatically stages files if none are staged
- Uses conventional commit format with descriptive emojis
- Suggests splitting commits for different concerns
Usage:
- `/commit` - Standard commit with pre-commit checks
- `/commit --no-verify` - Skip pre-commit checks if $ARGUMENTS contains `--no-verify` flag
Commit Types:
- โจ feat: New features
- ๐ fix: Bug fixes
- ๐ docs: Documentation changes
- โป๏ธ refactor: Code restructuring without changing functionality
- ๐จ style: Code formatting, missing semicolons, etc.
- โก๏ธ perf: Performance improvements
- โ test: Adding or correcting tests
- ๐งโ๐ป chore: Tooling, configuration, maintenance
- ๐ง wip: Work in progress
- ๐ฅ remove: Removing code or files
- ๐ hotfix: Critical fixes
- ๐ security: Security improvements
Process:
1. Check for staged changes (!`git status`) 2. If no staged changes, review and stage appropriate files 3. Run pre-commit checks (unless --no-verify) 4. Analyze changes to determine commit type 5. Generate descriptive commit message 6. Include scope if applicable: `type(scope): description` 7. Add body for complex changes explaining why 8. NOTE: Exclude Claude co-authorship footer from commits 9. Execute commit
Best Practices:
- Keep commits atomic and focused
- Write in imperative mood ("Add feature" not "Added feature")
- Explain why, not just what
- Reference issues/PRs when relevant
- Split unrelated changes into separate commits
A collection of Claude Code recommendations and practices. Learn practical techniques to enhance your AI-assisted development workflow with Claude Code.
Other commands on claude-code-rules.
- /update-component-reference
description: Add plugin components to the website docs, including component reference pages, plugin index entries, and plugin READMEs argument-hint: Component or plugin to document (e.g., "skill glab", "agent code-reviewer", "plugin handbook-reflect") allowed-tools:
Open command - /version-bump
Bump versions across the monorepo during release process
Open command - /explain
Provide clear explanations of code, concepts, and system behavior with educational clarity
Open command - /five-whys
Use the "Five Whys" root cause analysis technique to deeply understand problems.
Open command - /prompt-generator
Generate effective prompts for Claude 4.5 Sonnet to achieve user-defined outcomes
Open command - /reflect
Create a reflective analysis of the current Claude Code session, focusing on techniques, patterns, lessons learned, and workflow improvements.
Open command

