In short.
ECC Frontend Patterns is a Spanish-language skill for React and Next.js developers using coding assistants, but several examples contain correctness risks or omit essential behavior. Its strongest feature is the breadth of concrete TypeScript patterns in one file. Static inspection identifies repeated-fetch risk in the custom query hook and an in-place array sort. Nothing was executed; runtime behavior, compatibility and performance were not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises the complete supplied folder docs/es/skills/frontend-patterns at revision 3f14a103a8694e51c1df9a806217a6d0b5f7a6f7, represented by SKILL.md, plus the repository-root MIT LICENSE. No other folder files or additional applicable notices appear in the supplied manifest. Other ECC skills, repository installation tooling, external package documentation and third-party licence terms are outside this assessment. Findings are based on the supplied text; no code, installation, assistant loading, accessibility journey or performance behavior was executed or tested.
The overview
Identity
The resource is docs/es/skills/frontend-patterns/SKILL.md in affaan-m/ECC. Its metadata names it frontend-patterns and identifies ECC as its origin. Spanish explanations accompany TypeScript examples, many of which retain English identifiers and interface text.
Its description covers React, Next.js, state management, performance and UI practices. The captured folder contains one skill document.
Assessment
The skill is useful as a compact reference for discussing frontend implementation choices with an assistant. It connects component structure, shared state, asynchronous work and interface behavior through concrete examples.
Treat the snippets as starting points requiring engineering review. The custom query hook can repeatedly trigger requests with the inline arguments shown, and sorting changes the original array. These findings come from reading the code; no examples were run.
Users
The clearest audience is Spanish-reading developers building React interfaces with assistance from a coding agent. Beginners can use it to learn recurring patterns, provided they already understand components, props, hooks and basic TypeScript.
Experienced developers may find it useful for reviewing implementation options. Teams seeking detailed Next.js architecture or complete accessibility guidance will need additional material: those topics receive limited implementation coverage.
Capabilities
Examples cover component composition, compound tabs sharing state through Context, render props, toggle and debounce hooks, a custom asynchronous query hook, and Context combined with a reducer for shared state.
Performance examples demonstrate memoization, lazy loading and list virtualization, which renders a limited set of visible rows. Further examples cover controlled forms, an error boundary, Framer Motion animations, dropdown keyboard handling and restoring focus after a modal closes.
Next.js server components, routing, SWR, React Query, Zustand and Zod appear in the activation guidance, but the supplied file does not provide worked implementations for those topics.
Using it
Requirements
Using the examples requires a React project and familiarity with TypeScript and JSX. The virtualization example imports @tanstack/react-virtual, while the animation examples import framer-motion. Those examples therefore depend on the corresponding packages.
Application-specific types, components and functions such as Market, MarketCardProps, Spinner and createMarket must be supplied. Several snippets omit imports. Exact dependency versions, supported React or Next.js releases, and compatible assistant hosts are unknown.
Mechanism
The skill supplies written guidance and code examples for an assistant to consult. Its frontmatter describes the subject, and its activation list identifies tasks such as building components, fetching data and improving performance.
The examples illustrate how React state, effects and Context coordinate behavior. For instance, compound tabs share an active-tab value through Context, while the debounce hook uses a timer to delay publishing a changed value. Automatic loading, trigger matching and precedence within a particular assistant are undocumented.
Setup
The document provides no installation commands or assistant-specific destination. Obtain the original file from [https://raw.githubusercontent.com/affaan-m/ECC/3f14a103a8694e51c1df9a806217a6d0b5f7a6f7/docs/es/skills/frontend-patterns/SKILL.md], then consult the intended assistant's documentation for loading a skill file.
When adapting an example, supply its missing imports and application definitions, add any packages it imports, and review its behavior in the target project. No installation or integration was performed.
Example
For a search box, the document demonstrates passing searchQuery to useDebounce with a 500-millisecond delay. The hook schedules an update and clears the previous timer when its inputs change or the effect is cleaned up.
A surrounding effect calls performSearch when the delayed query is nonempty. This illustrates waiting for a pause in typing before starting a search. The search function, request cancellation and results interface are left to the application; this example was not executed.
Assessment & evidence
Limitations
The custom useQuery example creates refetch with dependencies on fetcher and options. Its usage supplies a new function and object during each render, which changes refetch and can retrigger the fetching effect repeatedly. The key triggers an effect but does not implement caching. Request cancellation and protection against older responses overwriting newer data are absent.
The memoization example calls markets.sort directly, modifying the input array. The fetch examples parse JSON without first checking the HTTP response status. These details need review before copying the patterns into application code.
Accessibility coverage is partial. The focus-management modal renders its children but provides no focus trap or explicit accessible name. The tabs omit tab semantics and keyboard navigation, while the dropdown leaves its actual interface as a placeholder. The form similarly omits fields and completed success and error handling.
Practical tradeoffs
The resource's value comes from gathering many recurring frontend patterns in Spanish with short examples. That breadth can help developers and assistants identify relevant approaches without constructing an entire application first.
The same brevity leaves integration decisions to the reader. Performance techniques are illustrated without measurements, and accessibility techniques address individual behaviors without completing whole components. Fit depends on having enough React knowledge and review capacity to fill those gaps.
Alternatives
The document names SWR and React Query for data fetching, Zustand for state management and Zod for validation. It supplies no implementation or comparison for these options, so their suitability relative to its custom examples is not established.
Within the document, simpler local-state hooks and Context with a reducer offer different state-management approaches. No comparative evaluation of other frontend skills is supplied.
Source evidence
The source is the original SKILL.md from affaan-m/ECC at revision 3f14a103a8694e51c1df9a806217a6d0b5f7a6f7: [https://raw.githubusercontent.com/affaan-m/ECC/3f14a103a8694e51c1df9a806217a6d0b5f7a6f7/docs/es/skills/frontend-patterns/SKILL.md]. Its recorded SHA-256 is 88567ac4486c855b2a6966bb2eb7d6a818c33f0c5380330f18718a2ed2cc280a.
The accompanying repository-root LICENSE is from the same revision. These two files support the content and rights findings. They provide no execution results, performance benchmarks or demonstrated assistant integration.
Access & freshness
Costs
The supplied MIT licence grants permission free of charge. That establishes the licence permission, not the total cost of using the skill with an assistant or building an application.
Assistant subscriptions, model usage, hosting and other operating costs are unspecified. No usage measurements or cost estimates are supplied, so total cost is unknown.
Rights
The repository-root MIT licence identifies copyright © 2026 Affaan Mustafa. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.
The licence disclaims warranties and liability. Retain the supplied notice when redistributing the skill. Terms for separately obtained dependencies are not established by this notice. Original licence: [https://raw.githubusercontent.com/affaan-m/ECC/3f14a103a8694e51c1df9a806217a6d0b5f7a6f7/LICENSE].
Freshness
The supplied snapshot was captured on 17 November 2026 at 14:33:08 UTC and is pinned to revision 3f14a103a8694e51c1df9a806217a6d0b5f7a6f7.
The document supplies no framework version matrix or last-updated date. Whether the repository has changed since capture, and compatibility with current package releases, are unknown.
Before adoption
Confirm that the intended assistant supports this skill format, then choose the patterns relevant to the application. Preserve the original file and MIT notice when sharing copies.
Before using the examples, address the query hook's changing dependencies, copy arrays before sorting when mutation is inappropriate, and complete accessibility behavior. Add application definitions and request handling, then verify behavior with the project's dependencies. No such corrections or verification were performed here.
