claw-advisor
This skill should be used when the user asks about OpenClaw configuration, troubleshooting, setup, architecture, or any OpenClaw…
This skill should be used when the user says "commit my changes", "commit this", "create a commit", "git commit", "save my work", or mentions committing code.
$ npx -y skills add gupsammy/Claudest --skill commit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/commitContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user says "commit my changes", "commit this", "create a commit", "git commit", "save my work", or mentions committing code.
name: commit description: > This skill should be used when the user says "commit my changes", "commit this", "create a commit", "git commit", "save my work", or mentions committing code. argument-hint: "[push]" allowed-tools: - Bash(git:*) - Bash(python3:*) - AskUserQuestion
Analyze uncommitted changes and create well-organized commits using conventional commit format.
Current repo state (injected at invocation — no tool calls needed):
Abort before staging if any apply:
Run `git add -A` to stage all changes.
**Exclude generated or ephemeral files** that should never be version-controlled: `scratch.*`, `temp.*`, `debug.*`, `playground.*`, `*.log`, `dist/`, `build/`, `target/`, `node_modules/`, `__pycache__/`.
If such files detected: 1. Unstage with `git reset HEAD <file>` 2. Ask user if they want to add to .gitignore
Proceed when all intended files are staged and ephemeral files are excluded.
For each changed file, write a one-line PURPOSE description (not file location).
**Group by PURPOSE, not directory:**
Each commit should represent one logical change because atomic commits enable `git bisect` and `git revert` without side-effects.
**Signs of separate concerns:**
If multiple concerns: use `git reset HEAD` then `git add <specific-files>` for each group. Commit foundational changes first.
**Handle renames (R status):** When splitting, add BOTH old and new paths. Git detects renames by similarity scoring across the old/new pair — staging only the new path causes git to log a delete + add, losing rename history.
Proceed when every changed file is assigned to exactly one commit group.
Run the validation script after staging:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/commit/scripts/validate.py . --output jsonInterpret the result:
Check recent commit style:
git log --no-merges --oneline -10
Use conventional commit format:
<type>(<scope>): <description>
**Types:** feat, fix, docs, refactor, test, chore, perf
**If `git commit` fails due to a pre-commit hook:** the commit did NOT land. Check `git status` — the hook may have auto-fixed files (e.g. `auto-version.py` syncing `plugin.json`) and left them modified. Re-stage (`git add -A`) and retry the same `git commit` command with the same message. Do NOT use `--amend` (amends the PREVIOUS commit, not the failed one). Do NOT use `--no-verify` (skips the hook entirely, defeating its guard).
Proceed when the commit message is drafted and matches the repo's existing style.
If user mentions "push" or arguments contain "push", run `git push`. If push fails, report the error and stop — do not retry or force-push.
One line per commit (hash + message). If temporary files were excluded, list them as bullets below.
A highly opinionated plugin marketplace for augmenting your Claude Code. Battle-tested skills and tools that actually work.
This skill should be used when the user asks about OpenClaw configuration, troubleshooting, setup, architecture, or any OpenClaw…
This skill should be used when the user asks to "create an OpenClaw skill", "make a claw skill", "build a skill for OpenClaw",…
This skill should be used when the user says "clean up branches", "delete merged branches", or "prune stale branches". Use…
This skill should be used when the user says "get PR comments", "show PR feedback", "what comments on my PR", "PR review…
This skill should be used when the user asks to "create a changelog", "generate a changelog", "update my changelog", "fill in the…