skill-goal
Installation
SKILL.md
Skill goal
Two passes, in this order, on one pull request. Review until there is nothing left to change. Then simplify until there is nothing left to simplify. If a simplification edits the diff, review that diff again before stopping.
Usage
/skill-goal <PR>
<PR> is a pull request URL, or owner/repo#number. If it is missing, stop and show the usage line. Do not guess the pull request.
Start
- Read both skills in full before the first pass. Resolve each name from the first match:
~/.agents/skills/<name>/SKILL.md,~/.cursor/skills/<name>/SKILL.md, the current repo's.agents/skills/<name>/SKILL.md, then.cursor/skills/<name>/SKILL.md. The names arecode-review-and-qualityandcode-simplification. If either is missing, stop and name the paths that were checked. - Call
CreateGoalonce. The objective is the block below with only<PR>replaced. Do not add "with a concrete fix", "promotable", or any other qualifier. If creation fails, report that no goal was armed and stop.
On <PR>, run /code-review-and-quality until a fresh pass lists zero findings, then run /code-simplification until a fresh pass lists zero simplifications. If simplification edits the diff, review again. Stop only when a review pass and the simplification pass after it both list nothing.