Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/CUSTOM-AGENTS-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ User: "Use the accessibility-auditor agent to check this page"

## Agent + Skill Integration

Agents work alongside the 19 custom skills in `.claude/skills/`:
Agents work alongside the 20 custom skills in `.claude/skills/`:

| Agent | Complementary Skill |
|-------|-------------------|
Expand Down
51 changes: 34 additions & 17 deletions .claude/skills/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Skills Catalog

**Last Updated:** 2026-03-18
**Total Skills:** 17
**Last Updated:** 2026-05-23
**Total Skills:** 20
**Location:** `.claude/skills/`

Skills are documentation-based workflows that trigger automatically when relevant keywords appear in conversation. They provide systematic guidance, not tool integrations.
Expand Down Expand Up @@ -44,69 +44,86 @@ These skills power the `/build-from-figma` and `/build-from-canva` autonomous pi
- **Triggers:** "visual QA", "compare to Figma", "screenshot diff", "verify app"
- **Works with:** visual-qa-agent, Chrome DevTools MCP, Figma MCP

### Canva Pipeline Skills
#### 7. parallel-orchestration (Phases 4-9)
- **Purpose:** Concurrent phase runner that dispatches independent pipeline phases in parallel, respecting the dependency graph and resource constraints defined in `pipeline.config.json`.
- **Triggers:** Invoked by pipeline commands after Phase 3 (TDD gate)
- **Works with:** all build/QA phases; falls back to sequential execution when disabled

These skills power the `/build-from-canva` autonomous pipeline. They handle Canva-specific phases (1, 2) before converging with the shared pipeline (phases 3-9).
### Canva & Screenshot Pipeline Skills

#### 7. canva-intake (Phase 1 -- Canva)
These skills power the `/build-from-canva` and `/build-from-screenshot` autonomous pipelines. They handle source-specific phases (1, 2) before converging with the shared pipeline (phases 3-9).

#### 8. canva-intake (Phase 1 -- Canva)
- **Purpose:** Structured discovery for Canva designs. Exports screenshots via Canva AI Connector MCP, uses Claude vision to analyze page structure and components, asks 3-5 targeted questions, and produces a `build-spec.json` with `source: "canva"`.
- **Triggers:** Phase 1 of `/build-from-canva`, or any Canva design URL conversation
- **Output:** `.claude/plans/build-spec.json`

#### 8. canva-token-inference (Phase 2 -- Canva)
- **Purpose:** AI-powered token extraction from Canva screenshots with confidence scoring. Uses Claude vision to infer colors, typography, spacing, and effects. Presents tokens with confidence levels for user confirmation before locking.
- **Triggers:** Phase 2 of `/build-from-canva`, "extract Canva tokens", "Canva design tokens"
#### 9. canva-token-inference (Phase 2 -- Canva/Screenshot)
- **Purpose:** AI-powered token extraction from Canva or screenshot sources with confidence scoring. Uses Claude vision to infer colors, typography, spacing, and effects. Presents tokens with confidence levels for user confirmation before locking.
- **Triggers:** Phase 2 of `/build-from-canva` and `/build-from-screenshot`, "extract Canva tokens", "Canva design tokens"
- **Output:** `src/styles/design-tokens.lock.json`, `tailwind.config.ts`, `src/styles/tokens.css`

#### 10. screenshot-intake (Phase 1 -- Screenshot)
- **Purpose:** Structured discovery from a URL or provided screenshot files. Captures pages via Chrome DevTools or Playwright MCP, analyzes structure with Claude vision, and produces a `build-spec.json` with `outputTarget`.
- **Triggers:** Phase 1 of `/build-from-screenshot`, "build from screenshot", "clone this site"
- **Output:** `.claude/plans/build-spec.json`

### React Development Skills

These skills provide patterns and best practices. They trigger on relevant keywords during any React development work.

#### 9. react-component-development
#### 11. react-component-development
- **Purpose:** Component patterns, TypeScript conventions, custom hooks, composition, and Tailwind CSS best practices
- **Triggers:** "create component", "component pattern", "custom hook", "React best practices"
- **Works with:** frontend-developer agent, ui-designer agent

#### 10. react-testing-workflows
#### 12. react-testing-workflows
- **Purpose:** Testing strategy with Vitest, React Testing Library, Playwright, and Storybook
- **Triggers:** "write tests", "test coverage", "Vitest", "Playwright", "Storybook"
- **Works with:** test-writer-fixer agent, test-results-analyzer agent

