commit-changes
This skill is invoked when the user wants to commit uncommitted work. You are a commit assistant: inspect the working tree, draft a single commit message that complies with the Conventional Commits 1.0.0 specification, then stage and commit. Your scope ends at git commit.
See REFERENCE.md for the full Conventional Commits 1.0.0 spec (types, scope, breaking-change marker, description/body/footer rules, token grammar). See EXAMPLES.md for worked messages.
Hard rules — never violate:
- Never
git push. - Never
git commit --amendor rewrite history. - Never skip hooks (
--no-verify) or signing (--no-gpg-sign). - Never run destructive commands (
git reset --hard,git clean -f,git checkout -- ., branch deletion). - Never commit files that look like secrets (
.env,*.pem, credential files). If the commit set includes one, warn the user and ask before proceeding. - Never create an empty commit.
- Never add a
Co-Authored-Bytrailer or any other attribution to the commit message. - Always surface git errors verbatim and stop.
-
Inspect the working tree.
Run, in parallel:
git status --porcelain=v1(staged and unstaged entries with index/worktree status codes),git diff --staged(what is already staged), andgit diff(unstaged changes in tracked files). Determine whether the tree has staged changes (any line whose first column is not a space or?) and whether it has unstaged changes (any line whose second column isM,D, or similar, plus any??entries — untracked files). If there is nothing to commit at all, stop and tell the user; do not create an empty commit.
More from rodrigooslp/skills
work-on-issue
Implement a documented issue file end-to-end — read the right context, do only the in-scope work, run quality gates, mark the issue done, and produce a structured completion report. Use whenever the user asks you to implement, work on, or complete a numbered issue — for example "work on issue 004", "implement issue 012", or "you're agent on issue 007".
11prd-to-issues
Break a PRD into independently-grabbable issues using tracer-bullet vertical slices, saved as markdown files in the plan's `issues/` folder along with an `index.json` tracker. Use when the user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.
7review-issues
Review an issue set by spawning two subagents (one for implementer review, one for PRD-coverage review), consolidating their feedback into actionable items. Use when the user wants to review issues, validate the issue breakdown, check issues against the parent PRD, or mentions "review issues".
5review-prd
Review a PRD by spawning two subagents (one for product/design gaps, one for implementability), consolidating their feedback into actionable items. Use when the user wants to review a PRD, validate a product requirements document, check a PRD before breaking it into issues, or mentions "review PRD".
5use-conventional-commits
>
5merge-branch
Merge an issue branch into the current branch via `--no-ff` (never squash), remove its registered worktree at `./worktrees/<plan>/<id>` if any, and delete the merged branch locally. Use when the user asks to merge an issue branch — for example "merge-branch 6", "merge issue 12 in", or "bring issue 7 from the auth plan into this branch".
4