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.
- package/.claude-plugin/marketplace.json +77 -0
- package/.claude-plugin/plugin.json +43 -0
- package/.codex/INSTALL.md +113 -0
- package/.cursor-plugin/marketplace.json +9 -0
- package/.cursor-plugin/plugin.json +35 -0
- package/.opencode/INSTALL.md +123 -0
- package/README.md +204 -263
- package/agents/analyst-lite.md +48 -0
- package/agents/analyst.md +391 -0
- package/agents/api-lite.md +43 -0
- package/agents/api.md +145 -0
- package/agents/cloud-lite.md +1 -1
- package/agents/cloud.md +1 -1
- package/agents/data-lite.md +1 -1
- package/agents/data.md +1 -1
- package/agents/debugger-lite.md +46 -0
- package/agents/debugger.md +406 -0
- package/agents/deps-lite.md +41 -0
- package/agents/deps.md +206 -0
- package/agents/designer-lite.md +1 -1
- package/agents/designer.md +1 -1
- package/agents/devops-lite.md +1 -1
- package/agents/devops.md +1 -1
- package/agents/docs-lite.md +42 -0
- package/agents/docs.md +197 -0
- package/agents/executor-lite.md +61 -0
- package/agents/executor.md +456 -0
- package/agents/explorer-lite.md +1 -1
- package/agents/explorer.md +1 -1
- package/agents/finance-lite.md +1 -1
- package/agents/finance.md +1 -1
- package/agents/i18n-lite.md +44 -0
- package/agents/i18n.md +198 -0
- package/agents/legal-lite.md +1 -1
- package/agents/legal.md +1 -1
- package/agents/memory.md +240 -0
- package/agents/orchestrator-lite.md +40 -0
- package/agents/orchestrator.md +387 -0
- package/agents/pair-lite.md +38 -0
- package/agents/pair.md +308 -0
- package/agents/perf-lite.md +42 -0
- package/agents/perf.md +141 -0
- package/agents/planner-lite.md +59 -0
- package/agents/planner.md +265 -0
- package/agents/refactor-lite.md +42 -0
- package/agents/refactor.md +178 -0
- package/agents/scout-lite.md +37 -0
- package/agents/scout.md +222 -0
- package/agents/security-lite.md +1 -1
- package/agents/security.md +1 -1
- package/agents/starter-lite.md +1 -1
- package/agents/starter.md +1 -1
- package/agents/tdd-lite.md +43 -0
- package/agents/tdd.md +317 -0
- package/agents/tester-lite.md +1 -1
- package/agents/tester.md +1 -1
- package/cli/index.mjs +636 -15
- package/hooks/after-review.mjs +130 -0
- package/hooks/after-task.mjs +117 -0
- package/hooks/before-plan.mjs +155 -0
- package/hooks/before-review.mjs +139 -0
- package/hooks/hooks.json +81 -0
- package/hooks/native/auto-dispatch.mjs +197 -0
- package/hooks/native/auto-format.mjs +193 -0
- package/hooks/native/security-config.json +31 -0
- package/hooks/native/security-guard.mjs +267 -0
- package/hooks/native/session-context.mjs +136 -0
- package/hooks/native/settings-template.json +50 -0
- package/hooks/native/utils.mjs +62 -0
- package/hooks/on-error.mjs +129 -0
- package/hooks/session-end.mjs +185 -0
- package/hooks/session-start.mjs +154 -0
- package/package.json +16 -3
- package/packs/nextjs/agents/builder.md +24 -1
- package/packs/nextjs/agents/doctor.md +70 -4
- package/packs/nextjs/agents/migrator.md +24 -1
- package/packs/nextjs/agents/reviewer.md +93 -3
- package/packs/nextjs/agents-lite/builder.md +1 -1
- package/packs/nextjs/agents-lite/doctor.md +1 -1
- package/packs/nextjs/agents-lite/migrator.md +1 -1
- package/packs/nextjs/agents-lite/reviewer.md +1 -1
- package/packs/nextjs/skills/dev-create-component/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-hook/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-module/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-service/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-create-test/SKILL.md +1 -1
- package/packs/nextjs/skills/dev-generate-types/SKILL.md +1 -1
- package/packs/nextjs/skills/docs-onboard/SKILL.md +1 -1
- package/packs/nextjs/skills/migration-migrate-component/SKILL.md +1 -1
- package/packs/nextjs/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/nextjs/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/nextjs/skills/review-fix-violations/SKILL.md +1 -1
- package/packs/nextjs/skills/review-review/SKILL.md +1 -1
- package/packs/react/agents/builder.md +24 -1
- package/packs/react/agents/doctor.md +107 -13
- package/packs/react/agents/migrator.md +24 -1
- package/packs/react/agents/reviewer.md +113 -9
- package/packs/react/agents-lite/builder.md +1 -1
- package/packs/react/agents-lite/doctor.md +1 -1
- package/packs/react/agents-lite/migrator.md +1 -1
- package/packs/react/agents-lite/reviewer.md +1 -1
- package/packs/react/skills/dev-create-component/SKILL.md +1 -1
- package/packs/react/skills/dev-create-hook/SKILL.md +1 -1
- package/packs/react/skills/dev-create-module/SKILL.md +1 -1
- package/packs/react/skills/dev-create-service/SKILL.md +1 -1
- package/packs/react/skills/dev-create-test/SKILL.md +1 -1
- package/packs/react/skills/dev-generate-types/SKILL.md +1 -1
- package/packs/react/skills/docs-onboard/SKILL.md +1 -1
- package/packs/react/skills/migration-migrate-component/SKILL.md +1 -1
- package/packs/react/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/react/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/react/skills/review-fix-violations/SKILL.md +1 -1
- package/packs/react/skills/review-review/SKILL.md +1 -1
- package/packs/svelte/agents/builder.md +24 -1
- package/packs/svelte/agents/doctor.md +70 -4
- package/packs/svelte/agents/migrator.md +24 -1
- package/packs/svelte/agents/reviewer.md +93 -3
- package/packs/svelte/agents-lite/builder.md +1 -1
- package/packs/svelte/agents-lite/doctor.md +1 -1
- package/packs/svelte/agents-lite/migrator.md +1 -1
- package/packs/svelte/agents-lite/reviewer.md +1 -1
- package/packs/svelte/skills/dev-create-component/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-module/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-service/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-store/SKILL.md +1 -1
- package/packs/svelte/skills/dev-create-test/SKILL.md +1 -1
- package/packs/svelte/skills/dev-generate-types/SKILL.md +1 -1
- package/packs/svelte/skills/docs-onboard/SKILL.md +1 -1
- package/packs/svelte/skills/migration-migrate-component/SKILL.md +1 -1
- package/packs/svelte/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/svelte/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/svelte/skills/review-fix-violations/SKILL.md +1 -1
- package/packs/svelte/skills/review-review/SKILL.md +1 -1
- package/packs/vue/agents/builder.md +24 -1
- package/packs/vue/agents/doctor.md +107 -13
- package/packs/vue/agents/migrator.md +24 -1
- package/packs/vue/agents/reviewer.md +113 -9
- package/packs/vue/agents-lite/builder.md +1 -1
- package/packs/vue/agents-lite/doctor.md +1 -1
- package/packs/vue/agents-lite/migrator.md +1 -1
- package/packs/vue/agents-lite/reviewer.md +1 -1
- package/packs/vue/skills/dev-create-component/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-composable/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-module/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-service/SKILL.md +1 -1
- package/packs/vue/skills/dev-create-test/SKILL.md +1 -1
- package/packs/vue/skills/dev-generate-types/SKILL.md +1 -1
- package/packs/vue/skills/docs-onboard/SKILL.md +1 -1
- package/packs/vue/skills/migration-migrate-component/SKILL.md +1 -1
- package/packs/vue/skills/migration-migrate-module/SKILL.md +1 -1
- package/packs/vue/skills/review-check-architecture/SKILL.md +1 -1
- package/packs/vue/skills/review-fix-violations/SKILL.md +1 -1
- package/packs/vue/skills/review-review/SKILL.md +1 -1
- package/skills/audit/SKILL.md +169 -0
- package/skills/brainstorm/SKILL.md +245 -0
- package/skills/checkpoint/SKILL.md +209 -0
- package/skills/debug/SKILL.md +210 -0
- package/skills/estimate/SKILL.md +145 -0
- package/skills/finish/SKILL.md +211 -0
- package/skills/health/SKILL.md +242 -0
- package/skills/learn/SKILL.md +260 -0
- package/skills/migrate-framework/SKILL.md +172 -0
- package/skills/onboard/SKILL.md +168 -0
- package/skills/plan/SKILL.md +132 -0
- package/skills/recall/SKILL.md +150 -0
- package/skills/remember/SKILL.md +158 -0
- package/skills/tdd/SKILL.md +156 -0
- package/skills/tutorial/SKILL.md +346 -0
- package/skills/verify/SKILL.md +168 -0
- package/skills/worktree/SKILL.md +168 -0
- package/skills/write-skill/SKILL.md +213 -0
- package/templates/industry/ecommerce.md +127 -0
- package/templates/industry/fintech.md +161 -0
- package/templates/industry/saas.md +134 -0
- package/templates/session-memory.json +48 -0
- 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
|
+
```
|