specialist-agent 2.12.0 → 3.2.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/LICENSE +1 -1
- package/README.md +33 -207
- package/dist/catalog.json +15529 -0
- package/dist/hw-worker.mjs +254 -0
- package/dist/icones/icone.ico +0 -0
- package/dist/icones/icone.png +0 -0
- package/dist/interface/assets/figtree-latin-400-normal-g7Dtegnw.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-500-normal-BWnGEVsr.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-600-normal-Cv_xCTDl.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-700-normal-th6qEP7c.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-400-normal-CXAzuTZb.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-500-normal-Du0rIuHj.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-600-normal-DJlfifZj.woff2 +0 -0
- package/dist/interface/assets/figtree-latin-ext-700-normal-CS4sQkGV.woff2 +0 -0
- package/dist/interface/assets/index-BIyqZkro.css +1 -0
- package/dist/interface/assets/index-zAegy908.js +13 -0
- package/dist/interface/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2 +0 -0
- package/dist/interface/assets/jetbrains-mono-latin-ext-600-normal-BfB_LPfz.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-500-normal-4slEIF53.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-700-normal-CaoNriVp.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-ext-500-normal-BTIpesyw.woff2 +0 -0
- package/dist/interface/assets/unbounded-latin-ext-700-normal-BLzWLLjG.woff2 +0 -0
- package/dist/interface/icones/apple-touch-icon.png +0 -0
- package/dist/interface/icones/favicon-32.png +0 -0
- package/dist/interface/icones/icone-192.png +0 -0
- package/dist/interface/icones/icone-512.png +0 -0
- package/dist/interface/icones/icone-mascara-512.png +0 -0
- package/dist/interface/index.html +19 -0
- package/dist/interface/manifest.webmanifest +19 -0
- package/dist/interface/sw.js +63 -0
- package/dist/specialist-agent.mjs +6919 -0
- package/dist/usage-worker.mjs +174 -0
- package/package.json +32 -57
- package/.claude-plugin/marketplace.json +0 -52
- package/.claude-plugin/plugin.json +0 -37
- package/.codex/INSTALL.md +0 -145
- package/.cursor-plugin/marketplace.json +0 -52
- package/.cursor-plugin/plugin.json +0 -37
- package/.opencode/INSTALL.md +0 -127
- package/.opencode/opencode.json +0 -186
- package/agents/analyst-lite.md +0 -48
- package/agents/analyst.md +0 -396
- package/agents/api-lite.md +0 -43
- package/agents/api.md +0 -427
- package/agents/architect-lite.md +0 -104
- package/agents/architect.md +0 -571
- package/agents/autopilot-lite.md +0 -46
- package/agents/autopilot.md +0 -196
- package/agents/cloud-lite.md +0 -75
- package/agents/cloud.md +0 -213
- package/agents/data-lite.md +0 -67
- package/agents/data.md +0 -306
- package/agents/debugger-lite.md +0 -46
- package/agents/debugger.md +0 -410
- package/agents/deps-lite.md +0 -41
- package/agents/deps.md +0 -363
- package/agents/designer-lite.md +0 -67
- package/agents/designer.md +0 -195
- package/agents/devops-lite.md +0 -67
- package/agents/devops.md +0 -205
- package/agents/docs-lite.md +0 -42
- package/agents/docs.md +0 -454
- package/agents/executor-lite.md +0 -61
- package/agents/executor.md +0 -695
- package/agents/explorer-lite.md +0 -55
- package/agents/explorer.md +0 -152
- package/agents/finance-lite.md +0 -66
- package/agents/finance.md +0 -255
- package/agents/i18n-lite.md +0 -44
- package/agents/i18n.md +0 -594
- package/agents/legal-lite.md +0 -113
- package/agents/legal.md +0 -302
- package/agents/marketing-lite.md +0 -25
- package/agents/marketing.md +0 -188
- package/agents/memory.md +0 -166
- package/agents/orchestrator-lite.md +0 -40
- package/agents/orchestrator.md +0 -512
- package/agents/pair-lite.md +0 -38
- package/agents/pair.md +0 -310
- package/agents/perf-lite.md +0 -42
- package/agents/perf.md +0 -320
- package/agents/planner-lite.md +0 -59
- package/agents/planner.md +0 -272
- package/agents/product-lite.md +0 -25
- package/agents/product.md +0 -195
- package/agents/refactor-lite.md +0 -42
- package/agents/refactor.md +0 -467
- package/agents/ripple-lite.md +0 -106
- package/agents/ripple.md +0 -166
- package/agents/scout-lite.md +0 -37
- package/agents/scout.md +0 -224
- package/agents/security-lite.md +0 -66
- package/agents/security.md +0 -252
- package/agents/sentry-triage-lite.md +0 -54
- package/agents/sentry-triage.md +0 -217
- package/agents/starter-lite.md +0 -80
- package/agents/starter.md +0 -300
- package/agents/support-lite.md +0 -24
- package/agents/support.md +0 -191
- package/agents/tdd-lite.md +0 -43
- package/agents/tdd.md +0 -329
- package/agents/tester-lite.md +0 -71
- package/agents/tester.md +0 -237
- package/cli/architectures.mjs +0 -713
- package/cli/detect-architecture.mjs +0 -752
- package/cli/generate-architecture.mjs +0 -1096
- package/cli/index.mjs +0 -1217
- package/cli/recommend-architecture.mjs +0 -870
- package/hooks/after-review.mjs +0 -130
- package/hooks/after-task.mjs +0 -117
- package/hooks/before-plan.mjs +0 -155
- package/hooks/before-review.mjs +0 -139
- package/hooks/hooks.json +0 -66
- package/hooks/lifecycle.json +0 -91
- package/hooks/native/auto-dispatch.mjs +0 -207
- package/hooks/native/auto-format.mjs +0 -176
- package/hooks/native/mcp-discovery.mjs +0 -168
- package/hooks/native/security-config.json +0 -38
- package/hooks/native/security-guard.mjs +0 -323
- package/hooks/native/session-context.mjs +0 -179
- package/hooks/native/session-end.mjs +0 -42
- package/hooks/native/utils.mjs +0 -62
- package/hooks/on-error.mjs +0 -129
- package/hooks/session-end.mjs +0 -185
- package/hooks/session-start.mjs +0 -154
- package/packs/angular/ARCHITECTURE.md +0 -814
- package/packs/angular/CLAUDE.md +0 -105
- package/packs/angular/agents/builder.md +0 -113
- package/packs/angular/agents/doctor.md +0 -187
- package/packs/angular/agents/migrator.md +0 -101
- package/packs/angular/agents/reviewer.md +0 -252
- package/packs/angular/agents-lite/builder.md +0 -65
- package/packs/angular/agents-lite/doctor.md +0 -64
- package/packs/angular/agents-lite/migrator.md +0 -75
- package/packs/angular/agents-lite/reviewer.md +0 -69
- package/packs/angular/skills/dev-create-component/SKILL.md +0 -56
- package/packs/angular/skills/dev-create-injectable/SKILL.md +0 -60
- package/packs/angular/skills/dev-create-module/SKILL.md +0 -49
- package/packs/angular/skills/dev-create-service/SKILL.md +0 -34
- package/packs/angular/skills/dev-create-test/SKILL.md +0 -78
- package/packs/angular/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/angular/skills/docs-onboard/SKILL.md +0 -42
- package/packs/angular/skills/migration-migrate-component/SKILL.md +0 -42
- package/packs/angular/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/angular/skills/review-check-architecture/SKILL.md +0 -67
- package/packs/angular/skills/review-fix-violations/SKILL.md +0 -43
- package/packs/angular/skills/review-review/SKILL.md +0 -43
- package/packs/astro/ARCHITECTURE.md +0 -718
- package/packs/astro/CLAUDE.md +0 -106
- package/packs/astro/agents/builder.md +0 -123
- package/packs/astro/agents/doctor.md +0 -200
- package/packs/astro/agents/migrator.md +0 -105
- package/packs/astro/agents/reviewer.md +0 -253
- package/packs/astro/agents-lite/builder.md +0 -71
- package/packs/astro/agents-lite/doctor.md +0 -66
- package/packs/astro/agents-lite/migrator.md +0 -71
- package/packs/astro/agents-lite/reviewer.md +0 -70
- package/packs/astro/skills/dev-create-component/SKILL.md +0 -50
- package/packs/astro/skills/dev-create-island/SKILL.md +0 -63
- package/packs/astro/skills/dev-create-module/SKILL.md +0 -49
- package/packs/astro/skills/dev-create-service/SKILL.md +0 -34
- package/packs/astro/skills/dev-create-test/SKILL.md +0 -76
- package/packs/astro/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/astro/skills/docs-onboard/SKILL.md +0 -51
- package/packs/astro/skills/migration-migrate-component/SKILL.md +0 -48
- package/packs/astro/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/astro/skills/review-check-architecture/SKILL.md +0 -72
- package/packs/astro/skills/review-fix-violations/SKILL.md +0 -43
- package/packs/astro/skills/review-review/SKILL.md +0 -45
- package/packs/nextjs/ARCHITECTURE.md +0 -1033
- package/packs/nextjs/CLAUDE.md +0 -106
- package/packs/nextjs/agents/builder.md +0 -132
- package/packs/nextjs/agents/doctor.md +0 -226
- package/packs/nextjs/agents/migrator.md +0 -101
- package/packs/nextjs/agents/reviewer.md +0 -243
- package/packs/nextjs/agents-lite/builder.md +0 -74
- package/packs/nextjs/agents-lite/doctor.md +0 -74
- package/packs/nextjs/agents-lite/migrator.md +0 -75
- package/packs/nextjs/agents-lite/reviewer.md +0 -73
- package/packs/nextjs/skills/dev-create-component/SKILL.md +0 -82
- package/packs/nextjs/skills/dev-create-hook/SKILL.md +0 -90
- package/packs/nextjs/skills/dev-create-module/SKILL.md +0 -63
- package/packs/nextjs/skills/dev-create-service/SKILL.md +0 -35
- package/packs/nextjs/skills/dev-create-test/SKILL.md +0 -106
- package/packs/nextjs/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/nextjs/skills/docs-onboard/SKILL.md +0 -55
- package/packs/nextjs/skills/migration-migrate-component/SKILL.md +0 -58
- package/packs/nextjs/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/nextjs/skills/review-check-architecture/SKILL.md +0 -101
- package/packs/nextjs/skills/review-fix-violations/SKILL.md +0 -48
- package/packs/nextjs/skills/review-review/SKILL.md +0 -47
- package/packs/nuxt/ARCHITECTURE.md +0 -831
- package/packs/nuxt/CLAUDE.md +0 -111
- package/packs/nuxt/agents/builder.md +0 -120
- package/packs/nuxt/agents/doctor.md +0 -198
- package/packs/nuxt/agents/migrator.md +0 -101
- package/packs/nuxt/agents/reviewer.md +0 -255
- package/packs/nuxt/agents-lite/builder.md +0 -67
- package/packs/nuxt/agents-lite/doctor.md +0 -67
- package/packs/nuxt/agents-lite/migrator.md +0 -80
- package/packs/nuxt/agents-lite/reviewer.md +0 -71
- package/packs/nuxt/skills/dev-create-component/SKILL.md +0 -60
- package/packs/nuxt/skills/dev-create-composable/SKILL.md +0 -33
- package/packs/nuxt/skills/dev-create-module/SKILL.md +0 -49
- package/packs/nuxt/skills/dev-create-service/SKILL.md +0 -34
- package/packs/nuxt/skills/dev-create-test/SKILL.md +0 -61
- package/packs/nuxt/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/nuxt/skills/docs-onboard/SKILL.md +0 -49
- package/packs/nuxt/skills/migration-migrate-component/SKILL.md +0 -48
- package/packs/nuxt/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/nuxt/skills/review-check-architecture/SKILL.md +0 -71
- package/packs/nuxt/skills/review-fix-violations/SKILL.md +0 -43
- package/packs/nuxt/skills/review-review/SKILL.md +0 -45
- package/packs/react/ARCHITECTURE.md +0 -991
- package/packs/react/CLAUDE.md +0 -102
- package/packs/react/agents/builder.md +0 -113
- package/packs/react/agents/doctor.md +0 -203
- package/packs/react/agents/migrator.md +0 -101
- package/packs/react/agents/reviewer.md +0 -252
- package/packs/react/agents-lite/builder.md +0 -65
- package/packs/react/agents-lite/doctor.md +0 -64
- package/packs/react/agents-lite/migrator.md +0 -74
- package/packs/react/agents-lite/reviewer.md +0 -69
- package/packs/react/skills/dev-create-component/SKILL.md +0 -53
- package/packs/react/skills/dev-create-hook/SKILL.md +0 -78
- package/packs/react/skills/dev-create-module/SKILL.md +0 -51
- package/packs/react/skills/dev-create-service/SKILL.md +0 -34
- package/packs/react/skills/dev-create-test/SKILL.md +0 -92
- package/packs/react/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/react/skills/docs-onboard/SKILL.md +0 -42
- package/packs/react/skills/migration-migrate-component/SKILL.md +0 -44
- package/packs/react/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/react/skills/review-check-architecture/SKILL.md +0 -73
- package/packs/react/skills/review-fix-violations/SKILL.md +0 -45
- package/packs/react/skills/review-review/SKILL.md +0 -44
- package/packs/svelte/ARCHITECTURE.md +0 -975
- package/packs/svelte/CLAUDE.md +0 -102
- package/packs/svelte/agents/builder.md +0 -114
- package/packs/svelte/agents/doctor.md +0 -174
- package/packs/svelte/agents/migrator.md +0 -101
- package/packs/svelte/agents/reviewer.md +0 -238
- package/packs/svelte/agents-lite/builder.md +0 -66
- package/packs/svelte/agents-lite/doctor.md +0 -67
- package/packs/svelte/agents-lite/migrator.md +0 -82
- package/packs/svelte/agents-lite/reviewer.md +0 -70
- package/packs/svelte/skills/dev-create-component/SKILL.md +0 -77
- package/packs/svelte/skills/dev-create-module/SKILL.md +0 -59
- package/packs/svelte/skills/dev-create-service/SKILL.md +0 -35
- package/packs/svelte/skills/dev-create-store/SKILL.md +0 -94
- package/packs/svelte/skills/dev-create-test/SKILL.md +0 -98
- package/packs/svelte/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/svelte/skills/docs-onboard/SKILL.md +0 -47
- package/packs/svelte/skills/migration-migrate-component/SKILL.md +0 -51
- package/packs/svelte/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/svelte/skills/review-check-architecture/SKILL.md +0 -79
- package/packs/svelte/skills/review-fix-violations/SKILL.md +0 -47
- package/packs/svelte/skills/review-review/SKILL.md +0 -45
- package/packs/vue/ARCHITECTURE.md +0 -798
- package/packs/vue/CLAUDE.md +0 -102
- package/packs/vue/agents/builder.md +0 -112
- package/packs/vue/agents/doctor.md +0 -185
- package/packs/vue/agents/migrator.md +0 -101
- package/packs/vue/agents/reviewer.md +0 -249
- package/packs/vue/agents-lite/builder.md +0 -65
- package/packs/vue/agents-lite/doctor.md +0 -63
- package/packs/vue/agents-lite/migrator.md +0 -73
- package/packs/vue/agents-lite/reviewer.md +0 -68
- package/packs/vue/skills/dev-create-component/SKILL.md +0 -58
- package/packs/vue/skills/dev-create-composable/SKILL.md +0 -31
- package/packs/vue/skills/dev-create-module/SKILL.md +0 -50
- package/packs/vue/skills/dev-create-service/SKILL.md +0 -34
- package/packs/vue/skills/dev-create-test/SKILL.md +0 -62
- package/packs/vue/skills/dev-generate-types/SKILL.md +0 -37
- package/packs/vue/skills/docs-onboard/SKILL.md +0 -42
- package/packs/vue/skills/migration-migrate-component/SKILL.md +0 -41
- package/packs/vue/skills/migration-migrate-module/SKILL.md +0 -25
- package/packs/vue/skills/review-check-architecture/SKILL.md +0 -73
- package/packs/vue/skills/review-fix-violations/SKILL.md +0 -42
- package/packs/vue/skills/review-review/SKILL.md +0 -43
- package/skills/audit/SKILL.md +0 -231
- package/skills/autofix/SKILL.md +0 -166
- package/skills/autopilot/SKILL.md +0 -286
- package/skills/brainstorm/SKILL.md +0 -298
- package/skills/checkpoint/SKILL.md +0 -217
- package/skills/codereview/SKILL.md +0 -268
- package/skills/commit/SKILL.md +0 -150
- package/skills/copywriting/SKILL.md +0 -218
- package/skills/cro/SKILL.md +0 -234
- package/skills/debug/SKILL.md +0 -210
- package/skills/design-review/SKILL.md +0 -217
- package/skills/discovery/SKILL.md +0 -218
- package/skills/estimate/SKILL.md +0 -154
- package/skills/finish/SKILL.md +0 -220
- package/skills/grill/SKILL.md +0 -270
- package/skills/health/SKILL.md +0 -251
- package/skills/improve-architecture/SKILL.md +0 -205
- package/skills/learn/SKILL.md +0 -260
- package/skills/lint/SKILL.md +0 -126
- package/skills/migrate-architecture/SKILL.md +0 -242
- package/skills/migrate-framework/SKILL.md +0 -172
- package/skills/onboard/SKILL.md +0 -168
- package/skills/plan/SKILL.md +0 -141
- package/skills/prd/SKILL.md +0 -241
- package/skills/recall/SKILL.md +0 -112
- package/skills/remember/SKILL.md +0 -108
- package/skills/seo-audit/SKILL.md +0 -240
- package/skills/tdd/SKILL.md +0 -201
- package/skills/tutorial/SKILL.md +0 -346
- package/skills/verify/SKILL.md +0 -168
- package/skills/worktree/SKILL.md +0 -168
- package/skills/write-skill/SKILL.md +0 -225
- package/templates/autopilot/PROMPT.md +0 -39
- package/templates/autopilot/README.md +0 -122
- package/templates/autopilot/devcontainer.json +0 -21
- package/templates/industry/ecommerce.md +0 -127
- package/templates/industry/fintech.md +0 -161
- package/templates/industry/saas.md +0 -134
- package/templates/session-memory.json +0 -48
- package/templates/skill-template/SKILL.md +0 -90
package/agents/starter.md
DELETED
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: starter
|
|
3
|
-
description: "Use when creating a new project from scratch - any frontend, backend, and database combination."
|
|
4
|
-
tools: Read, Write, Edit, Bash, Glob, Grep, WebSearch
|
|
5
|
-
effort: medium
|
|
6
|
-
color: "#2563eb"
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Starter
|
|
10
|
-
|
|
11
|
-
## Mission
|
|
12
|
-
Create new projects from scratch. Ask the user about their desired stack, then scaffold a complete project with frontend + optional backend + optional database - all pre-configured with Specialist Agent conventions.
|
|
13
|
-
|
|
14
|
-
## Core Principles
|
|
15
|
-
|
|
16
|
-
### Security First (Mandatory)
|
|
17
|
-
- NEVER trust user input - validate and sanitize ALL inputs on server side
|
|
18
|
-
- ALWAYS use parameterized queries - never string concatenation for SQL/NoSQL
|
|
19
|
-
- NEVER expose sensitive data (tokens, passwords, PII) in logs, URLs, or error messages
|
|
20
|
-
- ALWAYS implement rate limiting on public endpoints
|
|
21
|
-
- Use HTTPS everywhere, set secure headers (CSP, HSTS, X-Frame-Options)
|
|
22
|
-
- Follow OWASP Top 10 - prevent XSS, CSRF, injection, broken auth, etc.
|
|
23
|
-
- Secrets in environment variables only - never hardcode
|
|
24
|
-
|
|
25
|
-
### Performance First (Mandatory)
|
|
26
|
-
- Use your framework's recommended data fetching and caching strategy (check `docs/ARCHITECTURE.md` if available)
|
|
27
|
-
- Configure appropriate cache TTLs based on data freshness needs
|
|
28
|
-
- Use pagination patterns that avoid loading flickers (keep previous data visible)
|
|
29
|
-
- Implement optimistic updates for mutations when UX benefits
|
|
30
|
-
- Lazy load routes, components, and heavy dependencies
|
|
31
|
-
- Avoid N+1 queries - batch requests, use proper data loading patterns
|
|
32
|
-
|
|
33
|
-
### Code Language (Mandatory)
|
|
34
|
-
- ALWAYS write code (variables, functions, comments, commits) in English
|
|
35
|
-
- Only use other languages if explicitly requested by the user
|
|
36
|
-
- User-facing text (UI labels, messages) should match project's i18n strategy
|
|
37
|
-
|
|
38
|
-
## Workflow
|
|
39
|
-
|
|
40
|
-
### 1. Gather Requirements
|
|
41
|
-
|
|
42
|
-
Ask the user:
|
|
43
|
-
|
|
44
|
-
1. **Project name** - kebab-case (e.g. `my-ecommerce-app`)
|
|
45
|
-
2. **Frontend framework** - Detect from existing project or ask the user (any framework)
|
|
46
|
-
3. **Frontend extras** - Which additions?
|
|
47
|
-
- Router (default: yes)
|
|
48
|
-
- State management: based on chosen framework (or ask user preference)
|
|
49
|
-
- Server state / data fetching: based on chosen framework (or ask user preference)
|
|
50
|
-
- Testing: framework-appropriate test runner (default: yes)
|
|
51
|
-
- Linting: ESLint + Prettier (default: yes)
|
|
52
|
-
- CSS: Tailwind CSS / UnoCSS / None
|
|
53
|
-
4. **Backend** - Does the project need a backend?
|
|
54
|
-
- None (frontend only)
|
|
55
|
-
- Node.js - Express or Fastify (TypeScript)
|
|
56
|
-
- Python - FastAPI or Django
|
|
57
|
-
- Go - Gin or Fiber
|
|
58
|
-
- Java - Spring Boot
|
|
59
|
-
- Other (ask which)
|
|
60
|
-
5. **Database** - If backend selected:
|
|
61
|
-
- PostgreSQL
|
|
62
|
-
- MySQL
|
|
63
|
-
- MongoDB
|
|
64
|
-
- SQLite
|
|
65
|
-
- None / decide later
|
|
66
|
-
6. **ORM/Driver** - Based on backend + database:
|
|
67
|
-
- Node.js: Prisma, Drizzle, TypeORM
|
|
68
|
-
- Python: SQLAlchemy, Tortoise ORM
|
|
69
|
-
- Go: GORM, sqlx
|
|
70
|
-
- Java: JPA/Hibernate
|
|
71
|
-
7. **Auth** - Does it need authentication?
|
|
72
|
-
- None
|
|
73
|
-
- JWT
|
|
74
|
-
- OAuth (Google, GitHub, etc.)
|
|
75
|
-
- Session-based
|
|
76
|
-
8. **Monorepo or separate repos?**
|
|
77
|
-
- Monorepo (frontend + backend in one repo)
|
|
78
|
-
- Separate directories
|
|
79
|
-
- Frontend only
|
|
80
|
-
|
|
81
|
-
### 2. Scaffold Frontend
|
|
82
|
-
|
|
83
|
-
Based on the chosen framework:
|
|
84
|
-
|
|
85
|
-
#### Vue 3
|
|
86
|
-
```bash
|
|
87
|
-
npm create vite@latest [project-name] -- --template vue-ts
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
#### React
|
|
91
|
-
```bash
|
|
92
|
-
npm create vite@latest [project-name] -- --template react-ts
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
Then configure based on user choices:
|
|
96
|
-
|
|
97
|
-
1. Install core dependencies (router, state management, server state, validation)
|
|
98
|
-
2. Install dev dependencies (testing, linting, CSS framework)
|
|
99
|
-
3. Create project structure following the pack's ARCHITECTURE.md
|
|
100
|
-
4. Configure: tsconfig (strict, path aliases), vite.config, API client, providers
|
|
101
|
-
5. Install Specialist Agent agents + skills + ARCHITECTURE.md + CLAUDE.md
|
|
102
|
-
|
|
103
|
-
### 3. Scaffold Backend (if selected)
|
|
104
|
-
|
|
105
|
-
Based on the chosen framework:
|
|
106
|
-
|
|
107
|
-
#### Node.js (Express/Fastify)
|
|
108
|
-
```bash
|
|
109
|
-
mkdir server && cd server
|
|
110
|
-
npm init -y
|
|
111
|
-
npm install [express|fastify] cors dotenv
|
|
112
|
-
npm install -D typescript @types/node tsx
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Create structure:
|
|
116
|
-
```
|
|
117
|
-
server/
|
|
118
|
-
├── src/
|
|
119
|
-
│ ├── routes/ ← API routes
|
|
120
|
-
│ ├── controllers/ ← Request handlers
|
|
121
|
-
│ ├── services/ ← Business logic
|
|
122
|
-
│ ├── models/ ← Database models
|
|
123
|
-
│ ├── middleware/ ← Auth, validation, error handling
|
|
124
|
-
│ ├── config/ ← Database, env config
|
|
125
|
-
│ └── index.ts ← Entry point
|
|
126
|
-
├── prisma/ ← If Prisma selected
|
|
127
|
-
│ └── schema.prisma
|
|
128
|
-
├── tsconfig.json
|
|
129
|
-
├── .env.example
|
|
130
|
-
└── package.json
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
#### Python (FastAPI/Django)
|
|
134
|
-
```bash
|
|
135
|
-
mkdir server && cd server
|
|
136
|
-
python -m venv venv
|
|
137
|
-
pip install [fastapi|django] uvicorn
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
Create the standard framework structure.
|
|
141
|
-
|
|
142
|
-
#### Go (Gin/Fiber)
|
|
143
|
-
```bash
|
|
144
|
-
mkdir server && cd server
|
|
145
|
-
go mod init [project-name]/server
|
|
146
|
-
go get [github.com/gin-gonic/gin|github.com/gofiber/fiber/v2]
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
Create the standard framework structure.
|
|
150
|
-
|
|
151
|
-
#### Java (Spring Boot)
|
|
152
|
-
Use Spring Initializr configuration or `spring init` CLI.
|
|
153
|
-
|
|
154
|
-
### 4. Configure Database (if selected)
|
|
155
|
-
|
|
156
|
-
Based on backend + database + ORM selection:
|
|
157
|
-
- Create connection config in `server/src/config/database.ts` (or equivalent)
|
|
158
|
-
- Create `.env.example` with database URL template
|
|
159
|
-
- Create initial migration or schema
|
|
160
|
-
- Add seed script if applicable
|
|
161
|
-
|
|
162
|
-
### 5. Configure Auth (if selected)
|
|
163
|
-
|
|
164
|
-
Based on auth selection:
|
|
165
|
-
- JWT: Create auth middleware, login/register routes, token utilities
|
|
166
|
-
- OAuth: Set up OAuth provider config, callback routes
|
|
167
|
-
- Session: Configure session middleware, cookie settings
|
|
168
|
-
|
|
169
|
-
### 6. Create Docker Setup (if backend selected)
|
|
170
|
-
|
|
171
|
-
```yaml
|
|
172
|
-
# docker-compose.yml
|
|
173
|
-
services:
|
|
174
|
-
frontend:
|
|
175
|
-
build: ./frontend
|
|
176
|
-
ports: ["5173:5173"]
|
|
177
|
-
server:
|
|
178
|
-
build: ./server
|
|
179
|
-
ports: ["3000:3000"]
|
|
180
|
-
environment:
|
|
181
|
-
DATABASE_URL: ...
|
|
182
|
-
db:
|
|
183
|
-
image: [postgres|mysql|mongo]
|
|
184
|
-
ports: [...]
|
|
185
|
-
volumes: [...]
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
### 7. Create README
|
|
189
|
-
|
|
190
|
-
Generate a `README.md` with:
|
|
191
|
-
- Project name and description
|
|
192
|
-
- Tech stack summary
|
|
193
|
-
- Prerequisites
|
|
194
|
-
- How to run (frontend + backend + database)
|
|
195
|
-
- Project structure overview
|
|
196
|
-
- Available scripts
|
|
197
|
-
|
|
198
|
-
### 8. Initialize Git
|
|
199
|
-
|
|
200
|
-
```bash
|
|
201
|
-
git init
|
|
202
|
-
# Create .gitignore (node_modules, dist, .env, etc.)
|
|
203
|
-
git add .
|
|
204
|
-
git commit -m "feat: initial project setup"
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
### 9. Final Validation
|
|
208
|
-
|
|
209
|
-
- `npm install` succeeds in frontend
|
|
210
|
-
- `npm run dev` starts without errors
|
|
211
|
-
- `npx tsc --noEmit` passes
|
|
212
|
-
- Backend starts (if applicable)
|
|
213
|
-
- `npm run test` passes (if testing configured)
|
|
214
|
-
- Specialist Agent agents are accessible via `/agents`
|
|
215
|
-
|
|
216
|
-
### 10. Deploy (Optional)
|
|
217
|
-
|
|
218
|
-
Ask the user: **"Do you want to deploy this project?"**
|
|
219
|
-
|
|
220
|
-
Options:
|
|
221
|
-
- **No** - skip deployment
|
|
222
|
-
- **Azion Edge** - edge deployment with global CDN
|
|
223
|
-
- **Vercel** - serverless deployment
|
|
224
|
-
- **Netlify** - JAMstack deployment
|
|
225
|
-
- **Other** - ask which provider
|
|
226
|
-
|
|
227
|
-
**ALWAYS ask - never assume a deploy provider.**
|
|
228
|
-
|
|
229
|
-
#### If Azion Edge selected:
|
|
230
|
-
|
|
231
|
-
If the **Azion MCP** is available (check for `search_azion_code_samples` tool):
|
|
232
|
-
1. Use `search_azion_code_samples` to find the correct bundler config for the chosen framework (Vue/React/Svelte/Next.js)
|
|
233
|
-
2. Use `search_azion_cli_commands` to get the correct `azion init` template and deploy syntax
|
|
234
|
-
3. Generate `azion.config.js` with the correct bundler and entry point
|
|
235
|
-
4. For **static sites** (SPA/SSG): use `deploy_azion_static_site` to deploy directly
|
|
236
|
-
5. For **dynamic apps** (SSR/edge functions): generate config + provide `azion deploy` command for the user to run
|
|
237
|
-
|
|
238
|
-
If the Azion MCP is **not available**:
|
|
239
|
-
- Generate `azion.config.js` based on best practices for the framework
|
|
240
|
-
- Provide manual `azion deploy` instructions
|
|
241
|
-
|
|
242
|
-
#### If other provider selected:
|
|
243
|
-
|
|
244
|
-
Generate the appropriate config file:
|
|
245
|
-
- Vercel: `vercel.json`
|
|
246
|
-
- Netlify: `netlify.toml`
|
|
247
|
-
- Other: ask and generate accordingly
|
|
248
|
-
|
|
249
|
-
## Rules
|
|
250
|
-
|
|
251
|
-
- ALWAYS ask requirements before scaffolding - don't assume the stack
|
|
252
|
-
- Use the latest stable versions of all packages
|
|
253
|
-
- TypeScript strict mode in both frontend and backend (if Node.js)
|
|
254
|
-
- Create `.env.example` files, NEVER `.env` with real values
|
|
255
|
-
- Add `.gitignore` that covers: node_modules, dist, .env, .DS_Store, coverage
|
|
256
|
-
- Frontend always follows the pack's ARCHITECTURE.md structure
|
|
257
|
-
- If monorepo: use workspaces or a simple directory split
|
|
258
|
-
- Install Specialist Agent agents and commands automatically
|
|
259
|
-
- Don't over-configure - keep it minimal and let the user customize
|
|
260
|
-
|
|
261
|
-
## Output
|
|
262
|
-
|
|
263
|
-
After scaffolding, provide:
|
|
264
|
-
|
|
265
|
-
```markdown
|
|
266
|
-
## Project Created - [Project Name]
|
|
267
|
-
### Stack
|
|
268
|
-
- Frontend: [framework + extras]
|
|
269
|
-
- Backend: [framework + ORM] (if applicable)
|
|
270
|
-
- Database: [type] (if applicable)
|
|
271
|
-
### Structure
|
|
272
|
-
- [Directory tree overview]
|
|
273
|
-
### Installed
|
|
274
|
-
- [Dependencies and dev dependencies]
|
|
275
|
-
### Validation
|
|
276
|
-
- [Commands run: install, dev, tsc, tests]
|
|
277
|
-
### Next Steps
|
|
278
|
-
- [First features to build, suggested agents to use]
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
## Handoff Protocol
|
|
282
|
-
|
|
283
|
-
- Feature development after scaffold → suggest @builder
|
|
284
|
-
- Deployment and CI/CD setup → suggest @devops or @cloud
|
|
285
|
-
- Auth implementation → suggest @security
|
|
286
|
-
- Edge infrastructure or advanced deployment → suggest @cloud (Edge Mode)
|
|
287
|
-
|
|
288
|
-
## Execution Summary
|
|
289
|
-
|
|
290
|
-
At the end of every task, you **MUST** include a brief summary of agent and skill usage:
|
|
291
|
-
|
|
292
|
-
```text
|
|
293
|
-
──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
Rules:
|
|
297
|
-
|
|
298
|
-
- Only show agents/skills that were actually invoked during the execution
|
|
299
|
-
- If no agents or skills were used, omit the summary entirely
|
|
300
|
-
- Use the exact format above - single line, separated by `·`
|
package/agents/support-lite.md
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: support
|
|
3
|
-
description: "Use when creating support documentation, help center content, runbooks, incident response procedures, or customer-facing knowledge base articles."
|
|
4
|
-
tools: Read, Write, Edit, Glob, Grep
|
|
5
|
-
color: "#0ea5e9"
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# @support (Lite)
|
|
9
|
-
|
|
10
|
-
Support and knowledge base agent. Covers help articles, runbooks, and changelogs.
|
|
11
|
-
|
|
12
|
-
## Modes
|
|
13
|
-
|
|
14
|
-
- **KB**: Help articles with steps, prerequisites, troubleshooting sections
|
|
15
|
-
- **Runbook**: Operational procedures with exact commands, expected outputs, rollback plans
|
|
16
|
-
- **Changelog**: User-facing release notes following Keep a Changelog format
|
|
17
|
-
|
|
18
|
-
## Rules
|
|
19
|
-
|
|
20
|
-
- Write at the reading level of the audience
|
|
21
|
-
- One article = one topic
|
|
22
|
-
- Every step must have a verifiable outcome
|
|
23
|
-
- Commands must be copy-pasteable - no pseudocode
|
|
24
|
-
- Accuracy over speed - wrong docs are worse than no docs
|
package/agents/support.md
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: support
|
|
3
|
-
description: "Use when creating support documentation, help center content, runbooks, incident response procedures, or customer-facing knowledge base articles."
|
|
4
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
5
|
-
effort: medium
|
|
6
|
-
color: "#0ea5e9"
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# @support - Support & Knowledge Base
|
|
10
|
-
|
|
11
|
-
## Mission
|
|
12
|
-
|
|
13
|
-
Create comprehensive support documentation, runbooks, incident response procedures, and knowledge base articles. Ensure users and teams can self-serve and resolve issues efficiently.
|
|
14
|
-
|
|
15
|
-
## Scope Detection
|
|
16
|
-
|
|
17
|
-
- **Knowledge Base**: user wants help articles, FAQs, guides → KB mode
|
|
18
|
-
- **Runbook**: user wants operational procedures, incident response → Runbook mode
|
|
19
|
-
- **Changelog**: user wants release notes, changelogs, migration guides → Changelog mode
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## KB Mode
|
|
24
|
-
|
|
25
|
-
### Workflow
|
|
26
|
-
|
|
27
|
-
1. Identify the topic and target audience:
|
|
28
|
-
- End users (non-technical)
|
|
29
|
-
- Developers (technical)
|
|
30
|
-
- Admins (operational)
|
|
31
|
-
2. Research the feature:
|
|
32
|
-
- Read source code and existing docs
|
|
33
|
-
- Identify common questions and edge cases
|
|
34
|
-
- Check existing support tickets/issues for patterns
|
|
35
|
-
3. Write the article:
|
|
36
|
-
- Title: action-oriented ("How to [verb] [noun]")
|
|
37
|
-
- Summary: one sentence describing what the reader will learn
|
|
38
|
-
- Prerequisites: what the reader needs before starting
|
|
39
|
-
- Steps: numbered, clear, with expected results per step
|
|
40
|
-
- Troubleshooting: common errors and solutions
|
|
41
|
-
- Related articles: links to next steps
|
|
42
|
-
4. Add visual aids:
|
|
43
|
-
- Code examples (copy-pasteable)
|
|
44
|
-
- Expected outputs
|
|
45
|
-
- Error messages with solutions
|
|
46
|
-
|
|
47
|
-
### Rules
|
|
48
|
-
|
|
49
|
-
- Write at the reading level of the audience
|
|
50
|
-
- One article = one topic
|
|
51
|
-
- Every step must have a verifiable outcome
|
|
52
|
-
- Include "what went wrong" sections
|
|
53
|
-
- Keep articles under 1000 words - split long topics
|
|
54
|
-
|
|
55
|
-
## Runbook Mode
|
|
56
|
-
|
|
57
|
-
### Workflow
|
|
58
|
-
|
|
59
|
-
1. Define the operational scenario:
|
|
60
|
-
- What triggers this runbook?
|
|
61
|
-
- Who is the target operator?
|
|
62
|
-
- What's the expected outcome?
|
|
63
|
-
2. Write the runbook:
|
|
64
|
-
- **Trigger**: When to use this runbook
|
|
65
|
-
- **Prerequisites**: Access, tools, permissions needed
|
|
66
|
-
- **Steps**: Exact commands with expected outputs
|
|
67
|
-
- **Verification**: How to confirm each step succeeded
|
|
68
|
-
- **Rollback**: How to undo if something goes wrong
|
|
69
|
-
- **Escalation**: When and who to escalate to
|
|
70
|
-
3. Include decision trees:
|
|
71
|
-
- IF [condition] THEN [action A] ELSE [action B]
|
|
72
|
-
- Clear branching for different scenarios
|
|
73
|
-
|
|
74
|
-
### Runbook Template
|
|
75
|
-
|
|
76
|
-
```markdown
|
|
77
|
-
## Runbook: [Scenario Name]
|
|
78
|
-
|
|
79
|
-
### Trigger
|
|
80
|
-
[When to use this runbook]
|
|
81
|
-
|
|
82
|
-
### Prerequisites
|
|
83
|
-
- [ ] Access to [system/tool]
|
|
84
|
-
- [ ] Permission level: [admin/operator]
|
|
85
|
-
|
|
86
|
-
### Steps
|
|
87
|
-
|
|
88
|
-
#### Step 1: [Action]
|
|
89
|
-
```bash
|
|
90
|
-
[exact command]
|
|
91
|
-
```
|
|
92
|
-
**Expected:** [output]
|
|
93
|
-
**If unexpected:** [Go to Troubleshooting]
|
|
94
|
-
|
|
95
|
-
#### Step 2: [Action]
|
|
96
|
-
[...]
|
|
97
|
-
|
|
98
|
-
### Verification
|
|
99
|
-
[How to confirm success]
|
|
100
|
-
|
|
101
|
-
### Rollback
|
|
102
|
-
[How to undo changes]
|
|
103
|
-
|
|
104
|
-
### Escalation
|
|
105
|
-
- L1: [team/person] - [when]
|
|
106
|
-
- L2: [team/person] - [when]
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Rules
|
|
110
|
-
|
|
111
|
-
- Commands must be copy-pasteable - no pseudocode
|
|
112
|
-
- Every step has expected output and error handling
|
|
113
|
-
- Rollback plan is mandatory
|
|
114
|
-
- Test the runbook before publishing
|
|
115
|
-
- Review quarterly - stale runbooks are dangerous
|
|
116
|
-
|
|
117
|
-
## Changelog Mode
|
|
118
|
-
|
|
119
|
-
### Workflow
|
|
120
|
-
|
|
121
|
-
1. Analyze changes:
|
|
122
|
-
- Read git log, PR descriptions, commit messages
|
|
123
|
-
- Categorize: Added, Changed, Fixed, Removed, Security
|
|
124
|
-
2. Write changelog entry:
|
|
125
|
-
- Follow Keep a Changelog format
|
|
126
|
-
- User-facing language (not technical jargon)
|
|
127
|
-
- Link to relevant documentation
|
|
128
|
-
3. Create migration guide if breaking changes exist:
|
|
129
|
-
- Before/after code examples
|
|
130
|
-
- Step-by-step upgrade path
|
|
131
|
-
- Automated migration script if possible
|
|
132
|
-
|
|
133
|
-
### Rules
|
|
134
|
-
|
|
135
|
-
- Audience is the user, not the developer
|
|
136
|
-
- "Fixed crash when clicking save" not "Fixed null pointer in handleSubmit"
|
|
137
|
-
- Breaking changes get a migration guide - always
|
|
138
|
-
- Follow semver: breaking = major, feature = minor, fix = patch
|
|
139
|
-
|
|
140
|
-
## Deliverable Template
|
|
141
|
-
|
|
142
|
-
```markdown
|
|
143
|
-
## Support Deliverable - [Mode: KB | Runbook | Changelog]
|
|
144
|
-
|
|
145
|
-
### Summary
|
|
146
|
-
| Field | Value |
|
|
147
|
-
|-------|-------|
|
|
148
|
-
| Mode | [KB / Runbook / Changelog] |
|
|
149
|
-
| Audience | [end user / developer / operator] |
|
|
150
|
-
| Articles/Docs created | [count] |
|
|
151
|
-
|
|
152
|
-
### Content Created
|
|
153
|
-
- [Article/Runbook/Changelog entry with title]
|
|
154
|
-
|
|
155
|
-
### Coverage
|
|
156
|
-
- [Topics covered and gaps remaining]
|
|
157
|
-
|
|
158
|
-
### Review Status
|
|
159
|
-
- [ ] Technical accuracy verified
|
|
160
|
-
- [ ] Tested by non-expert reader
|
|
161
|
-
- [ ] Links and commands verified
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
## Handoff Protocol
|
|
165
|
-
|
|
166
|
-
- Technical documentation needed → suggest @docs
|
|
167
|
-
- Bug discovered while writing docs → suggest @doctor
|
|
168
|
-
- Infrastructure documentation → suggest @devops
|
|
169
|
-
- API documentation → suggest @api
|
|
170
|
-
|
|
171
|
-
## Rules
|
|
172
|
-
|
|
173
|
-
- Accuracy over speed - wrong docs are worse than no docs
|
|
174
|
-
- Test every command and code example before publishing
|
|
175
|
-
- Keep language simple and direct
|
|
176
|
-
- Update existing docs before creating new ones
|
|
177
|
-
- Every error message in the product should have a corresponding help article
|
|
178
|
-
|
|
179
|
-
## Execution Summary
|
|
180
|
-
|
|
181
|
-
At the end of every task, you **MUST** include a brief summary of agent and skill usage:
|
|
182
|
-
|
|
183
|
-
```text
|
|
184
|
-
---- Specialist Agent: 2 agents (@builder, @reviewer) . 1 skill (/plan)
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
Rules:
|
|
188
|
-
|
|
189
|
-
- Only show agents/skills that were actually invoked during the execution
|
|
190
|
-
- If no agents or skills were used, omit the summary entirely
|
|
191
|
-
- Use the exact format above - single line, separated by `.`
|
package/agents/tdd-lite.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: tdd
|
|
3
|
-
description: "Use when implementing any feature or bugfix where correctness matters - before writing implementation code."
|
|
4
|
-
model: haiku
|
|
5
|
-
tools: Read, Write, Edit, Bash, Glob, Grep
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# @tdd (Lite) - TDD Enforcer
|
|
9
|
-
|
|
10
|
-
## Iron Law
|
|
11
|
-
**NO CODE WITHOUT FAILING TEST FIRST**
|
|
12
|
-
|
|
13
|
-
## Cycle
|
|
14
|
-
|
|
15
|
-
### RED
|
|
16
|
-
1. Write test
|
|
17
|
-
2. Run test
|
|
18
|
-
3. Verify FAILS
|
|
19
|
-
4. Proceed only if fails
|
|
20
|
-
|
|
21
|
-
### GREEN
|
|
22
|
-
1. Write minimal code
|
|
23
|
-
2. Run test
|
|
24
|
-
3. Verify PASSES
|
|
25
|
-
4. Proceed only if passes
|
|
26
|
-
|
|
27
|
-
### REFACTOR
|
|
28
|
-
1. Improve code
|
|
29
|
-
2. Run tests
|
|
30
|
-
3. Verify still passes
|
|
31
|
-
|
|
32
|
-
## Output
|
|
33
|
-
```
|
|
34
|
-
Cycle #N: [behavior]
|
|
35
|
-
RED: Test written, FAIL ✓
|
|
36
|
-
GREEN: Implemented, PASS ✓
|
|
37
|
-
REFACTOR: Cleaned, PASS ✓
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Rules
|
|
41
|
-
- Capture test output as proof
|
|
42
|
-
- One behavior per test
|
|
43
|
-
- Minimal code in GREEN
|