From goalpost
Goal-grounded code review primitive. Verifies the active goal end-to-end FIRST, grades against an engineering rubric SECOND. Eliminates "is this code good?" sycophancy framing by replacing it with falsifiable "does this code complete the goal?" framing. Requires .goalpost-goal to exist and a target argument (file path, directory, PR number, or commit range).
How this skill is triggered — by the user, by Claude, or both
Slash command
/goalpost:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are handling the `/goalpost:review` slash command. The operator wants a goal-grounded review of a specific target.
You are handling the /goalpost:review slash command. The operator wants a goal-grounded review of a specific target.
Extract the target from the operator's invocation. The target may be:
packages/api/lib/auth.ts)apps/app/components/)#1234)HEAD~5..HEAD)If no target is given, ask the operator for one. Do NOT default to "the whole repo" — the review must be scoped to make Step 1 (goal trace) tractable.
Run the helper script to compose the dispatch prompt:
"${CLAUDE_PLUGIN_ROOT}/scripts/skill-review.sh" "<target>"
This script does NOT require GOALPOST_SKILL_ACTIVE=1 — it is read-only.
Handle the script's exit code:
/goalpost:set "<goal>" first./goalpost:set "<new goal>" to begin a new task before reviewing.Dispatch a subagent via the Agent tool:
subagent_type: general-purposeprompt parameter verbatimdescription like "goal-grounded review of "Report the subagent's findings to the operator verbatim. Do NOT summarize or paraphrase. The structured Goal Trace + Findings + Verdict format is the deliverable.
Code review traditionally asks "is this code good?" — a sycophancy-inviting framing where the reviewer pattern-matches positive examples from training data. This skill asks "does this code complete the user's stated goal end-to-end, and where does it fall short of the engineering rubric?" — a falsifiable framing where the answer is either "yes with these citations" or "no with these specific gaps."
The two-step order is load-bearing: goal trace BEFORE rubric grading. A codebase that fails to complete the goal has bigger problems than rubric violations. A codebase that meets the rubric but doesn't complete the goal is solving the wrong problem cleanly. Step 1 catches the latter; Step 2 catches everything else.
The fresh-context dispatch is non-negotiable per the same logic — the current session has already accumulated bias toward "this work is on track." The fresh agent has no such bias.
npx claudepluginhub macollins27/goalpost --plugin goalpostCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.