somnus0x/agt-skill-pack/frontend-setup
Claude Code and agent skill by somnus0x/agt-skill-pack
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Bootstrap Claude Code for React/Next.js repos: project context, conventions, and guardrails so it stops guessing and builds correctly from the first prompt. Use when setting up Claude Code in a frontend codebase.
Install
npx vskill@latest install somnus0x/agt-skill-pack/frontend-setupSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Frontend Setup — Claude Code × React/Next.js
You just installed Claude Code. Your frontend repo is React or Next.js. This skill gives Claude Code the context it needs to stop guessing and start building correctly from the first prompt.
Why
Claude Code writes decent React out of the box. But "decent" means: wrong import paths, outdated patterns, components that don't match your structure, styles that fight your setup. You spend the first hour correcting things that should've been right from the start.
This skill front-loads the project context so Claude Code knows your stack before you ask it to build anything.
When to use
Run once when setting up Claude Code on a frontend repo. Re-run when you change major dependencies (migration to App Router, new styling system, state management swap).
Say: "setup frontend", "configure for react", "frontend onboarding", or just paste this skill into your session.
Step 1 — Detect your stack
Before writing any CLAUDE.md rules, tell Claude Code to scan your project:
This gives you the facts before you write rules. Don't assume — detect.
Step 2 — Generate your CLAUDE.md rules
Based on the scan, add these sections to your project's CLAUDE.md. Only include sections relevant to your stack.
Component conventions
Adapt to your actual structure. If your repo uses flat files — say flat files. If it uses barrel exports everywhere — say that. The point is to describe what IS, not what should be.
Import rules
Styling
Pick your block based on what you use:
Tailwind:
CSS Modules:
Data fetching (Next.js App Router)
Data fetching (React SPA / Pages Router)
State management
TypeScript
Testing
Step 3 — Add guardrails
These rules prevent Claude Code from doing things that break your project. Add to CLAUDE.md:
Step 4 — Verify
After setting up CLAUDE.md, test with a small task:
Check:
- Did it put the file in the right place?
- Did it use the right styling approach?
- Did it follow your import pattern?
- Did it match existing component structure?
If it got any of these wrong, your CLAUDE.md is missing that rule. Add it.
The principle
Claude Code with no context writes generic React. Claude Code with your CLAUDE.md writes your React. The gap between "works" and "fits" is 15 minutes of setup.
Add to your CLAUDE.md
Output discipline
When this skill is invoked:
- Run the stack detection scan (Step 1)
- Generate CLAUDE.md sections relevant to the detected stack
- Include the guardrails section
- Nothing else — no explanations of what React is, no best practices lectures
The output should be copy-pasteable into CLAUDE.md directly.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/frontend-setup/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/somnus0x/agt-skill-pack/frontend-setup)