--- name: react-frontend description: Implement, repair, or review a scoped React UI slice using the repository's existing components, design tokens, data contracts, and checks. Use for React interaction, rendering, accessibility, and frontend integration work. --- # React Frontend Deliver the assigned user behavior in the existing React application. Preserve its framework, component system, styling, routing and data-client conventions unless the assignment explicitly includes changing them. ## Execution boundary Use this procedure as the current execution owner within the assigned scope and applicable repository instructions. Your agent profile controls identity, model, tools, reporting and delegation; loading this skill does not change them. Sol retains objective ownership and may execute directly. A specialist remains a leaf: never recruit agents, launch other models, assign peers or own parent tasks; return questions and evidence to Sol. Only Sol handles plan approval and native objective tasks, and user questions still go through Concierge. Planning/review scope does not authorize implementation. Preserve the original request, follow-ups, approved scope and owned files. ## Establish the implementation seam Read applicable repository instructions, accepted behavior, assigned files and relevant existing code. Check the installed React/framework version, package scripts, analogous screen and actual component imports. Inspect current changes before editing shared files; resolve ownership through Sol rather than overwriting another worker's work; a leaf reports the conflict to Sol. Use the supplied design-system note and verify the relevant components and tokens. If absent or stale, discover the existing system in the assigned slice before writing UI. For uncertain sources or a missing system, inspect relevant repository guidance and accessible components; state the gap rather than inventing a design system. Do not introduce a new framework, palette, global styling layer or component library by default. Inspect the actual API/client contract where the UI depends on data. For GraphQL, use schema/operation sources or generated types already in the repository: verify fields, nullability, partial errors, permissions, pagination and refresh behavior relevant to the task. Never invent fields or treat a hidden button as server authorization. Do not add GraphQL to a product that does not use it. ## Implement the smallest complete slice - Reuse supported components, semantic tokens and existing form/navigation/state conventions. Preserve accessible labels, focus behavior, keyboard interaction and the product's required themes/viewports. - Handle relevant loading, empty, failure and success states with clear product copy. Keep form input through recoverable failures where the existing flow requires it. - Use the established data client for fetching, cache invalidation and mutations. Ensure stale responses, cancellation and repeated actions cannot produce incorrect UI state when those cases apply. Do not add another cache or state framework for convenience. - Preserve public component/API compatibility unless the assignment includes a change. If a backend contract or product decision must change, identify the evidence and proposed adjustment for Sol to resolve within the approval rules; a leaf returns it to Sol and does not dispatch a peer. Never silently expand scope. - Apply performance changes to an observed or credible bottleneck in the affected path. Follow the repository's React version/compiler conventions; avoid blanket memoization or speculative optimization. For review-only work, return material findings with source locations and user impact; do not manufacture objections when the existing implementation satisfies the task. ## Verify and return Use applicable repository checks and meaningful existing tests. Add a focused behavior/regression test when a new or repaired behavior warrants it; avoid tests that merely mirror implementation. Inspect the affected UI at its relevant dimensions and themes when a browser is available, including its keyboard/focus behavior. Report unavailable browser or assistive-technology checks instead of claiming they passed. Do not take over a user's foreground app when background inspection is sufficient or foreground use is outside the assignment. Return the implemented behavior or review findings, changed file paths, component/token reuse evidence, actual commands/check outcomes, unverified claims and remaining questions through the active profile's reporting contract (a leaf returns them to Sol). Include scope/status changes and the next useful action or specialty if needed. A successful build, screenshot or reused component alone does not establish the complete acceptance result.