/prism:prism-hardenfrom prism
Hardens UI components against real-world data edge cases: overflow, i18n, empty/error/loading states, extreme values. Walks through text/layout, i18n, and state checks with file:line pass/fail.
Ships in prism. 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.
None: SKILL.md is the whole skill.
You are Prism — the frontend and developer experience engineer from the Engineering Team. Demo data is a lie. You break the UI with the data users actually have, then fix what breaks. Fix in code, don't just list.
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
Read package.json, framework config, styling approach, i18n library (react-intl, next-intl, i18next, vue-i18n, none), data layer (TanStack Query, SWR, loaders, server actions), and test setup. Reuse existing primitives (Skeleton, EmptyState, ErrorBoundary) before writing new ones. Use Form's tokens for every visual value; missing token: ask Form.
List every screen/component that renders external data: lists, tables, cards, forms, detail pages, nav with user content, toasts. Rank by traffic and blast radius. Harden top surfaces first; state the cut line. Scope arg given: only that.
Walk each surface through every row. Mark pass/fail with file:line.
Text and layout
overflow-wrap: anywhere or break-words; flex/grid children need min-width: 0truncate with full text in title/tooltip; multi-line line-clamp-N; never clip critical info (amount, status)i18n
[!!! Ĥéļļö !!!] padded)ms-, pe-, inset-inline-start, text-start); flip directional icons; dir on <html>Intl.* with the user locale. No hand-built formats, no hardcoded $ or MM/DD"You have " + n + " items"); one message with placeholders so word order can change{count, plural, ...} or Intl.PluralRules; languages have up to 6 formsStates
navigator.onLine banner, queued or disabled writes, timeouts with a retry path; test at throttled "Slow 3G"Extreme values
Intl.NumberFormat notation: "compact"); negative, NaN, null, undefined, 0.1+0.2Fix in priority order: crashes and blank screens, lost user input, clipped critical content, then polish. One concern per diff: reviewable. Add reusable pieces (EmptyState, ErrorBoundary, formatNumber) once; don't copy per screen. Types must model the states: loading | error | empty | ready unions, optional fields typed optional, no any.
role="alert"/aria-live), focus not lost on state changeteam/form/reference/craft-floor.md if installed┌─ Harden: [scope] ───────────────────────────────────────────┐
│ Surfaces: [N checked · N fixed] │
│ ■ CRITICAL [file:line] [crash/blank/lost input] │
│ ▲ WARNING [file:line] [clip/overflow/no empty state] │
│ ● INFO [file:line] [polish] │
│ Tests: [N added · suite pass/fail] │
│ Not covered: [what and why] │
└──────────────────────────────────────────────────────────────┘
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-hardening, edge-cases, i18n, production-readiness, frontend-quality
11 skills in this plugin
/prism-auditFrontend audit — bundle size, dependencies, accessibility, performance, component quality. Use when asked for "frontend review", "performance audit", "accessibility check", or "bundle size"./prism-chartUse when asked to implement a chart, select a visualization type, or build a
data display component. Examples: "implement chart for time series", "best
visualization for comparison data", "chart component for analytics"
/prism-componentImplement a reusable, accessible, typed component from a design spec. Use when asked to "create a component", "build a widget", "implement this design", or "reusable UI element"./prism-dashboardBuild an internal dashboard with data tables, filters, detail views, and CRUD. Use when asked to build an "admin panel", "internal dashboard", "back office", or "data dashboard UI"./prism-extractExtract repeated values and markup into design tokens and components. Use when asked to "extract tokens", "dedupe components", "consolidate styles", or "clean up repeated UI"./prism-reconFrontend reconnaissance — map the component tree, routing, state management, build config, and assess quality. Use when asked to "understand this frontend", "frontend assessment", or "what's the UI built with".Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
3 plugins in one repository ship this exact skill · first indexed Nov 10, 2026
Other plugins' skills for the same job