frontend-patterns
Guides React and Next.js component architecture and performance
Install / Use
npx skills add yandy-r/ystack --skill frontend-patternsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of frontend-patterns
frontend-patterns scores 54/100 on our quality scale, 4204th of 4,595 Development & Engineering skills we index.
Its SKILL.md is 3.1 KB long, split into 7 sections and no code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- Our last check on 2026-10-19 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-18. Automated pattern scan on 2026-10-18. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
frontend-patterns compared with similar skills
All 4 of these similar skills score higher than frontend-patterns; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| frontend-patterns (this skill)by yandy-r | 54 | 0 | — | SKILL.md |
| taste-skillby Leonxlnx | 100 | 101.6k | 3d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 64.0k | 2d ago | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 44.0k | 3d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 31d ago | SKILL.md |
Frequently asked questions
- How do I install frontend-patterns?
- Run
npx skills add yandy-r/ystack --skill frontend-patterns. The install tabs above show the steps for each supported agent. - Which AI agents does frontend-patterns work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is frontend-patterns safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is frontend-patterns still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubname: frontend-patterns description: 'Guides React and Next.js component architecture and performance. Use when composing components, managing React state, or optimizing rendering and accessibility.'
Frontend Development Patterns
Non-obvious React/Next.js rules. Standard React API usage is assumed.
When to Activate
- Building or reviewing React components, hooks, or state
- Fetching data or choosing client versus server state
- Optimizing rendering, bundle size, or long lists
- Building forms, error handling, dialogs, or animation
Critical Rules
- Compose with children and slots; derive values instead of mirroring them in state.
- Server data belongs in TanStack Query, SWR, or framework data APIs, not global stores.
- Effects clean up timers, listeners, subscriptions, and stale async results.
- Keys are stable data IDs, never indexes, for reorderable or removable lists.
- Memoize after profiling, not speculatively.
- Prefer native elements and Radix/Headless UI over custom ARIA widgets.
- Interactive elements need keyboard access, visible focus, and an accessible name.
- Validate on the server even when the client validates.
- Honor
prefers-reduced-motion; animate transform/opacity only.
References
Paths are relative to this SKILL.md's directory. Read only the file matching the task. If a file cannot be read, say so.
- references/components-and-state.md Read when: writing compound components, render props, custom hooks, or context reducers, or choosing a state library.
- references/data-and-performance.md Read when: fixing async races, or deciding on memoization, lazy loading, or virtualization.
- references/forms-errors-a11y.md Read when: building forms, error boundaries, keyboard navigation, or modal focus handling.
- references/animation.md Read when: adding Framer Motion list or modal transitions.
Quick Routing
| Situation | Choose |
| ----------------------------- | --------------------------------- |
| Slot-based UI | Composition / compound components |
| Shared logic | Custom hook |
| Small shared state | useReducer + Context |
| Larger client state | Zustand or Redux Toolkit |
| Server state | TanStack Query or SWR |
| Lists over a few hundred rows | @tanstack/react-virtual |
| Forms | react-hook-form + Zod |
| Dialog/popover/menu | Radix or Headless UI |
Anti-Patterns
- Syncing state with effects when a derived value works.
- One big Context value rerendering all consumers.
- Fetching in
useEffectwithout ignoring superseded requests. - Fresh object or function literals passed to memoized children.
divclick handlers instead ofbuttonora.
Related ycc Skills
ycc:frontend-design— visual direction, typography, color, and motion intent to pair with these implementation patterns
Related Skills
taste-skill
101.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
64.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
44.0kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
