frontend-patterns
A reference skill from the ECC collection with patterns for building or reviewing React and Next.js front ends.
What the skill teaches
A reference skill from the ECC collection with patterns for building or reviewing React and Next.js front ends. It shows component composition, compound components that share context and render props; custom hooks for toggles, data fetching and debounced input; and shared state with Context plus a reducer. Performance sections cover memoising values, callbacks and components, lazy loading with code splitting, and virtualising long lists. It also gives examples of controlled forms with field validation, an error boundary with a retry option, list and modal transitions with Framer Motion, and keyboard navigation and focus handling for dropdowns and modals. The examples are code snippets the agent adapts, not scripts it runs.
Capabilities
- Compose React components and custom hooks
- Manage shared state with Context and reducers
- Memoise, lazy-load and virtualise lists
- Add keyboard and focus handling
About
- Publisher
- affaan-m
- Tool
- Frontend design
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- agents/openai.yaml
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Frontend design | |
| Publisher | affaan-m | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 9, 2026300,529 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from affaan-m
31 skills
- brand-discovery (Skill)
- brand-voice (Skill)
- context-and-decisions (Skill)
- docs-governance (Skill)
- eval-harness (Skill)
- e2e-testing (Skill)
Also listed under: Frontend design
Sources
- Skill file (SKILL.md)github.com/affaan-m/eccNov 16, 2026
- GitHub repositorygithub.com/affaan-m/ecc · Backs: Licence, Publisher, ActivityNov 10, 2026
- Skill file (SKILL.md)github.com/affaan-m/ECCNov 10, 2026
- Folder in the repository (frontend-patterns)github.com/affaan-m/ECC · Backs: Includes scriptsNov 10, 2026