com um clique
commit
Create conventional commits with quality gates and validation
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Create conventional commits with quality gates and validation
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Close a GitHub issue with discipline — resolved, superseded, or duplicate. Pre-flights body + comments, migrates substance before destroying context, cross-links both directions.
File a new GitHub issue with duplicate search, scope decision, label discovery, and preview before posting. Prevents fragmented or silently-filed issues.
Restructure the topology of GitHub issues — split one into many focused replacements, or merge multiple into one keeper. Migrates substance and cross-links before closing anything.
Update an existing GitHub issue — edit body, post a comment, retag, or reopen. Pre-flights body + comments; acknowledges stale framing instead of silently rewriting.
Review and address PR feedback using 6-dimensional code review
Structured code review using 6 dimensions. Works with or without the code-reviewer agent.
| name | commit |
| description | Create conventional commits with quality gates and validation |
| allowed-tools | Bash(git add*), Bash(git commit*), Bash(git diff*), Bash(git status*), Bash(${CLAUDE_PLUGIN_ROOT}/skills/shared/discover-verification-cmd.sh*), Read |
Create conventional commits with automatic validation and quality gates.
Commit changes reliably with validation checks and consistent messaging.
git diff --cached before committing. No hardcoded API keys, passwords, credentials, or tokens.type(scope): description. Malformed messages create merge and CI problems downstream.git add -A or git add . blindly. Review git status and stage intentionally.feat, fix, refactor, docs, chore, testReview and stage files intentionally:
git status # See what changed
git add <file1> <file2> ... # Stage specific files
git diff --cached # Review staged changes
Never: git add -A or git add . — stage intentionally.
Discover and run the verification command:
cmd=$(${CLAUDE_PLUGIN_ROOT}/skills/shared/discover-verification-cmd.sh)
eval "$cmd"
ALL checks must pass. No commits that break validation.
Format: type(scope): description
Example:
feat(auth): add OAuth2 login flow
See DETAIL: Message Format for all types and examples.
git commit -m "type(scope): description
Optional detailed explanation here.
Mention related issues: #123, closes #456."
For complex messages, use HEREDOC:
git commit -m "$(cat <<'EOF'
feat(scope): brief description
- Detailed explanation line 1
- Detailed explanation line 2
Closes #NNN
EOF
)"
| Type | Use Case | Example |
|---|---|---|
feat | New feature or capability | feat(auth): add two-factor authentication |
fix | Bug fix | fix(api): handle null responses from upstream |
refactor | Code restructuring (no behavior change) | refactor: extract validation into utility |
docs | Documentation updates | docs: clarify API rate limits in README |
chore | Maintenance, dependencies, build | chore: upgrade prettier to latest |
test | Test additions or fixes | test: add edge case coverage for date parsing |
style | Formatting, missing semicolons (rarely used) | N/A |
perf | Performance improvements (rarely used) | perf: use memoization for expensive calculation |
Optional, indicates area of change:
auth, api, ui, database, etc.feat(keyboard): add macro support, fix: resolve memory leakCloses #NNN, Fixes #NNN, Relates to #MMMfeat(keyboard): add macro recording and playback
Users can now record key sequences and replay them with a hotkey.
This addresses frequent requests for repetitive key patterns.
Macro storage uses ~/.config/daskeyboard/macros.json for
persistence across sessions.
Testing: Added 12 test cases covering:
- Basic record/playback
- Edge cases (empty macros, special keys)
- Storage persistence
Closes #234
fix stuff ← Too vague
feat: add oauth ← Missing scope, too brief
docs: update ← What did you update?
refactor(everything): big cleanup ← Scope "everything" is suspicious
When committing changes across many files:
git status | grep -E "modified|new" # See all changes
git diff --stat # Summary by file
# Stage by category
git add programs/zsh.nix programs/vim.nix # Shell config
git add docs/*.md # Documentation
git diff --cached # Review staged
git commit -m "..."
Each commit should be coherent:
❌ Bad: Single commit with shell config, docs, and bug fix ✅ Good: Three separate commits, one for each type of change
This makes history clearer and simplifies reverting if needed.
Commit part of a file (not all changes):
git add --patch <file> # Interactive hunk selection
# Review each hunk, stage with 'y', skip with 'n'
git diff --cached # Review staged hunks
git commit -m "feat: related change"
Use when:
git reset --soft HEAD~1 # Undo commit, keep staged
git reset HEAD # Unstage all
# Now fix and re-commit
git add <fixed-files>
git commit --amend # Amend with new changes
# Or: git commit --amend --no-edit (keep message)
Never amend commits already pushed. Use a new commit instead.
git reset --hard HEAD~1 # Discard all changes in last commit
Use with caution — this is destructive.
/review-pr — Review pull requests/open-pr — Open PR with validation/rollback — Recover from failed changes