Works with
Packaged from the source skill for Claude, Codex and 4 more.
About this skill
Senior Frontend organizes React and Next.js work around the intended device, rendering needs and measurable page budgets. It includes a profile-selection tool, project and component generators, and a heuristic dependency analyzer, alongside design and implementation references.
Use this skill when
- A new frontend needs an explicit choice between a server-rendered site, static output and an authenticated application.
- A component or starter project should follow consistent TypeScript and testing conventions.
- A performance review needs to connect dependency choices with route budgets and actual browser measurements.
What it can do
- Compare packaged frontend profiles against device, search visibility and performance requirements.
- Prepare React/Next.js starter files and client components, server components or hooks, with optional test and story files.
- Inspect project dependencies and import patterns to suggest areas for a measured bundle investigation.
The dependency analyzer uses heuristics and reference package sizes; its score is not a built bundle measurement or a Core Web Vitals result. Generated projects still need dependency installation, application logic and validation in the target browser. Companion specialist skills and agent slash commands mentioned upstream are optional repository integrations, not bundled capabilities of this standalone package.
Typical workflows
- Select a rendering approach. Supply the primary device/network, public or authenticated audience, route behavior, accessibility target and page budgets. Request a profile recommendation with the main trade-off and acceptance checks.
- Prepare a component. Provide the interaction contract and existing design tokens. Ask for a component, relevant test cases and the states that need browser verification before integration.
- Investigate page weight. Supply the package manifest, route list and measured build output. Ask which dependencies warrant inspection and how to verify any proposed reduction without claiming the heuristic score is a benchmark.
What is inside the skill
Section headings from the original SKILL.md (about 1,207 words of instructions). Read the full text in the source repository before installing.
- Table of Contents
- Project Scaffolding
- Workflow: Create New Frontend Project
- Scaffolder Options
- Generated outputs
- Component Generation
- Workflow: Create a New Component
- Generator Options
- Bundle Analysis
- Workflow: Optimize Bundle Size
- Bundle Score Interpretation
- Heavy Dependencies Detected
- React Patterns
- Next.js Optimization
- Accessibility and Testing
- Accessibility Checklist
- Quick Reference
- Resources
- Assumptions and Verifiable Success Criteria (Karpathy discipline)
- Customization profiles
- Composition map
- Forcing-question library (Matt Pocock grill)
- Invocation from other agents and skills
Bundled files
profiles/astro-or-static.jsonprofiles/next-app-router.jsonprofiles/remix-or-sveltekit.jsonprofiles/vite-spa.jsonreferences/composition_map.mdreferences/forcing_questions.mdreferences/frontend_best_practices.mdreferences/nextjs_optimization_guide.mdreferences/react_patterns.mdscripts/bundle_analyzer.pyscripts/component_generator.pyscripts/frontend_decision_engine.pyscripts/frontend_scaffolder.pyLICENSE
Example prompts
- Recommend a frontend profile for a public documentation site used mainly on mid-range phones over 4G. Our target is LCP under 1.8 seconds and 50 KB gzipped JavaScript per route. Compare static output with an App Router approach and explain the measurement plan.
- Prepare a TypeScript account-menu component using these tokens and interaction requirements. Include keyboard and focus behavior, open/closed states and meaningful tests; keep generated files in a new review directory.
- Review this React package manifest and the attached measured bundle report. Identify likely unnecessary client dependencies, distinguish estimates from measured savings and propose one change with a browser verification checklist.
How to install Senior Frontend
Claude Packaged
- Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files.
- For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.
- For Claude apps, upload the ZIP in the Skills section of the capabilities settings.
- Start a new session and describe the task in your own words. Claude picks the skill when the request matches its description.
Codex Packaged
- Download the Codex package. The ZIP contains one folder named after the skill, with SKILL.md and bundled resources.
- Unpack the complete folder into .agents/skills/ inside your repository, or into ~/.agents/skills/ for personal use. Preserve its relative reference-file paths.
- Start a new Codex session and invoke the skill by name or with $skill-name, or describe a matching task.
- AGENTS.md is separate project guidance. The ZIP does not generate or modify that file.
GPT Packaged
- Download the GPT package from the skill page.
- Create or edit a custom GPT (or a ChatGPT project) and paste the contents of SKILL.md into the instructions field.
- Upload the bundled reference files as knowledge so the GPT can consult them.
- Test with one of the example prompts from the skill page and adjust the instructions if your use case differs.
Gemini Packaged
- Download the Gemini package from the skill page.
- For a project, unpack the complete folder into .gemini/skills/ or .agents/skills/. For personal use, use ~/.gemini/skills/ or ~/.agents/skills/.
- Run /skills reload in Gemini CLI, then /skills list to check discovery. There is no need to paste the skill into GEMINI.md.
- Test a matching task and verify the referenced tools and files are available.
Cursor Packaged
- Download the Cursor package from the skill page.
- Unpack the complete skill folder into .cursor/skills/ or .agents/skills/ in your project. For personal local use, ~/.cursor/skills/ and ~/.agents/skills/ are also supported.
- Start a new Cursor session. Type / in Agent chat and select the skill name, or describe a matching task.
- Commit the skill folder and resources for team use. Personal local skills are not automatically available to remote agents or automation runs.
OpenCode Packaged
- Download the OpenCode package from the skill page.
- Unpack the complete folder into .opencode/skills/ in your project, or ~/.config/opencode/skills/ for personal use. OpenCode also supports .agents/skills/ and .claude/skills/ compatibility locations.
- Keep supporting files at their original relative paths. AGENTS.md is separate project-wide guidance and is not generated by this ZIP.
- Start OpenCode in the project and test a matching task with the model and permissions you use.
Permissions & security
Inspect the source, license and declared permissions before use. Read the scripts before running them. Review method
Senior Frontend FAQ
What does the Senior Frontend skill do?
Choose a frontend approach from device, performance and accessibility constraints, then prepare React or Next.js scaffolding and component-level review work.
Which AI agents can use Senior Frontend?
Packages for Claude, Codex and 4 more are built from the same source instructions.
How do I install Senior Frontend in Claude?
Download the Claude package from the skill page. The ZIP contains one folder named after the skill, with SKILL.md and any bundled reference files. For Claude Code, unpack the folder into ~/.claude/skills/ to use it in every project, or into .claude/skills/ inside a repository to share it with your team.
Who made Senior Frontend and what is the license?
Senior Frontend is published by Alireza Rezvani under the MIT license. The source is https://github.com/alirezarezvani/claude-skills/tree/main/engineering-team/skills/senior-frontend. The catalog keeps the original attribution.
What permissions does Senior Frontend need?
Declared permissions: read project files, write generated skill files. Risk level: low. Check the scripts in the source before running them.