Skip to content

feat(playwright): concise playwright description, measured with held-out trigger probes - #11975

Merged
kyle-sexton merged 2 commits into
mainfrom
feat/6587-concise-skills-playwright
Nov 1, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
feat/6587-concise-skills-playwright

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Closes #6587

Summary

Concise-skills rollout for playwright, descriptions only (scope recorded on #6476: #6476 (comment)). Ships a shorter playwright description that held up in held-out trigger probes on Opus; check and demo-video keep main's descriptions.

Fix

Verification

Held-out trigger probes (16 per skill, written blind, not committed), Opus model and judge, 3 runs per case, decision rule recorded before any pass: no lost positive majority, no new false-fire majority, rates within 0.05 of before.

Skill VALID passes Positive fire (before -> after) Negative quiet (before -> after) Body Result
playwright 8/8 24/24 -> 24/24 23/24 -> 24/24 unchanged (scope) rewrite ships
check 4/8 n/a n/a unchanged (scope) unmeasured; main kept
demo-video 4/8 n/a n/a unchanged (scope) unmeasured; main kept

Scope note: the owner's decision on #6476 (#6476 (comment)) sets this rollout to descriptions only, measured by held-out trigger probes on Opus. Opus is therefore the only target model, the numbers come from held-out probes run with claude plugin eval (frozen probes stay committed for later rounds), and every skill body is unchanged.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits November 1, 2026 09:38
…no loss

Refs: #6587

Descriptions only (owner scope, #6476). Measured by held-out trigger
probes on Opus (claude plugin eval, with-plugin arm, 3 runs per query,
16 queries per skill: 8 should-fire, 8 should-not), before = main.

| Skill | Description chars | Pos fire before -> after | Neg quiet before -> after | Decision |
|---|---|---|---|---|
| playwright | 559 -> 333 | 24/24 -> 24/24 | 23/24 -> 24/24 | ship rewrite |
| check | 271 (unchanged) | unmeasured | unmeasured | keep main |
| demo-video | 545 (unchanged) | unmeasured | unmeasured | keep main |
| setup (user-invoked) | unchanged | not measured | not measured | unchanged |

check and demo-video: every negative pass (both versions) was INVALID
on pre-decision tool denials in runs with no Skill call (the eval
sandbox denies Glob/Grep/Read outside it), so their rewrites do not
ship. Skill bodies and when_to_use stay at main. 16 of 24 passes VALID.

Frozen probes (plugins/playwright/probes) already list same-plugin
competitors only; unchanged, measure-invocation validate PASS.
skill-quality check: 4 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 16:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T16:07:48.666590Z 5ac066b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 5ac066bd4dc4bf80c63e9b955cdf649e17013340: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read both changed files in full:

  • .changes/playwright/feat-6587-concise-skills-3e8a51c7.md is a new changelog fragment (bump: patch) and contains only prose.
  • plugins/playwright/skills/playwright/SKILL.md changes only the frontmatter description string, from 559 to 333 characters. when_to_use, argument-hint, user-invocable and the skill body are unchanged.

Instruction-surface check. The diff shortens a skill description, so I checked whether it removes a standing rule. It doesn't. The old text listed capabilities (named sessions, ref-based click/fill, auth state, tracing, mocking) and a token-cost comparison with Playwright MCP. None of that was a prohibition, confirmation step or guard. The new text still scopes the skill to "a real browser driven against a running app". No tool grant, hook, allowlist or block list changes. I read the change against the consequence test; I didn't open the exception register because no rule was removed.

Other checks:

  • No plugin manifest (plugin.json / marketplace.json) changed, so there are no manifest lines to report.
  • No changed file matches a trusted-path glob.
  • No trust control, token scope, kill switch or merge hold is touched.
  • The PR context contains no embedded instructions aimed at this lane.

Spend: none. The change only edits text. The eval runs described in the PR used prepaid credit and are not part of the diff.

critical-findings: 0

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

claude-review reviewed 5ac066bd4dc4bf80c63e9b955cdf649e17013340: read 2 of 2 changed file(s); 1 finding(s), 0 as inline comments.

Code review: PR #11975 (playwright concise description)

This PR changes two files. It replaces the playwright skill's description in plugins/playwright/skills/playwright/SKILL.md and adds a patch changelog fragment. I read every hunk of both files. I found no correctness problems in the changed lines:

  • The frontmatter is still valid YAML: one double-quoted string with single-quoted trigger phrases inside it.
  • The new description stays accurate: a real browser driven against a running app, with artifacts written to disk so only paths enter context.
  • when_to_use is unchanged and still covers auth state, which the new description no longer names.
  • The removed claim "far fewer tokens than Playwright MCP" was the only cost claim in the description. Removing it suits .claude/rules/cost-claims.md.
  • bump: patch fits a description-only change.

Changelog fragment: pass. A patch bump fits a description-only change. No plugin.json or marketplace.json is changed, so no manifest lines apply.

Finding (whole PR, closing issue #6587)

Advisory: the decision-table criterion is only partly met. The closing issue's acceptance criterion says: "The PR body has a per-skill decision table, with description and body decided separately and the before and after numbers behind each row. The numbers come from claude plugin eval and /skill-quality:check measure-invocation, run against the existing probe files."

Observation (not counted)

The runbook says to keep quoted trigger phrases "until a held-out run on every target model shows they are not needed" (rewrite-a-plugin.md#L43-L44). The rewrite drops the quoted trigger 'playwright', and the held-out runs used Opus only. The skill's own name is playwright, so the practical risk is low. The PR doesn't say whether Opus is the only target model for this rollout.

Other acceptance criteria

Spend

The eval passes described draw on prepaid API credit, which the issue's owner decision Q46 pre-approved. They are not a hold.

No trusted-path files are changed. No embedded instructions were found in the PR context.

@kyle-sexton

Copy link
Copy Markdown
Member Author

claude-review advisory finding addressed in the PR body: the decision table now has a Body column (unchanged for every skill, under the descriptions-only scope), and a scope note cites the owner's decision on #6476 (#6476 (comment)): descriptions only, measured by held-out trigger probes on Opus. That makes Opus the only target model and the held-out claude plugin eval runs the measurement. The frozen probes stay committed for later rounds. No code change.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 48c30fc Nov 1, 2026
82 checks passed
@kyle-sexton
kyle-sexton deleted the feat/6587-concise-skills-playwright branch November 1, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concise skills rollout: playwright (3 skills, 2 model-invoked)

1 participant