/alfred-review:never-twicefrom alfred-review
Extracts general lessons from pull request reviews and folds them into the code-check standard so the same mistakes don't recur. Use after review comments or at safe-to-merge time.
Ships in alfred-review. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The code-check skill is only as good as the mistakes it has learned to catch. Every review is a free lesson. This skill decides which lessons are worth keeping, and folds those, and only those, back into code-check so the next PR starts from a higher bar. The discipline is as much about what you REFUSE to add as what you add: a bloated standard is an ignored standard.
Where the standard lives. code-check/SKILL.md (its PLAN, AUDIT and Standards sections) and its provenance log code-check/LEDGER.md, wherever your agent installed the skill (for example .claude/skills/, .agents/skills/, or the project's own skills folder). If the team keeps its standard elsewhere (a CONTRIBUTING.md, an engineering handbook), fold lessons there instead and keep the same ledger beside it.
Input. The review comments for a PR: from safe-to-merge Phase 2, or gh pr view <n> --comments plus gh api repos/{owner}/{repo}/pulls/{n}/comments, or a set the user pastes. Include your own AUDIT findings and any bug that slipped past the test suite: a shipped regression is the highest-signal lesson there is ("why did the suite stay green?").
Promote a lesson into the standard only if all five hold:
kind ===, a hardcoded hex color, expect(x).toHaveBeenCalled(), a duplicated constant). "Write better code" is not a tell: discard.CLAUDE.md, AGENTS.md, .cursor/rules, or the equivalent), not here. Anything a formatter or linter already enforces is not a lesson: it is a gate config (Mechanical gates).Discard (do not touch the skill) when: it is a one-off domain bug; a style preference the formatter or linter owns; project-specific (it goes to the repo's agent instructions); already covered; or a nit with no general signal. Discarding is the common, correct outcome: most comments are SPECIFIC.
Output a short table: each comment, GENERIC or SPECIFIC, and for a generic one the target section and the tell.
For each GENERIC lesson:
code-check/SKILL.md for each accepted lesson. Keep edits surgical (a tightened sentence, an added tell); never rewrite a section.code-check/LEDGER.md, one line per accepted lesson:
YYYY-MM-DD · <repo> PR #<n> · <section> · <the one-line lesson>.
The ledger is the audit trail: it lets anyone see why a rule exists and revert a bad addition. Use absolute dates. Keep only the one-liner in the ledger; the content lives in the skill.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wednesday-solutions/alfred --plugin alfred-review3 skills in this plugin
/code-checkHold every change to one engineering standard and get a pass or fail with evidence before it merges. SETUP installs quality gates in a repo, PLAN designs a task against the bar (separation of concerns, SOLID, DRY, tests), AUDIT reviews a diff dimension by dimension. Use when you say "audit this diff", "is this ready to merge", "/code-check", "plan this subsystem", or "set up quality gates". Not for small fixes./safe-to-mergeTake a pull request from "the diff exists" to "ready to merge" and keep it there. Your agent audits its diff, gathers every review signal, answers each comment, fixes behind the checks and re-reviews until nothing blocks. Use when you say "review this PR", "get this PR merge-ready", "/safe-to-merge", "address the review comments", or after pushing to a PR with open comments.Other plugins' skills for the same job