/ratchet:frontend-qualityfrom ratchet
Build and review usable, visually consistent frontends with executable browser and data-loading checks. Use for visible UI changes, frontend data loading, interaction work, responsive fixes, and frontend review, including frontend portions of a larger feature. Preserves the application's brand and framework.
Ships in ratchet. 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; scripts run unread.
Every visible element should help someone understand state, decide, or act. Apply this skill while building and verify the rendered result before finishing. It is self-contained: no external frontend skill, brand bundle, router, or form template is required. Use the target application's existing stack and identity.
Inspect the affected screen, related screens, routes, data ownership and existing checks. State the audience, task, primary action, and visual elements the user wants retained. Read the quality rubric; select the affected states and interactions rather than creating an unrelated redesign.
For data-loading work, also read data loading. Declare independent resources and genuine dependencies before choosing loaders or endpoints. Start independent work together, reuse canonical query definitions, and isolate section loading. A prerequisite for permissions stays a prerequisite.
Choose proof for each applicable requirement: an executable assertion, a rendered comparison, or a named reviewer judgment. Record an explicit reason for anything not applicable or blocked. An automated pass cannot establish visual hierarchy, good copy, or workflow suitability on its own.
Use verification to configure and run the bundled checks against the actual affected routes and states. The runner captures two fresh-browser passes, screenshots, accessibility violations, page overflow, browser errors, and request-contract results. Data-loading scenarios additionally check required requests, canonical parameters, duplicates, declared dependency depth, and overlap of independent requests under network throttling.
Add application-specific interaction assertions through each scenario's
exercise callback: keyboard behavior, focus, meaningful state transitions,
preserved input, count-to-destination agreement, or whatever the change affects.
The example is a small catalog screen, not a product scaffold. Replace its
resources and assertions with the application's contract; do not copy its domain.
For TanStack Query consumers, use the bundled ESLint policy and upstream query lint rules described in data loading. For other stacks, enforce the same ownership and cache invariants through their existing tools. Do not install a new router or query framework just to satisfy this skill.
Fix findings and rerun the affected checks on the final revision. Both browser passes must succeed; one successful run does not cancel a later failure. They retest invariants in fresh contexts and do not prove warm-cache navigation. Test prefetch and cache reuse within one session as a separate interaction.
Then have a fresh reviewer inspect the contract, final diff, screenshots and report, with enough product context to judge the rubric. Give the reviewer the task and raw evidence, not the implementer's conclusions. They check whether the scenarios cover the affected routes, states and keyboard interactions, and whether the assertions would fail for the intended regression. Use a separate agent when available; otherwise perform a distinct review pass and disclose the lack of independent review. Do not claim full verification while required checks or this review remain blocked.
Report observed failures, fixes, remaining limitations and evidence locations. Keep screenshots and runtime reports in the application's existing test-artifact location or an external run directory, never in the installed plugin tree.
In swe-loop, this applies to every frontend portion of the work regardless of
profile: contract before implementation, executable checks during testing,
independent evidence review in Phase 5, and verification on the delivered revision.
It adds no human approval gate and does not activate swe-loop by itself.
To evaluate changes to this skill, use the behavioral evaluations in isolated workspaces. The package's deliberately defective browser fixtures and query-cache tests provide failure proof; the fresh-agent evaluation checks whether the instructions lead an agent to use those mechanisms correctly.
checks/audit.mjs (opens in a new tab)checks/contract.mjs (opens in a new tab)checks/examples/catalog-queries.mjs (opens in a new tab)checks/package-lock.json (opens in a new tab)checks/package.json (opens in a new tab)checks/query-policy.mjs (opens in a new tab)checks/test/browser.test.mjs (opens in a new tab)checks/test/contract.test.mjs (opens in a new tab)checks/test/fixtures/catalog-fixture.mjs (opens in a new tab)checks/test/launcher-smoke.mjs (opens in a new tab)checks/test/query.test.mjs (opens in a new tab)evals/scenarios.md (opens in a new tab)references/data-loading.md (opens in a new tab)references/rubric.md (opens in a new tab)references/verification.md (opens in a new tab)scripts/run-checks.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dej-h/ratchet --plugin ratchet8 skills in this plugin
/consolidateRun a behavior-preserving consolidation pass over a branch or working-tree diff to strip agent-generated semantic sediment (prompt echoing, transition narration, redundant comments, transitional wrappers, and prompt-shaped test names) so the codebase reads as if the final architecture had been known from the beginning. Use when invoked as /consolidate or $consolidate, before opening an ad-hoc PR, or at the end of swe-loop Phase 4 before Phase 5 review.
/diagram-loopCreate or revise premium, animated, publication-quality architecture, flow, feedback, sequence, and concurrency diagrams. Use only when the user explicitly asks for that level of visual output. Do not use for ordinary ADR, architecture-document, or PR diagrams; those stay on the swe-loop Mermaid path.
/grillingGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases./grill-meA relentless interview to sharpen a plan or design./swe-loopExplicit autonomous-delivery mode for cohesive features or modules taken end-to-end through design, implementation, verification, and handoff. Use when invoked as /swe-loop or $swe-loop, when resuming a loop, or when the user clearly asks for autonomous delivery. Keep inactive for coworking, co-audits, exploration, simpler variants, focused changes, and requests signaled only by task size, unattended work, or a commit/PR. If autonomy is ambiguous, ask before creating loop artifacts. Once active, enforce exactly two human checkpoints, test intent before tests, independent review, and verification against design.
/work-packagesManage the always-on .ratchet/work-packages.yaml DAG and .ratchet/human-dependencies.md ledger for multi-session, multi-PR, and part-time work. Use when initializing .ratchet/ in a repository, splitting a large feature or open PR into small dark-launchable slices, recording external human/runbook blockers with Unblock-with defaults, or checking/updating work package status during ad-hoc or swe-loop sessions.