18 Commits
Author SHA1 Message Date
ayobamiseun 1a05fdc3e0 fix(performance-optimization): say the skill applies when slow code is pasted inline (#620)
"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).
2026-11-30 14:03:42 +01:00
Addy Osmani 3de865b744 Merge remote-tracking branch 'origin/main' into pr757
# Conflicts:
#	evals/README.md
2026-11-13 20:31:27 -08:00
Addy Osmani 7d90e74db4 Merge remote-tracking branch 'origin/main' into pr757
# Conflicts:
#	evals/README.md
2026-11-13 20:29:12 -08:00
Addy Osmani 8110c7ad87 Merge remote-tracking branch 'origin/main' into pr763
# Conflicts:
#	evals/README.md
2026-11-13 20:29:12 -08:00
ayobamiseun a3d5857023 Merge upstream/main; add a refactor stays-quiet case and the 2.1.319 numbers
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.
2026-11-07 05:41:55 +01:00
ayobamiseun 34e42d37e9 Merge upstream/main; commit the plain-phrasing case and drop the instruction sentence
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.
2026-11-07 05:39:54 +01:00
ayobamiseun 5454ae9806 Merge upstream/main into fix/620-debugging-pasted-inline
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.
2026-11-07 05:28:52 +01:00
Addy Osmani 884f646497 Merge remote-tracking branch 'origin/main' into pr758
# Conflicts:
#	evals/README.md
2026-10-30 23:37:09 -07:00
ayobamiseun 9c3d3671f7 fix(git-workflow-and-versioning): say the skill applies when the diff is pasted inline (#620)
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.
2026-10-29 07:27:26 +01:00
ayobamiseun 9097b64fa7 fix(debugging-and-error-recovery): say the skill applies when the diff or stack trace is pasted inline (#620)
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.
2026-10-29 07:20:31 +01:00
ayobamiseun d463d94fb6 fix(debugging): recognize diagnosis requests with pasted code
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.
2026-10-29 07:12:29 +01:00
ayobamiseun 6194c60db9 fix(evals): drop grader files that belong to a separate change 2026-10-29 07:10:38 +01:00
ayobamiseun 26ed36c2ef fix(evals): drop command names from the skill-fired graders after #714; record the re-run
#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.
2026-10-29 07:10:16 +01:00
ayobamiseun f1f6fbf398 fix(code-simplification): say the skill applies when the code is pasted inline (#620)
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.
2026-10-16 10:46:02 +01:00
Federico Bartoli 1347a9183c test(evals): add the fires and stays-quiet plugin eval pair for the TDD clause 2026-10-11 09:04:57 +02:00
Federico Bartoli d3620dce9f test(evals): count the slash-command path in every plugin eval tool_used grader 2026-09-26 09:00:32 +02:00
Federico Bartoli 3fb1551d34 test(evals): guard the pasted-diff clause with a must-not-fire plugin eval case 2026-09-26 00:42:05 +02:00
Federico Bartoli be49649df7 test(evals): add a claude plugin eval pilot for code-review-and-quality 2026-09-22 07:23:41 +02:00