#### 11. react-performance-optimization
#### 13. react-performance-optimization
- **Purpose:** Performance profiling, bundle analysis, code splitting, and Web Vitals
- **Triggers:** "performance", "bundle size", "Web Vitals", "lazy loading", "profiling"
- **Works with:** performance-benchmarker agent, analytics-reporter agent

#### 12. react-accessibility
#### 14. react-accessibility
- **Purpose:** WCAG 2.1 AA patterns for React, ARIA usage, keyboard navigation, focus management
- **Triggers:** "accessibility", "WCAG", "ARIA", "a11y", "keyboard navigation"
- **Works with:** accessibility-auditor agent, ux-researcher agent

#### 13. state-management
#### 15. state-management
- **Purpose:** State architecture decisions — Zustand for global UI state, TanStack Query for server state, URL state patterns, and anti-patterns to avoid
- **Triggers:** "state management", "zustand", "tanstack query", "react query", "global state", "data fetching", "caching"
- **Works with:** frontend-developer agent

#### 14. form-handling
#### 16. form-handling
- **Purpose:** Form patterns with React Hook Form + Zod — typed forms, reusable field components, dynamic field arrays, multi-step wizards, server actions, and accessible error handling
- **Triggers:** "form", "form handling", "react hook form", "zod", "validation", "multi-step form", "wizard"
- **Works with:** frontend-developer agent, accessibility-auditor agent

#### 15. auth-flows
#### 17. auth-flows
- **Purpose:** Authentication patterns — Auth.js v5 (NextAuth), Clerk, Supabase Auth. Covers session management, protected routes, OAuth, and role-based access control (RBAC)
- **Triggers:** "auth", "authentication", "login", "sign in", "session", "protected route", "OAuth", "clerk", "supabase auth"
- **Works with:** backend-architect agent, frontend-developer agent

#### 16. animation-motion
#### 18. animation-motion
- **Purpose:** Animation patterns — Framer Motion (motion/react), CSS transitions, page transitions, scroll-driven animations, staggered lists, and reduced-motion accessibility
- **Triggers:** "animation", "framer motion", "transition", "micro-interaction", "page transition", "scroll animation", "motion"
- **Works with:** frontend-developer agent, whimsy-injector agent

#### 17. seo-metadata
#### 19. seo-metadata
- **Purpose:** SEO patterns — Next.js Metadata API, Open Graph tags, dynamic OG images, structured data (JSON-LD), sitemaps, robots.txt, and Vite SPA SEO with react-helmet-async
- **Triggers:** "SEO", "metadata", "open graph", "og image", "sitemap", "structured data", "json-ld", "meta tags"
- **Works with:** frontend-developer agent, content-creator agent

### Export Skills

#### 20. export-design-system
- **Purpose:** Exports generated components + `design-tokens.lock.json` as a publishable pnpm workspace. Generates a framework-agnostic tokens package and a framework-specific component library (React/Vue/Svelte via Vite library mode, React Native via tsc), with Tailwind preset, ThemeProvider, and Changesets versioning.
- **Triggers:** `/export-design-system`, "export design system", "publishable component library"
- **Output:** `packages/` pnpm workspace (tokens + component library)

---

## Pipeline Flow
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ jobs:
[ $count -eq 0 ] && echo "Note: no skill .md files found in .claude/skills/"
exit $errors

- name: Check doc counts match agents/skills on disk
run: bash scripts/check-doc-counts.sh

- name: Validate templates
run: |
errors=0
Expand Down
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
if [ -f "scripts/verify-tokens.sh" ] && [ -d "app/src" ]; then
bash scripts/verify-tokens.sh
fi

# Pre-commit hook: flag drift between documented agent/skill counts and disk
if [ -f "scripts/check-doc-counts.sh" ]; then
bash scripts/check-doc-counts.sh
fi
9 changes: 5 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The framework is designed for:
```
project-root/
├── .claude/ # Claude Code configuration
│ ├── agents/ # 51 specialized agents
│ ├── skills/ # 19 React-specific skills
│ ├── agents/ # 53 specialized agents
│ ├── skills/ # 20 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
Expand Down Expand Up @@ -546,6 +546,7 @@ gh issue create # Create issue
./scripts/regression-test.sh # Visual regression testing
./scripts/export-design-system.sh # Export components + tokens as pnpm workspace
./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 failure
```
Expand All @@ -564,7 +565,7 @@ node scripts/metrics-dashboard.js summary # Quick metrics summary

