lean-ui
/lean-ui
Build or refine frontend interactions with accessible controls, complete async states, responsive behavior, and practical performance checks. Use for UI implementation or quality review, especially React and Next.js; excludes branding, visual direction, and backend work.
- Author
- JayCommit ↗
- Repository
- lean-ui ↗
- Licence
- MIT
- Last repository change
- 06.11.2026
Assessment and security
- Files in this package
- 31
- Scripts
- 9
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 06.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 9 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: examples/LeanSearch.test.tsx, examples/LeanSearch.tsx, examples/TypicalSearch.tsx, examples/main.tsx, examples/search.ts, examples/vite-env.d.ts, scripts/check.mjs, scripts/install.ps1
What it does and when to use it
Build or refine frontend interactions with accessible controls, complete async states, responsive behavior, and practical performance checks. Use for UI implementation or quality review, especially React and Next.js; excludes branding, visual direction, and backend work.
Original author description
Build or refine frontend interactions with accessible controls, complete async states, responsive behavior, and practical performance checks. Use for UI implementation or quality review, especially React and Next.js; excludes branding, visual direction, and backend work.
How it works
- Working loop
- Read only when needed
- Completion evidence
SKILL.md preview
--- name: lean-ui description: Build or refine frontend interactions with accessible controls, complete async states, responsive behavior, and practical performance checks. Use for UI implementation or quality review, especially React and Next.js; excludes branding, visual direction, and backend work. --- # lean-ui Ship the smallest change that makes the requested interaction work reliably. Keep the existing stack, styling, and component conventions. Reuse suitable primitives already present; do not introduce a UI library for a small fix. ## Working loop 1. Identify the user action and its observable outcome. Inspect nearby components and existing checks before editing. 2. Cover relevant states: idle, pending, success, empty, and failure. Preserve entered data on failure, provide a recovery action, and prevent duplicate mutations. Ignore obsolete async results; clean up subscriptions and timers. 3. Use native controls and visible associated labels. Support keyboard activation, visible focus, and logical tab order. Connect field errors to inputs; update a mounted status region for async outcomes without moving focus. For modal overlays, set initial focus, contain it, support dismissal, and restore focus on close. 4. Keep content usable at 320 CSS pixels, zoom, and with long text. Disable nonessential motion under `prefers-reduced-motion`. Do not make hover, animation, or color the only way to understand or operate the UI. 5. Keep state close to its consumers, derive cheap values during render, and use persistent data IDs for changing lists. Avoid redundant effects and requests; keep effect dependencies honest. Add memoization, virtualization, or code splitting when a concrete cost justifies it. 6. Verify the changed flow: keyboard, pending/failure/retry, narrow viewport, and relevant automated checks. Report what ran and any remaining gaps; do not claim accessibility compliance from a lint or automated scan alone. Apply only checks relevant to the change. Do not expand a small task into a full-site audit, redesign, new abstraction, or exhaustive test suite. ## Read only when needed | Task | Reference | | --- | --- | | Requests, forms, race conditions, recovery | [Interaction states](references/interactions.md) | | Labels, validation, keyboard, overlays, focus | [Accessibility](references/accessibility.md) | | React rendering, lists, Next.js boundaries, delivery cost | [Performance](references/performance.md) | | Reflow, touch, zoom, motion | [Responsive behavior](references/responsive-motion.md) | Read only the reference needed for the current uncertainty. Keep these details out of routine responses. Use [the example comparison](examples/README.md) when a concrete implementation helps; use [the evaluation protocol](evals/README.md) when measuring the skill itself. ## Completion evidence Briefly state the behavior improved, the checks performed, and any unverified behavior. Prefer observable evidence (for example, a failed request retains the query and a retry succeeds) over a generic quality checklist. Never replace working product behavior with a static mock to satisfy a check.
Files in this package (31)
- .gitignore 1 KB
- AGENTS.md 4 KB
- CODE_OF_CONDUCT.md 1 KB
- CONTRIBUTING.md 1 KB
- LICENSE 1 KB
- README.md 11 KB
- SECURITY.md 1 KB
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- evals/README.md 4 KB
- evals/release-verification.md 17 KB
- evals/results-template.md 1 KB
- examples/LeanSearch.test.tsx 4 KB
- examples/LeanSearch.tsx 3 KB
- examples/README.md 2 KB
- examples/TypicalSearch.tsx 1 KB
- examples/index.html 1 KB
- examples/main.tsx 1 KB
- examples/package-lock.json 76 KB
- examples/package.json 1 KB
- examples/search.ts 1 KB
- examples/styles.css 1 KB
- examples/tsconfig.json 1 KB
- examples/vite-env.d.ts 1 KB
- references/accessibility.md 2 KB
- references/interactions.md 2 KB
- references/performance.md 2 KB
- references/responsive-motion.md 2 KB
- scripts/check.mjs 3 KB
- scripts/install.ps1 7 KB
- scripts/install.sh 5 KB
Versions
The database has no other skills named lean-ui.
Database snapshot: 13.11.2026 · package version 0e8982da5c4d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90frontend-engineering
Build, refactor, or review accessible, responsive web frontends using React, TypeScript, and other modern frameworks. Use for UI architecture, component design, routing, forms, state, API integration, browser behavior, performance, and visual quality. - 100may-frontend
Use when implementing or reviewing browser-facing components, client state, API-connected interactions, accessible forms, responsive behavior or frontend regressions. - 100react-aria
Build accessible UI components with React Aria. Use when creating accessible form controls, implementing ARIA patterns, building design systems, or fixing accessibility issues. - 100frontend-ui-engineering
Builds production-quality, accessible, responsive user-facing UI components from an existing approved design system. Use when implementing or modifying interfaces and pages, building accessible dropdowns, modals, forms, and components, managing UI state, adding keyboard… - 90briefbound-frontend-engineering
Use when an aligned UI contract or established project pattern needs production frontend implementation across components, layouts, interaction states, responsive behavior, accessibility, or runtime browser verification; do not use when the primary uncertainty is product… - 95wicked-garden-engineering-frontend
Frontend engineering specialist for React, CSS, browser APIs, component design, accessibility, and performance. This skill should be used when the user asks about UI implementation, component review, or frontend-specific questions. Use when: "build a React component", "CSS…