원클릭으로
commit
Create conventional commits with quality gates and validation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create conventional commits with quality gates and validation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Open a PR for the current feature branch — validate, self-review, simplify, organize commits, push, create the PR, wait for CI and review, then address feedback. Use when implementation is complete and ready for review.
Write pytest tests using AAA pattern, project naming convention, and helper-based assertions (unwrap_as, unwrap_data, unwrap_unset). Delegates to the test-writer agent.
Review the current branch for correctness, security, architecture, and project conventions before opening a PR. Delegates to the code-reviewer agent and adds StatusPro-specific checks.
Structured code review using 6 dimensions. Works with or without the code-reviewer agent.
Generate or update docstrings, ADRs, READMEs, cookbook recipes, and user guides. Knows about MCP help-resource drift and ADR numbering scheme.
Respond to PR review comments systematically in thread context
| 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/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/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.
/pr-comments — Respond to PR review comments/open-pr — Open PR with validation/rollback — Recover from failed changes