@folpe/loom 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -16
- package/data/agents/backend/AGENT.md +12 -0
- package/data/agents/database/AGENT.md +3 -0
- package/data/agents/frontend/AGENT.md +10 -0
- package/data/agents/marketing/AGENT.md +3 -0
- package/data/agents/orchestrator/AGENT.md +1 -15
- package/data/agents/security/AGENT.md +3 -0
- package/data/agents/tests/AGENT.md +2 -0
- package/data/agents/ux-ui/AGENT.md +5 -0
- package/data/presets/api-backend.yaml +37 -0
- package/data/presets/chrome-extension.yaml +36 -0
- package/data/presets/cli-tool.yaml +31 -0
- package/data/presets/e-commerce.yaml +49 -0
- package/data/presets/expo-mobile.yaml +41 -0
- package/data/presets/fullstack-auth.yaml +45 -0
- package/data/presets/landing-page.yaml +38 -0
- package/data/presets/mvp-lean.yaml +35 -0
- package/data/presets/saas-default.yaml +7 -11
- package/data/presets/saas-full.yaml +71 -0
- package/data/skills/api-design/SKILL.md +149 -0
- package/data/skills/auth-rbac/SKILL.md +179 -0
- package/data/skills/better-auth-patterns/SKILL.md +212 -0
- package/data/skills/chrome-extension-patterns/SKILL.md +105 -0
- package/data/skills/cli-development/SKILL.md +147 -0
- package/data/skills/drizzle-patterns/SKILL.md +166 -0
- package/data/skills/env-validation/SKILL.md +142 -0
- package/data/skills/form-validation/SKILL.md +169 -0
- package/data/skills/hero-copywriting/SKILL.md +12 -4
- package/data/skills/i18n-patterns/SKILL.md +176 -0
- package/data/skills/layered-architecture/SKILL.md +131 -0
- package/data/skills/nextjs-conventions/SKILL.md +46 -7
- package/data/skills/react-native-patterns/SKILL.md +87 -0
- package/data/skills/react-query-patterns/SKILL.md +193 -0
- package/data/skills/resend-email/SKILL.md +181 -0
- package/data/skills/seo-optimization/SKILL.md +106 -0
- package/data/skills/server-actions-patterns/SKILL.md +156 -0
- package/data/skills/shadcn-ui/SKILL.md +126 -0
- package/data/skills/stripe-integration/SKILL.md +96 -0
- package/data/skills/supabase-patterns/SKILL.md +110 -0
- package/data/skills/table-pagination/SKILL.md +224 -0
- package/data/skills/tailwind-patterns/SKILL.md +12 -2
- package/data/skills/testing-patterns/SKILL.md +203 -0
- package/data/skills/ui-ux-guidelines/SKILL.md +179 -0
- package/dist/index.js +254 -100
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
CLI to scaffold Claude Code projects with curated agents, skills, and presets.
|
|
4
4
|
|
|
5
|
-
Loom provides a ready-to-use library of specialized
|
|
5
|
+
Loom provides a ready-to-use library of **10 specialized agents**, **24 skills**, and **10 presets** that integrate directly into your project's `.claude/` directory — giving Claude Code deep expertise on your stack from day one.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -12,7 +12,36 @@ npm i -g @folpe/loom
|
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Initialize a project (interactive)
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
loom init
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Launches an interactive wizard: pick a preset, toggle agents, toggle skills, and generate everything.
|
|
22
|
+
|
|
23
|
+
### Initialize from a preset
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
loom init saas-default
|
|
27
|
+
loom init saas-full
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Customize with flags
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
loom init saas-default --remove-agent marketing --add-skill stripe-integration
|
|
34
|
+
loom init mvp-lean --add-agent security --add-skill auth-rbac
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
| Flag | Description |
|
|
38
|
+
|------|-------------|
|
|
39
|
+
| `--add-agent <slugs...>` | Add extra agents to the preset |
|
|
40
|
+
| `--remove-agent <slugs...>` | Remove agents from the preset |
|
|
41
|
+
| `--add-skill <slugs...>` | Add extra skills |
|
|
42
|
+
| `--remove-skill <slugs...>` | Remove skills |
|
|
43
|
+
|
|
44
|
+
### List available resources
|
|
16
45
|
|
|
17
46
|
```bash
|
|
18
47
|
loom list # list everything
|
|
@@ -30,19 +59,9 @@ loom add skill tailwind-patterns
|
|
|
30
59
|
|
|
31
60
|
Files are written to `.claude/agents/` and `.claude/skills/` in your current directory.
|
|
32
61
|
|
|
33
|
-
### Initialize a full project from a preset
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
loom init saas-default
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
A preset installs a set of agents + skills and generates a `CLAUDE.md` configuration file — everything Claude Code needs to work with your project.
|
|
40
|
-
|
|
41
|
-
Run `loom init` without arguments to choose interactively.
|
|
42
|
-
|
|
43
62
|
## What's included
|
|
44
63
|
|
|
45
|
-
|
|
64
|
+
### Agents
|
|
46
65
|
|
|
47
66
|
| Agent | Role |
|
|
48
67
|
|-------|------|
|
|
@@ -57,13 +76,60 @@ Run `loom init` without arguments to choose interactively.
|
|
|
57
76
|
| `ux-ui` | UI components, design systems |
|
|
58
77
|
| `marketing` | Copy, landing pages, SEO |
|
|
59
78
|
|
|
60
|
-
|
|
79
|
+
### Skills
|
|
61
80
|
|
|
62
81
|
| Skill | Description |
|
|
63
82
|
|-------|-------------|
|
|
64
83
|
| `nextjs-conventions` | Next.js 15+ / React 19 / TypeScript patterns |
|
|
65
|
-
| `tailwind-patterns` | Tailwind CSS utilities and
|
|
66
|
-
| `
|
|
84
|
+
| `tailwind-patterns` | Tailwind CSS utilities and responsive design |
|
|
85
|
+
| `shadcn-ui` | ShadCN UI components, forms, data tables |
|
|
86
|
+
| `api-design` | REST API design, validation, error handling |
|
|
87
|
+
| `supabase-patterns` | Supabase auth, RLS, storage, real-time |
|
|
88
|
+
| `ui-ux-guidelines` | Accessibility, interaction, typography, color |
|
|
89
|
+
| `layered-architecture` | Presentation → Facade → Service → DAL → Persistence |
|
|
90
|
+
| `drizzle-patterns` | Drizzle ORM schemas, migrations, queries |
|
|
91
|
+
| `server-actions-patterns` | Safe Server Actions with wrappers and validation |
|
|
92
|
+
| `form-validation` | Zod dual validation (client + server) |
|
|
93
|
+
| `auth-rbac` | CASL authorization with role hierarchy |
|
|
94
|
+
| `i18n-patterns` | next-intl internationalization patterns |
|
|
95
|
+
| `testing-patterns` | Vitest role-based testing strategy |
|
|
96
|
+
| `resend-email` | Resend + React Email transactional emails |
|
|
97
|
+
| `react-query-patterns` | TanStack React Query data fetching |
|
|
98
|
+
| `table-pagination` | Server-side pagination with URL state |
|
|
99
|
+
| `env-validation` | Zod environment variable validation |
|
|
100
|
+
| `better-auth-patterns` | Better Auth setup with organizations |
|
|
101
|
+
| `stripe-integration` | Stripe checkout, subscriptions, webhooks |
|
|
102
|
+
| `hero-copywriting` | High-converting hero section copy |
|
|
103
|
+
| `seo-optimization` | Meta tags, JSON-LD, Core Web Vitals |
|
|
104
|
+
| `chrome-extension-patterns` | Manifest V3, content scripts, service workers |
|
|
105
|
+
| `cli-development` | Node.js CLI with Commander.js |
|
|
106
|
+
| `react-native-patterns` | React Native / Expo mobile patterns |
|
|
107
|
+
|
|
108
|
+
### Presets
|
|
109
|
+
|
|
110
|
+
| Preset | Agents | Skills | Best for |
|
|
111
|
+
|--------|--------|--------|----------|
|
|
112
|
+
| `saas-full` | 10 | 21 | Full SaaS with auth, billing, i18n, testing |
|
|
113
|
+
| `saas-default` | 10 | 7 | Standard SaaS starter |
|
|
114
|
+
| `fullstack-auth` | 9 | 6 | Fullstack app with authentication |
|
|
115
|
+
| `e-commerce` | 10 | 9 | Online store with payments |
|
|
116
|
+
| `api-backend` | 7 | 3 | Backend API service |
|
|
117
|
+
| `expo-mobile` | 8 | 4 | Mobile app with Expo |
|
|
118
|
+
| `landing-page` | 6 | 5 | Marketing landing page |
|
|
119
|
+
| `chrome-extension` | 6 | 3 | Browser extension |
|
|
120
|
+
| `mvp-lean` | 4 | 3 | Minimal viable product |
|
|
121
|
+
| `cli-tool` | 4 | 1 | Command-line tool |
|
|
122
|
+
|
|
123
|
+
## How it works
|
|
124
|
+
|
|
125
|
+
Running `loom init <preset>` generates:
|
|
126
|
+
|
|
127
|
+
- `.claude/agents/*.md` — one file per agent with system prompt and skills
|
|
128
|
+
- `.claude/skills/*.md` — reusable knowledge files loaded contextually
|
|
129
|
+
- `.claude/orchestrator.md` — dynamic orchestrator aware of all active agents
|
|
130
|
+
- `CLAUDE.md` — project-level config with stack, conventions, and principles
|
|
131
|
+
|
|
132
|
+
Claude Code reads these files automatically. The orchestrator delegates tasks to the right specialized agent, and each agent loads only the skills it needs.
|
|
67
133
|
|
|
68
134
|
## License
|
|
69
135
|
|
|
@@ -10,6 +10,18 @@ tools:
|
|
|
10
10
|
- Edit
|
|
11
11
|
- Glob
|
|
12
12
|
- Grep
|
|
13
|
+
skills:
|
|
14
|
+
- supabase-patterns
|
|
15
|
+
- api-design
|
|
16
|
+
- nextjs-conventions
|
|
17
|
+
- layered-architecture
|
|
18
|
+
- server-actions-patterns
|
|
19
|
+
- drizzle-patterns
|
|
20
|
+
- auth-rbac
|
|
21
|
+
- i18n-patterns
|
|
22
|
+
- env-validation
|
|
23
|
+
- resend-email
|
|
24
|
+
- better-auth-patterns
|
|
13
25
|
model: claude-sonnet-4-6
|
|
14
26
|
---
|
|
15
27
|
|
|
@@ -10,6 +10,16 @@ tools:
|
|
|
10
10
|
- Edit
|
|
11
11
|
- Glob
|
|
12
12
|
- Grep
|
|
13
|
+
skills:
|
|
14
|
+
- nextjs-conventions
|
|
15
|
+
- tailwind-patterns
|
|
16
|
+
- shadcn-ui
|
|
17
|
+
- layered-architecture
|
|
18
|
+
- server-actions-patterns
|
|
19
|
+
- form-validation
|
|
20
|
+
- i18n-patterns
|
|
21
|
+
- react-query-patterns
|
|
22
|
+
- table-pagination
|
|
13
23
|
model: claude-sonnet-4-6
|
|
14
24
|
---
|
|
15
25
|
# Frontend Agent
|
|
@@ -4,14 +4,6 @@ description: Main coordinator that analyzes tasks and delegates to specialized a
|
|
|
4
4
|
role: orchestrator
|
|
5
5
|
color: "#8B5CF6"
|
|
6
6
|
tools: []
|
|
7
|
-
delegates-to:
|
|
8
|
-
- frontend
|
|
9
|
-
- backend
|
|
10
|
-
- marketing
|
|
11
|
-
- ux-ui
|
|
12
|
-
- database
|
|
13
|
-
- tests
|
|
14
|
-
- review-qa
|
|
15
7
|
model: claude-opus-4-6
|
|
16
8
|
---
|
|
17
9
|
|
|
@@ -29,13 +21,7 @@ You are the central coordinator for the Loom project. Your job is to understand
|
|
|
29
21
|
|
|
30
22
|
## Delegation Rules
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
- **backend**: API routes, server actions, authentication flows, server-side business logic, third-party service integrations.
|
|
34
|
-
- **marketing**: Marketing copy, landing page content, email templates, SEO metadata, blog posts, and promotional text.
|
|
35
|
-
- **ux-ui**: UI component design, design tokens, color palettes, spacing systems, accessibility audits, and responsive design patterns.
|
|
36
|
-
- **database**: Schema design, migrations, seed data, query optimization, and ORM configuration.
|
|
37
|
-
- **tests**: Unit tests, integration tests, end-to-end tests, and test infrastructure setup.
|
|
38
|
-
- **review-qa**: Code review, security analysis, performance audits, and best-practice enforcement.
|
|
24
|
+
{{DELEGATION_RULES}}
|
|
39
25
|
|
|
40
26
|
## Workflow Guidelines
|
|
41
27
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: API Backend
|
|
2
|
+
description: API / service backend avec focus sécurité, validation, tests et performance.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- backend
|
|
6
|
+
- database
|
|
7
|
+
- security
|
|
8
|
+
- tests
|
|
9
|
+
- review-qa
|
|
10
|
+
- performance
|
|
11
|
+
skills:
|
|
12
|
+
- nextjs-conventions
|
|
13
|
+
- supabase-patterns
|
|
14
|
+
- api-design
|
|
15
|
+
constitution:
|
|
16
|
+
principles:
|
|
17
|
+
- Security first — validate all inputs, sanitize all outputs
|
|
18
|
+
- Type-safe contracts — use Zod schemas as single source of truth
|
|
19
|
+
- Test everything — unit tests for logic, integration tests for endpoints
|
|
20
|
+
- Fail gracefully — meaningful error messages, proper HTTP status codes
|
|
21
|
+
stack:
|
|
22
|
+
- Next.js 16+ (API Routes)
|
|
23
|
+
- TypeScript 5 (strict)
|
|
24
|
+
- Supabase (database + auth)
|
|
25
|
+
- Zod (validation)
|
|
26
|
+
- Vercel (deployment)
|
|
27
|
+
conventions:
|
|
28
|
+
- Define Zod schemas for all request/response payloads
|
|
29
|
+
- Use middleware for auth, rate limiting, and CORS
|
|
30
|
+
- Implement proper error handling with consistent error response format
|
|
31
|
+
- Write integration tests for every endpoint
|
|
32
|
+
- Use database transactions for multi-step mutations
|
|
33
|
+
claudemd:
|
|
34
|
+
projectDescription: >
|
|
35
|
+
This is a backend API service scaffolded with Loom. It uses Next.js API Routes with Supabase
|
|
36
|
+
as the database layer. The orchestrator delegates security concerns to the security agent,
|
|
37
|
+
database schema work to the database agent, and testing to the tests agent.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Chrome Extension
|
|
2
|
+
description: Extension Chrome (Manifest V3) avec popup React, content scripts et background workers.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- backend
|
|
7
|
+
- tests
|
|
8
|
+
- security
|
|
9
|
+
- review-qa
|
|
10
|
+
skills:
|
|
11
|
+
- tailwind-patterns
|
|
12
|
+
- chrome-extension-patterns
|
|
13
|
+
- ui-ux-guidelines
|
|
14
|
+
constitution:
|
|
15
|
+
principles:
|
|
16
|
+
- Minimal permissions — request only what the extension truly needs
|
|
17
|
+
- User privacy first — never collect data without explicit consent
|
|
18
|
+
- Fast popup — keep popup UI snappy, defer heavy work to background
|
|
19
|
+
- Cross-site safe — sanitize all DOM manipulation in content scripts
|
|
20
|
+
stack:
|
|
21
|
+
- TypeScript 5 (strict)
|
|
22
|
+
- Chrome APIs (Manifest V3)
|
|
23
|
+
- React 19 (popup / options page)
|
|
24
|
+
- Tailwind CSS 4
|
|
25
|
+
- tsup (bundling)
|
|
26
|
+
conventions:
|
|
27
|
+
- Use Manifest V3 service workers instead of background pages
|
|
28
|
+
- Separate concerns — popup, content scripts, and background have clear boundaries
|
|
29
|
+
- Use chrome.storage API for persistence, never localStorage in content scripts
|
|
30
|
+
- Validate all messages between content script and background worker
|
|
31
|
+
- Keep content script injection minimal to avoid page performance impact
|
|
32
|
+
claudemd:
|
|
33
|
+
projectDescription: >
|
|
34
|
+
This is a Chrome extension scaffolded with Loom using Manifest V3. The orchestrator delegates
|
|
35
|
+
popup/options UI work to the frontend agent, background worker logic to the backend agent,
|
|
36
|
+
and security reviews of permissions and content scripts to the security agent.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: CLI Tool
|
|
2
|
+
description: Outil CLI Node.js avec parsing d'arguments, UX terminal soignée et distribution npm.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- backend
|
|
6
|
+
- tests
|
|
7
|
+
- review-qa
|
|
8
|
+
skills:
|
|
9
|
+
- cli-development
|
|
10
|
+
constitution:
|
|
11
|
+
principles:
|
|
12
|
+
- Unix philosophy — do one thing well, compose with other tools
|
|
13
|
+
- Fail loudly — clear error messages with actionable suggestions
|
|
14
|
+
- Zero-config defaults — sensible defaults, override with flags
|
|
15
|
+
- Scriptable — support stdin/stdout piping and non-interactive mode
|
|
16
|
+
stack:
|
|
17
|
+
- TypeScript 5 (strict)
|
|
18
|
+
- Node.js 20+
|
|
19
|
+
- Commander.js (CLI framework)
|
|
20
|
+
- tsup (bundling)
|
|
21
|
+
conventions:
|
|
22
|
+
- Use Commander.js for argument parsing and subcommands
|
|
23
|
+
- Exit with proper codes — 0 for success, 1 for errors, 2 for usage errors
|
|
24
|
+
- Support --json flag for machine-readable output
|
|
25
|
+
- Use stderr for progress/logging, stdout for actual output
|
|
26
|
+
- Include a --version and --help flag on every command
|
|
27
|
+
claudemd:
|
|
28
|
+
projectDescription: >
|
|
29
|
+
This is a CLI tool scaffolded with Loom. It uses Commander.js for argument parsing and tsup
|
|
30
|
+
for bundling. The orchestrator delegates implementation to the backend agent and testing to
|
|
31
|
+
the tests agent.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: E-Commerce
|
|
2
|
+
description: Boutique en ligne avec catalogue, panier, checkout Stripe et emails transactionnels.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- backend
|
|
7
|
+
- database
|
|
8
|
+
- security
|
|
9
|
+
- tests
|
|
10
|
+
- review-qa
|
|
11
|
+
- ux-ui
|
|
12
|
+
- performance
|
|
13
|
+
- marketing
|
|
14
|
+
skills:
|
|
15
|
+
- nextjs-conventions
|
|
16
|
+
- tailwind-patterns
|
|
17
|
+
- hero-copywriting
|
|
18
|
+
- supabase-patterns
|
|
19
|
+
- stripe-integration
|
|
20
|
+
- shadcn-ui
|
|
21
|
+
- seo-optimization
|
|
22
|
+
- api-design
|
|
23
|
+
- ui-ux-guidelines
|
|
24
|
+
constitution:
|
|
25
|
+
principles:
|
|
26
|
+
- Trust through UX — clear pricing, no surprise fees, transparent shipping
|
|
27
|
+
- Payment security — never handle raw card data, always use Stripe Elements
|
|
28
|
+
- SEO drives traffic — product pages must be indexable with structured data
|
|
29
|
+
- Performance converts — every 100ms of load time impacts conversion rate
|
|
30
|
+
stack:
|
|
31
|
+
- Next.js 16+ (App Router)
|
|
32
|
+
- React 19
|
|
33
|
+
- TypeScript 5 (strict)
|
|
34
|
+
- Tailwind CSS 4
|
|
35
|
+
- ShadCN UI
|
|
36
|
+
- Supabase (auth + database)
|
|
37
|
+
- Stripe (payments)
|
|
38
|
+
- Vercel (deployment)
|
|
39
|
+
conventions:
|
|
40
|
+
- Use Stripe Checkout or Payment Elements — never collect card details directly
|
|
41
|
+
- Implement webhook handlers for Stripe events (payment success, refund, etc.)
|
|
42
|
+
- Use ISR or SSG for product catalog pages for performance
|
|
43
|
+
- Add JSON-LD structured data for products (price, availability, reviews)
|
|
44
|
+
- Implement optimistic cart updates with server validation
|
|
45
|
+
claudemd:
|
|
46
|
+
projectDescription: >
|
|
47
|
+
This is an e-commerce application scaffolded with Loom. It includes product catalog, shopping
|
|
48
|
+
cart, Stripe checkout, and transactional emails. The orchestrator coordinates the full agent
|
|
49
|
+
team including marketing for copywriting and SEO.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Expo Mobile
|
|
2
|
+
description: App mobile React Native avec Expo, navigation, notifications push et offline-first.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- backend
|
|
7
|
+
- database
|
|
8
|
+
- tests
|
|
9
|
+
- review-qa
|
|
10
|
+
- ux-ui
|
|
11
|
+
- performance
|
|
12
|
+
skills:
|
|
13
|
+
- tailwind-patterns
|
|
14
|
+
- react-native-patterns
|
|
15
|
+
- supabase-patterns
|
|
16
|
+
- ui-ux-guidelines
|
|
17
|
+
constitution:
|
|
18
|
+
principles:
|
|
19
|
+
- Native feel — respect platform conventions (iOS HIG, Material Design)
|
|
20
|
+
- Offline-first — the app must be usable without network connectivity
|
|
21
|
+
- Battery conscious — minimize background tasks and network requests
|
|
22
|
+
- Smooth animations — target 60fps, never block the JS thread
|
|
23
|
+
stack:
|
|
24
|
+
- Expo SDK 52+
|
|
25
|
+
- React Native
|
|
26
|
+
- TypeScript 5 (strict)
|
|
27
|
+
- NativeWind (Tailwind for React Native)
|
|
28
|
+
- Expo Router (file-based navigation)
|
|
29
|
+
- Supabase (auth + database)
|
|
30
|
+
conventions:
|
|
31
|
+
- Use Expo Router for all navigation — file-based routing
|
|
32
|
+
- Implement offline storage with async-storage or MMKV for critical data
|
|
33
|
+
- Use expo-notifications for push notifications setup
|
|
34
|
+
- Handle deep linking and universal links from the start
|
|
35
|
+
- Test on both iOS and Android — never assume platform parity
|
|
36
|
+
claudemd:
|
|
37
|
+
projectDescription: >
|
|
38
|
+
This is a mobile application scaffolded with Loom using Expo and React Native. It uses
|
|
39
|
+
NativeWind for styling and Expo Router for navigation. The orchestrator delegates mobile UI
|
|
40
|
+
to the frontend agent, API integration to the backend agent, and native feature testing
|
|
41
|
+
to the tests agent.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Fullstack Auth
|
|
2
|
+
description: SaaS avec authentification complète (email, OAuth, magic link), RBAC et dashboard admin.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- backend
|
|
7
|
+
- database
|
|
8
|
+
- security
|
|
9
|
+
- tests
|
|
10
|
+
- review-qa
|
|
11
|
+
- ux-ui
|
|
12
|
+
- performance
|
|
13
|
+
skills:
|
|
14
|
+
- nextjs-conventions
|
|
15
|
+
- tailwind-patterns
|
|
16
|
+
- supabase-patterns
|
|
17
|
+
- shadcn-ui
|
|
18
|
+
- api-design
|
|
19
|
+
- ui-ux-guidelines
|
|
20
|
+
constitution:
|
|
21
|
+
principles:
|
|
22
|
+
- Auth is infrastructure — get it right once, never cut corners on security
|
|
23
|
+
- Least privilege — users and services get only the permissions they need
|
|
24
|
+
- Defense in depth — middleware, RLS, and API validation work together
|
|
25
|
+
- Session management — handle expiry, refresh, and revocation properly
|
|
26
|
+
stack:
|
|
27
|
+
- Next.js 16+ (App Router)
|
|
28
|
+
- React 19
|
|
29
|
+
- TypeScript 5 (strict)
|
|
30
|
+
- Tailwind CSS 4
|
|
31
|
+
- ShadCN UI
|
|
32
|
+
- Supabase Auth (email, OAuth, magic link)
|
|
33
|
+
- Supabase (database with RLS)
|
|
34
|
+
- Vercel (deployment)
|
|
35
|
+
conventions:
|
|
36
|
+
- Use Supabase Auth for all authentication flows
|
|
37
|
+
- Implement middleware for route protection and role checks
|
|
38
|
+
- Enable Row Level Security on all tables — no exceptions
|
|
39
|
+
- Use server-side session validation, never trust client-only auth state
|
|
40
|
+
- Separate admin and user dashboards with distinct layouts
|
|
41
|
+
claudemd:
|
|
42
|
+
projectDescription: >
|
|
43
|
+
This is a fullstack SaaS with complete authentication scaffolded with Loom. It includes email,
|
|
44
|
+
OAuth, and magic link flows via Supabase Auth, plus RBAC and admin dashboard. The orchestrator
|
|
45
|
+
coordinates security, frontend, backend, and database agents for auth-related tasks.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Landing Page
|
|
2
|
+
description: Site vitrine / marketing avec focus SEO, conversion, animations et responsive design.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- ux-ui
|
|
7
|
+
- marketing
|
|
8
|
+
- performance
|
|
9
|
+
- review-qa
|
|
10
|
+
skills:
|
|
11
|
+
- nextjs-conventions
|
|
12
|
+
- tailwind-patterns
|
|
13
|
+
- hero-copywriting
|
|
14
|
+
- seo-optimization
|
|
15
|
+
- ui-ux-guidelines
|
|
16
|
+
constitution:
|
|
17
|
+
principles:
|
|
18
|
+
- Conversion-first — every section must guide visitors toward a clear CTA
|
|
19
|
+
- Performance is UX — aim for perfect Lighthouse scores
|
|
20
|
+
- Mobile-first responsive — design for small screens, enhance for large
|
|
21
|
+
- Accessible by default — semantic HTML, ARIA, keyboard navigation
|
|
22
|
+
stack:
|
|
23
|
+
- Next.js 16+ (static export)
|
|
24
|
+
- React 19
|
|
25
|
+
- TypeScript 5 (strict)
|
|
26
|
+
- Tailwind CSS 4
|
|
27
|
+
- Vercel (deployment)
|
|
28
|
+
conventions:
|
|
29
|
+
- Use Server Components and static generation for maximum performance
|
|
30
|
+
- Optimize all images with next/image and proper srcset
|
|
31
|
+
- Implement structured data (JSON-LD) for SEO
|
|
32
|
+
- Use CSS animations and transitions over JS-based animation libraries
|
|
33
|
+
- Ensure all interactive elements have visible focus states
|
|
34
|
+
claudemd:
|
|
35
|
+
projectDescription: >
|
|
36
|
+
This is a landing page / marketing site scaffolded with Loom. It focuses on SEO, conversion
|
|
37
|
+
optimization, and fast loading. The orchestrator delegates visual tasks to the frontend and
|
|
38
|
+
ux-ui agents, copywriting to marketing, and performance audits to the performance agent.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: MVP Lean
|
|
2
|
+
description: Prototype rapide avec stack minimale. Vitesse et itération avant la perfection.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- backend
|
|
7
|
+
- database
|
|
8
|
+
skills:
|
|
9
|
+
- nextjs-conventions
|
|
10
|
+
- tailwind-patterns
|
|
11
|
+
- supabase-patterns
|
|
12
|
+
constitution:
|
|
13
|
+
principles:
|
|
14
|
+
- Ship it — working software over perfect architecture
|
|
15
|
+
- Iterate fast — build the simplest thing that works, then improve
|
|
16
|
+
- Technical debt is acceptable — speed wins at the prototype stage
|
|
17
|
+
- Validate assumptions — build to learn, not to last
|
|
18
|
+
stack:
|
|
19
|
+
- Next.js 16+ (App Router)
|
|
20
|
+
- React 19
|
|
21
|
+
- TypeScript 5 (strict)
|
|
22
|
+
- Tailwind CSS 4
|
|
23
|
+
- Supabase (auth + database)
|
|
24
|
+
- Vercel (deployment)
|
|
25
|
+
conventions:
|
|
26
|
+
- Prefer inline styles and co-located logic over abstractions
|
|
27
|
+
- Use Supabase client directly — skip custom API layers when possible
|
|
28
|
+
- Minimal component hierarchy — flatten where you can
|
|
29
|
+
- Skip extensive error handling — focus on happy path first
|
|
30
|
+
- One file per feature when practical
|
|
31
|
+
claudemd:
|
|
32
|
+
projectDescription: >
|
|
33
|
+
This is a lean MVP scaffolded with Loom. Speed and iteration are prioritized over architecture.
|
|
34
|
+
The orchestrator coordinates a small team of frontend, backend, and database agents to ship
|
|
35
|
+
features as fast as possible.
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
name: SaaS
|
|
1
|
+
name: SaaS Full
|
|
2
2
|
description: Standard SaaS project preset with full agent team, Next.js conventions, and Tailwind patterns. Includes
|
|
3
3
|
orchestrator-driven multi-agent workflow.
|
|
4
|
-
boilerplate:
|
|
5
|
-
repo: https://github.com/vercel/next.js.git
|
|
6
|
-
branch: canary
|
|
7
|
-
shallow: true
|
|
8
4
|
agents:
|
|
9
5
|
- orchestrator
|
|
10
6
|
- frontend
|
|
@@ -20,6 +16,12 @@ skills:
|
|
|
20
16
|
- nextjs-conventions
|
|
21
17
|
- tailwind-patterns
|
|
22
18
|
- hero-copywriting
|
|
19
|
+
- supabase-patterns
|
|
20
|
+
- shadcn-ui
|
|
21
|
+
- api-design
|
|
22
|
+
- ui-ux-guidelines
|
|
23
|
+
- stripe-integration
|
|
24
|
+
- seo-optimization
|
|
23
25
|
constitution:
|
|
24
26
|
principles:
|
|
25
27
|
- Ship fast, iterate often — prefer working software over perfect plans
|
|
@@ -45,9 +47,3 @@ claudemd:
|
|
|
45
47
|
This is a SaaS application scaffolded with Loom. It uses a multi-agent architecture where the orchestrator delegates
|
|
46
48
|
tasks to specialized agents (frontend, backend, database, etc.). Each agent follows the conventions defined in the
|
|
47
49
|
linked skills.
|
|
48
|
-
orchestratorRef: >
|
|
49
|
-
The orchestrator agent (.claude/agents/orchestrator.md) is the main entry point. Always start by delegating to the
|
|
50
|
-
orchestrator, which will route tasks to the appropriate specialized agent.
|
|
51
|
-
specKit:
|
|
52
|
-
enabled: true
|
|
53
|
-
aiFlag: claude
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
name: SaaS Full
|
|
2
|
+
description: SaaS complet avec architecture en couches, auth RBAC, i18n, forms, testing, emails et Stripe. Batteries-included.
|
|
3
|
+
agents:
|
|
4
|
+
- orchestrator
|
|
5
|
+
- frontend
|
|
6
|
+
- backend
|
|
7
|
+
- database
|
|
8
|
+
- ux-ui
|
|
9
|
+
- tests
|
|
10
|
+
- review-qa
|
|
11
|
+
- security
|
|
12
|
+
- performance
|
|
13
|
+
- marketing
|
|
14
|
+
skills:
|
|
15
|
+
- nextjs-conventions
|
|
16
|
+
- tailwind-patterns
|
|
17
|
+
- shadcn-ui
|
|
18
|
+
- api-design
|
|
19
|
+
- supabase-patterns
|
|
20
|
+
- ui-ux-guidelines
|
|
21
|
+
- layered-architecture
|
|
22
|
+
- drizzle-patterns
|
|
23
|
+
- server-actions-patterns
|
|
24
|
+
- form-validation
|
|
25
|
+
- auth-rbac
|
|
26
|
+
- i18n-patterns
|
|
27
|
+
- testing-patterns
|
|
28
|
+
- resend-email
|
|
29
|
+
- react-query-patterns
|
|
30
|
+
- table-pagination
|
|
31
|
+
- env-validation
|
|
32
|
+
- better-auth-patterns
|
|
33
|
+
- stripe-integration
|
|
34
|
+
- hero-copywriting
|
|
35
|
+
- seo-optimization
|
|
36
|
+
constitution:
|
|
37
|
+
principles:
|
|
38
|
+
- Functional over OOP — pure functions, composition, immutability
|
|
39
|
+
- Strict layered architecture — Presentation → Facade → Service → DAL → Persistence
|
|
40
|
+
- Type safety everywhere — TypeScript strict, Zod validation at boundaries
|
|
41
|
+
- Ship fast, iterate often — working software over perfect plans
|
|
42
|
+
- Security by design — auth + RBAC + validation at every layer
|
|
43
|
+
stack:
|
|
44
|
+
- Next.js 16+ (App Router)
|
|
45
|
+
- React 19
|
|
46
|
+
- TypeScript 5 (strict)
|
|
47
|
+
- Tailwind CSS 4
|
|
48
|
+
- ShadCN UI
|
|
49
|
+
- Drizzle ORM
|
|
50
|
+
- PostgreSQL
|
|
51
|
+
- Better Auth
|
|
52
|
+
- Stripe
|
|
53
|
+
- Resend
|
|
54
|
+
- Vitest
|
|
55
|
+
- Vercel
|
|
56
|
+
conventions:
|
|
57
|
+
- RSC by default, "use client" only when strictly needed
|
|
58
|
+
- Server Actions for all mutations, DAL for all reads
|
|
59
|
+
- Zod dual validation (client + server)
|
|
60
|
+
- Facades between presentation and services
|
|
61
|
+
- CASL authorization at service layer
|
|
62
|
+
- next-intl for all user-facing strings
|
|
63
|
+
- Vitest with role-based test strategy (PUBLIC/USER/ADMIN)
|
|
64
|
+
- kebab-case for all new files
|
|
65
|
+
claudemd:
|
|
66
|
+
projectDescription: >
|
|
67
|
+
This is a full-featured SaaS application scaffolded with Loom. It follows a strict layered architecture
|
|
68
|
+
(Presentation → Facade → Service → DAL → Persistence) with multi-agent orchestration. Authentication is
|
|
69
|
+
handled by Better Auth with RBAC via CASL. The app supports i18n with next-intl, transactional emails via
|
|
70
|
+
Resend, payments via Stripe, and uses Drizzle ORM with PostgreSQL. Every feature is tested with Vitest
|
|
71
|
+
using a role-based strategy (PUBLIC/USER/ADMIN).
|