بنقرة واحدة
commit
Create well-formatted git commits following conventional commit standards.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create well-formatted git commits following conventional commit standards.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Write a structured handoff at session end. Preserves context so the next agent can resume without human briefing. Invoke before ending any feature session longer than 30 minutes.
Multi-perspective code review against project standards with P1/P2/P3 severity classification. Works in Claude Code (Agent + optional GitHub MCP) and Cursor (Task subagents + gh/git). Use when the user invokes /review, asks for a PR or diff review, or wants a standards-aligned review with severity tags.
Multi-perspective code review (P1/P2/P3) for Cursor: inline checklists plus three parallel Task subagents (perf-auditor, security-reviewer, simplicity-reviewer with combined data-integrity prompt). Use when the user invokes /review, asks for a PR review, or wants repo-standard findings with severity.
Red→green→refactor discipline for new behavior — forces a failing test before implementation and a passing test before any claim of done.
Create or manage a git worktree for isolated parallel development — lets multiple agents work in the repo simultaneously without branch collisions.
Create a token-efficient state snapshot for context preservation during long sessions.
| name | commit |
| description | Create well-formatted git commits following conventional commit standards. |
Create well-formatted git commits following conventional commit standards.
/commit [--amend] [--fixup <commit>]
| Flag | Description |
|---|---|
--amend | Amend the previous commit |
--fixup <commit> | Create a fixup commit for interactive rebase |
When this skill is invoked:
Autonomy:
Quality:
Check repository state:
git status
git diff --staged
Analyze staged changes:
Review recent commits for style consistency:
git log --oneline -10
Generate commit message in Gitmoji + Conventional Commits format:
<emoji> <type>(<scope>)?(!)?: <description>
[optional body]
[optional footer]
Gitmoji prefix is required. The commit-msg hook rejects messages without it. See .claude/references/gitmoji.md for the full mapping. The required type → emoji table:
| Type | Emoji |
|---|---|
feat | ✨ |
fix | 🐛 |
docs | 📝 |
style | 🎨 |
refactor | ♻️ |
perf | ⚡️ |
test | ✅ |
chore | 🔧 |
ci | 👷 |
build | 📦️ |
revert | ⏪ |
Breaking changes: use 💥 regardless of type, plus ! after the scope (e.g. 💥 feat!: drop support for Node 18).
Security check:
.env, credentials, or API keys detectedCreate commit:
git commit -m "$(cat <<'EOF'
✨ feat(scope): description
Body explaining what and why (not how).
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
The leading emoji must match the type. The commit-msg hook fails closed if it doesn't.
Description (first line):
Body (optional):
Footer (optional):
Closes #123BREAKING CHANGE: descriptionCo-Authored-By: Name <email>Simple feature:
feat(auth): add password reset endpoint
Bug fix with body:
fix(api): handle null response from external service
The payment gateway occasionally returns null instead of an error
object. This adds defensive handling to prevent crashes.
Closes #456
Breaking change:
feat(config): migrate to environment-based configuration
BREAKING CHANGE: Config file format changed from YAML to environment
variables. See migration guide in docs/migration.md.
Refactor with scope:
refactor(db): extract query builder to separate module
$ /commit
Analyzing staged changes...
Staged files:
M src/api/auth.py
M src/services/user.py
A tests/unit/test_auth.py
Change analysis:
- Type: feat (new functionality)
- Scope: auth (authentication module)
- Purpose: Add password reset feature
Commit message:
feat(auth): add password reset endpoint
- Add POST /auth/reset-password endpoint
- Add password reset token generation
- Add email notification service integration
- Add unit tests for reset flow
Co-Authored-By: Claude <noreply@anthropic.com>
Commit created: abc1234