Quick commit with natural language file targeting. Use when the user wants to commit changes, stage and commit specific files, or invokes /prp-commit.
76
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Target: $ARGUMENTS
Stage files matching the target, write a concise commit message, commit.
git status --shortIf nothing to commit, stop.
Target interpretation:
| Input | Action |
|---|---|
| (blank) | git add -A (all changes) |
staged | Use current staging |
*.ts / typescript files | git add "*.ts" |
files in src/X | git add src/X/ |
except tests | Add all, then git reset *test* *spec* |
only new files | Add only untracked files |
the X changes | Interpret from diff/context |
Stage the matching files. Show what will be committed:
git diff --cached --name-onlyWrite a single-line message in imperative mood:
{type}: {description}Types: feat, fix, refactor, docs, test, chore
git commit -m "{type}: {description}"**Committed**: {hash} - {message}
**Files**: {count} files (+{add}/-{del})
Next: `git push` or `/prp-pr`/prp-commit # All changes
/prp-commit typescript files # *.ts only
/prp-commit except package-lock # Exclude specific
/prp-commit only the new files # Untracked only
/prp-commit staged # Already-staged only1142738
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.