debugger
Systematic debugging methodology for diagnosing failures and root cause analysis. Triggers on: 2+ failed fix attempts,…
MUST be used for ANY git workflow that involves committing code. This includes explicit commit requests AND implicit ones like 'ship it', 'wrap it up', or finishing implementation work. Handles staging, message generation, validation, and commit execution with conventional
$ npx -y skills add TechDufus/oh-my-claude --skill git-commit-validator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/git-commit-validatorContext preview
The summary Claude sees to decide when to auto-load this skill.
MUST be used for ANY git workflow that involves committing code. This includes explicit commit requests AND implicit ones like 'ship it', 'wrap it up', or finishing implementation work. Handles staging, message generation, validation, and commit execution with conventional
name: git-commit-validator description: "MUST be used for ANY git workflow that involves committing code. This includes explicit commit requests AND implicit ones like 'ship it', 'wrap it up', or finishing implementation work. Handles staging, message generation, validation, and commit execution with conventional commit format." allowed-tools: - Bash(git status:*) - Bash(git diff:*) - Bash(git add:*) - Bash(git log:*) - Read - Grep
This skill MUST be invoked whenever you are about to create a git commit. It handles the complete workflow and enforces commit message standards.
**Auto-invoke this skill when the user implies code should be committed:**
| Category | Trigger Phrases | |----------|-----------------| | **Explicit commit** | "commit", "make a commit", "commit this" | | **Ship intent** | "ship it", "send it" | | **Finalization** | "wrap it up", "finalize this", "we're done", "that's it" | | **After implementation** | When you complete work and there are uncommitted changes |
**Key insight:** If the user's intent results in `git commit` being run, this skill MUST be used first.
**Do NOT run `git commit` without this skill.**
git status # See what's changed git diff HEAD # See all changes (staged + unstaged) git log --oneline -5 # Recent commit style reference
If `git status --porcelain` returns empty AND nothing is staged:
This prevents errors from running `git commit` with nothing staged.
**Default behavior** - stage all changes:
git add -A
**If user specifies `--staged`** - skip staging, use only what's already staged.
**If user gives instructions** - follow them:
Based on the diff, determine: 1. **Type**: feat, fix, docs, refactor, test, chore, perf, ci, build, style, revert 2. **Scope** (optional): module or area affected 3. **Description**: concise, imperative mood, lowercase 4. **Body**: see decision matrix below
**Message Format:**
<type>[optional scope]: <description> [body - required for non-trivial changes] [optional footer - breaking changes, issue refs]
**The body is NOT optional for most real work.** Use this matrix:
| Change Type | Body Required? | Body Content | |-------------|---------------|--------------| | Typo fix, single-line change | No | Subject is sufficient | | Config tweak, version bump | No | Subject is sufficient | | Bug fix | **YES** | What caused it, how you fixed it | | New feature | **YES** | What it does, why it's needed, key design choices | | Refactor | **YES** | What changed structurally, why this approach | | Multiple files changed | **YES** | What each area of change accomplishes | | Breaking change | **YES** | What breaks, migration path | | Performance improvement | **YES** | What was slow, what's faster, by how much |
**Good body content includes:**
**Use bullet points** when listing multiple changes:
- Add validation for email format - Refactor user service to async - Update tests for new behavior
**Wrap at 72 characters** - hard requirement for git tooling compatibility.
| Diff Size | Expected Message | |-----------|-----------------| | 1-10 lines | Subject only (if truly trivial) | | 10-50 lines | Subject + 1-2 sentence body | | 50-200 lines | Subject + paragraph or bullets | | 200+ lines | Subject + detailed body with sections |
**When in doubt, write more.** A detailed commit message is a gift to future developers (including yourself).
**Validation runs automatically** when you execute `git commit`. The `commit_quality_enforcer` hook intercepts the command and validates:
1. **Subject line <= 50 chars** 2. **Body lines <= 72 chars** (if body present) 3. **Format check** - Must match conventional commit format: `<type>[scope]: <description>` 4. **No AI attribution** - Rejects "generated with", "co-authored-by.*claude", "ai-generated" 5. **Body quality** - Requires appropriate detail based on diff size
If validation fails, the commit is blocked with a clear error message. Fix the issues and retry.
Use HEREDOC for proper formatting:
git commit -m "$(cat <<'EOF' type: description here EOF )"
| Type | Use For | |------|---------| | `feat` | New feature or capability | | `fix` | Bug fix | | `docs` | Documentation only | | `refactor` | Code restructuring (no behavior change) | | `perf` | Performance improvement | | `test` | Test additions/fixes | | `chore` | Maintenance, deps | | `ci` | CI/CD changes | | `build` | Build system changes | | `style` | Formatting (no logic change) | | `revert` | Revertin
Add ultrawork to any prompt for maximum parallel execution
Systematic debugging methodology for diagnosing failures and root cause analysis. Triggers on: 2+ failed fix attempts,…
Initialize or migrate to nested CLAUDE.md structure for progressive disclosure. Claude auto-loads CLAUDE.md from any directory it…
Use when applying oh-my-claude workflow guidance, ultrawork modes, agent orchestration, plan execution, or plugin configuration.
MUST be used when creating pull requests. Handles context gathering, title generation (conventional commit format), body…
Transform approved plans into ralph loop infrastructure. Triggers on: '/ralph-loop-init', '/ralph-init', 'setup ralph loop',…
Structured PRD generation with interview, research, and approval workflow. Triggers on: '/ralph-plan <topic>', 'create prd',…