---

**Last Updated:** 2026-05-21
**Last Updated:** 2026-05-23
**Architecture:** 53 agents, 20 skills, 4 plugins + gh CLI, Figma + Canva + Playwright MCP, 33 scripts, 8 hooks

> **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 `*.md` files to find all references: `CLAUDE.md`, `README.md`, `CONTRIBUTING.md`, `docs/onboarding/`, `docs/react-development/`, and `.claude/AGENT-NAMING-GUIDE.md`.
> **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 `*.md` files 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 by `scripts/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.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Because the bump is derived from commit history, **conventional commit messages

## Claude Code Agents

Aurelius includes 53 specialized Claude Code agents and 19 skills that automate significant portions of the development workflow — from design-to-code conversion to testing, accessibility, and deployment.
Aurelius includes 53 specialized Claude Code agents and 20 skills that automate significant portions of the development workflow — from design-to-code conversion to testing, accessibility, and deployment.

If you have Claude Code installed, these agents and skills are available to you automatically when working in this repository. They can assist with component development, test writing, visual QA, and much more.

Expand Down
54 changes: 31 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ A Claude Code-integrated multi-framework app development framework with TypeScri

## What This Framework Provides

- **48 Custom Agents** -- Specialized AI agents for engineering, design, testing, marketing, operations, and more
- **17 Development Skills** -- Automated workflows for Figma/Canva conversion, TDD, E2E testing, visual QA, state management, forms, auth, animation, SEO, and more
- **53 Custom Agents** -- Specialized AI agents for engineering, design, testing, marketing, operations, and more
- **20 Development Skills** -- Automated workflows for Figma/Canva conversion, TDD, E2E testing, visual QA, state management, forms, auth, animation, SEO, and more
- **10-Phase Design-to-React Pipeline** -- Convert Figma or Canva designs into fully working, tested React apps with a single command
- **App-Type Awareness** -- Tailored build and test strategies for web apps, Chrome extensions, and PWAs
- **Testing Stack** -- Vitest, React Testing Library, Playwright (cross-browser), Storybook, and pixel-diff visual QA
Expand Down Expand Up @@ -85,8 +85,8 @@ project-root/
│ ├── canva-to-react/ # Canva pipeline guide
│ └── react-development/ # Development standards
├── .claude/ # Claude Code configuration
│ ├── agents/ # 48 custom agents
│ ├── skills/ # 17 development skills
│ ├── agents/ # 53 custom agents
│ ├── skills/ # 20 development skills
│ ├── commands/ # Slash commands (/build-from-figma, /lint, /test)
│ ├── pipeline.config.json # Pipeline thresholds and app-type definitions
│ ├── CUSTOM-AGENTS-GUIDE.md # Agent catalog
Expand Down Expand Up @@ -136,15 +136,15 @@ All thresholds and behavior are configurable in `.claude/pipeline.config.json`:
- Lighthouse minimums (performance: 80, accessibility: 90)
- App-type-specific E2E strategies

## 48 Custom Agents
## 53 Custom Agents

Agents are auto-selected by Claude Code based on your task:

| Category | Count | Key Agents |
|----------|-------|------------|
| Engineering | 10 | frontend-developer, backend-architect, rapid-prototyper, test-writer-fixer, error-boundary-architect, migration-specialist, i18n-engineer |
| 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 | 3 | figma-react-converter, canva-react-converter, asset-cataloger |
| Design-to-Code | 6 | figma-react-converter, canva-react-converter, vue-converter, svelte-converter, react-native-converter, asset-cataloger |
| 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 |
Expand All @@ -154,9 +154,9 @@ Agents are auto-selected by Claude Code based on your task:

Full catalog: `.claude/CUSTOM-AGENTS-GUIDE.md`

## 17 Development Skills
## 20 Development Skills

### Pipeline Skills (Phases 1-6)
### Pipeline Skills

| # | Skill | Purpose |
|---|-------|---------|
Expand All @@ -166,27 +166,35 @@ Full catalog: `.claude/CUSTOM-AGENTS-GUIDE.md`
| 4 | figma-to-react-workflow | Generate components that pass the tests |
| 5 | visual-qa-verification | Pixel-diff comparison loop with region analysis |
| 6 | e2e-test-generator | Generate Playwright E2E tests (app-type-aware) |
| 7 | parallel-orchestration | Concurrent phase execution with dependency graph |

### Canva Pipeline Skills
### Canva & Screenshot Pipeline Skills

| # | Skill | Purpose |
|---|-------|---------|
| 7 | canva-intake | Canva design discovery + build-spec.json generation |
| 8 | canva-token-inference | AI-powered token extraction from Canva screenshots |
| 8 | canva-intake | Canva design discovery + build-spec.json generation |
| 9 | canva-token-inference | AI-powered token extraction from Canva/screenshot sources |
| 10 | screenshot-intake | URL/screenshot capture + vision-based discovery |

### React Development Skills

| # | Skill | Purpose |
|---|-------|---------|
| 9 | react-component-development | Component patterns, hooks, composition |
| 10 | react-testing-workflows | Vitest, RTL, Playwright, Storybook |
| 11 | react-performance-optimization | Profiling, bundle analysis, Web Vitals |
| 12 | react-accessibility | WCAG 2.1 AA patterns for React |
| 13 | state-management | Zustand, TanStack Query, URL state architecture |
| 14 | form-handling | React Hook Form + Zod: typed forms, wizards |
| 15 | auth-flows | Auth.js, Clerk, Supabase Auth, RBAC |
| 16 | animation-motion | Framer Motion, CSS transitions, reduced-motion a11y |
| 17 | seo-metadata | Next.js Metadata API, JSON-LD, OG images, sitemaps |
| 11 | react-component-development | Component patterns, hooks, composition |
| 12 | react-testing-workflows | Vitest, RTL, Playwright, Storybook |
| 13 | react-performance-optimization | Profiling, bundle analysis, Web Vitals |
| 14 | react-accessibility | WCAG 2.1 AA patterns for React |
| 15 | state-management | Zustand, TanStack Query, URL state architecture |
| 16 | form-handling | React Hook Form + Zod: typed forms, wizards |
| 17 | auth-flows | Auth.js, Clerk, Supabase Auth, RBAC |
| 18 | animation-motion | Framer Motion, CSS transitions, reduced-motion a11y |
| 19 | seo-metadata | Next.js Metadata API, JSON-LD, OG images, sitemaps |

### Export Skills

| # | Skill | Purpose |
|---|-------|---------|
| 20 | export-design-system | Export components + tokens as a publishable pnpm workspace |

Full catalog: `.claude/skills/README.md`

Expand Down Expand Up @@ -262,15 +270,15 @@ Details: `.claude/PLUGINS-REFERENCE.md`
|----------|----------|-------------|
| **Developer onboarding** | `docs/onboarding/README.md` | Start here -- quickstart, architecture, configuration, troubleshooting |
| Quickstart guide | `docs/onboarding/quickstart.md` | Clone to running project in 10 minutes |
| Architecture overview | `docs/onboarding/architecture.md` | All 53 agents, 19 skills, 3 pipelines, and how they connect |
| Architecture overview | `docs/onboarding/architecture.md` | All 53 agents, 20 skills, 3 pipelines, and how they connect |
| Pipeline configuration | `docs/onboarding/pipeline-configuration.md` | Every setting in pipeline.config.json explained |
| Troubleshooting FAQ | `docs/onboarding/troubleshooting.md` | Common issues and solutions |
| Project instructions | `CLAUDE.md` | Full project config for Claude Code |
| Figma pipeline guide | `docs/figma-to-react/README.md` | Pipeline overview and troubleshooting |
| React standards | `docs/react-development/README.md` | TypeScript, Tailwind, testing conventions |
| Canva pipeline guide | `docs/canva-to-react/README.md` | Canva pipeline overview and troubleshooting |
| Agent catalog | `.claude/CUSTOM-AGENTS-GUIDE.md` | All 53 agents with use cases |
| Skills catalog | `.claude/skills/README.md` | All 19 skills with triggers |
| Skills catalog | `.claude/skills/README.md` | All 20 skills with triggers |
| Plugin reference | `.claude/PLUGINS-REFERENCE.md` | Plugin configuration and commands |
| Scripts reference | `scripts/README.md` | All scripts with usage examples |
| Templates reference | `templates/README.md` | Starter configs and how to use them |
Expand Down
Loading
Loading