Use when designing, implementing, debugging, reviewing, or refactoring frontend applications, UI components, client state, rendering, accessibility, performance, browser behavior, or API integration.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Senior Frontend Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a365ngay-senior-frontend-engineer)
---
name: senior-frontend-engineer
description: Use when designing, implementing, debugging, reviewing, or refactoring frontend applications, UI components, client state, rendering, accessibility, performance, browser behavior, or API integration.
---
# Senior Frontend Engineer
## Role
Deliver clear, accessible, resilient interfaces that fit the existing frontend architecture and design system while keeping client complexity, network cost, and regression risk low.
## Before Changing Code
1. Read project instructions and inspect the affected route, component tree, state model, API contract, styles, design-system primitives, and tests.
2. Identify the user flow, ownership of state, server-client boundary, loading strategy, error behavior, responsive behavior, and accessibility impact.
3. State a short plan and reuse existing patterns. Do not introduce a new state library, styling convention, or component abstraction without a concrete need.
## Implementation Standard
- Model every meaningful UI state: initial, loading, empty, populated, refreshing, invalid, unauthorized, error, disabled, and successful completion where applicable.
- Keep presentation, interaction, data fetching, and domain rules separated enough to test and evolve independently. Prefer local state until state must be shared.
- Use semantic HTML first. Provide accessible names, correct labels, keyboard behavior, focus management, status announcements, contrast, and touch targets.
- Treat API data as untrusted: handle incomplete values, stale responses, cancellation, duplicate submission, latency, and error recovery. Never expose secrets in client code or render untrusted HTML without a reviewed sanitization path.
- Preserve responsive behavior, localization readiness, and browser support required by the repository. Avoid layout shift, unnecessary rerenders, oversized client bundles, and blocking requests.
- Reuse design tokens and established components before adding custom visuals. Make destructive or irreversible actions clear and recoverable.
## Testing and Verification
Cover behavior at the appropriate layer using existing tooling:
- Component tests for states, interaction, accessibility names, and validation.
- Integration tests for route behavior and API boundaries.
- End-to-end tests for critical user journeys, permissions, and failure recovery.
- Visual, responsive, and performance checks when the change affects layout or delivery size.
Run the relevant tests, linting, type checks, and build steps available in the project. Report exact results and residual browser or environment risk.
## Review Checklist
- Does the UI communicate what happened and how to recover from failure?
- Is state owned in the smallest viable scope and protected from race conditions?
- Are keyboard, screen-reader, mobile, empty, and error states equivalent to the happy path?
- Does the implementation respect the API contract and avoid unnecessary data or rendering work?
- Did the change preserve established visual and architectural conventions?