/web-dev:shadscanfrom web-dev
Audits shadcn React components with a deterministic static analyzer, scoring UI fundamentals across six categories, and looping fixes until a grade threshold is met. Wires into CI as a score gate.
Ships in web-dev. 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.
shadscan is a deterministic static analyzer for shadcn/React apps. It
grades UI fundamentals — same result every run, built for the terminal and CI.
Use it to measure and then raise the quality of shadcn components, and to gate
merges on a minimum score.
This skill is the driver. The actual fixes belong to the shadcn-capable agents
(designer / Ridd, nextjs / Theo); this skill tells you how to run the tool,
read the score, and loop until the grade passes.
One 0–100 score plus a letter grade, across six categories:
| Category | What it inspects |
|---|---|
foundation | Base component setup, tokens, structural correctness |
interaction | Pointer/keyboard interaction wiring |
states | hover / focus / active / disabled / loading / error coverage |
accessibility | Labels, roles, ARIA, contrast, keyboard reachability |
forms | Form composition, validation, field/label association |
production-polish | Empty states, responsiveness, finishing details |
# Audit the project (or a path). Human output with evidence + suggested fixes.
npx @shadscan/cli [path]
# Machine-readable report (schema v4) — parse this in scripts/CI.
npx @shadscan/cli --json
# Paste-ready Markdown handoff for an AI agent — THIS is the fix-loop input.
npx @shadscan/cli --format prompt
# Launch an installed coding agent directly with the findings.
npx @shadscan/cli --apply --agent claude # or: codex | grok
# Audit one category only (tight loops).
npx @shadscan/cli --category accessibility
# CI gate: exit 1 when the score is below the floor (or can't be assessed).
npx @shadscan/cli --fail-under 85
# Neutral copy for CI/logs (disable the "roast" tone).
npx @shadscan/cli --json --no-roast
# Install a pre-commit hook that runs the scan.
npx @shadscan/cli setup --pre-commit
Other flags: --no-interactive (skip the post-scan menu — always use this in
scripts), --roast (force roast copy into JSON/CI), --version, --help.
Do not one-shot fixes and declare victory. Iterate against the tool:
npx @shadscan/cli <path> --json --no-interactive and
record the score, grade, and per-category breakdown. Report the number.npx @shadscan/cli <path> --format prompt to get
the neutral, paste-ready findings, or scan one category with --category
to focus. The prompt output is written for an agent — feed it to the
fixer.components/ui/*.tsx source directly — customize via className/props or
re-add with shadcn@latest add <c> --overwrite.--fail-under passes).The categories map almost 1:1 onto patterns the designer (Ridd) agent already
documents — reuse them rather than inventing fixes:
accessibility → Ridd's Accessibility Checklist (labels, ARIA, focus order,
contrast ≥ 4.5:1).states → Ridd's States list: implement hover, focus, active, disabled,
loading, and error for every interactive element.forms → Ridd's react-hook-form + zod Form pattern (FormField/FormLabel/
FormMessage association).foundation / interaction / production-polish → composition and
app-integration concerns; hand to nextjs (Theo) when the fix is structural
or data-bound, keep with Ridd when it's presentational.--format prompt → paste the findings to
the fixer agent, apply, re-scan. Keeps the human/agent in control of edits.--apply --agent claude launches Claude Code with the handoff.
Use when you want the tool to drive the agent end-to-end.The tester (Jason) agent owns the gate, not the fix:
npx @shadscan/cli . --fail-under <N> --no-interactive --no-roast as a CI step. Non-zero exit fails the build..github/workflows/shadscan.yml. Inputs:
path, version, category, fail-under, create-issue, issue-label,
github-token. Outputs: score, grade, report-path — surface these in
the PR.npx @shadscan/cli setup --pre-commit for local enforcement.See references/reference.md for the full flag list, JSON schema notes, a
ready-to-drop Action workflow, and a per-category fix playbook.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
web-dev@b-open-io is listed by b-open-io/claude-plugins — review the source before installing
npx claudepluginhub b-open-io/claude-plugins --plugin web-dev9 skills in this plugin
/chartingData visualization and charting. Use for "create a chart", "visualize this data", "build a dashboard", "plot this", "graph these metrics", "make a bar chart", "build a heatmap", or help choosing a chart type, picking a charting library by data scale, or building the pipeline from raw database state to rendered visualization./chrome-cdpThis skill should be used when the user asks to "inspect this page in Chrome", "debug what's happening in my browser", "read the browser console logs", "interact with the page open in Chrome", or "attach to my live Chrome session". Interacts with the user's local Chrome browser session via Chrome DevTools Protocol — no extension, no Puppeteer — but only after explicit user approval to inspect, debug, or interact with an open tab./create-next-projectThis skill should be used when the user asks to "create a new project", "scaffold a Next.js app", "initialize a new app", "start a new project", "set up a new Next.js project", or mentions "create-next-project". Provides a guided, opinionated full-stack Next.js project initialization with Biome, Tailwind v4, shadcn/ui, better-auth, and Vercel deployment. Uses agent teams for parallel execution./frontend-performanceThis skill should be used when the user asks to "optimize my Next.js app", "why is this page slow", "reduce my bundle size", "improve Core Web Vitals", or "run a Lighthouse audit". Diagnoses and fixes Next.js frontend performance issues using Lighthouse, bundle analysis, and animation best practices — covering LCP, TBT, and CLS./generative-uiDecide between static components and AI-generated interfaces, and build the latter. Use for "generative UI", "dynamic UI", "json-render", "render JSON as UI", "AI UI generation", "MCP App UI", "deliver UI in chat", or "interactive chat interface". Covers the json-render framework, renderer and catalog selection, and MCP Apps delivery through ui:// resources./github-starsThis skill should be used when adding GitHub star counts, star buttons, star widgets, or GitHub social proof to a website or app. Applies when the user says "add GitHub stars", "show star count", "add a star badge", "GitHub badge", "star widget", "GitHub social proof", "stargazer count", or wants to display how many stars a repo has on a marketing page, header, or landing page. Also applies when integrating the GitHub API for repository metadata display.Other plugins' skills for the same job