docs: add 'When to Activate' sections to 14 skill definitions

Add activation triggers to skills that were missing them, helping
Claude Code determine when to load each skill contextually.
This commit is contained in:
Affaan Mustafa
2026-02-12 15:34:25 -08:00
parent ed7ec29ead
commit e6e28882db
14 changed files with 122 additions and 0 deletions

View File

@@ -7,6 +7,16 @@ description: Frontend development patterns for React, Next.js, state management,
Modern frontend patterns for React, Next.js, and performant user interfaces.
## When to Activate
- Building React components (composition, props, rendering)
- Managing state (useState, useReducer, Zustand, Context)
- Implementing data fetching (SWR, React Query, server components)
- Optimizing performance (memoization, virtualization, code splitting)
- Working with forms (validation, controlled inputs, Zod schemas)
- Handling client-side routing and navigation
- Building accessible, responsive UI patterns
## Component Patterns
### Composition Over Inheritance