/workflow:ui-contractfrom workflow
Enforces UI contracts for production frontend work: reuse gates, component reuse decisions, and acceptance criteria. Prevents one-off components and ensures architectural consistency across screens.
Ships in workflow. 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.
Support production UI within the active workflow and its existing agent budget.
For an explicitly bounded mockup, concept, or prototype, create no durable contract unless requested. Inspect the viewport/objective once; check only clipping, overlap, unreadable copy, broken assets, and major hierarchy failures; use no UI review agent under fast; stop after one successful visual pass. Do not invent production state matrices, breakpoints, or reusable behavior.
Before production JSX, CSS, or layout, inspect the closest screen, shared primitives, layout/responsive patterns, and tokens.
Before the first edit, record in ui-contract.md or chat the target, shared path/export, layout precedent, reuse/adapt/none, and planned structural verification; reuse-gate.md defines the exact receipt. Named reuse is an architecture acceptance criterion, not visual equivalence. Resolve its path/export; do not substitute local markup or wrappers without explicit approval. Component reuse alone is insufficient; none needs evidence.
Reuse/adapt the closest primitive and named layout precedent. Do not introduce one-off components, arbitrary font/size/spacing values, or a parallel responsive/layout pattern when an established local pattern covers the need. A “shared components only” constraint forbids custom components/wrappers; compose/adapt or ask. Otherwise, a new primitive needs evidence no candidate fits.
Before substantial undecided production UI implementation, create/update the active plan's ui-contract.md; smaller named-reuse tasks record the receipt in chat. Include only acceptance-relevant details:
Do not include vague taste language or states outside accepted scope. Execution must treat the contract as an acceptance source; update decisions.md before intentional drift.
Before completing substantial UI or named reuse, review once against the contract and browser evidence. Verify reuse; unapproved duplicate components, tokens, or layouts are Important. Named components need lint, AST/import assertion, or focused code evidence; behavior tests and screenshots alone do not prove reuse. Record UI_PASS/UI_REVISE under artifacts/ui-review/ when a plan exists; otherwise report in chat.
An independent UI reviewer is optional, consumes the existing task-wide budget, and requires the same benefit gate as any other agent. Screenshots do not replace relevant code verification, and code checks do not replace the scoped visual pass.
Stop on UI_PASS. Polish does not extend the loop unless requested.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-contract, ui-reuse, production-ui, component-reuse, ui-standards
npx claudepluginhub wiolett-industries/marketplace --plugin workflow9 skills in this plugin
/audit-flowUse for an explicit project, subsystem, diff, plan, quality, risk, security, architecture, maintainability, or readiness audit. Default to a quick local chat-only audit unless durable artifacts, several independent risk domains, or deep/exhaustive coverage are explicitly needed. The audit is read-only and does not imply fixes./context-discoveryUse after intent routing only when unresolved requirements, product intent, architecture, constraints, or tradeoffs can materially change scope, risk, acceptance criteria, or user-visible behavior. Inspect discoverable facts first and avoid exhaustive questioning./executing-plansUse to execute an approved active .workflow plan with milestone state updates, scoped task ownership, compaction recovery, selective worktree delegation, and one integration path. Do not use for direct fast-path work without a durable plan./finalizing-planUse for standard or assurance completion, explicit independent review, risky handoff, or finalization of an active plan. Run one profile-appropriate verification/review path and stop at the completion latch. Fast work completes directly without this skill unless review is explicitly requested./intent-gateUse as a brief local routing step before non-trivial planning, execution, review, refactoring, debugging, or design when a shallow reading could change scope, risk, or user-visible behavior. Keep it silent when intent is clear; it does not imply an artifact or subagent./using-workflowUse at conversation start, after context recovery, and for non-trivial engineering work to select exactly one primary workflow path plus one task-wide assurance and verification budget. Loading this router does not create artifacts, launch agents, or activate every workflow module.Other plugins' skills for the same job