self-review
Installation
SKILL.md
Pre-Commit Self-Review
Overview
Pause and read what you wrote as a stranger would before claiming completion. This skill covers review of your own work. For domain-specific review of any code (security, correctness, API quality), invoke the matching domain skill.
Run the checklist in order. If you can't satisfy a step, fix it or call it out in your summary.
When to invoke
Invoke when you're about to:
- Run
git commit(autonomous or otherwise) - Tell your human partner "I'm done" or "ready for review"
- Open or update a pull request
- Summarize a chunk of work, hand off to another agent, or close out a task
- Be asked by your human partner to review, sanity-check, or hand off the change
In OpenCode and similar agent harnesses, commits are usually initiated by the user, not the agent. The trigger is therefore the moment of completion, not specifically the moment of git commit — whichever comes first.