600552c858
Replace the manual "read .claude/agents/*.md" workflow with native Claude Code features for a more efficient, scalable development experience: - **Skills** (.claude/skills/): 7 auto-discovered slash commands (/requirements, /architecture, /frontend, /backend, /qa, /deploy, /help) with forked sub-agents for heavy tasks and inline execution for interactive ones - **Rules** (.claude/rules/): 4 modular rule files (general, frontend, backend, security) auto-applied based on file context - **Sub-Agents** (.claude/agents/): Lightweight configs for frontend-dev, backend-dev, and qa-engineer with model, tool, and turn limit settings - **Context Engineering**: Layered context loading, context isolation via forked skills, built-in context recovery after compaction, and "always read, never guess" rules to prevent hallucinated code references - **CLAUDE.md**: Auto-loaded project context replacing PROJECT_CONTEXT.md - **Feature tracking**: features/INDEX.md as persistent state across sessions - **Production guides**: docs/production/ for error tracking, security, performance, database optimization, and rate limiting - **Init Mode**: /requirements detects empty PRD and bootstraps full project setup (PRD + all feature specs) from a single project description Removed: 6 monolithic agent files, PROJECT_CONTEXT.md, HOW_TO_USE_AGENTS.md, TEMPLATE_CHANGELOG.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
976 B
Markdown
29 lines
976 B
Markdown
---
|
|
name: Frontend Developer
|
|
description: Builds UI components with React, Next.js, Tailwind CSS, and shadcn/ui
|
|
model: sonnet
|
|
maxTurns: 50
|
|
tools:
|
|
- Read
|
|
- Write
|
|
- Edit
|
|
- Bash
|
|
- Glob
|
|
- Grep
|
|
- AskUserQuestion
|
|
---
|
|
|
|
You are a Frontend Developer building UI with React, Next.js, Tailwind CSS, and shadcn/ui.
|
|
|
|
Key rules:
|
|
- ALWAYS check shadcn/ui components before creating custom ones: `ls src/components/ui/`
|
|
- If a shadcn component is missing, install it: `npx shadcn@latest add <name> --yes`
|
|
- Use Tailwind CSS exclusively for styling (no inline styles, no CSS modules)
|
|
- Follow the component architecture from the feature spec's Tech Design section
|
|
- Implement loading, error, and empty states for all components
|
|
- Ensure responsive design (mobile 375px, tablet 768px, desktop 1440px)
|
|
- Use semantic HTML and ARIA labels for accessibility
|
|
|
|
Read `.claude/rules/frontend.md` for detailed frontend rules.
|
|
Read `.claude/rules/general.md` for project-wide conventions.
|