Aurelius
CLAUDE.md8 starsChanged 5 months agoMITView on GitHub
This is a Claude Code-integrated multi-framework app development framework providing specialized agents, skills, scripts, and design-to-code conversion pipelines. Supports React, Vue 3, Svelte/SvelteKit, and React Native (Expo) output targets. The framework is designed for: - Multi-framework app development (React/Next.js/Vite/Remix, Vue 3, SvelteKit, React Native/Expo) - Figma-to-code, Canva-to-code, Screenshot/URL-to-code, and Conversation-to-code (generated Figma designs) conversion with Tailwind CSS - Comprehensive testing (Vitest, React Testing Library, Playwright, Storybook) - Full product lifecycle support (engineering, design, testing, marketing, operations)
- Installs packages
- Commits and pushes
In this repository24 other files it gives its agents.
- animation-motionSkill
- auth-flowsSkill
- canva-intakeSkill
- canva-token-inferenceSkill
- conversation-intakeSkill
- design-brief-to-figmaSkill
- design-token-lockSkill
- e2e-test-generatorSkill
- export-design-systemSkill
- figma-intakeSkill
- figma-to-react-workflowSkill
- form-handlingSkill
- indesign-conversionSkill
- parallel-orchestrationSkill
- react-accessibilitySkill
- react-component-developmentSkill
- react-performance-optimizationSkill
- react-testing-workflowsSkill
- screenshot-intakeSkill
- seo-metadataSkill
- state-managementSkill
- storybook-story-generationSkill
- tdd-from-figmaSkill
- visual-qa-verificationSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 426
Canva AI Connector: - Search, export, and interact with Canva designs
- Distinctive: line 468
Use discriminated unions for complex prop patterns
- Very specific: line 481
Use cn() utility for conditional classes (clsx + tailwind-merge)
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a Claude Code-integrated multi-framework app development framework providing specialized agents, skills, scripts, and design-to-code conversion pipelines. Supports React, Vue 3, Svelte/SvelteKit, and React Native (Expo) output targets.
The framework is designed for:
- Multi-framework app development (React/Next.js/Vite/Remix, Vue 3, SvelteKit, React Native/Expo)
- Figma-to-code, Canva-to-code, Screenshot/URL-to-code, and Conversation-to-code (generated Figma designs) conversion with Tailwind CSS
- Comprehensive testing (Vitest, React Testing Library, Playwright, Storybook)
- Full product lifecycle support (engineering, design, testing, marketing, operations)
Project Structure
project-root/
├── .claude/ # Claude Code configuration
│ ├── agents/ # 56 specialized agents
│ ├── skills/ # 24 React-specific skills
│ ├── commands/ # Custom slash commands
│ ├── hooks/ # Hook scripts (automated hooks configured in settings.json)
│ └── pipeline.config.json # Pipeline thresholds, iteration limits, app types
├── scripts/ # Development automation scripts
├── packages/ # TypeScript pipeline packages (pnpm workspace)
│ ├── pipeline/ # Design-to-code core: InDesign IDML parser + IR (@aurelius/pipeline)
│ └── gui/ # Desktop GUI (Electron + React, @aurelius/gui) — see docs/GUI.md
├── renderers/ # Pluggable framework renderer manifests (renderer.json + schema)
├── templates/ # Starter configs (ESLint, Tailwind, Vitest, Chrome ext, PWA, etc.)
├── docs/ # Documentation
│ ├── figma-to-react/ # Figma conversion pipeline docs
│ ├── canva-to-react/ # Canva conversion pipeline docs
│ ├── screenshot-to-app/ # Screenshot/URL conversion pipeline docs
│ ├── conversation-to-app/ # Conversation pipeline docs (generated Figma designs)
│ ├── indesign-to-react/ # InDesign IDML conversion pipeline docs
│ ├── multi-framework/ # Multi-framework output target docs
│ └── react-development/# React development standards
└── CLAUDE.md # This fileDevelopment Scripts
# Lint and format code
./scripts/lint-and-format.sh
# Run tests with coverage
./scripts/run-tests.sh
# Run mutation tests (Stryker)
./scripts/run-mutation-tests.sh # Run with default threshold
./scripts/run-mutation-tests.sh --threshold 80 # Override threshold
./scripts/run-mutation-tests.sh --json # JSON output
# TypeScript type checking
./scripts/check-types.sh
# Bundle size analysis
./scripts/check-bundle-size.sh
# Accessibility linting
./scripts/check-accessibility.sh
# Verify design token usage (no hardcoded values)
./scripts/verify-tokens.sh
# Verify every component has a test file
./scripts/verify-test-coverage.sh
# Pixel-level visual diff with sub-pixel, typography, and layout analysis
node scripts/visual-diff.js <actual.png> <expected.png> [--threshold 0.02] [--json]
node scripts/visual-diff.js --batch <actual-dir> <expected-dir> [--output-dir diffs/]
# Initialize a new React project
./scripts/setup-project.sh my-app --next # or --vite
# Cross-browser testing (Playwright, ad-hoc capture only)
./scripts/cross-browser-test.sh chromium http://localhost:3000
./scripts/cross-browser-test.sh firefox http://localhost:3000
./scripts/cross-browser-test.sh webkit http://localhost:3000
# Cross-browser baselines: pinned-container capture, provenance-verified compare (RFC 0002)
./scripts/cross-browser-baseline.sh capture http://localhost:3000 [--local] [--dry-run]
./scripts/cross-browser-baseline.sh compare http://localhost:3000 [--json] [--blocking]
./scripts/cross-browser-baseline.sh verify [--json]
# Route large baseline sets through Git LFS (visualBaselines.storage = "lfs")
./scripts/setup-baseline-lfs.sh [--dry-run] [--force]
# Setup Playwright browsers (one-time)
./scripts/setup-playwright.sh
# Dark mode visual verification
./scripts/check-dark-mode.sh http://localhost:3000
# Storybook story + MDX generation (AST-based)
./scripts/generate-stories.sh # Generate stories + MDX for all components
./scripts/generate-stories.sh --force # Overwrite existing stories
./scripts/generate-stories.sh --dry-run # Report without writing
./scripts/generate-stories.sh --no-mdx # Skip MDX documentation
./scripts/generate-stories.sh --json # JSON output
# Token drift detection
./scripts/sync-tokens.sh [--dry-run] [--json]
# Component documentation generation
./scripts/generate-component-docs.sh
# Dead code detection (unused exports, files, dependencies)
./scripts/check-dead-code.sh [--json]
# Security audit (dependency vulnerabilities + anti-patterns)
./scripts/check-security.sh [--json] [--level critical] [--no-fail]
# Generate typed API client from OpenAPI spec
./scripts/generate-api-client.sh --spec <path-or-url> [--output dir] [--client]
# Responsive screenshots at all breakpoints
./scripts/check-responsive.sh [url] [output-dir]
# Cross-browser CSS audit
./scripts/audit-cross-browser-css.sh [--json]
# Capture baseline screenshots for visual regression
./scripts/capture-baselines.sh [url] [--routes /,/about]
# Run visual regression tests against baselines
./scripts/regression-test.sh [url] [--update-baselines] [--json]
# Validate pipeline.config.json against its JSON Schema
./scripts/validate-pipeline-config.sh # Validate live config
./scripts/validate-pipeline-config.sh --json # Machine-readable output
node scripts/validate-pipeline-config.js --config <path> --schema <path>
# Export generated components as a publishable design-system workspace
./scripts/export-design-system.sh [--scope @org] [--output dir] [--framework <react|vue|svelte|react-native>] [--dry-run] [--json]
# Re-import: reconstruct design-tokens.lock.json from an export (inverse of export; round-trip / consumer)
./scripts/import-design-tokens.sh [--from dir|tokens.json] [--out path|-] [--verify lockfile] [--force] [--json]
# Renderer registry: list / resolve / detect framework renderers (see docs/multi-framework/renderers.md)
node scripts/renderer-registry.js (list | resolve <name> | detect [dir]) [--json]
node scripts/validate-renderer.js --dir <renderer-dir> # or --all [--renderers-root <dir>]
# Author / validate / install / test custom agents as versioned plugins
node scripts/create-agent-plugin.js <name> [--description ...] [--model ...] [--tools ...] [--with-hooks]
node scripts/validate-agent-plugin.js --dir <plugin-dir> # or --all [--plugins-root <dir>]
node scripts/agent-registry.js (list | resolve <name> | install <name> | uninstall <name>)
node scripts/test-agent-plugin.js --dir <plugin-dir> # or --all [--plugins-root <dir>]
# Incremental build with caching and profiling
./scripts/incremental-build.sh [phase|all] [--force] [--parallel]
# Pipeline cache management
node scripts/pipeline-cache.js status # Show cache status
node scripts/pipeline-cache.js check <phase> # Check cache validity
node scripts/pipeline-cache.js invalidate <phase> # Invalidate cache
# Stage profiling and performance analysis
node scripts/stage-profiler.js report # Generate performance report
node scripts/stage-profiler.js analyze # Analyze slow stages
node scripts/stage-profiler.js history # View build history
# Build performance dashboard
node scripts/metrics-dashboard.js generate # Generate HTML dashboard
node scripts/metrics-dashboard.js summary # Show metrics summary
node scripts/metrics-dashboard.js trends # Show performance trends
# Desktop GUI (experimental) — docs/GUI.md
pnpm gui:dev # Launch in development
pnpm gui:test # Headless core tests
pnpm gui:package # Build an installer (packages/gui/dist/)Development Commands
Package Management (always use pnpm)
pnpm install # Install dependencies
pnpm add <package> # Add a dependency
pnpm add -D <package> # Add a dev dependency
pnpm update # Update dependenciesDevelopment Server
# Next.js
pnpm dev # Start dev server (port 3000)
pnpm build # Production build
pnpm start # Start production server
# Vite
pnpm dev # Start dev server (port 5173)
pnpm build # Production build
pnpm preview # Preview production buildTesting
pnpm vitest # Run tests in watch mode
pnpm vitest run # Run tests once
pnpm vitest run --coverage # Run with coverage report
pnpm storybook # Start Storybook dev server
pnpm build-storybook # Build Storybook static siteCode Quality
pnpm eslint . # Run ESLint
pnpm eslint . --fix # Auto-fix ESLint issues
pnpm prettier --check . # Check formatting
pnpm prettier --write . # Fix formatting
pnpm tsc --noEmit # Type check without emittingClaude Code Architecture & Configuration
Installed Plugins (5 Total)
- episodic-memory - Conversation search and memory
- commit-commands - Git workflow automation
- superpowers - Advanced development workflows
- ai-taskmaster - Task management (local)
Note: GitHub integration via gh CLI
Full documentation: .claude/PLUGINS-REFERENCE.md
Custom Agents (56 Total)
56 specialized agents covering the full product lifecycle:
| Category | Count | Key Agents |
| Engineering | 12 | frontend-developer, backend-architect, rapid-prototyper, test-writer-fixer, error-boundary-architect, migration-specialist, i18n-engineer, animation-optimizer, bundle-analyzer |
| Design | 5 | ui-designer, ux-researcher, brand-guardian |
| Design-to-Code | 9 | figma-react-converter, canva-react-converter, astro-converter, asset-cataloger, vue-converter, svelte-converter, react-native-converter, conversation-designer, indesign-to-react |
| Testing & QA | 7 | visual-qa-agent, accessibility-auditor, api-tester, performance-benchmarker |
| Product | 3 | sprint-prioritizer, feedback-synthesizer, trend-researcher |
| Marketing | 7 | content-creator, growth-hacker, app-store-optimizer |
| Project Management | 3 | studio-producer, project-shipper, experiment-tracker |
| Operations | 5 | analytics-reporter, infrastructure-maintainer, legal-compliance-checker |
| Documentation | 1 | docusaurus-expert |
| Meta | 2 | agent-expert, command-expert |
| Bonus | 2 | joker, studio-coach |
Agents are invoked automatically based on task context.
Full catalog: .claude/CUSTOM-AGENTS-GUIDE.md
Skills (24 Total)
| Skill | Purpose | Triggers |
| figma-to-react-workflow | Figma-to-React pipeline (v3: enforced TDD, pixel-diff, E2E) | "convert Figma", "Figma to React" |
| figma-intake | Structured interview → build-spec.json (with appType) | Phase 1 of /build-from-figma |
| design-token-lock | Extract + lock Figma values → lockfile | Phase 2 of /build-from-figma |
| tdd-from-figma | Write tests FIRST, app-type-aware (Chrome ext, PWA) | Phase 3 of /build-from-figma |
| e2e-test-generator | Generate Playwright E2E from build-spec (new) | Phase 6 of /build-from-figma |
| storybook-story-generation | Auto-generate Storybook stories + MDX from components (AST-based, non-blocking) | Phase 4.5 of /build-from-figma, "generate stories" |
| react-component-development | Component patterns and best practices | "create component", "custom hook" |
| react-testing-workflows | Vitest, RTL, Playwright, Storybook | "write tests", "test coverage" |
| react-performance-optimization | Profiling, bundle analysis, Web Vitals | "performance", "bundle size" |
| react-accessibility | WCAG patterns for React | "accessibility", "a11y", "ARIA" |
| visual-qa-verification | Automated pixel-diff visual QA (v3: pixelmatch loop) | "verify", "visual QA", "compare to Figma" |
| canva-intake | Canva design discovery → build-spec.json (with appType) | Phase 1 of /build-from-canva |
| canva-token-inference | AI-powered token extraction from Canva/screenshot sources | Phase 2 of /build-from-canva and /build-from-screenshot |
| screenshot-intake | URL/screenshot discovery → build-spec.json (with outputTarget) | "build from screenshot", "clone this site" |
| conversation-intake | Conversational interview → build-spec.json + design-brief.json (no design file) | Phase C0 of /build-from-conversation |
| design-brief-to-figma | Generates a real Figma file from design-brief.json via HTML-mockup capture | Phase C1 of /build-from-conversation |
| state-management | State architecture: Zustand, TanStack Query, URL state | "state management", "zustand", "data fetching" |
| form-handling | React Hook Form + Zod: typed forms, field arrays, wizards | "form", "validation", "react hook form" |
| auth-flows | Auth.js, Clerk, Supabase Auth, RBAC, protected routes | "auth", "login", "session", "OAuth" |
| animation-motion | Framer Motion, CSS transitions, reduced-motion a11y | "animation", "framer motion", "transition" |
| seo-metadata | Next.js Metadata API, JSON-LD, OG images, sitemaps | "SEO", "metadata", "open graph" |
| parallel-orchestration | Concurrent phase runner for pipeline parallelization | Invoked by pipeline commands after Phase 3 |
| export-design-system | Exports components + tokens as a publishable pnpm workspace (Vite lib mode for web, tsc for RN) | Invoked by /export-design-system |
Full catalog: .claude/skills/README.md
Figma-to-React Pipeline
Single command: /build-from-figma <Figma URL>
Autonomous 9-phase pipeline that converts a Figma design into a working, tested React app:
/build-from-figma https://figma.com/file/abc123
[0] TOKEN SYNC → sync-tokens.sh → drift check (conditional, if lockfile exists)
[1] INTAKE → figma-intake skill → build-spec.json (with appType)
[2] TOKEN LOCK → design-token-lock skill → design-tokens.lock.json
[3] TDD (HARD GATE) → tdd-from-figma skill → failing tests (Red)
─── PARALLEL ORCHESTRATION (phases 4-9, max 3 concurrent) ───
[4] BUILD → figma-to-react-workflow → components pass tests (Green)
├─ [4.5] STORYBOOK → generate-stories.sh (non-blocking)
├─ [5] VISUAL DIFF → pixelmatch loop → max 5 iterations
│ └─ [6] E2E TESTS → e2e-test-generator skill
├─ [5.5] DARK MODE → check-dark-mode.sh (non-blocking)
├─ [7] CROSS-BROWSER → cross-browser-baseline.sh compare (non-blocking)
├─ [7.5] REGRESSION → regression-test.sh (non-blocking)
├─ [8] QUALITY GATE → [coverage|types|build|tokens|lighthouse] in parallel
└─ [8.5] RESPONSIVE → check-responsive.sh (non-blocking)
[9] REPORT → build-report.md (after quality-gate + e2e complete)Key artifacts:
design-tokens.lock.json— Single source of truth for all design valuesbuild-spec.json— Machine-readable build plan with appType, outputTarget ("react" | "vue" | "svelte" | "react-native"), and E2E flowspipeline.config.json— Thresholds, iteration limits, app-type definitionsverify-tokens.sh— Catches hardcoded values and token driftverify-test-coverage.sh— Ensures every component has testsvisual-diff.js— Pixel-level screenshot comparison with region analysis.claude/visual-qa/baselines/manifest.json— Cross-browser baseline provenance (engine, Playwright version, pinned image, sha256, host — RFC 0002)sync-tokens.sh— Detects token drift between lockfile and sourcecheck-dark-mode.sh— Dark mode screenshot capture and visual comparisongenerate-stories.sh— AST-based Storybook story + MDX generation with prop controls, variants, and action argsgenerate-component-docs.sh— Generates MDX component documentation
Features:
- Enforced TDD — tests must exist before components, hard gate blocks build phase
- Pixel-perfect visual diff —
pixelmatch-based comparison (not manual), up to 5 iterations - App-type awareness — Chrome extensions, PWAs, React Native, and web apps get tailored E2E strategies
- Chrome extension E2E — Playwright persistent context with
--load-extension - Design token extraction with lockfile enforcement
- Cross-browser verification (Firefox, WebKit) — committed per-engine baselines diffed at the 0.03 cross-engine threshold, with pinned-container capture and per-baseline provenance (RFC 0002; backends: commit | ci-artifact | service)
- Quality gate: 80%+ coverage, TypeScript, Lighthouse audit
- Resumable: TodoWrite tracks progress across interrupted sessions
- Dark mode verification — automated dark theme screenshot comparison (non-blocking)
- Storybook generation — auto-generated stories with responsive viewports
- Token sync — detects drift between Figma lockfile and source code
- Component docs — auto-generated MDX documentation with props, tokens, and links
- Automated hooks — pre-commit token guard, coverage warnings, dark mode reminders, Lighthouse CI, bundle size guard, mutation testing
- Responsive verification — automated screenshots at 5 breakpoints (320-1920px)
- Error monitoring — Sentry integration configured via pipeline.config.json
- Deploy previews — Vercel auto-deploy with visual QA on PRs
- Parallel orchestration — concurrent phase execution with dependency graph, resource tagging, and configurable concurrency pool
Documentation: docs/figma-to-react/README.md
Canva-to-React Pipeline
Single command: /build-from-canva <Canva URL>
Same 12-phase pipeline as Figma with Canva-specific phases 1, 2, and 4:
- Phase 1: canva-intake (vision-based discovery via Canva AI Connector MCP)
- Phase 2: canva-token-inference (AI extraction with confidence scoring + user confirmation)
- Phase 4: canva-react-converter agent (builds components from screenshots)
- Phases 3, 5-9: shared (identical to Figma pipeline)
Documentation: docs/canva-to-react/README.md
Screenshot/URL-to-App Pipeline
Single command: /build-from-screenshot <URL or image paths>
Same 12-phase pipeline as Figma/Canva with screenshot-specific Phase 1:
- Phase 1: screenshot-intake (captures URL or reads provided images, vision-based discovery)
- Phase 2: canva-token-inference (shared, accepts screenshot source)
- Phase 4: framework-specific converter agent dispatched by
outputTarget(vue-converter, svelte-converter, react-native-converter, or figma-react-converter) - Phases 3, 5-9: shared (identical to Figma/Canva pipeline)
Supports all output targets: React, Vue 3, Svelte/SvelteKit, React Native (Expo).
Documentation: docs/screenshot-to-app/README.md
Conversation-to-App Pipeline
Single command: /build-from-conversation [optional description]
"Talk to build" — no pre-existing design file required. Two new phases generate a real Figma design from a structured conversation, then hand off to the unchanged /build-from-figma pipeline:
- Phase C0: conversation-intake (max-7-question interview + conversation-designer agent →
build-spec.jsonwith"source": "conversation"+design-brief.json) - Phase C1: design-brief-to-figma (per-page HTML mockups → new Figma file via
create_new_file+generate_figma_designcapture → node IDs mapped into the build spec) - Handoff:
/build-from-figma <generated URL>runs phases 0-9 as usual; figma-intake fast-paths on the conversation-sourced build spec (no second interview), and design-token-lock falls back to computed styles (generated files carry no Figma variables)
Key artifacts:
design-brief.json— Style direction, color/typography/layout decisions, and natural-language component descriptions.claude/design-mockups/*.html— Per-page mockups captured into Figma (kept for cheap re-capture)pipeline.config.json→conversation— Interview cap, mockup server, capture polling, review gate, retry policy
Documentation: docs/conversation-to-app/README.md
Multi-Framework Output
The outputTarget field in build-spec.json controls which framework the pipeline generates code for:
| Target | Value | Converter Agent | Test Library | Template |
| React | "react" | figma-react-converter / canva-react-converter | Vitest + RTL | templates/nextjs/ or templates/vite/ |
| Vue 3 | "vue" | vue-converter | Vitest + @vue/test-utils | templates/vue/ |
| Svelte | "svelte" | svelte-converter | Vitest + @testing-library/svelte | templates/sveltekit/ |
| React Native | "react-native" | react-native-converter | Jest + @testing-library/react-native | templates/expo/ |
Framework auto-detection: if outputTarget is not specified, the pipeline detects the framework from package.json dependencies and config files (e.g., next.config.*, svelte.config.*, app.json).
Documentation: docs/multi-framework/README.md
MCP Server Integration
- Figma Desktop MCP - Local Figma integration (port 3845)
- Figma Remote MCP - Fallback remote access
- Playwright MCP - Cross-browser testing (Chromium, Firefox, WebKit)
- Chrome DevTools MCP - Screenshots, Lighthouse audits, DOM inspection
- Canva AI Connector - Search, export, and interact with Canva designs
- Sentry - Error monitoring (configured via pipeline.config.json, setup by error-boundary-architect agent)
Parallel Orchestration
Pipeline phases 4-9 run concurrently via the parallel-orchestration skill:
- Dependency graph defined in
pipeline.config.json→orchestration.phases - Concurrency pool with configurable
maxConcurrent(default: 3) - Resource tagging prevents write conflicts between phases
- Streaming results report each phase as it completes
- Batch summary with wall time, speedup factor, and execution timeline
- Fallback to sequential execution when
orchestration.enabledisfalse
Quality gate subtasks (coverage, typecheck, build, token-verify, lighthouse) also run in parallel.
Automated Hooks (8 Total)
Each hook is a standalone script under .claude/hooks/, registered in .claude/settings.json as a PostToolUse hook on the Bash matcher. Hooks receive $TOOL_INPUT and $TOOL_OUTPUT as positional args, follow a defensive skeleton (set -u, trap 'exit 0' ERR, always exit 0), and are testable in isolation. See docs/guides/hooks.md for the full guide.
| Script | Trigger | Action |
post-build-qa.sh | pnpm build succeeds | Reminds to run quality gate (vitest, tsc, verify-tokens) |
pre-commit-token-guard.sh | git commit detected | Runs verify-tokens.sh, warns if violations found |
dark-mode-reminder.sh | visual-diff.js passes | Suggests running check-dark-mode.sh |
coverage-check.sh | vitest with coverage output | Reminds to check threshold from pipeline config |
lighthouse-ci.sh | pnpm build succeeds | Suggests Lighthouse audit with threshold targets from config |
bundle-size-guard.sh | git commit detected | Warns if build output exceeds maxSizeKb from config |
mutation-test-reminder.sh | vitest all tests pass | Suggests running Stryker for test quality validation |
regression-reminder.sh | pnpm build succeeds | Suggests running ./scripts/regression-test.sh if baselines exist |
React Development Standards
TypeScript
- Strict mode enabled
- No
anytypes - use proper interfaces and generics - Export prop interfaces alongside components
- Use discriminated unions for complex prop patterns
Component Patterns
- Functional components only (no class components)
- Custom hooks for reusable logic
- Composition over inheritance
- Props interface for every component
childrenandclassNamepassthrough where appropriate
Tailwind CSS
- Utility-first styling
- Design tokens via Tailwind config (not hardcoded values)
- Responsive with mobile-first breakpoints (sm, md, lg, xl, 2xl)
- Use
cn()utility for conditional classes (clsx + tailwind-merge)
Testing Strategy
- Unit tests (Vitest): Pure functions, custom hooks, utilities
- Component tests (RTL): User interactions, rendering, accessibility
- Visual tests (Storybook): Component states, responsive variants
- E2E tests (Playwright): Critical user flows, cross-browser
Accessibility
- WCAG 2.1 AA minimum
- Semantic HTML (landmarks, headings hierarchy)
- ARIA attributes on interactive elements
- Keyboard navigation support
- Color contrast 4.5:1 minimum
Code Quality
- ESLint with React, TypeScript, and jsx-a11y plugins
- Prettier for formatting
- 2-space indentation (JS/TS/CSS/JSON)
Development Workflow with Claude Code
1. Feature Development
# Start feature branch
git checkout -b feature/hero-component
# Develop with Claude Code
# - frontend-developer agent for React work
# - test-writer-fixer agent for tests
# - ui-designer agent for design decisions
# Commit with structure
/commit2. Code Quality
./scripts/lint-and-format.sh
./scripts/check-types.sh
./scripts/run-tests.sh
./scripts/check-accessibility.sh3. Figma-to-React Conversion
User: "Convert this Figma design to React components"
[Provide Figma URL]
Claude: [Uses figma-react-converter agent]
→ Extracts design tokens
→ Generates Tailwind config + React components
→ Runs visual QA verification4. Using Custom Agents
User: "Help me optimize app performance"
Claude: [Uses performance-benchmarker agent]
User: "Build a hero component"
Claude: [Uses frontend-developer agent]
User: "Write tests for my auth hook"
Claude: [Uses test-writer-fixer agent]Quick Command Reference
Design-to-Code Pipelines:
/build-from-figma <URL> # Full autonomous Figma pipeline
/build-from-canva <URL> # Full autonomous Canva pipeline
/build-from-screenshot <URL or paths> # Full autonomous screenshot pipeline
/build-from-conversation [description] # Conversational pipeline: interview → generated Figma → build
/export-design-system [flags] # Export components + tokens as publishable pnpm workspace
aurelius pipeline indesign <input> [--target ...] [--styling ...] [--output ...] # InDesign IDML/PDF → ReactQuality Verification:
/verify-all # Run every local quality check, human-readable summary
/ci # Same checks, JSON output, non-zero exit on failureGit Workflows (via commit-commands):
/commit # Structured commit
/commit-push-pr # Commit + push + PR
/clean_gone # Clean merged branchesGitHub CLI:
gh pr create # Create pull request
gh pr list # List pull requests
gh issue create # Create issueCode Quality:
./scripts/lint-and-format.sh # ESLint + Prettier
./scripts/run-tests.sh # Vitest + coverage
./scripts/run-mutation-tests.sh # Mutation testing (Stryker)
./scripts/check-types.sh # TypeScript check
./scripts/check-bundle-size.sh # Bundle analysis
./scripts/check-accessibility.sh # a11y linting
./scripts/verify-tokens.sh # Design token enforcement
./scripts/sync-tokens.sh # Token drift detection
./scripts/check-dark-mode.sh # Dark mode verification
./scripts/generate-stories.sh # Storybook story + MDX generation
./scripts/generate-component-docs.sh # Component documentation
./scripts/check-dead-code.sh # Dead code detection (knip)
./scripts/check-security.sh # Security audit
./scripts/generate-api-client.sh # OpenAPI → typed client
./scripts/check-responsive.sh # Responsive screenshots
./scripts/audit-cross-browser-css.sh # Cross-browser CSS audit
./scripts/capture-baselines.sh # Capture regression baselines
./scripts/regression-test.sh # Visual regression testing
./scripts/cross-browser-baseline.sh # Cross-browser baseline capture/compare (RFC 0002)
./scripts/setup-baseline-lfs.sh # Git LFS opt-in for large baseline sets
./scripts/export-design-system.sh # Export components + tokens as pnpm workspace
./scripts/import-design-tokens.sh # Reconstruct lockfile from an export (round-trip / consumer)
./scripts/validate-pipeline-config.sh # Validate pipeline.config.json against schema
./scripts/check-doc-counts.sh # Flag drift between documented agent/skill counts and disk
./scripts/verify-all.sh # Run all quality checks with summary
./scripts/verify-all.sh --ci # CI mode: JSON output, exit 1 on any failureRenderers (pluggable framework renderers — see docs/multi-framework/renderers.md):
node scripts/renderer-registry.js (list | resolve <name> | detect [dir]) [--json]
node scripts/validate-renderer.js --dir <renderer-dir> # or --allAgent Plugins (custom agents as versioned plugins — see docs/guides/agent-plugins.md):
node scripts/create-agent-plugin.js <name> [--description ...] [--model ...] [--tools ...] [--with-hooks]
node scripts/validate-agent-plugin.js --dir <plugin-dir> # or --all
node scripts/agent-registry.js (list | resolve <name> | install <name> | uninstall <name>)
node scripts/test-agent-plugin.js --dir <plugin-dir> # or --allBuild Performance & Caching:
./scripts/incremental-build.sh # Incremental build with caching
./scripts/incremental-build.sh --parallel # Parallel execution
./scripts/incremental-build.sh --force # Force rebuild (ignore cache)
node scripts/pipeline-cache.js status # Cache status
node scripts/stage-profiler.js report # Performance report
node scripts/stage-profiler.js analyze # Slow stage analysis
node scripts/metrics-dashboard.js generate # HTML dashboard
node scripts/metrics-dashboard.js summary # Quick metrics summaryLast Updated: 2026-07-01 Architecture: 56 agents, 24 skills, 4 plugins + gh CLI, Figma + Canva + Playwright MCP, 56 scripts, 8 hooks, 5 renderers (nextjs, vite, astro, sveltekit, expo)
Keeping counts in sync: When adding or removing agents, skills, scripts, or hooks, update all count references across the project. Search for the old count number in
*.mdfiles to find all references:CLAUDE.md,README.md,CONTRIBUTING.md,docs/onboarding/,docs/react-development/, and.claude/AGENT-NAMING-GUIDE.md. The agent and skill counts are enforced automatically byscripts/check-doc-counts.sh(run in CI and on pre-commit), which recounts.claude/agents/and.claude/skills/and fails on any documented count that disagrees.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

