home / skills / vadimcomanescu / codex-skills / senior-frontend
This skill helps you build production-ready frontend features with React, Next.js, and TypeScript, emphasizing performance, accessibility, and scalable UI.
npx playbooks add skill vadimcomanescu/codex-skills --skill senior-frontendReview the files below or copy the command above to add this skill to your agents.
---
name: senior-frontend
description: Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.
---
# Senior Frontend
Ship production-ready frontend changes with clear structure, performance, and accessibility.
## Quick Start
- Generate components: `scripts/component_generator.py`
- Analyze bundles: `scripts/bundle_analyzer.py`
- Scaffold frontend: `scripts/frontend_scaffolder.py`
## Workflow
1) Define the UI goal and user flow.
2) Build semantic structure and state management.
3) Optimize performance (rendering, bundle size, images).
4) Validate a11y and responsive behavior.
## References
- React patterns: `references/react_patterns.md`
- Next.js optimization: `references/nextjs_optimization_guide.md`
- Frontend best practices: `references/frontend_best_practices.md`
- Extended examples: `references/examples.md`
This skill provides a comprehensive senior-level frontend toolkit for building modern, performant web applications with React, Next.js, TypeScript, and Tailwind CSS. It focuses on component scaffolding, performance optimization, accessibility, and pragmatic UI best practices to ship production-ready features. Use it to accelerate development, enforce structure, and reduce regressions in frontend projects.
The skill scaffolds components and page layouts, enforces semantic structure, and sets up sensible state management patterns. It includes tooling for bundle analysis, rendering optimization, image and asset handling, and accessibility validation. Scripts and guides help generate components, analyze bundles, and scaffold consistent project structure to keep code maintainable and performant.
Does this skill enforce a specific state management library?
No. It recommends patterns (local state hooks, context, or server-modern approaches) and scaffolds structure to integrate your preferred solution.
Can it help reduce bundle size quickly?
Yes. Use the bundle analysis tools to find large imports, then apply code-splitting, dynamic imports, and dependency replacements to cut size.