specialist-agent 1.6.0 → 2.0.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.
Files changed (176) hide show
  1. package/.claude-plugin/marketplace.json +77 -0
  2. package/.claude-plugin/plugin.json +43 -0
  3. package/.codex/INSTALL.md +113 -0
  4. package/.cursor-plugin/marketplace.json +9 -0
  5. package/.cursor-plugin/plugin.json +35 -0
  6. package/.opencode/INSTALL.md +123 -0
  7. package/README.md +204 -263
  8. package/agents/analyst-lite.md +48 -0
  9. package/agents/analyst.md +391 -0
  10. package/agents/api-lite.md +43 -0
  11. package/agents/api.md +145 -0
  12. package/agents/cloud-lite.md +1 -1
  13. package/agents/cloud.md +1 -1
  14. package/agents/data-lite.md +1 -1
  15. package/agents/data.md +1 -1
  16. package/agents/debugger-lite.md +46 -0
  17. package/agents/debugger.md +406 -0
  18. package/agents/deps-lite.md +41 -0
  19. package/agents/deps.md +206 -0
  20. package/agents/designer-lite.md +1 -1
  21. package/agents/designer.md +1 -1
  22. package/agents/devops-lite.md +1 -1
  23. package/agents/devops.md +1 -1
  24. package/agents/docs-lite.md +42 -0
  25. package/agents/docs.md +197 -0
  26. package/agents/executor-lite.md +61 -0
  27. package/agents/executor.md +456 -0
  28. package/agents/explorer-lite.md +1 -1
  29. package/agents/explorer.md +1 -1
  30. package/agents/finance-lite.md +1 -1
  31. package/agents/finance.md +1 -1
  32. package/agents/i18n-lite.md +44 -0
  33. package/agents/i18n.md +198 -0
  34. package/agents/legal-lite.md +1 -1
  35. package/agents/legal.md +1 -1
  36. package/agents/memory.md +240 -0
  37. package/agents/orchestrator-lite.md +40 -0
  38. package/agents/orchestrator.md +387 -0
  39. package/agents/pair-lite.md +38 -0
  40. package/agents/pair.md +308 -0
  41. package/agents/perf-lite.md +42 -0
  42. package/agents/perf.md +141 -0
  43. package/agents/planner-lite.md +59 -0
  44. package/agents/planner.md +265 -0
  45. package/agents/refactor-lite.md +42 -0
  46. package/agents/refactor.md +178 -0
  47. package/agents/scout-lite.md +37 -0
  48. package/agents/scout.md +222 -0
  49. package/agents/security-lite.md +1 -1
  50. package/agents/security.md +1 -1
  51. package/agents/starter-lite.md +1 -1
  52. package/agents/starter.md +1 -1
  53. package/agents/tdd-lite.md +43 -0
  54. package/agents/tdd.md +317 -0
  55. package/agents/tester-lite.md +1 -1
  56. package/agents/tester.md +1 -1
  57. package/cli/index.mjs +636 -15
  58. package/hooks/after-review.mjs +130 -0
  59. package/hooks/after-task.mjs +117 -0
  60. package/hooks/before-plan.mjs +155 -0
  61. package/hooks/before-review.mjs +139 -0
  62. package/hooks/hooks.json +81 -0
  63. package/hooks/native/auto-dispatch.mjs +197 -0
  64. package/hooks/native/auto-format.mjs +193 -0
  65. package/hooks/native/security-config.json +31 -0
  66. package/hooks/native/security-guard.mjs +267 -0
  67. package/hooks/native/session-context.mjs +136 -0
  68. package/hooks/native/settings-template.json +50 -0
  69. package/hooks/native/utils.mjs +62 -0
  70. package/hooks/on-error.mjs +129 -0
  71. package/hooks/session-end.mjs +185 -0
  72. package/hooks/session-start.mjs +154 -0
  73. package/package.json +16 -3
  74. package/packs/nextjs/agents/builder.md +24 -1
  75. package/packs/nextjs/agents/doctor.md +70 -4
  76. package/packs/nextjs/agents/migrator.md +24 -1
  77. package/packs/nextjs/agents/reviewer.md +93 -3
  78. package/packs/nextjs/agents-lite/builder.md +1 -1
  79. package/packs/nextjs/agents-lite/doctor.md +1 -1
  80. package/packs/nextjs/agents-lite/migrator.md +1 -1
  81. package/packs/nextjs/agents-lite/reviewer.md +1 -1
  82. package/packs/nextjs/skills/dev-create-component/SKILL.md +1 -1
  83. package/packs/nextjs/skills/dev-create-hook/SKILL.md +1 -1
  84. package/packs/nextjs/skills/dev-create-module/SKILL.md +1 -1
  85. package/packs/nextjs/skills/dev-create-service/SKILL.md +1 -1
  86. package/packs/nextjs/skills/dev-create-test/SKILL.md +1 -1
  87. package/packs/nextjs/skills/dev-generate-types/SKILL.md +1 -1
  88. package/packs/nextjs/skills/docs-onboard/SKILL.md +1 -1
  89. package/packs/nextjs/skills/migration-migrate-component/SKILL.md +1 -1
  90. package/packs/nextjs/skills/migration-migrate-module/SKILL.md +1 -1
  91. package/packs/nextjs/skills/review-check-architecture/SKILL.md +1 -1
  92. package/packs/nextjs/skills/review-fix-violations/SKILL.md +1 -1
  93. package/packs/nextjs/skills/review-review/SKILL.md +1 -1
  94. package/packs/react/agents/builder.md +24 -1
  95. package/packs/react/agents/doctor.md +107 -13
  96. package/packs/react/agents/migrator.md +24 -1
  97. package/packs/react/agents/reviewer.md +113 -9
  98. package/packs/react/agents-lite/builder.md +1 -1
  99. package/packs/react/agents-lite/doctor.md +1 -1
  100. package/packs/react/agents-lite/migrator.md +1 -1
  101. package/packs/react/agents-lite/reviewer.md +1 -1
  102. package/packs/react/skills/dev-create-component/SKILL.md +1 -1
  103. package/packs/react/skills/dev-create-hook/SKILL.md +1 -1
  104. package/packs/react/skills/dev-create-module/SKILL.md +1 -1
  105. package/packs/react/skills/dev-create-service/SKILL.md +1 -1
  106. package/packs/react/skills/dev-create-test/SKILL.md +1 -1
  107. package/packs/react/skills/dev-generate-types/SKILL.md +1 -1
  108. package/packs/react/skills/docs-onboard/SKILL.md +1 -1
  109. package/packs/react/skills/migration-migrate-component/SKILL.md +1 -1
  110. package/packs/react/skills/migration-migrate-module/SKILL.md +1 -1
  111. package/packs/react/skills/review-check-architecture/SKILL.md +1 -1
  112. package/packs/react/skills/review-fix-violations/SKILL.md +1 -1
  113. package/packs/react/skills/review-review/SKILL.md +1 -1
  114. package/packs/svelte/agents/builder.md +24 -1
  115. package/packs/svelte/agents/doctor.md +70 -4
  116. package/packs/svelte/agents/migrator.md +24 -1
  117. package/packs/svelte/agents/reviewer.md +93 -3
  118. package/packs/svelte/agents-lite/builder.md +1 -1
  119. package/packs/svelte/agents-lite/doctor.md +1 -1
  120. package/packs/svelte/agents-lite/migrator.md +1 -1
  121. package/packs/svelte/agents-lite/reviewer.md +1 -1
  122. package/packs/svelte/skills/dev-create-component/SKILL.md +1 -1
  123. package/packs/svelte/skills/dev-create-module/SKILL.md +1 -1
  124. package/packs/svelte/skills/dev-create-service/SKILL.md +1 -1
  125. package/packs/svelte/skills/dev-create-store/SKILL.md +1 -1
  126. package/packs/svelte/skills/dev-create-test/SKILL.md +1 -1
  127. package/packs/svelte/skills/dev-generate-types/SKILL.md +1 -1
  128. package/packs/svelte/skills/docs-onboard/SKILL.md +1 -1
  129. package/packs/svelte/skills/migration-migrate-component/SKILL.md +1 -1
  130. package/packs/svelte/skills/migration-migrate-module/SKILL.md +1 -1
  131. package/packs/svelte/skills/review-check-architecture/SKILL.md +1 -1
  132. package/packs/svelte/skills/review-fix-violations/SKILL.md +1 -1
  133. package/packs/svelte/skills/review-review/SKILL.md +1 -1
  134. package/packs/vue/agents/builder.md +24 -1
  135. package/packs/vue/agents/doctor.md +107 -13
  136. package/packs/vue/agents/migrator.md +24 -1
  137. package/packs/vue/agents/reviewer.md +113 -9
  138. package/packs/vue/agents-lite/builder.md +1 -1
  139. package/packs/vue/agents-lite/doctor.md +1 -1
  140. package/packs/vue/agents-lite/migrator.md +1 -1
  141. package/packs/vue/agents-lite/reviewer.md +1 -1
  142. package/packs/vue/skills/dev-create-component/SKILL.md +1 -1
  143. package/packs/vue/skills/dev-create-composable/SKILL.md +1 -1
  144. package/packs/vue/skills/dev-create-module/SKILL.md +1 -1
  145. package/packs/vue/skills/dev-create-service/SKILL.md +1 -1
  146. package/packs/vue/skills/dev-create-test/SKILL.md +1 -1
  147. package/packs/vue/skills/dev-generate-types/SKILL.md +1 -1
  148. package/packs/vue/skills/docs-onboard/SKILL.md +1 -1
  149. package/packs/vue/skills/migration-migrate-component/SKILL.md +1 -1
  150. package/packs/vue/skills/migration-migrate-module/SKILL.md +1 -1
  151. package/packs/vue/skills/review-check-architecture/SKILL.md +1 -1
  152. package/packs/vue/skills/review-fix-violations/SKILL.md +1 -1
  153. package/packs/vue/skills/review-review/SKILL.md +1 -1
  154. package/skills/audit/SKILL.md +169 -0
  155. package/skills/brainstorm/SKILL.md +245 -0
  156. package/skills/checkpoint/SKILL.md +209 -0
  157. package/skills/debug/SKILL.md +210 -0
  158. package/skills/estimate/SKILL.md +145 -0
  159. package/skills/finish/SKILL.md +211 -0
  160. package/skills/health/SKILL.md +242 -0
  161. package/skills/learn/SKILL.md +260 -0
  162. package/skills/migrate-framework/SKILL.md +172 -0
  163. package/skills/onboard/SKILL.md +168 -0
  164. package/skills/plan/SKILL.md +132 -0
  165. package/skills/recall/SKILL.md +150 -0
  166. package/skills/remember/SKILL.md +158 -0
  167. package/skills/tdd/SKILL.md +156 -0
  168. package/skills/tutorial/SKILL.md +346 -0
  169. package/skills/verify/SKILL.md +168 -0
  170. package/skills/worktree/SKILL.md +168 -0
  171. package/skills/write-skill/SKILL.md +213 -0
  172. package/templates/industry/ecommerce.md +127 -0
  173. package/templates/industry/fintech.md +161 -0
  174. package/templates/industry/saas.md +134 -0
  175. package/templates/session-memory.json +48 -0
  176. package/templates/skill-template/SKILL.md +90 -0
