/unprompted:unprompted-a11yfrom unprompted
Enforces WCAG 2.2 accessibility standards: contrast verification, keyboard navigation, focus-visible rings, semantic landmarks, and form label/error wiring. Activates when choosing colors, building forms, dialogs, menus, or auditing UI.
Ships in unprompted. 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.
Extends v4 A-01…A-12 and E-03…E-05. Accessibility is baseline engineering, never an optional post-launch pass.
A-01, E-03)Never eyeball contrast—especially on tinted paper neutrals, muted captions, or dark-mode secondary text. Verify pairs with the bundled zero-dependency calculator:
# Check a single foreground/background hex pair:
node <skills-dir>/unprompted-a11y/scripts/contrast-check.mjs --fg "#524e48" --bg "#f7f5f0"
# Scan a CSS token file for --fg-* against --bg-* custom properties:
node <skills-dir>/unprompted-a11y/scripts/contrast-check.mjs --css ./styles/tokens.css
< 24px, or < 18.66px bold): >= 4.5:1 (aim for >= 7:1 AAA on primary reading prose).>= 24px, or >= 18.66px bold): >= 3.0:1.>= 3.0:1 against adjacent surface (unless an explicit high-contrast text label already defines the boundary).4.5:1, but must still remain legible enough that users can tell what is disabled.E-03 needs results for every changed foreground/background pair, including hover, focus, and disabled states. A passing palette is not proof for an untested state.A-02, A-03, A-04)<button>, <a href>, <input>, <select>, <details>/<summary>, and <dialog> before reaching for div + role + tabIndex.:focus-visible ring (2px solid var(--accent) with 2px–3px outline-offset, or a dual-ring box-shadow when sitting over varied backgrounds). Never write outline: none without an immediate high-contrast :focus-visible replacement.<dialog>s and drawers must keep Tab/Shift+Tab inside while open, close on Escape, and return focus to the triggering element on close.tabindex="1+".<main>, sensible <header>/<nav>/<footer> regions, exactly one <h1>, and no skipped heading levels. Prefer native landmarks over role patches.A-05, A-06, A-07)A-05): Every control and link has an accessible name. Use a link to navigate and a button to act; do not put a click handler on a div. Informative images need useful alt; decorative images use alt="" or aria-hidden="true". Icon-only buttons need aria-label.A-06): Every <input>, <textarea>, and <select> requires an associated <label for="...">. Placeholders vanish the instant typing starts and fail contrast rules.2–5 visible options -> <fieldset> + <legend> + <input type="radio">.<input type="checkbox"> (never a lone ungrouped radio button).aria-describedby and set aria-invalid="true" on invalid fields; never rely on turning a border red alone (A-07).A-07): Links inside prose paragraphs must retain an underline (text-decoration: underline; text-underline-offset: 3px) or another non-color affordance so color-vision-deficient readers can identify them immediately.N/A: If a surface has no forms or no data tables, record A-06 or A-11 as N/A with proof of absence, not a silent skip.A-08, A-09, A-10, A-11, A-12)A-08): Interactive controls need at least 44×44 CSS px of hit area and >= 16px input font size on mobile.A-09): Wrap non-essential motion and transparency in @media (prefers-reduced-motion: reduce); respect prefers-contrast where the surface depends on translucent layers. A reduced-motion path must not hide content.A-10): Video/audio needs captions or a transcript where the content carries information; prerecorded media needs an alternative. Record N/A when the surface has no time-based media.A-11): Data tables use <caption>, <th scope="col|row">, and real headers. Do not fake a table with divs.A-12): At 200% zoom, content reflows without loss, clipping, or horizontal scroll. Test at 320px width and a 200% zoom equivalent.E-03, E-04, E-05)E-03: contrast results for every changed pair, including hover/focus/disabled states.E-04: a tab-order list plus focus screenshots for each control group.E-05: proof of no horizontal overflow at the narrowest supported width.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mocasus/unprompted --plugin unprompted7 skills in this plugin
/unpromptedDirection protocol and evidence gate for AI coding agents. 67 checks across direction, structure, words, access, motion/media, and evidence; replaces generic AI-shaped UI with a declared direction and proof./unprompted-codeRemove AI-shaped code tells: ASCII banner comments, line-by-line narration comments, emoji console logs, dead defensive wrappers, and placeholder stubs. Load whenever writing, refactoring, or cleaning up source code./unprompted-copywritingWrite direct, honest, human-cadence interface copy, headlines, microcopy, changelogs, and documentation free of AI hype, invented metrics, emoji crutches, and LLM sentence patterns. Load whenever writing or editing text./unprompted-directionCreate, extract, or validate a project's DESIGN.md specification and semantic CSS tokens so UI work has authentic, domain-grounded visual direction instead of generic defaults. Activate when DESIGN.md is missing or when defining a brand/design system./unprompted-mobileResponsive mobile reflow, breakpoint choreography, touch target sizing, overflow prevention, and small-screen data density rules. Load whenever building responsive pages, navigation bars, dashboards, tables, or forms./unprompted-uiVisual composition, surface hierarchy, spatial rhythm, typography calibration, purposeful motion, and Core Web Vitals rules for web interfaces. Load alongside unprompted whenever designing, styling, or refactoring UI components or pages.Other plugins' skills for the same job