superkit-mcp-server 1.1.3 → 1.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/SUPERKIT.md +4 -4
- package/build/index.js +30 -19
- package/commands/README.md +122 -0
- package/commands/ask.toml +72 -0
- package/commands/brainstorm.toml +120 -0
- package/commands/chat.toml +73 -0
- package/commands/code-preview.toml +38 -0
- package/commands/code.toml +29 -0
- package/commands/content.toml +201 -0
- package/commands/cook.toml +78 -0
- package/commands/copywrite.toml +132 -0
- package/commands/db.toml +193 -0
- package/commands/debug.toml +167 -0
- package/commands/design.toml +159 -0
- package/commands/dev-rules.toml +14 -0
- package/commands/do.toml +117 -0
- package/commands/doc-rules.toml +14 -0
- package/commands/docs.toml +148 -0
- package/commands/fix.toml +440 -0
- package/commands/fullstack.toml +176 -0
- package/commands/git.toml +236 -0
- package/commands/help.toml +84 -0
- package/commands/integrate.toml +127 -0
- package/commands/journal.toml +137 -0
- package/commands/kit-setup.toml +41 -0
- package/commands/mcp.toml +183 -0
- package/commands/orchestration.toml +15 -0
- package/commands/plan.toml +172 -0
- package/commands/pm.toml +149 -0
- package/commands/pr.toml +51 -0
- package/commands/project.toml +33 -0
- package/commands/research.toml +118 -0
- package/commands/review-pr.toml +64 -0
- package/commands/review.toml +191 -0
- package/commands/scout-ext.toml +97 -0
- package/commands/scout.toml +80 -0
- package/commands/screenshot.toml +65 -0
- package/commands/session.toml +98 -0
- package/commands/skill.toml +385 -0
- package/commands/status.toml +23 -0
- package/commands/team.toml +56 -0
- package/commands/test.toml +165 -0
- package/commands/ticket.toml +71 -0
- package/commands/use.toml +106 -0
- package/commands/video.toml +84 -0
- package/commands/watzup.toml +71 -0
- package/commands/workflow.toml +14 -0
- package/package.json +4 -2
- package/{workflows → skills/workflows}/README.md +3 -3
- package/{workflows → skills/workflows}/development-rules.md +5 -0
- package/{workflows → skills/workflows}/documentation-management.md +5 -0
- package/{workflows → skills/workflows}/orchestration-protocol.md +5 -0
- package/{workflows → skills/workflows}/primary-workflow.md +5 -0
- /package/{workflows → skills/workflows}/adr.md +0 -0
- /package/{workflows → skills/workflows}/changelog.md +0 -0
- /package/{workflows → skills/workflows}/compound.md +0 -0
- /package/{workflows → skills/workflows}/compound_health.md +0 -0
- /package/{workflows → skills/workflows}/create-agent-skill.md +0 -0
- /package/{workflows → skills/workflows}/cycle.md +0 -0
- /package/{workflows → skills/workflows}/deploy-docs.md +0 -0
- /package/{workflows → skills/workflows}/doc.md +0 -0
- /package/{workflows → skills/workflows}/explore.md +0 -0
- /package/{workflows → skills/workflows}/generate_command.md +0 -0
- /package/{workflows → skills/workflows}/heal-skill.md +0 -0
- /package/{workflows → skills/workflows}/housekeeping.md +0 -0
- /package/{workflows → skills/workflows}/kit-setup.md +0 -0
- /package/{workflows → skills/workflows}/map-codebase.md +0 -0
- /package/{workflows → skills/workflows}/plan-compound.md +0 -0
- /package/{workflows → skills/workflows}/plan_review.md +0 -0
- /package/{workflows → skills/workflows}/promote_pattern.md +0 -0
- /package/{workflows → skills/workflows}/release-docs.md +0 -0
- /package/{workflows → skills/workflows}/report-bug.md +0 -0
- /package/{workflows → skills/workflows}/reproduce-bug.md +0 -0
- /package/{workflows → skills/workflows}/resolve_pr.md +0 -0
- /package/{workflows → skills/workflows}/resolve_todo.md +0 -0
- /package/{workflows → skills/workflows}/review-compound.md +0 -0
- /package/{workflows → skills/workflows}/skill-review.md +0 -0
- /package/{workflows → skills/workflows}/specs.md +0 -0
- /package/{workflows → skills/workflows}/triage-sprint.md +0 -0
- /package/{workflows → skills/workflows}/triage.md +0 -0
- /package/{workflows → skills/workflows}/work.md +0 -0
- /package/{workflows → skills/workflows}/xcode-test.md +0 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
description = "MCP tools management - browser, docs, scraping (MCP Manager Agent)"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
# 🔌 MCP MANAGER AGENT
|
|
5
|
+
|
|
6
|
+
MCP task:
|
|
7
|
+
|
|
8
|
+
**Task:** {{args}}
|
|
9
|
+
|
|
10
|
+
## WHAT IS MCP?
|
|
11
|
+
Model Context Protocol - external tools for:
|
|
12
|
+
- Browser automation (screenshots, forms)
|
|
13
|
+
- Docs lookup (library documentation)
|
|
14
|
+
- Web scraping (data extraction)
|
|
15
|
+
- DevTools Protocol access
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## MODE DETECTION
|
|
20
|
+
|
|
21
|
+
| Mode | Trigger | Action |
|
|
22
|
+
|------|---------|--------|
|
|
23
|
+
| **SCREENSHOT** | "screenshot", "visual" | Capture webpage |
|
|
24
|
+
| **FORM** | "form", "fill", "submit" | Form automation |
|
|
25
|
+
| **DOCS** | "docs", "lookup", "find" | Query library docs |
|
|
26
|
+
| **SCRAPE** | "scrape", "extract", "data" | Web scraping |
|
|
27
|
+
| **STATUS** | "status", "check", "monitor" | Health check |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## SCREENSHOT MODE - Visual Testing
|
|
32
|
+
|
|
33
|
+
### Compare Staging vs Prod
|
|
34
|
+
```bash
|
|
35
|
+
# Capture screenshots
|
|
36
|
+
mcp screenshot https://staging.app.com/dashboard --viewport 1920x1080
|
|
37
|
+
mcp screenshot https://prod.app.com/dashboard --viewport 1920x1080
|
|
38
|
+
|
|
39
|
+
# Compare
|
|
40
|
+
mcp diff staging.png prod.png --highlight
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Viewport Options
|
|
44
|
+
| Size | Value |
|
|
45
|
+
|------|-------|
|
|
46
|
+
| Desktop | `1920x1080` |
|
|
47
|
+
| Tablet | `768x1024` |
|
|
48
|
+
| Mobile | `375x667` |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## FORM MODE - Automation
|
|
53
|
+
|
|
54
|
+
### Fill and Submit
|
|
55
|
+
```javascript
|
|
56
|
+
// Using Puppeteer/Playwright via MCP
|
|
57
|
+
await page.goto('https://example.com/contact');
|
|
58
|
+
await page.fill('#name', 'John Doe');
|
|
59
|
+
await page.fill('#email', 'john@example.com');
|
|
60
|
+
await page.fill('#message', 'Test message');
|
|
61
|
+
await page.click('button[type="submit"]');
|
|
62
|
+
await page.screenshot({ path: 'confirmation.png' });
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Chain Operations
|
|
66
|
+
Navigate → Fill form → Submit → Screenshot confirmation
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## DOCS MODE - Library Lookup
|
|
71
|
+
|
|
72
|
+
### Query Documentation
|
|
73
|
+
```bash
|
|
74
|
+
# Supabase auth
|
|
75
|
+
mcp docs supabase "OAuth providers MFA setup"
|
|
76
|
+
|
|
77
|
+
# Next.js
|
|
78
|
+
mcp docs nextjs "app router server components"
|
|
79
|
+
|
|
80
|
+
# React
|
|
81
|
+
mcp docs react "useEffect cleanup"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Supported Libraries
|
|
85
|
+
- Next.js
|
|
86
|
+
- React
|
|
87
|
+
- Supabase
|
|
88
|
+
- Prisma
|
|
89
|
+
- Tailwind
|
|
90
|
+
- (via context7/docs servers)
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## SCRAPE MODE - Data Extraction
|
|
95
|
+
|
|
96
|
+
### Extract Table Data
|
|
97
|
+
```javascript
|
|
98
|
+
// Get all products
|
|
99
|
+
const products = await page.evaluate(() => {
|
|
100
|
+
return [...document.querySelectorAll('table tr')].map(row => ({
|
|
101
|
+
name: row.querySelector('td:nth-child(1)')?.textContent,
|
|
102
|
+
price: row.querySelector('td:nth-child(2)')?.textContent
|
|
103
|
+
}));
|
|
104
|
+
});
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Output Format
|
|
108
|
+
```json
|
|
109
|
+
[
|
|
110
|
+
{"name": "Product A", "price": "$99"},
|
|
111
|
+
{"name": "Product B", "price": "$149"}
|
|
112
|
+
]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## STATUS MODE - Monitoring
|
|
118
|
+
|
|
119
|
+
### Health Check
|
|
120
|
+
```bash
|
|
121
|
+
# Navigate and verify
|
|
122
|
+
mcp navigate https://status.service.com
|
|
123
|
+
mcp assert ".status-indicator" --text "All Systems Operational"
|
|
124
|
+
mcp screenshot-if-red ".status-indicator.error"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## CONFIGURATION
|
|
130
|
+
|
|
131
|
+
### Gemini CLI MCP Settings
|
|
132
|
+
Location: `~/.gemini/settings.json`
|
|
133
|
+
|
|
134
|
+
```json
|
|
135
|
+
{
|
|
136
|
+
"mcpServers": {
|
|
137
|
+
"puppeteer": {
|
|
138
|
+
"command": "npx",
|
|
139
|
+
"args": ["-y", "@anthropic/mcp-server-puppeteer"]
|
|
140
|
+
},
|
|
141
|
+
"context7": {
|
|
142
|
+
"command": "npx",
|
|
143
|
+
"args": ["-y", "context7-mcp"],
|
|
144
|
+
"env": {
|
|
145
|
+
"CONTEXT7_API_KEY": "your-key"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## PRO TIPS
|
|
155
|
+
|
|
156
|
+
1. **Install Gemini CLI** - Required for MCP execution
|
|
157
|
+
2. **Chain operations** - Multi-step in one prompt
|
|
158
|
+
3. **Default viewport** - 1920x1080, specify for mobile
|
|
159
|
+
4. **Error handling** - Agent reports with fixes
|
|
160
|
+
5. **Screenshot defaults** - Full-page captures
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## ERROR HANDLING
|
|
165
|
+
|
|
166
|
+
| Error | Fix |
|
|
167
|
+
|-------|-----|
|
|
168
|
+
| Timeout | Check URL, increase timeout |
|
|
169
|
+
| Connection | Verify settings.json config |
|
|
170
|
+
| Element not found | Check selector, wait for load |
|
|
171
|
+
| Auth required | Add cookies/headers |
|
|
172
|
+
|
|
173
|
+
> **Key Takeaway:** Access 100+ MCP tools via natural language. Browser automation stays isolated from main context.
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
# ---
|
|
177
|
+
# USAGE:
|
|
178
|
+
# /mcp screenshot staging.app.com vs prod
|
|
179
|
+
# /mcp fill contact form with test data
|
|
180
|
+
# /mcp docs supabase OAuth setup
|
|
181
|
+
# /mcp scrape product table from competitor.com
|
|
182
|
+
# /mcp status check monitoring page
|
|
183
|
+
# ---
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
description = "View agent orchestration protocols"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
You are an Orchestration Expert. Read and explain the orchestration protocols.
|
|
5
|
+
|
|
6
|
+
@{.agent/workflows/orchestration-protocol.md}
|
|
7
|
+
|
|
8
|
+
Based on the protocols above, help the user with: {{args}}
|
|
9
|
+
|
|
10
|
+
If no specific question, explain:
|
|
11
|
+
1. Sequential vs Parallel orchestration
|
|
12
|
+
2. Hybrid patterns
|
|
13
|
+
3. MCP tools for coordination
|
|
14
|
+
4. Best practices
|
|
15
|
+
"""
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
description = "Create detailed implementation plans (Planner Agent)"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
# 📋 PLANNER AGENT
|
|
5
|
+
|
|
6
|
+
Create implementation plan for:
|
|
7
|
+
|
|
8
|
+
**Task:** {{args}}
|
|
9
|
+
|
|
10
|
+
## MODE DETECTION
|
|
11
|
+
Based on input, select suitable mode:
|
|
12
|
+
|
|
13
|
+
| Mode | Trigger | Description |
|
|
14
|
+
|------|---------|-------|
|
|
15
|
+
| **STANDARD** | default | Basic planning |
|
|
16
|
+
| **TWO** | "two", "vs", "or", "compare" | 2 approaches comparison |
|
|
17
|
+
| **HARD** | "hard", "complex", "bug", "race", "memory" | Complex fix planning |
|
|
18
|
+
| **CRO** | "cro", "conversion", "signup", "checkout" | Conversion optimization |
|
|
19
|
+
| **CI** | "ci", "github", "actions", "pipeline" | CI/CD fix planning |
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## STANDARD PLAN OUTPUT
|
|
24
|
+
|
|
25
|
+
### # Implementation Plan: [Feature Name]
|
|
26
|
+
|
|
27
|
+
### ## Approach
|
|
28
|
+
- Why this solution
|
|
29
|
+
- Alternatives considered
|
|
30
|
+
|
|
31
|
+
### ## Steps
|
|
32
|
+
1. **Install Dependencies** (5 min)
|
|
33
|
+
```bash
|
|
34
|
+
npm install [packages]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
2. **Core Implementation** (20 min)
|
|
38
|
+
- Files to create: `src/feature/service.ts`
|
|
39
|
+
- Files to modify: `src/server.ts`
|
|
40
|
+
```typescript
|
|
41
|
+
// Code snippet showing structure
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
3. **Integration** (15 min)
|
|
45
|
+
- Where to hook into existing code
|
|
46
|
+
|
|
47
|
+
4. **Testing** (20 min)
|
|
48
|
+
- Test files to create
|
|
49
|
+
- Coverage requirements
|
|
50
|
+
|
|
51
|
+
### ## Timeline
|
|
52
|
+
| Phase | Duration |
|
|
53
|
+
|-------|----------|
|
|
54
|
+
| Dependencies | 5 min |
|
|
55
|
+
| Implementation | 20 min |
|
|
56
|
+
| Integration | 15 min |
|
|
57
|
+
| Testing | 20 min |
|
|
58
|
+
| **Total** | **1 hour** |
|
|
59
|
+
|
|
60
|
+
### ## Rollback Plan
|
|
61
|
+
Step-by-step recovery if issues occur.
|
|
62
|
+
|
|
63
|
+
### ## Security Checklist
|
|
64
|
+
- [ ] Input validation
|
|
65
|
+
- [ ] Auth checks
|
|
66
|
+
- [ ] Rate limiting
|
|
67
|
+
- [ ] Error handling
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## HARD MODE (Complex Bug Fix)
|
|
72
|
+
When fixing complex bugs:
|
|
73
|
+
|
|
74
|
+
### Root Cause Analysis
|
|
75
|
+
1. Symptom description
|
|
76
|
+
2. Reproduction steps
|
|
77
|
+
3. Affected components
|
|
78
|
+
|
|
79
|
+
### Investigation Steps
|
|
80
|
+
1. [Step 1] - What to check
|
|
81
|
+
2. [Step 2] - What to verify
|
|
82
|
+
|
|
83
|
+
### Fix Plan
|
|
84
|
+
- Files to modify
|
|
85
|
+
- Code changes with snippets
|
|
86
|
+
- Test cases to add
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## CRO MODE (Conversion Optimization)
|
|
91
|
+
|
|
92
|
+
### Current State
|
|
93
|
+
- Metric: [Current conversion %]
|
|
94
|
+
- User flow analysis
|
|
95
|
+
|
|
96
|
+
### Improvements
|
|
97
|
+
| Change | Expected Impact | Effort |
|
|
98
|
+
|--------|-----------------|--------|
|
|
99
|
+
| [Change 1] | +X% | Low |
|
|
100
|
+
| [Change 2] | +Y% | Medium |
|
|
101
|
+
|
|
102
|
+
### A/B Test Plan
|
|
103
|
+
- Control vs Variant
|
|
104
|
+
- Sample size
|
|
105
|
+
- Duration
|
|
106
|
+
|
|
107
|
+
### Tracking Implementation
|
|
108
|
+
- Events to track
|
|
109
|
+
- Analytics setup
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## CI MODE (CI/CD Fix)
|
|
114
|
+
|
|
115
|
+
### Log Analysis
|
|
116
|
+
```
|
|
117
|
+
[Key error lines from logs]
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Root Cause
|
|
121
|
+
[Why it failed]
|
|
122
|
+
|
|
123
|
+
### Fix Steps
|
|
124
|
+
1. [Fix step 1]
|
|
125
|
+
2. [Fix step 2]
|
|
126
|
+
|
|
127
|
+
### Prevention
|
|
128
|
+
- [ ] Add test case
|
|
129
|
+
- [ ] Update workflow
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## TWO APPROACHES MODE
|
|
134
|
+
|
|
135
|
+
### Approach A: [Name]
|
|
136
|
+
[Standard plan sections]
|
|
137
|
+
|
|
138
|
+
### Approach B: [Name]
|
|
139
|
+
[Standard plan sections]
|
|
140
|
+
|
|
141
|
+
### Comparison Table
|
|
142
|
+
| Criteria | Approach A | Approach B |
|
|
143
|
+
|----------|------------|------------|
|
|
144
|
+
| Effort | ⭐⭐⭐ | ⭐⭐ |
|
|
145
|
+
| Risk | ⭐ | ⭐⭐ |
|
|
146
|
+
| Scalability | ⭐⭐ | ⭐⭐⭐ |
|
|
147
|
+
|
|
148
|
+
### Recommendation
|
|
149
|
+
[Which to choose and why]
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## OUTPUT
|
|
154
|
+
Save to: `plans/[feature-name]-YYYYMMDD.md`
|
|
155
|
+
|
|
156
|
+
## NEXT STEPS
|
|
157
|
+
```bash
|
|
158
|
+
# Ready? Run:
|
|
159
|
+
/cook @plans/[your-plan].md
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
> **Key Takeaway:** Planning prevents waste. 10 minutes of analysis saves hours of refactoring.
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
# ---
|
|
166
|
+
# USAGE:
|
|
167
|
+
# /plan Add user authentication
|
|
168
|
+
# /plan:two REST vs GraphQL for mobile app
|
|
169
|
+
# /plan:hard Fix checkout race condition causing double charges
|
|
170
|
+
# /plan:cro Improve signup conversion rate
|
|
171
|
+
# /plan:ci Fix failing GitHub Actions workflow
|
|
172
|
+
# ---
|
package/commands/pm.toml
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
description = "Project management and orchestration (Project Manager Agent)"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
# 📊 PROJECT MANAGER AGENT
|
|
5
|
+
|
|
6
|
+
PM task:
|
|
7
|
+
|
|
8
|
+
**Task:** {{args}}
|
|
9
|
+
|
|
10
|
+
## MODE DETECTION
|
|
11
|
+
|
|
12
|
+
| Mode | Trigger | Action |
|
|
13
|
+
|------|---------|--------|
|
|
14
|
+
| **STATUS** | "status", "watzup", "report" | Weekly status report |
|
|
15
|
+
| **REVIEW** | "review", "verify" | Feature completion check |
|
|
16
|
+
| **PLAN** | "sprint", "plan", "velocity" | Sprint planning |
|
|
17
|
+
| **COORD** | "coordinate", "orchestrate" | Multi-agent coordination |
|
|
18
|
+
| **BLOCKER** | "blocked", "issue" | Escalation & timeline adjust |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## STATUS MODE - Weekly Report
|
|
23
|
+
|
|
24
|
+
### 📈 Progress Report
|
|
25
|
+
| Metric | Value | Target | Status |
|
|
26
|
+
|--------|-------|--------|--------|
|
|
27
|
+
| Features completed | X | Y | ✅/⚠️ |
|
|
28
|
+
| Story points | X | Y | ✅/⚠️ |
|
|
29
|
+
| Test coverage | X% | 80% | ✅/⚠️ |
|
|
30
|
+
| Open blockers | X | 0 | ✅/⚠️ |
|
|
31
|
+
|
|
32
|
+
### ✅ Completed This Week
|
|
33
|
+
- [Feature A] - PR #123
|
|
34
|
+
- [Feature B] - PR #124
|
|
35
|
+
|
|
36
|
+
### 🔄 In Progress
|
|
37
|
+
- [Feature C] - 70% complete
|
|
38
|
+
- [Feature D] - Blocked (see below)
|
|
39
|
+
|
|
40
|
+
### 🚧 Blockers
|
|
41
|
+
- [Issue X] - Waiting on API
|
|
42
|
+
|
|
43
|
+
### 📋 Next Priorities
|
|
44
|
+
1. [Priority A]
|
|
45
|
+
2. [Priority B]
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## REVIEW MODE - Feature Completion
|
|
50
|
+
|
|
51
|
+
### Quality Gates Checklist
|
|
52
|
+
- [ ] **Implementation** - Code complete
|
|
53
|
+
- [ ] **Tests** - Coverage >80%
|
|
54
|
+
- [ ] **Review** - PR approved
|
|
55
|
+
- [ ] **Docs** - Updated
|
|
56
|
+
- [ ] **Security** - No vulnerabilities
|
|
57
|
+
- [ ] **Performance** - Benchmarked
|
|
58
|
+
- [ ] **Commit** - Clean history
|
|
59
|
+
|
|
60
|
+
### Verdict
|
|
61
|
+
❌ Not ready / ⚠️ Needs work / ✅ Ready to deploy
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## PLAN MODE - Sprint Planning
|
|
66
|
+
|
|
67
|
+
### Velocity Analysis
|
|
68
|
+
| Sprint | Points | Completed | Velocity |
|
|
69
|
+
|--------|--------|-----------|----------|
|
|
70
|
+
| Week -2 | 20 | 18 | 90% |
|
|
71
|
+
| Week -1 | 22 | 20 | 91% |
|
|
72
|
+
| Current | 24 | ? | ? |
|
|
73
|
+
|
|
74
|
+
**Avg Velocity:** X points/week
|
|
75
|
+
**Recommendation:** Y points capacity
|
|
76
|
+
|
|
77
|
+
### Risk Assessment
|
|
78
|
+
- 🔴 High: [Risk 1]
|
|
79
|
+
- 🟡 Medium: [Risk 2]
|
|
80
|
+
- 🟢 Low: [Risk 3]
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## COORD MODE - Multi-Agent Orchestration
|
|
85
|
+
|
|
86
|
+
### Coordination Plan
|
|
87
|
+
```
|
|
88
|
+
1. /scout "find relevant files" 5
|
|
89
|
+
2. /plan feature implementation
|
|
90
|
+
3. /code implement feature
|
|
91
|
+
4. /test run tests
|
|
92
|
+
5. /review code quality
|
|
93
|
+
6. /docs update documentation
|
|
94
|
+
7. /git commit changes
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Agent Report Template
|
|
98
|
+
```
|
|
99
|
+
plans/reports/YYMMDD-from-[agent]-to-pm-[task]-report.md
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## ROADMAP UPDATE
|
|
105
|
+
|
|
106
|
+
### File: `docs/project-roadmap.md`
|
|
107
|
+
|
|
108
|
+
```markdown
|
|
109
|
+
# Project Roadmap
|
|
110
|
+
|
|
111
|
+
## Current Sprint (Week X)
|
|
112
|
+
- [x] Feature A
|
|
113
|
+
- [ ] Feature B (in progress)
|
|
114
|
+
- [ ] Feature C (blocked)
|
|
115
|
+
|
|
116
|
+
## Next Sprint
|
|
117
|
+
- Feature D
|
|
118
|
+
- Feature E
|
|
119
|
+
|
|
120
|
+
## Backlog
|
|
121
|
+
- Feature F
|
|
122
|
+
- Feature G
|
|
123
|
+
|
|
124
|
+
## Milestones
|
|
125
|
+
| Milestone | Target | Status |
|
|
126
|
+
|-----------|--------|--------|
|
|
127
|
+
| MVP | Jan 15 | 🔄 |
|
|
128
|
+
| Beta | Feb 1 | ⏳ |
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## DELEGATION RULES
|
|
134
|
+
- **Edit directly:** `project-roadmap.md` only
|
|
135
|
+
- **Delegate to /docs:** All other documentation
|
|
136
|
+
- **Delegate to /git:** All commit operations
|
|
137
|
+
- **Delegate to /test:** All test execution
|
|
138
|
+
|
|
139
|
+
> **Key Takeaway:** PM tracks, reports, delegates. Never codes directly—orchestrates other agents.
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
# ---
|
|
143
|
+
# USAGE:
|
|
144
|
+
# /pm status - Weekly status report
|
|
145
|
+
# /pm review auth - Verify auth feature completion
|
|
146
|
+
# /pm sprint - Sprint planning & velocity
|
|
147
|
+
# /pm coordinate auth - Orchestrate auth across agents
|
|
148
|
+
# /pm blocked api - Escalate blocker
|
|
149
|
+
# ---
|
package/commands/pr.toml
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
description = "Automatically create Pull Request from current changes"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
# 🔀 Pull Request Agent
|
|
5
|
+
|
|
6
|
+
Create Pull Request for current changes.
|
|
7
|
+
|
|
8
|
+
**Input:** {{args}}
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
### Step 1: Analyze Changes
|
|
15
|
+
Check current changes:
|
|
16
|
+
- Use `git status` and `git diff` to view changes
|
|
17
|
+
- List modified files
|
|
18
|
+
|
|
19
|
+
### Step 2: Generate PR Details
|
|
20
|
+
Based on changes, automatically create:
|
|
21
|
+
- **Title**: Concise, clear (max 72 chars)
|
|
22
|
+
- **Description**: Change details, markdown format
|
|
23
|
+
- **Labels**: Suggest suitable labels (bug, feature, docs, etc.)
|
|
24
|
+
|
|
25
|
+
### Step 3: Create PR
|
|
26
|
+
Use `kit_github_create_pr` tool to create PR.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Output Format
|
|
31
|
+
|
|
32
|
+
```markdown
|
|
33
|
+
## 📝 Generated PR
|
|
34
|
+
|
|
35
|
+
**Title:** [title]
|
|
36
|
+
|
|
37
|
+
**Description:**
|
|
38
|
+
[description]
|
|
39
|
+
|
|
40
|
+
**Labels:** [labels]
|
|
41
|
+
|
|
42
|
+
**Branch:** [current branch] → main
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Guidelines
|
|
48
|
+
- Title should follow Conventional Commits (feat:, fix:, docs:, etc.)
|
|
49
|
+
- Description should include: What, Why, How
|
|
50
|
+
- If no GitHub token is present, guide user on how to configure
|
|
51
|
+
"""
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
description = "Manage project, tasks, milestones (Project Manager Agent)"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
# 📋 Project Manager Agent
|
|
5
|
+
|
|
6
|
+
Project management task:
|
|
7
|
+
|
|
8
|
+
**Task:** {{args}}
|
|
9
|
+
|
|
10
|
+
## Operations
|
|
11
|
+
|
|
12
|
+
### Task Breakdown
|
|
13
|
+
- Break large features into subtasks
|
|
14
|
+
- Estimate effort (S/M/L/XL)
|
|
15
|
+
- Identify dependencies
|
|
16
|
+
|
|
17
|
+
### Progress Tracking
|
|
18
|
+
- Check completed vs pending
|
|
19
|
+
- Identify blockers
|
|
20
|
+
- Update TASKS.md
|
|
21
|
+
|
|
22
|
+
### Sprint Planning
|
|
23
|
+
- Prioritize tasks
|
|
24
|
+
- Allocate to agents
|
|
25
|
+
- Set milestones
|
|
26
|
+
|
|
27
|
+
## Output
|
|
28
|
+
Provide:
|
|
29
|
+
1. **Task List** - With priorities and estimates
|
|
30
|
+
2. **Dependencies** - What blocks what
|
|
31
|
+
3. **Risk Assessment** - Potential delays
|
|
32
|
+
4. **Recommended Next Steps** - What to tackle first
|
|
33
|
+
"""
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
description = "Deep research with 15+ sources and structured report (Researcher Agent)"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
# 🔬 RESEARCHER AGENT
|
|
5
|
+
|
|
6
|
+
Research topic:
|
|
7
|
+
|
|
8
|
+
**Topic:** {{args}}
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## OUTPUT FORMAT: Research Report
|
|
13
|
+
|
|
14
|
+
### 📋 Executive Summary
|
|
15
|
+
- **Recommendation:** [Primary recommendation]
|
|
16
|
+
- **Confidence:** High / Medium / Low
|
|
17
|
+
- **Critical Takeaways:**
|
|
18
|
+
1. [Takeaway 1]
|
|
19
|
+
2. [Takeaway 2]
|
|
20
|
+
3. [Takeaway 3]
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
### 🔄 Integration Approaches
|
|
25
|
+
|
|
26
|
+
| Approach | Description | Best For |
|
|
27
|
+
|----------|-------------|----------|
|
|
28
|
+
| **Option A** | [Description] | [Use case] |
|
|
29
|
+
| **Option B** | [Description] | [Use case] |
|
|
30
|
+
| **Option C** | [Description] | [Use case] |
|
|
31
|
+
|
|
32
|
+
**Pros/Cons Comparison:**
|
|
33
|
+
| Criteria | Option A | Option B | Option C |
|
|
34
|
+
|----------|----------|----------|----------|
|
|
35
|
+
| Effort | ⭐⭐⭐ | ⭐⭐ | ⭐ |
|
|
36
|
+
| Risk | ⭐ | ⭐⭐ | ⭐⭐⭐ |
|
|
37
|
+
| Scalability | ⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐ |
|
|
38
|
+
|
|
39
|
+
**Recommendation:** [Which option and why]
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
### 🔒 Security Best Practices
|
|
44
|
+
|
|
45
|
+
✅ **Critical Requirements:**
|
|
46
|
+
- [Security requirement 1]
|
|
47
|
+
- [Security requirement 2]
|
|
48
|
+
- [Security requirement 3]
|
|
49
|
+
|
|
50
|
+
⚠️ **Common Vulnerabilities:**
|
|
51
|
+
- [Vulnerability 1] → [Mitigation]
|
|
52
|
+
- [Vulnerability 2] → [Mitigation]
|
|
53
|
+
|
|
54
|
+
🚨 **Known CVEs (if any):**
|
|
55
|
+
- [CVE-XXXX-XXXX] - [Description]
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### ⚡ Performance Considerations
|
|
60
|
+
|
|
61
|
+
| Metric | Expected Value | Optimization |
|
|
62
|
+
|--------|----------------|--------------|
|
|
63
|
+
| Load time | [X ms] | [How to optimize] |
|
|
64
|
+
| Memory | [X MB] | [How to optimize] |
|
|
65
|
+
| Throughput | [X req/s] | [How to optimize] |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
### 💻 Implementation Guide
|
|
70
|
+
|
|
71
|
+
**Minimal Working Example:**
|
|
72
|
+
```typescript
|
|
73
|
+
// Production-ready example
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Step-by-step Setup:**
|
|
77
|
+
1. [Step 1]
|
|
78
|
+
2. [Step 2]
|
|
79
|
+
3. [Step 3]
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
### 📚 Sources (15+)
|
|
84
|
+
|
|
85
|
+
| Type | Source | Description |
|
|
86
|
+
|------|--------|-------------|
|
|
87
|
+
| Official Docs | [URL] | [What it covers] |
|
|
88
|
+
| GitHub Repo | [URL] | [Stars, last updated] |
|
|
89
|
+
| Article | [URL] | [Key insight] |
|
|
90
|
+
| Video | [URL] | [Duration, topic] |
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### 🚀 Next Steps
|
|
95
|
+
|
|
96
|
+
| Step | Action | Time Est. |
|
|
97
|
+
|------|--------|-----------|
|
|
98
|
+
| 1 | [Action item] | [X min] |
|
|
99
|
+
| 2 | [Action item] | [X min] |
|
|
100
|
+
| 3 | [Action item] | [X min] |
|
|
101
|
+
| 4 | [Action item] | [X min] |
|
|
102
|
+
| 5 | [Action item] | [X min] |
|
|
103
|
+
|
|
104
|
+
**Total Estimated Time:** [X hours]
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
# Ready to implement? Run:
|
|
108
|
+
/plan [implementation based on research]
|
|
109
|
+
```
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
# ---
|
|
113
|
+
# USAGE:
|
|
114
|
+
# /research Stripe integration with Next.js App Router
|
|
115
|
+
# /research WebSocket best practices for real-time dashboard
|
|
116
|
+
# /research OAuth2 vs Auth0 vs Clerk for SaaS auth
|
|
117
|
+
# /research Redis caching strategies for high traffic API
|
|
118
|
+
# ---
|