/fw:browser-testfrom fw
Run browser acceptance checks with playwright-cli. Use when browser-visible behavior needs fresh proof before review or commit.
Ships in fw. 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.
$fw:browser-test is Flywheel's browser-proof workflow.
Use it when the work changes observable browser behavior and you need fresh evidence rather than assumptions.
This skill prefers playwright-cli for browser automation. It is the default
browser-proof path for Flywheel because it is lightweight, CLI-native, and
works cleanly with frontier coding agents.
Follow ../references/host-interaction-contract.md.
Call the exact host question tool named in
../references/host-interaction-contract.md when that tool is available. Do
not ask for raw 1/2/3 replies when the host already offers a choice surface.
When the workflow spans multiple material steps, use the host task-tracking
tool named in ../references/host-interaction-contract.md to create and
maintain a short task list.
Ask one question at a time. When multiple browser-proof paths are viable, present the recommended label first and rely on the host's native freeform final path when it exists.
<browser_test_input> #$ARGUMENTS </browser_test_input>
Interpret the input as one of:
Do not preload every reference. Load only what the current phase needs:
references/dev-server-detection.md when the local target URL or dev
command must be discovered.references/scenario-shape.md when deciding which browser scenarios to
run.references/evidence-contract.md when deciding what artifacts to keep.../commit/references/evidence-bundle.md when browser proof should be
handed off into review or commit.Ground the browser target in repo truth:
AGENTS.md and CLAUDE.md when present.flywheel/config.local.yaml when present for base_url,
dev_command, browser mode, evidence directory, evidence level, or
sensitivity settingsRead references/dev-server-detection.md only when you need help discovering
the local target URL or dev command.
Determine:
Prefer this order:
playwright-clinpx --no-install playwright-cliIf neither is available, stop and route to $fw:setup browser with the
repo-proven install path or a pinned fallback chosen there:
Browser proof is blocked: `playwright-cli` was not found.
When a reusable session name is helpful, derive it from repo + branch or use
the configured session_prefix.
Read references/scenario-shape.md.
Choose the smallest honest scenario set:
For browser-visible feature work, at least one scenario must exercise the changed behavior directly.
playwright-cliUse playwright-cli for the interaction loop:
open or goto the targetsnapshot to capture the page state and element refsconsole or network when errors or failing requests mattertracing-start and tracing-stop when failures are flaky or timing-
sensitivescreenshot when visible proof is materially usefulKeep evidence under a local artifact directory, preferably:
.context/flywheel/browser/<run-id>/
Read references/evidence-contract.md before deciding what to save.
Read ../commit/references/evidence-bundle.md when the run should leave a
reusable handoff for $fw:review or $fw:commit.
Default to the smallest safe evidence set. Unless failure analysis or the user clearly requires more, prefer screenshots or snapshots over raw console, network, or trace captures.
Never include auth headers, cookies, bearer tokens, CSRF tokens, passwords,
session identifiers, or unredacted sensitive payloads in the saved evidence set
or in the final report. Payloads, traces, or request examples may be shared
when you are above 90% confident they contain no secrets and no meaningful PII.
If a failing scenario truly requires network or trace data but that confidence
is not there, keep it local, summarize the useful signal, and redact or replace
sensitive fields with dummy values before handing it to $fw:review or
$fw:commit.
When the run produces proof that downstream stages should reuse, create or update a shared evidence bundle under:
.context/flywheel/evidence/<bundle-id>/
Keep summary.md short and human-readable:
clean, redacted, or local-onlyReturn a concise browser-proof brief:
$fw:work, $fw:review, $fw:commit, or another test passIf the browser-visible change passed, call that out plainly so review and commit can reuse the evidence.
If the run is blocked because browser tooling is missing, say that plainly and
route to $fw:setup browser instead of implying the app or test flow failed.
@./references/dev-server-detection.md @./references/scenario-shape.md @./references/evidence-contract.md @../commit/references/evidence-bundle.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mopeyjellyfish/flywheel --plugin flywheel32 skills in this plugin
/architecture-strategyAssess repo-grounded architecture choices and improvements. Use for boundaries, service splits, dependency direction, or distributed posture./brainstormExplore requirements and approaches. Use for a fuzzy idea, open scope, or one direction that needs sharper behavior before planning./commitFinish a branch cleanly. Use to verify readiness, make logical commits, push, and create or refresh a PR with evidence./commit-messageDraft Conventional Commit messages. Use when choosing a commit header, body, footer, or breaking-change marker.Other plugins' skills for the same job