"This takes four seconds on two million rows. How do I make it fast?"
with an O(n^2) function pasted fired the skill 0 of 12 on Claude Code
2.1.332; the model swapped in a Set and answered directly. One trigger
clause, with no sentence after it, took it to 12 of 12. A readability
request on the same function stayed at 0 of 6, the existing
simplification guard at 0 of 3, and #612's nine adjacent requests at
0 of 27.
The graded case checks what the skill adds over a direct answer:
timing the old and new versions on the same input before keeping the
change (its Verify step). With the plugin it passed 2 of 6 (8 of 18
judge votes), without 0 of 6 (0 of 18).
From review on #762:
- Add tdd-stays-quiet-on-refactor, a readability refactor with the
function pasted, which must not fire the TDD skill. 0 of 6.
- Re-ran simplify-fires-on-pasted-function under this clause: 6 of 6,
judge 6 of 6.
- On whether the sentence after "Use when" can be folded into the
clause or dropped: measured five wordings on Claude Code 2.1.319.
Only this one moves the owning prompt (6 of 6); dropping the
sentence 0 of 6, folding it into the trigger 0 and 1 of 6, moving it
into the opening clause 2 of 6. Kept, and the README says so.
From review on #763:
- Commit code-review-fires-on-plain-request, the case the headline
number comes from, so the plainest phrasing stays guarded.
- Twelve runs a side on Claude Code 2.1.319: main's clause 3 of 12,
the clause with and without the sentence after "Use when" 12 of 12
each. The sentence was an instruction, not a trigger, and moved
nothing, so it is gone.
- Precision on #612's nine adjacent requests: 0 of 27. Both guards 0
of 3; code-review-fires 3 of 3.
Keep both README paragraphs: main's post-#714 re-run and git-workflow
write-ups, then this branch's debugging one.
Also from review: the case's description and expected outcome now
promise what the grader checks (cause named, minimal fix, a way to
confirm it), not a reproduction and a regression guard. And per the
#756 nitpick, drop the turn-budget advice whose reason #714 removed.
Measured on Claude Code 2.1.312 with claude-opus-5-5 pinned. The
commit-message, changelog and split-into-commits prompts with the diff
pasted went from 1 of 9 to 12 of 12; three adjacent prompts on the same
diff stayed at 0 of 9 and "what broke?" at 0 of 6. On the graded pair
the judge passed 5 of 6 with the plugin and 0 of 3 without: both arms
split the two concerns, only the skill arm writes a typed subject and a
body that says why. A longer clause fired the same but cost the skill's
own merge-conflict prompt its rank-1 in Tier 2, so the shorter one is
kept.
Measured on Claude Code 2.1.312 with claude-opus-5-5 pinned. The first
clause (code, diff or error output pasted inline) moved the owning
prompt 0 of 6; adding that the cause may look obvious from reading it,
and what the reply must still do, moved it to 9 of 9, with the two
other phrasings 3 of 3 each and four adjacent prompts at 0 of 12. On
the graded pair the judge passed 3 of 3 with the plugin and 0 of 3
without: both arms name the cause and the fix, only the skill arm says
how to confirm it. The judge was loosened from the first draft, which
also required a worked reproduction and failed both arms.
Add lexical regression cases and a plugin-eval diagnosis/review pair for #620. The stack-trace prompt improves from rank 3 to rank 1 with the clause, and all local checks pass. Live before/after activation and behavioral measurements remain required before submission.
#714 made the lifecycle commands user-invoked only, so a Skill call
naming /review, /test or /code-simplify can no longer happen and the
alternates in the eight tool_used patterns are dead. Remove them and
fix the README sentence that told authors to budget turns for the
command path.
Re-run on 2.1.312 with the model pinned: review 3 of 3, simplify 6 of
6, stays-quiet cases all 0. tdd-fires-on-pasted-bug fired 1 of 6
against 6 of 6 on 2.1.283; an A/B with the /test command re-enabled
fired 0 of 6, so the drop is router drift between CLI versions, not
#714. Recorded as such.
One clause on the description: the skill applies when asked to
simplify, clean up or reduce the nesting of a function that already
works, even when the code is pasted inline. Two Tier 2 positives for
the clause, a fires and stays-quiet pair under evals/plugin/, and a
paragraph in evals/README.md with the measurements.
claude-opus-5-5 pinned, Claude Code 2.1.296, three runs per prompt per
description: the three simplification phrasings went from 0 of 9 to
8 of 9, five adjacent must-not-fire prompts stayed at 0 of 15 both
ways. On the graded pair the judge passed 3 of 3 with the plugin and
0 of 3 without.