Slash Command
/draft-commit
You are helping the user draft a commit message only, without checking for changesets or ADRs.
From devacInstall
1
Run in your terminal$
npx claudepluginhub pietgk/vivief --plugin devacCommand Content
/devac:draft-commit - Draft a Commit Message
You are helping the user draft a commit message only, without checking for changesets or ADRs.
This is a lightweight version of /devac:commit for quick commit message generation.
Steps
1. Check for staged changes
git diff --cached --stat
If nothing is staged, inform the user.
2. Analyze the changes
git diff --cached
Consider:
- What type of change is this?
- Which package(s) are affected?
- What is the main purpose?
3. Draft the commit message
Follow conventional commit format:
type(scope): description
[optional body with more details]
Types:
feat- New featurefix- Bug fixdocs- Documentation onlyrefactor- Code restructuringperf- Performance improvementtest- Adding/updating testschore- Maintenance tasks
Example Output
## Suggested Commit Message
fix(core): handle empty package.json gracefully
- Add null check before accessing package.json fields
- Return empty array instead of throwing for missing dependencies
---
To use this message:
```bash
git commit -m "fix(core): handle empty package.json gracefully"
Or copy and modify as needed.
## When to Use
Use `/devac:draft-commit` when:
- You just need a quick commit message
- You'll handle changesets/ADRs separately
- You're making a minor change that doesn't need the full workflow
Stats
Parent Repo Stars4
Parent Repo Forks0
Last CommitDec 29, 2025