Decide · cursor SKILL.md
First SKILL.md: commit-helper + slash-only prod-deploy
WhenUse when commits can auto-draft but production deploy must only run on /prod-deploy.
StopNever auto-invoke the deploy skill. Never deploy without the slash. Commit-helper drafts the message; human commits if policy says so.
Steps
- Read the staged diff with git diff --cached.
- Write a Conventional Commits message: type(scope): summary.
- Use types: feat, fix, docs, refactor, test, chore.
- Keep the summary under 72 characters, in the imperative mood.
- Add a short body only if the change needs explaining.
- Confirm the branch is main and CI is green.
- Run scripts/deploy.sh production.
- Probe the /health endpoint and confirm HTTP 200.
Loadcommit-helper SKILL.md. prod-deploy with disable-model-invocation: true.
--- name: First SKILL.md: commit-helper + slash-only prod-deploy description: Use when commits can auto-draft but production deploy must only run on /prod-deploy. --- # First SKILL.md: commit-helper + slash-only prod-deploy When: Use when commits can auto-draft but production deploy must only run on /prod-deploy. Stop: Never auto-invoke the deploy skill. Never deploy without the slash. Commit-helper drafts the message; human commits if policy says so. 1. Read the staged diff with git diff --cached. 2. Write a Conventional Commits message: type(scope): summary. 3. Use types: feat, fix, docs, refactor, test, chore. 4. Keep the summary under 72 characters, in the imperative mood. 5. Add a short body only if the change needs explaining. 6. Confirm the branch is main and CI is green. 7. Run scripts/deploy.sh production. 8. Probe the /health endpoint and confirm HTTP 200. Load: commit-helper SKILL.md. prod-deploy with disable-model-invocation: true.
