You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(user-interface): run the write-css three-arm rule eval and settle which rules stay in the body #7054
/user-interface:write-css ships its eight always-on CSS rules (hover, logical, outline, ease-in, color, transition-all, motion, duration) as provisional one-liners in the SKILL.md body, with their detail in the topic references. The plan's keep-in-body test was never run. That test runs each rule case in three arms: the rule in the body, the rule moved to its topic reference, and no plugin. It keeps a rule in the body only when the body arm passes at least 4 of 5 runs and beats the reference arm by at least 2.
The eval could not run from the implementing session: claude plugin eval has to run from a terminal outside Claude Code. The no-plugin baseline was run and is recorded on the write-css PR.
Steps
With write-css installed from main, run the eight css-rule-* cases with the plugin, at runs: 5, one claude plugin eval plugins/user-interface --case <name> per case.
Make a variant copy of plugins/user-interface outside the repo with each rule line removed from the SKILL.md body (its reference file unchanged), and run the same eight cases against the copy.
Apply the threshold above and move each rule that fails it out of the body into its topic reference.
Also run the nine other css-* cases with the plugin, and record the with/without delta on this issue.
Done when
Each rule's body/reference/without pass counts are recorded here, and SKILL.md keeps only the rules that met the threshold.
Thanks for filing this. This is a clear, well-scoped follow-up: run the eight css-rule-* cases from write-css's SKILL.md body against three arms (with plugin, body-rules-removed variant, no plugin) at 5 runs each, apply the 4/5-pass-and-beat-reference-by-2 threshold, move any rule that fails it into its topic reference, and also record the with/without delta for the other nine css-* cases.
No duplicate found; related issue #7055 (re-audit write-css against upstream good-css PRACTICES.md) is a separate task on the same plugin.
One thing worth flagging: the issue notes claude plugin eval has to run from a terminal outside Claude Code, so this can't be completed inside an agent session alone — it needs someone to run the commands and record results here.
Reference arm: a local copy, .work/good-css/arm-reference/user-interface (gitignored). Its write-css SKILL.md has the eight rule lines replaced by one line pointing at the topic references (interaction.md, foundations.md, motion.md), which state each rule.
Run from a terminal outside Claude Code: claude plugin eval refuses to run inside a worktree-isolated session. --ablation none runs only the with-plugin arm, since the without arm exists. <P> is the worktree root.
P=<worktree root>; for arm in body reference; do T="$P/plugins/user-interface"; [ "$arm" = reference ] && T="$P/.work/good-css/arm-reference/user-interface"; for c in css-rule-hover css-rule-logical css-rule-outline css-rule-ease-in css-rule-color css-rule-transition-all css-rule-motion css-rule-duration; do claude plugin eval "$T" --case "$c" --ablation none --trust-plugin --threshold 0.8 --max-cost-usd 5 --no-publish --json "$P/.work/good-css/arm-results/$arm-$c.json"; done; done
Keep-in-body threshold: a rule stays in the SKILL.md body only when its body arm passes at least 4 of 5 runs and beats the reference arm by at least 2 runs. Otherwise its line moves out, as in the reference copy.
The three-arm eval ran. It covered the eight css-rule-* cases at 5 runs each. The table is in #7130.
Rule
Body
Reference
Without
hover
5/5
5/5
0/5
outline
5/5
5/5
0/5
motion
5/5
5/5
0/5
color
5/5
4/5
0/5
duration
5/5
4/5
0/5
transition-all
2/5
1/5
0/5
logical
0/5
0/5
0/5
ease-in
0/5
0/5
0/5
By the plan's threshold every rule would move out of the body. Decision: the rules stay in the body.#7130, the PR that moved them, is closed unmerged.
Why the eval doesn't settle it: each case asks for CSS in its own rule's topic, so the matching reference always loads. A real task in another topic may never read foundations.md or motion.md. Without the body lines, nothing then applies those rules unless the linter runs (raised by Codex on fix(user-interface): move write-css always-on rules to their references #7130).
What keeping them costs: the eight lines are small. The eval found no cost to keeping them, and it did not measure the case where they matter.
Activity
github-actions commentedon Oct 11, 2026
Thanks for filing this. This is a clear, well-scoped follow-up: run the eight
css-rule-*cases from write-css's SKILL.md body against three arms (with plugin, body-rules-removed variant, no plugin) at 5 runs each, apply the 4/5-pass-and-beat-reference-by-2 threshold, move any rule that fails it into its topic reference, and also record the with/without delta for the other ninecss-*cases.No duplicate found; related issue #7055 (re-audit write-css against upstream good-css PRACTICES.md) is a separate task on the same plugin.
One thing worth flagging: the issue notes
claude plugin evalhas to run from a terminal outside Claude Code, so this can't be completed inside an agent session alone — it needs someone to run the commands and record results here.Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 11, 2026
Setup for the three-arm run is ready on the operator's machine:
plugins/user-interfaceas merged in feat(user-interface): add /user-interface:write-css #7060..work/good-css/arm-reference/user-interface(gitignored). Its write-css SKILL.md has the eight rule lines replaced by one line pointing at the topic references (interaction.md, foundations.md, motion.md), which state each rule.Run from a terminal outside Claude Code:
claude plugin evalrefuses to run inside a worktree-isolated session.--ablation noneruns only the with-plugin arm, since the without arm exists.<P>is the worktree root.Keep-in-body threshold: a rule stays in the SKILL.md body only when its body arm passes at least 4 of 5 runs and beats the reference arm by at least 2 runs. Otherwise its line moves out, as in the reference copy.
kyle-sexton commentedon Oct 11, 2026
The three-arm eval ran. It covered the eight
css-rule-*cases at 5 runs each. The table is in #7130.By the plan's threshold every rule would move out of the body. Decision: the rules stay in the body. #7130, the PR that moved them, is closed unmerged.
🤖 Generated with Claude Code