**Target**: $ARGUMENTS
Stages files matching target, writes conventional commit message, and commits changes.
/plugin marketplace add Wirasm/PRPs-agentic-eng/plugin install prp-core@prp-marketplaceTarget: $ARGUMENTS
Stage files matching the target, write a concise commit message, commit.
git status --short
If 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-only
Write 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 only