@@ -0,0 +1,134 @@
1
+ # SaaS Template
2
+
3
+ Quick start template for Software-as-a-Service applications.
4
+
5
+ ## Recommended Agents
6
+
7
+ | Agent | Purpose |
8
+ |-------|---------|
9
+ | `@starter` | Scaffold the project |
10
+ | `@builder` | Create modules |
11
+ | `@security` | Multi-tenant auth |
12
+ | `@finance` | Subscription billing |
13
+ | `@data` | Multi-tenant database |
14
+ | `@devops` | Infrastructure setup |
15
+
16
+ ## Core Modules
17
+
18
+ ```text
19
+ src/
20
+ ├── modules/
21
+ │ ├── auth/ # Authentication
22
+ │ │ ├── types.ts
23
+ │ │ ├── service.ts
24
+ │ │ └── components/
25
+ │ │ ├── LoginForm.tsx
26
+ │ │ ├── RegisterForm.tsx
27
+ │ │ ├── ForgotPassword.tsx
28
+ │ │ └── MagicLink.tsx
29
+ │ │
30
+ │ ├── tenants/ # Multi-tenancy
31
+ │ │ ├── types.ts
32
+ │ │ ├── service.ts
33
+ │ │ ├── middleware.ts
34
+ │ │ └── components/
35
+ │ │ ├── TenantSwitcher.tsx
36
+ │ │ └── TenantSettings.tsx
37
+ │ │
38
+ │ ├── billing/ # Subscription management
39
+ │ │ ├── types.ts
40
+ │ │ ├── service.ts
41
+ │ │ └── components/
42
+ │ │ ├── PricingTable.tsx
43
+ │ │ ├── BillingPortal.tsx
44
+ │ │ ├── UsageMetrics.tsx
45
+ │ │ └── InvoiceList.tsx
46
+ │ │
47
+ │ ├── users/ # User management
48
+ │ │ ├── types.ts
49
+ │ │ ├── service.ts
50
+ │ │ └── components/
51
+ │ │ ├── UserList.tsx
52
+ │ │ ├── InviteUser.tsx
53
+ │ │ └── RoleManager.tsx
54
+ │ │
55
+ │ ├── settings/ # App settings
56
+ │ │ └── components/
57
+ │ │ ├── GeneralSettings.tsx
58
+ │ │ ├── SecuritySettings.tsx
59
+ │ │ └── IntegrationSettings.tsx
60
+ │ │
61
+ │ └── dashboard/ # Main dashboard
62
+ │ └── components/
63
+ │ ├── DashboardLayout.tsx
64
+ │ ├── MetricsCards.tsx
65
+ │ └── ActivityFeed.tsx
66
+ ```
67
+
68
+ ## Key Features
69
+
70
+ ### Multi-Tenancy
71
+ - Subdomain routing (tenant.app.com)
72
+ - Data isolation
73
+ - Tenant-specific settings
74
+ - Cross-tenant admin
75
+
76
+ ### Authentication
77
+ - Email/password
78
+ - Magic links
79
+ - SSO (Google, GitHub)
80
+ - 2FA support
81
+
82
+ ### Subscription Billing
83
+ - Multiple plans (Free, Pro, Enterprise)
84
+ - Usage-based pricing
85
+ - Seat-based pricing
86
+ - Trial periods
87
+
88
+ ### User Management
89
+ - Role-based access (Admin, Member, Viewer)
90
+ - Team invitations
91
+ - Activity logs
92
+
93
+ ## Database Schema
94
+
95
+ ```sql
96
+ -- Tenants
97
+ tenants (id, name, slug, plan_id, trial_ends_at, created_at)
98
+ tenant_settings (tenant_id, key, value)
99
+
100
+ -- Users
101
+ users (id, email, password_hash, name, avatar_url)
102
+ tenant_users (tenant_id, user_id, role, invited_at, joined_at)
103
+
104
+ -- Billing
105
+ plans (id, name, price_monthly, price_yearly, features)
106
+ subscriptions (id, tenant_id, plan_id, status, current_period_end)
107
+ invoices (id, tenant_id, amount, status, paid_at)
108
+
109
+ -- Usage
110
+ usage_records (id, tenant_id, metric, value, recorded_at)
111
+ ```
112
+
113
+ ## Quick Start
114
+
115
+ ```bash
116
+ # Create project
117
+ "Use @starter to create a SaaS app with Next.js + Supabase"
118
+
119
+ # Setup auth
120
+ "Use @security to implement multi-tenant authentication"
121
+
122
+ # Add billing
123
+ "Use @finance to integrate Stripe subscriptions"
124
+
125
+ # Build dashboard
126
+ "Use @builder to create dashboard module"
127
+ ```
128
+
129
+ ## Performance Targets
130
+
131
+ - Dashboard load: < 2s
132
+ - API response: < 200ms (p95)
133
+ - Webhook processing: < 5s
134
+ - Report generation: < 10s
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "https://specialist-agent.dev/schemas/session-memory-v1.json",
3
+ "version": "1.0",
4
+ "projectId": "",
5
+ "created": "",
6
+ "updated": "",
7
+
8
+ "decisions": [],
9
+
10
+ "preferences": {
11
+ "codeStyle": {
12
+ "quotes": "single",
13
+ "semicolons": false,
14
+ "indent": 2,
15
+ "trailingComma": "es5"
16
+ },
17
+ "naming": {
18
+ "components": "PascalCase",
19
+ "functions": "camelCase",
20
+ "constants": "UPPER_SNAKE_CASE",
21
+ "files": "kebab-case"
22
+ },
23
+ "testing": {
24
+ "framework": "",
25
+ "coverageTarget": 80
26
+ },
27
+ "documentation": {
28
+ "language": "english",
29
+ "style": "jsdoc"
30
+ }
31
+ },
32
+
33
+ "context": {
34
+ "team": "",
35
+ "stage": "",
36
+ "deadline": null,
37
+ "notes": ""
38
+ },
39
+
40
+ "patterns": {
41
+ "avoided": [],
42
+ "preferred": []
43
+ },
44
+
45
+ "lessons": [],
46
+
47
+ "agentHistory": []
48
+ }
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: my-skill
3
+ description: "Use when [specific triggering conditions — what symptom or situation activates this skill]"
4
+ user-invocable: true
5
+ argument-hint: "[arguments description]"
6
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
7
+ ---
8
+
9
+ # /my-skill — Skill Title
10
+
11
+ Core principle in 1-2 sentences. What this skill enforces or enables.
12
+
13
+ **Target:** $ARGUMENTS
14
+
15
+ ## When to Use
16
+
17
+ - [Situation or symptom 1]
18
+ - [Situation or symptom 2]
19
+ - [Situation or symptom 3]
20
+ - NOT for: [when NOT to use this skill]
21
+
22
+ ## Workflow
23
+
24
+ ### Step 1: [Action Name]
25
+
26
+ 1. [Specific instruction]
27
+ 2. [Specific instruction]
28
+ 3. [Specific instruction]
29
+
30
+ **Output:**
31
+ ```markdown
32
+ ## Step 1 Result
33
+ [Expected output format]
34
+ ```
35
+
36
+ **BLOCKED** until [condition is met].
37
+
38
+ ### Step 2: [Action Name]
39
+
40
+ 1. [Specific instruction]
41
+ 2. [Specific instruction]
42
+
43
+ **Output:**
44
+ ```markdown
45
+ ## Step 2 Result
46
+ [Expected output format]
47
+ ```
48
+
49
+ ### Step 3: [Action Name]
50
+
51
+ 1. [Specific instruction]
52
+ 2. [Specific instruction]
53
+
54
+ ## Verification Protocol
55
+
56
+ **Before claiming this skill execution is complete:**
57
+
58
+ 1. [What command to run as proof]
59
+ 2. [What output to check]
60
+ 3. [What condition must be true]
61
+
62
+ ## Anti-Rationalization
63
+
64
+ | Excuse | Reality |
65
+ |--------|---------|
66
+ | "[Common excuse 1]" | [Why it's wrong and what to do instead] |
67
+ | "[Common excuse 2]" | [Why it's wrong and what to do instead] |
68
+ | "[Common excuse 3]" | [Why it's wrong and what to do instead] |
69
+ | "[Common excuse 4]" | [Why it's wrong and what to do instead] |
70
+ | "[Common excuse 5]" | [Why it's wrong and what to do instead] |
71
+
72
+ ## Rules
73
+
74
+ 1. **[Rule 1]** — [Brief explanation]
75
+ 2. **[Rule 2]** — [Brief explanation]
76
+ 3. **[Rule 3]** — [Brief explanation]
77
+
78
+ ## Output
79
+
80
+ ```
81
+ ──── /my-skill ────
82
+ Target: $ARGUMENTS
83
+
84
+ Step 1: [result] ✓
85
+ Step 2: [result] ✓
86
+ Step 3: [result] ✓
87
+
88
+ ──── Summary ────
89
+ [Key metrics or outcomes]
90
+ ```