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
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: discovery
|
|
3
|
-
description: "Use when starting a new product, feature, or initiative and you need structured discovery before planning - covers market analysis, technical feasibility, architecture, and go-to-market strategy."
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[product or feature description]"
|
|
6
|
-
allowed-tools: Read, Glob, Grep, Bash, Write
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# /discovery - Product & Feature Discovery
|
|
10
|
-
|
|
11
|
-
Structured discovery before planning. Covers feasibility, architecture, risks, and strategy in a single pass.
|
|
12
|
-
|
|
13
|
-
**Target:** $ARGUMENTS
|
|
14
|
-
|
|
15
|
-
## When to Use
|
|
16
|
-
|
|
17
|
-
- Starting a new product or major feature
|
|
18
|
-
- Evaluating technical feasibility of an initiative
|
|
19
|
-
- Before `/plan` when scope is unclear or ambitious
|
|
20
|
-
- When stakeholders need a go/no-go decision
|
|
21
|
-
- NOT for: small features, bug fixes, or tasks with clear scope
|
|
22
|
-
|
|
23
|
-
## Workflow
|
|
24
|
-
|
|
25
|
-
### Phase 0: Scope Definition
|
|
26
|
-
|
|
27
|
-
Define what we're discovering:
|
|
28
|
-
|
|
29
|
-
```markdown
|
|
30
|
-
## Discovery Scope
|
|
31
|
-
- **What:** [product/feature description]
|
|
32
|
-
- **Why:** [business motivation]
|
|
33
|
-
- **Who:** [target users]
|
|
34
|
-
- **Constraints:** [time, budget, team, tech]
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Phase 1: Technical Feasibility
|
|
38
|
-
|
|
39
|
-
Analyze the current codebase and evaluate feasibility:
|
|
40
|
-
|
|
41
|
-
1. **Codebase scan** - Identify existing modules, patterns, and dependencies
|
|
42
|
-
2. **Integration points** - What existing systems does this touch?
|
|
43
|
-
3. **Technology gaps** - What new libraries, services, or infrastructure is needed?
|
|
44
|
-
4. **Complexity estimate** - TRIVIAL / SIMPLE / MEDIUM / COMPLEX / EPIC
|
|
45
|
-
|
|
46
|
-
**Output:**
|
|
47
|
-
|
|
48
|
-
```markdown
|
|
49
|
-
## Technical Feasibility
|
|
50
|
-
|
|
51
|
-
### Existing Assets
|
|
52
|
-
- [Reusable modules, services, components]
|
|
53
|
-
|
|
54
|
-
### New Requirements
|
|
55
|
-
- [New packages, services, infrastructure]
|
|
56
|
-
|
|
57
|
-
### Integration Points
|
|
58
|
-
- [APIs, databases, third-party services]
|
|
59
|
-
|
|
60
|
-
### Complexity: [TRIVIAL | SIMPLE | MEDIUM | COMPLEX | EPIC]
|
|
61
|
-
|
|
62
|
-
### Feasibility: [GO | CONDITIONAL | NO-GO]
|
|
63
|
-
- [Reasoning with evidence]
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**BLOCKED** until feasibility assessment is complete with evidence.
|
|
67
|
-
|
|
68
|
-
### Phase 2: Architecture Assessment
|
|
69
|
-
|
|
70
|
-
Design the high-level architecture:
|
|
71
|
-
|
|
72
|
-
1. **Component map** - What modules/services are needed?
|
|
73
|
-
2. **Data model** - What entities, relationships, and storage?
|
|
74
|
-
3. **API surface** - What endpoints or interfaces?
|
|
75
|
-
4. **Non-functional requirements** - Performance, security, scalability targets
|
|
76
|
-
|
|
77
|
-
**Output:**
|
|
78
|
-
|
|
79
|
-
```markdown
|
|
80
|
-
## Architecture Assessment
|
|
81
|
-
|
|
82
|
-
### Component Map
|
|
83
|
-
- [Module 1]: [responsibility]
|
|
84
|
-
- [Module 2]: [responsibility]
|
|
85
|
-
|
|
86
|
-
### Data Model
|
|
87
|
-
- [Entity 1]: [key fields and relationships]
|
|
88
|
-
- [Entity 2]: [key fields and relationships]
|
|
89
|
-
|
|
90
|
-
### API Surface
|
|
91
|
-
- [Endpoint/Interface 1]: [purpose]
|
|
92
|
-
- [Endpoint/Interface 2]: [purpose]
|
|
93
|
-
|
|
94
|
-
### Non-Functional Requirements
|
|
95
|
-
| Requirement | Target | Rationale |
|
|
96
|
-
|-------------|--------|-----------|
|
|
97
|
-
| Response time | < 200ms p95 | User experience |
|
|
98
|
-
| Availability | 99.9% | Business SLA |
|
|
99
|
-
| Data retention | 90 days | Compliance |
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Phase 3: Risk Analysis
|
|
103
|
-
|
|
104
|
-
Identify and classify risks:
|
|
105
|
-
|
|
106
|
-
1. **Technical risks** - New technology, complex integrations, performance unknowns
|
|
107
|
-
2. **Business risks** - Market timing, regulatory, competition
|
|
108
|
-
3. **Operational risks** - Team capacity, skill gaps, dependencies on external teams
|
|
109
|
-
|
|
110
|
-
**Output:**
|
|
111
|
-
|
|
112
|
-
```markdown
|
|
113
|
-
## Risk Analysis
|
|
114
|
-
|
|
115
|
-
| Risk | Impact | Likelihood | Mitigation |
|
|
116
|
-
|------|--------|------------|------------|
|
|
117
|
-
| [Risk 1] | High/Med/Low | High/Med/Low | [Strategy] |
|
|
118
|
-
| [Risk 2] | High/Med/Low | High/Med/Low | [Strategy] |
|
|
119
|
-
|
|
120
|
-
### Blockers
|
|
121
|
-
- [Any hard blockers that prevent proceeding]
|
|
122
|
-
|
|
123
|
-
### Open Questions
|
|
124
|
-
- [Questions that need answers before planning]
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### Phase 4: Effort & Cost Estimate
|
|
128
|
-
|
|
129
|
-
Estimate the work required:
|
|
130
|
-
|
|
131
|
-
1. **Task decomposition** - Break into major work streams
|
|
132
|
-
2. **Agent mapping** - Which agents handle which work
|
|
133
|
-
3. **Token estimate** - Approximate AI cost
|
|
134
|
-
4. **Timeline** - Suggested phases and milestones
|
|
135
|
-
|
|
136
|
-
**Output:**
|
|
137
|
-
|
|
138
|
-
```markdown
|
|
139
|
-
## Effort Estimate
|
|
140
|
-
|
|
141
|
-
### Work Streams
|
|
142
|
-
| Stream | Agent(s) | Estimated Tokens | Priority |
|
|
143
|
-
|--------|----------|------------------|----------|
|
|
144
|
-
| [Stream 1] | @builder, @data | ~X tokens | P0 |
|
|
145
|
-
| [Stream 2] | @api, @builder | ~X tokens | P1 |
|
|
146
|
-
| [Stream 3] | @tester | ~X tokens | P1 |
|
|
147
|
-
|
|
148
|
-
### Total Estimate
|
|
149
|
-
- Tokens: ~X total (~$Y)
|
|
150
|
-
- Suggested phases: [count]
|
|
151
|
-
- Recommended approach: Sequential / Parallel / Hybrid
|
|
152
|
-
|
|
153
|
-
### Suggested Timeline
|
|
154
|
-
- Phase 1: [scope] - [duration]
|
|
155
|
-
- Phase 2: [scope] - [duration]
|
|
156
|
-
- Phase 3: [scope] - [duration]
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### Phase 5: Discovery Verdict
|
|
160
|
-
|
|
161
|
-
Synthesize all findings into a go/no-go recommendation:
|
|
162
|
-
|
|
163
|
-
```markdown
|
|
164
|
-
## Discovery Verdict
|
|
165
|
-
|
|
166
|
-
### Recommendation: [GO | CONDITIONAL GO | NO-GO]
|
|
167
|
-
|
|
168
|
-
### Summary
|
|
169
|
-
[2-3 sentence executive summary]
|
|
170
|
-
|
|
171
|
-
### Key Findings
|
|
172
|
-
1. [Most important finding]
|
|
173
|
-
2. [Second finding]
|
|
174
|
-
3. [Third finding]
|
|
175
|
-
|
|
176
|
-
### Conditions (if CONDITIONAL GO)
|
|
177
|
-
- [Condition that must be met]
|
|
178
|
-
- [Another condition]
|
|
179
|
-
|
|
180
|
-
### Next Steps
|
|
181
|
-
- [ ] [Immediate action 1]
|
|
182
|
-
- [ ] [Immediate action 2]
|
|
183
|
-
- [ ] Run `/plan [refined scope]` to create implementation plan
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
## Output
|
|
187
|
-
|
|
188
|
-
```
|
|
189
|
-
---- /discovery ----
|
|
190
|
-
Target: [product/feature]
|
|
191
|
-
Feasibility: [GO | CONDITIONAL | NO-GO]
|
|
192
|
-
Complexity: [TRIVIAL | SIMPLE | MEDIUM | COMPLEX | EPIC]
|
|
193
|
-
Estimated tokens: ~X (~$Y)
|
|
194
|
-
Risks: [count] (H:[n] M:[n] L:[n])
|
|
195
|
-
|
|
196
|
-
Verdict: [GO | CONDITIONAL GO | NO-GO]
|
|
197
|
-
|
|
198
|
-
[Full discovery document above]
|
|
199
|
-
|
|
200
|
-
Next: /plan [refined scope] (if GO)
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
## Anti-Rationalization
|
|
204
|
-
|
|
205
|
-
| Excuse | Reality |
|
|
206
|
-
|--------|---------|
|
|
207
|
-
| "We already know what to build" | Discovery reveals unknowns you don't know you have. |
|
|
208
|
-
| "Discovery is too slow" | Discovering a fatal flaw in 30 min beats building for 2 weeks then pivoting. |
|
|
209
|
-
| "The scope is obvious" | Obvious scope still has hidden integration points, data model decisions, and risks. |
|
|
210
|
-
| "We can discover as we build" | That's called rework. Discovery-first prevents 3-5x cost overruns. |
|
|
211
|
-
|
|
212
|
-
## Rules
|
|
213
|
-
|
|
214
|
-
1. **Evidence-based** - Every finding must reference codebase scans, docs, or research
|
|
215
|
-
2. **No assumptions** - Flag unknowns as open questions, don't guess
|
|
216
|
-
3. **Concrete estimates** - Token counts, timelines, and costs - not "it depends"
|
|
217
|
-
4. **Actionable verdict** - GO/NO-GO with clear reasoning
|
|
218
|
-
5. **Flows into /plan** - Discovery output is the input for planning
|
package/skills/estimate/SKILL.md
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: estimate
|
|
3
|
-
description: "Use when planning a feature and need to understand token cost, time estimate, or complexity before committing to implementation."
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[feature description]"
|
|
6
|
-
allowed-tools: Read, Glob, Grep
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# /estimate - Cost Estimation
|
|
10
|
-
|
|
11
|
-
Estimate token usage and cost before implementing a feature.
|
|
12
|
-
|
|
13
|
-
**Target:** $ARGUMENTS
|
|
14
|
-
|
|
15
|
-
## Workflow
|
|
16
|
-
|
|
17
|
-
### Step 1: Analyze Scope
|
|
18
|
-
|
|
19
|
-
Search codebase to understand scope:
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
# Find affected files
|
|
23
|
-
# Count existing lines
|
|
24
|
-
# Identify patterns
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### Step 2: Classify Complexity
|
|
28
|
-
|
|
29
|
-
| Level | Files | Lines | Tokens (est.) | Cost (est.) |
|
|
30
|
-
|-------|-------|-------|---------------|-------------|
|
|
31
|
-
| TRIVIAL | 1-2 | <50 | ~2,000 | ~$0.03 |
|
|
32
|
-
| SIMPLE | 3-5 | <200 | ~5,000 | ~$0.08 |
|
|
33
|
-
| MEDIUM | 6-15 | <1,000 | ~15,000 | ~$0.23 |
|
|
34
|
-
| COMPLEX | 15+ | 1,000+ | ~40,000 | ~$0.60 |
|
|
35
|
-
|
|
36
|
-
### Step 3: Break Down Costs
|
|
37
|
-
|
|
38
|
-
```markdown
|
|
39
|
-
## Cost Breakdown
|
|
40
|
-
|
|
41
|
-
### Planning
|
|
42
|
-
- @planner: ~2,000 tokens
|
|
43
|
-
- Design doc (if complex): ~3,000 tokens
|
|
44
|
-
|
|
45
|
-
### Implementation
|
|
46
|
-
- File 1 (service.ts): ~1,500 tokens
|
|
47
|
-
- File 2 (adapter.ts): ~1,000 tokens
|
|
48
|
-
- File 3 (component.tsx): ~2,500 tokens
|
|
49
|
-
- File 4 (tests): ~1,500 tokens
|
|
50
|
-
|
|
51
|
-
### Review
|
|
52
|
-
- @reviewer: ~2,000 tokens
|
|
53
|
-
|
|
54
|
-
### Total
|
|
55
|
-
- Estimated: ~13,500 tokens
|
|
56
|
-
- Cost: ~$0.20
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### Step 4: Compare Models
|
|
60
|
-
|
|
61
|
-
| Model | Tokens | Cost | Best For |
|
|
62
|
-
|-------|--------|------|----------|
|
|
63
|
-
| Haiku | ~13,500 | ~$0.01 | Simple tasks |
|
|
64
|
-
| Sonnet | ~13,500 | ~$0.20 | Standard work |
|
|
65
|
-
| Opus | ~13,500 | ~$0.60 | Complex logic |
|
|
66
|
-
|
|
67
|
-
### Step 5: Provide Recommendations
|
|
68
|
-
|
|
69
|
-
```markdown
|
|
70
|
-
## Recommendations
|
|
71
|
-
|
|
72
|
-
**Full Mode (Sonnet):**
|
|
73
|
-
- Total: ~$0.20
|
|
74
|
-
- Best for: Production code, complex features
|
|
75
|
-
|
|
76
|
-
**Lite Mode (Haiku):**
|
|
77
|
-
- Total: ~$0.01
|
|
78
|
-
- Best for: Prototyping, simple changes
|
|
79
|
-
|
|
80
|
-
**Hybrid Approach:**
|
|
81
|
-
- Use Haiku for boilerplate (~$0.005)
|
|
82
|
-
- Use Sonnet for logic (~$0.10)
|
|
83
|
-
- Total: ~$0.105 (47% savings)
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Output
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
──── /estimate ────
|
|
90
|
-
Feature: [name]
|
|
91
|
-
Complexity: [TRIVIAL | SIMPLE | MEDIUM | COMPLEX]
|
|
92
|
-
|
|
93
|
-
Scope:
|
|
94
|
-
- Files: ~N
|
|
95
|
-
- Lines: ~N
|
|
96
|
-
- New code: ~N lines
|
|
97
|
-
- Modified: ~N lines
|
|
98
|
-
|
|
99
|
-
Token Estimate:
|
|
100
|
-
- Planning: ~N tokens
|
|
101
|
-
- Implementation: ~N tokens
|
|
102
|
-
- Review: ~N tokens
|
|
103
|
-
- Total: ~N tokens
|
|
104
|
-
|
|
105
|
-
Cost Estimate:
|
|
106
|
-
| Mode | Cost |
|
|
107
|
-
|------|------|
|
|
108
|
-
| Lite (Haiku) | ~$X.XX |
|
|
109
|
-
| Full (Sonnet) | ~$X.XX |
|
|
110
|
-
| Hybrid | ~$X.XX |
|
|
111
|
-
|
|
112
|
-
Recommendation: [which mode to use]
|
|
113
|
-
|
|
114
|
-
Comparison:
|
|
115
|
-
- Superpowers estimate for similar task: ~$X.XX
|
|
116
|
-
- Specialist Agent estimate: ~$X.XX
|
|
117
|
-
- Savings: ~X%
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Cost Reference
|
|
121
|
-
|
|
122
|
-
### Per 1M Tokens (Approximate)
|
|
123
|
-
|
|
124
|
-
| Model | Input | Output |
|
|
125
|
-
|-------|-------|--------|
|
|
126
|
-
| Haiku | $0.25 | $1.25 |
|
|
127
|
-
| Sonnet | $3.00 | $15.00 |
|
|
128
|
-
| Opus | $15.00 | $75.00 |
|
|
129
|
-
|
|
130
|
-
### Typical Tasks
|
|
131
|
-
|
|
132
|
-
| Task | Tokens | Sonnet Cost |
|
|
133
|
-
|------|--------|-------------|
|
|
134
|
-
| Fix typo | ~500 | ~$0.01 |
|
|
135
|
-
| Add field | ~2,000 | ~$0.03 |
|
|
136
|
-
| New component | ~5,000 | ~$0.08 |
|
|
137
|
-
| New module | ~15,000 | ~$0.23 |
|
|
138
|
-
| Full feature | ~40,000 | ~$0.60 |
|
|
139
|
-
|
|
140
|
-
## Anti-Rationalization
|
|
141
|
-
|
|
142
|
-
| Excuse | Reality |
|
|
143
|
-
|--------|---------|
|
|
144
|
-
| "Estimating wastes time, just start building" | Building without estimates wastes 10x more when you pick the wrong model or approach. |
|
|
145
|
-
| "I can eyeball the complexity" | Eyeballing misses hidden dependencies. A structured estimate catches them. |
|
|
146
|
-
| "Cost doesn't matter for this task" | Every token has a cost. Knowing the cost helps choose Haiku vs Sonnet vs Opus. |
|
|
147
|
-
| "Estimates are always wrong anyway" | Rough estimates beat no estimates. Even ±50% accuracy saves money. |
|
|
148
|
-
|
|
149
|
-
## Rules
|
|
150
|
-
|
|
151
|
-
1. **Always estimate before complex work**
|
|
152
|
-
2. **Show comparison with competitors**
|
|
153
|
-
3. **Recommend appropriate model**
|
|
154
|
-
4. **Include hybrid options when beneficial**
|
package/skills/finish/SKILL.md
DELETED
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: finish
|
|
3
|
-
description: "Use when feature implementation is complete and the branch is ready for final validation, PR creation, or merge."
|
|
4
|
-
user-invocable: true
|
|
5
|
-
argument-hint: "[branch-name]"
|
|
6
|
-
allowed-tools: Read, Bash, Glob, Grep
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# /finish - Finalize Branch
|
|
10
|
-
|
|
11
|
-
Complete development branch with final validation and metrics.
|
|
12
|
-
|
|
13
|
-
**Branch:** $ARGUMENTS (or current branch)
|
|
14
|
-
|
|
15
|
-
## Workflow
|
|
16
|
-
|
|
17
|
-
### Step 1: Pre-Flight Checks
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
# Check current branch
|
|
21
|
-
git branch --show-current
|
|
22
|
-
|
|
23
|
-
# Check for uncommitted changes
|
|
24
|
-
git status
|
|
25
|
-
|
|
26
|
-
# Check for untracked files
|
|
27
|
-
git status --porcelain
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
**Required:**
|
|
31
|
-
- [ ] All changes committed
|
|
32
|
-
- [ ] No untracked files (or intentionally ignored)
|
|
33
|
-
- [ ] Not on main/master branch
|
|
34
|
-
|
|
35
|
-
### Step 2: Run Full Validation
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
# TypeScript check
|
|
39
|
-
npx tsc --noEmit
|
|
40
|
-
|
|
41
|
-
# Lint
|
|
42
|
-
npm run lint
|
|
43
|
-
|
|
44
|
-
# Tests
|
|
45
|
-
npm test
|
|
46
|
-
|
|
47
|
-
# Build (if applicable)
|
|
48
|
-
npm run build
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
**Output:**
|
|
52
|
-
```
|
|
53
|
-
──── Validation ────
|
|
54
|
-
TypeScript: PASS ✓
|
|
55
|
-
Lint: PASS ✓
|
|
56
|
-
Tests: PASS ✓ (42/42)
|
|
57
|
-
Build: PASS ✓
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### Step 3: Generate Diff Summary
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
# Files changed
|
|
64
|
-
git diff main --stat
|
|
65
|
-
|
|
66
|
-
# Commits in branch
|
|
67
|
-
git log main..HEAD --oneline
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Output:**
|
|
71
|
-
```
|
|
72
|
-
──── Changes ────
|
|
73
|
-
Files changed: 12
|
|
74
|
-
Insertions: +450
|
|
75
|
-
Deletions: -120
|
|
76
|
-
|
|
77
|
-
Commits:
|
|
78
|
-
abc1234 feat: add user service
|
|
79
|
-
def5678 feat: add user component
|
|
80
|
-
ghi9012 test: add user tests
|
|
81
|
-
jkl3456 refactor: clean up types
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### Step 4: Session Metrics
|
|
85
|
-
|
|
86
|
-
```markdown
|
|
87
|
-
──── Session Metrics ────
|
|
88
|
-
Branch: feature/user-profile
|
|
89
|
-
Duration: ~45 minutes
|
|
90
|
-
Commits: 4
|
|
91
|
-
|
|
92
|
-
Files:
|
|
93
|
-
Created: 5
|
|
94
|
-
Modified: 7
|
|
95
|
-
Deleted: 0
|
|
96
|
-
|
|
97
|
-
Code:
|
|
98
|
-
Lines added: 450
|
|
99
|
-
Lines removed: 120
|
|
100
|
-
Net change: +330
|
|
101
|
-
|
|
102
|
-
Tests:
|
|
103
|
-
Added: 8
|
|
104
|
-
Total passing: 42/42
|
|
105
|
-
Coverage: 87%
|
|
106
|
-
|
|
107
|
-
Agents used:
|
|
108
|
-
@planner: 1 invocation
|
|
109
|
-
@builder: 3 invocations
|
|
110
|
-
@reviewer: 1 invocation
|
|
111
|
-
|
|
112
|
-
Estimated tokens: ~18,500
|
|
113
|
-
Estimated cost: ~$0.28
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Step 5: Cleanup Checkpoints
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
# List checkpoints
|
|
120
|
-
git tag -l "checkpoint/*"
|
|
121
|
-
|
|
122
|
-
# Offer to clean
|
|
123
|
-
"Clean up checkpoint tags? (y/n)"
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
If yes:
|
|
127
|
-
```bash
|
|
128
|
-
git tag -l "checkpoint/*" | xargs -n 1 git tag -d
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### Step 6: Prepare for Merge
|
|
132
|
-
|
|
133
|
-
```markdown
|
|
134
|
-
──── Ready for Merge ────
|
|
135
|
-
|
|
136
|
-
Branch: feature/user-profile
|
|
137
|
-
Base: main
|
|
138
|
-
Status: Ready ✓
|
|
139
|
-
|
|
140
|
-
Pre-merge checklist:
|
|
141
|
-
- [x] All tests passing
|
|
142
|
-
- [x] No TypeScript errors
|
|
143
|
-
- [x] Code reviewed
|
|
144
|
-
- [x] Checkpoints cleaned
|
|
145
|
-
|
|
146
|
-
Next steps:
|
|
147
|
-
1. Push: git push -u origin feature/user-profile
|
|
148
|
-
2. Create PR: gh pr create
|
|
149
|
-
3. Merge: After approval
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
## Output
|
|
153
|
-
|
|
154
|
-
```
|
|
155
|
-
──── /finish ────
|
|
156
|
-
Branch: [branch-name]
|
|
157
|
-
|
|
158
|
-
Validation:
|
|
159
|
-
TypeScript: PASS ✓
|
|
160
|
-
Lint: PASS ✓
|
|
161
|
-
Tests: PASS ✓ (N/N)
|
|
162
|
-
Build: PASS ✓
|
|
163
|
-
|
|
164
|
-
Changes:
|
|
165
|
-
Files: N changed
|
|
166
|
-
Lines: +N / -N
|
|
167
|
-
Commits: N
|
|
168
|
-
|
|
169
|
-
Metrics:
|
|
170
|
-
Tokens: ~N
|
|
171
|
-
Cost: ~$X.XX
|
|
172
|
-
Agents: N used
|
|
173
|
-
|
|
174
|
-
Checkpoints: [cleaned/kept]
|
|
175
|
-
|
|
176
|
-
Status: READY FOR MERGE ✓
|
|
177
|
-
|
|
178
|
-
Commands:
|
|
179
|
-
git push -u origin [branch]
|
|
180
|
-
gh pr create --title "[title]" --body "[body]"
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
## Validation Failures
|
|
184
|
-
|
|
185
|
-
If validation fails:
|
|
186
|
-
|
|
187
|
-
```
|
|
188
|
-
──── /finish ────
|
|
189
|
-
Branch: feature/user-profile
|
|
190
|
-
|
|
191
|
-
Validation:
|
|
192
|
-
TypeScript: FAIL ✗
|
|
193
|
-
Error: src/user.ts:42 - Property 'name' is missing
|
|
194
|
-
Lint: PASS ✓
|
|
195
|
-
Tests: FAIL ✗
|
|
196
|
-
2 tests failing
|
|
197
|
-
|
|
198
|
-
Status: NOT READY ✗
|
|
199
|
-
|
|
200
|
-
To fix:
|
|
201
|
-
1. Resolve TypeScript errors
|
|
202
|
-
2. Fix failing tests
|
|
203
|
-
3. Run /finish again
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
## Anti-Rationalization
|
|
207
|
-
|
|
208
|
-
| Excuse | Reality |
|
|
209
|
-
|--------|---------|
|
|
210
|
-
| "Tests pass locally, good enough" | CI runs in a clean environment. Your local cache hides broken imports and missing deps. |
|
|
211
|
-
| "I'll fix the lint errors in the next PR" | Technical debt compounds. Fix now or carry it forever. |
|
|
212
|
-
| "The build takes too long to run" | A broken build in production takes even longer to fix. Run it. |
|
|
213
|
-
| "I already reviewed the code mentally" | Mental review misses what automated checks catch. Run the full suite. |
|
|
214
|
-
|
|
215
|
-
## Rules
|
|
216
|
-
|
|
217
|
-
1. **Never skip validation** - All checks must pass
|
|
218
|
-
2. **Always show metrics** - Transparency in cost
|
|
219
|
-
3. **Offer cleanup** - Keep repo clean
|
|
220
|
-
4. **Don't auto-merge** - Human decision
|