superkit-mcp-server 1.0.2 → 1.1.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/ARCHITECTURE.md +102 -102
- package/README.md +67 -63
- package/SUPERKIT.md +168 -168
- package/agents/code-archaeologist.md +106 -0
- package/agents/coder.md +90 -90
- package/agents/data-engineer.md +28 -28
- package/agents/devops-engineer.md +242 -0
- package/agents/git-manager.md +203 -203
- package/agents/orchestrator.md +4 -0
- package/agents/penetration-tester.md +188 -0
- package/agents/performance-optimizer.md +187 -0
- package/agents/planner.md +270 -270
- package/agents/qa-automation-engineer.md +103 -0
- package/agents/quant-developer.md +32 -28
- package/agents/reviewer.md +100 -100
- package/agents/scout.md +222 -222
- package/agents/tester.md +274 -274
- package/agents/ui-designer.md +208 -208
- package/build/index.js +53 -1
- package/build/tools/validators/__tests__/apiSchema.test.js +23 -23
- package/build/tools/validators/__tests__/convertRules.test.js +5 -5
- package/build/tools/validators/__tests__/frontendDesign.test.js +12 -12
- package/build/tools/validators/__tests__/geoChecker.test.js +19 -19
- package/build/tools/validators/__tests__/mobileAudit.test.js +12 -12
- package/build/tools/validators/__tests__/reactPerformanceChecker.test.js +17 -17
- package/build/tools/validators/__tests__/securityScan.test.js +6 -6
- package/build/tools/validators/__tests__/seoChecker.test.js +16 -16
- package/build/tools/validators/__tests__/typeCoverage.test.js +14 -14
- package/package.json +33 -33
- package/skills/meta/README.md +30 -30
- package/skills/meta/api-design/SKILL.md +134 -134
- package/skills/meta/code-review/SKILL.md +44 -37
- package/skills/meta/code-review/checklists/pre-merge.md +25 -25
- package/skills/meta/code-review/workflows/architecture-pass.md +26 -26
- package/skills/meta/code-review/workflows/performance-pass.md +27 -27
- package/skills/meta/code-review/workflows/security-pass.md +29 -29
- package/skills/meta/compound-docs/SKILL.md +133 -133
- package/skills/meta/debug/SKILL.md +40 -40
- package/skills/meta/debug/templates/bug-report.template.md +31 -31
- package/skills/meta/debug/workflows/reproduce-issue.md +20 -20
- package/skills/meta/docker/SKILL.md +126 -126
- package/skills/meta/examples/supabase/SKILL.md +46 -46
- package/skills/meta/examples/supabase/references/best-practices.md +319 -319
- package/skills/meta/examples/supabase/references/common-patterns.md +373 -373
- package/skills/meta/examples/supabase/templates/migration-template.sql +49 -49
- package/skills/meta/examples/supabase/templates/rls-policy-template.sql +77 -77
- package/skills/meta/examples/supabase/workflows/debugging.md +260 -260
- package/skills/meta/examples/supabase/workflows/migration-workflow.md +211 -211
- package/skills/meta/examples/supabase/workflows/rls-policies.md +244 -244
- package/skills/meta/examples/supabase/workflows/schema-design.md +321 -321
- package/skills/meta/file-todos/SKILL.md +88 -88
- package/skills/meta/mobile/SKILL.md +140 -140
- package/skills/meta/nextjs/SKILL.md +101 -101
- package/skills/meta/performance/SKILL.md +130 -130
- package/skills/meta/react-patterns/SKILL.md +83 -83
- package/skills/meta/security/SKILL.md +114 -114
- package/skills/meta/session-resume/SKILL.md +96 -96
- package/skills/meta/tailwind/SKILL.md +139 -139
- package/skills/meta/testing/SKILL.md +43 -43
- package/skills/meta/testing/references/vitest-patterns.md +45 -45
- package/skills/meta/testing/templates/component-test.template.tsx +37 -37
- package/skills/tech/alpha-vantage/SKILL.md +142 -0
- package/skills/tech/alpha-vantage/references/commodities.md +153 -0
- package/skills/tech/alpha-vantage/references/economic-indicators.md +158 -0
- package/skills/tech/alpha-vantage/references/forex-crypto.md +154 -0
- package/skills/tech/alpha-vantage/references/fundamentals.md +223 -0
- package/skills/tech/alpha-vantage/references/intelligence.md +138 -0
- package/skills/tech/alpha-vantage/references/options.md +93 -0
- package/skills/tech/alpha-vantage/references/technical-indicators.md +374 -0
- package/skills/tech/alpha-vantage/references/time-series.md +157 -0
- package/skills/tech/financial-modeling/SKILL.md +18 -0
- package/skills/tech/financial-modeling/skills/3-statements/SKILL.md +368 -0
- package/skills/tech/financial-modeling/skills/3-statements/references/formatting.md +118 -0
- package/skills/tech/financial-modeling/skills/3-statements/references/formulas.md +292 -0
- package/skills/tech/financial-modeling/skills/3-statements/references/sec-filings.md +125 -0
- package/skills/tech/financial-modeling/skills/dcf-model/SKILL.md +1211 -0
- package/skills/tech/financial-modeling/skills/dcf-model/TROUBLESHOOTING.md +40 -0
- package/skills/tech/financial-modeling/skills/dcf-model/requirements.txt +8 -0
- package/skills/tech/financial-modeling/skills/dcf-model/scripts/validate_dcf.py +292 -0
- package/skills/tech/financial-modeling/skills/lbo-model/SKILL.md +236 -0
- package/skills/tech/financial-modeling/skills/merger-model/SKILL.md +108 -0
- package/skills/tech/intelligent-routing/SKILL.md +5 -5
- package/workflows/README.md +191 -191
- package/workflows/adr.md +174 -174
- package/workflows/changelog.md +74 -74
- package/workflows/compound.md +323 -323
- package/workflows/compound_health.md +74 -74
- package/workflows/create-agent-skill.md +139 -139
- package/workflows/cycle.md +144 -144
- package/workflows/deploy-docs.md +84 -84
- package/workflows/development-rules.md +37 -37
- package/workflows/doc.md +95 -95
- package/workflows/documentation-management.md +29 -29
- package/workflows/explore.md +146 -146
- package/workflows/generate_command.md +106 -106
- package/workflows/heal-skill.md +97 -97
- package/workflows/housekeeping.md +229 -229
- package/workflows/kit-setup.md +102 -102
- package/workflows/map-codebase.md +78 -0
- package/workflows/orchestration-protocol.md +38 -38
- package/workflows/plan-compound.md +439 -433
- package/workflows/plan_review.md +269 -248
- package/workflows/primary-workflow.md +32 -32
- package/workflows/promote_pattern.md +86 -86
- package/workflows/release-docs.md +82 -82
- package/workflows/report-bug.md +135 -135
- package/workflows/reproduce-bug.md +118 -118
- package/workflows/resolve_pr.md +133 -133
- package/workflows/resolve_todo.md +128 -128
- package/workflows/review-compound.md +376 -359
- package/workflows/skill-review.md +127 -127
- package/workflows/specs.md +257 -257
- package/workflows/triage-sprint.md +102 -102
- package/workflows/triage.md +152 -152
- package/workflows/work.md +399 -399
- package/workflows/xcode-test.md +93 -93
|
@@ -233,10 +233,10 @@ User: "Add mobile support to the web app"
|
|
|
233
233
|
- If task is unclear, still ask questions first
|
|
234
234
|
- Then route to appropriate agent
|
|
235
235
|
|
|
236
|
-
### With GEMINI.md Rules
|
|
236
|
+
### With main AGENT.md (GEMINI.md, CLAUDE.md) Rules
|
|
237
237
|
|
|
238
|
-
- **Priority**: GEMINI.md rules > intelligent-routing
|
|
239
|
-
- If GEMINI.md specifies explicit routing, follow it
|
|
238
|
+
- **Priority**: main AGENT.md (GEMINI.md, CLAUDE.md) rules > intelligent-routing
|
|
239
|
+
- If main AGENT.md (GEMINI.md, CLAUDE.md) specifies explicit routing, follow it
|
|
240
240
|
- Intelligent routing is the DEFAULT when no explicit rule exists
|
|
241
241
|
|
|
242
242
|
## Testing the System
|
|
@@ -305,7 +305,7 @@ still mention agents explicitly with `@agent-name` if you prefer.
|
|
|
305
305
|
|
|
306
306
|
### Enable Debug Mode (for development)
|
|
307
307
|
|
|
308
|
-
Add to GEMINI.md temporarily:
|
|
308
|
+
Add to main AGENT.md (GEMINI.md, CLAUDE.md) temporarily:
|
|
309
309
|
|
|
310
310
|
```markdown
|
|
311
311
|
## DEBUG: Intelligent Routing
|
|
@@ -332,4 +332,4 @@ Show selection reasoning:
|
|
|
332
332
|
|
|
333
333
|
---
|
|
334
334
|
|
|
335
|
-
**Next Steps**: Integrate this skill into GEMINI.md TIER 0 rules.
|
|
335
|
+
**Next Steps**: Integrate this skill into main AGENT.md (GEMINI.md, CLAUDE.md) TIER 0 rules.
|
package/workflows/README.md
CHANGED
|
@@ -1,191 +1,191 @@
|
|
|
1
|
-
# Compound Engineering Workflows
|
|
2
|
-
|
|
3
|
-
> **Quick Start:** New to this project? Read [critical-patterns.md](../docs/solutions/patterns/critical-patterns.md) first.
|
|
4
|
-
> **Technical Architecture:** For the complete system architecture, see [docs/architecture/compound-system.md](../docs/architecture/compound-system.md).
|
|
5
|
-
|
|
6
|
-
## Purpose
|
|
7
|
-
|
|
8
|
-
This directory contains workflow definitions that orchestrate the agent's compound engineering process. Workflows provide structured, repeatable sequences for planning, implementing, reviewing, and documenting work.
|
|
9
|
-
|
|
10
|
-
## Components
|
|
11
|
-
|
|
12
|
-
| Category | Workflows | Description |
|
|
13
|
-
|----------|-----------|-------------|
|
|
14
|
-
| Core Loop | 8 | `/explore`, `/specs`, `/plan`, `/plan_review`, `/work`, `/review`, `/compound`, `/housekeeping` |
|
|
15
|
-
| Todo/Triage | 2 | `/triage`, `/resolve_todo` |
|
|
16
|
-
| Code Review | 2 | `/resolve_pr`, `/plan_review` |
|
|
17
|
-
| Release | 3 | `/changelog`, `/release-docs`, `/deploy-docs` |
|
|
18
|
-
| Debugging | 2 | `/report-bug`, `/reproduce-bug` |
|
|
19
|
-
| Skills | 3 | `/create-agent-skill`, `/heal-skill`, `/generate_command` |
|
|
20
|
-
| Maintenance | 2 | `/housekeeping`, `/compound_health` |
|
|
21
|
-
|
|
22
|
-
## Component Details
|
|
23
|
-
|
|
24
|
-
### 🔴 Critical Workflows
|
|
25
|
-
|
|
26
|
-
| Workflow | Purpose | When to Use |
|
|
27
|
-
|----------|---------|-------------|
|
|
28
|
-
| `plan.md` | Create implementation plans | Before significant work |
|
|
29
|
-
| `work.md` | Execute plans systematically | During implementation |
|
|
30
|
-
| `review-compound.md` | Multi-pass code review | After work complete |
|
|
31
|
-
| `compound.md` | Capture knowledge for reuse | After solving problems |
|
|
32
|
-
|
|
33
|
-
### 🟡 Supporting Workflows
|
|
34
|
-
|
|
35
|
-
| Workflow | Purpose |
|
|
36
|
-
|----------|---------|
|
|
37
|
-
| `explore.md` | Deep investigation before planning |
|
|
38
|
-
| `specs.md` | Multi-session specifications |
|
|
39
|
-
| `housekeeping.md` | Pre-push cleanup and validation |
|
|
40
|
-
| `triage.md` | Prioritize pending work items |
|
|
41
|
-
|
|
42
|
-
## Core Loop
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
/explore (optional) → /specs (large) → /plan (per phase) → /work → /review → /compound → /housekeeping → repeat
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
| Command | When | Purpose |
|
|
49
|
-
|---------|------|---------|
|
|
50
|
-
| `/explore` | Before planning | Deep investigation, best practices, multi-order analysis |
|
|
51
|
-
| `/specs` | Before multi-week initiatives | Create structured specification with phases |
|
|
52
|
-
| `/plan` | Before significant work | Research, design, create implementation plan |
|
|
53
|
-
| `/plan_review` | Before executing plan | Review plan quality and completeness |
|
|
54
|
-
| `/work` | During implementation | Execute plan systematically |
|
|
55
|
-
| `/review` | After work complete | Quality check before merge |
|
|
56
|
-
| `/compound` | After solving problems | Capture knowledge for reuse |
|
|
57
|
-
| `/housekeeping` | Before git push | Archive completed work, fix drift |
|
|
58
|
-
|
|
59
|
-
## Support Commands
|
|
60
|
-
|
|
61
|
-
### Todos & Triage
|
|
62
|
-
| Command | Purpose |
|
|
63
|
-
|---------|---------|
|
|
64
|
-
| `/triage` | Prioritize pending todo items |
|
|
65
|
-
| `/resolve_todo` | Batch-process ready todos |
|
|
66
|
-
|
|
67
|
-
### Code Review
|
|
68
|
-
| Command | Purpose |
|
|
69
|
-
|---------|---------|
|
|
70
|
-
| `/resolve_pr` | Address PR feedback systematically |
|
|
71
|
-
| `/plan_review` | Review plan quality before execution |
|
|
72
|
-
|
|
73
|
-
### Release & Docs
|
|
74
|
-
| Command | Purpose |
|
|
75
|
-
|---------|---------|
|
|
76
|
-
| `/changelog` | Generate changelog from commits |
|
|
77
|
-
| `/release-docs` | Prepare release documentation |
|
|
78
|
-
| `/deploy-docs` | Deploy documentation updates |
|
|
79
|
-
|
|
80
|
-
### Debugging
|
|
81
|
-
| Command | Purpose |
|
|
82
|
-
|---------|---------|
|
|
83
|
-
| `/report-bug` | Create structured bug report |
|
|
84
|
-
| `/reproduce-bug` | Systematically reproduce a bug |
|
|
85
|
-
|
|
86
|
-
### Skills & Extensions
|
|
87
|
-
| Command | Purpose |
|
|
88
|
-
|---------|---------|
|
|
89
|
-
| `/create-agent-skill` | Add new modular capabilities |
|
|
90
|
-
| `/heal-skill` | Diagnose and fix broken skills |
|
|
91
|
-
| `/generate_command` | Create new workflow commands |
|
|
92
|
-
|
|
93
|
-
### Platform-Specific
|
|
94
|
-
| Command | Purpose |
|
|
95
|
-
|---------|---------|
|
|
96
|
-
| `/xcode-test` | Run Xcode tests for iOS |
|
|
97
|
-
|
|
98
|
-
### Maintenance
|
|
99
|
-
| Command | Purpose |
|
|
100
|
-
|---------|---------|
|
|
101
|
-
| `/housekeeping` | Pre-push cleanup: archive completed work, fix state drift |
|
|
102
|
-
| `/compound_health` | Weekly health check: monitor knowledge base vitals |
|
|
103
|
-
| `check-docs-freshness` | Verify documentation updates for code changes |
|
|
104
|
-
|
|
105
|
-
### Modular Skills
|
|
106
|
-
| Skill | Purpose | Entry Point |
|
|
107
|
-
|-------|---------|-------------|
|
|
108
|
-
| `session-resume` | Establish session state | `skills/session-resume/SKILL.md` |
|
|
109
|
-
| `compound-docs` | Search/Document solutions | `skills/compound-docs/SKILL.md` |
|
|
110
|
-
| `file-todos` | Manage file-based tasks | `skills/file-todos/SKILL.md` |
|
|
111
|
-
| `code-review` | Systematic quality gates | `skills/code-review/SKILL.md` |
|
|
112
|
-
| `testing` | Unified test patterns | `skills/testing/SKILL.md` |
|
|
113
|
-
| `debug` | Structured root cause analysis | `skills/debug/SKILL.md` |
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## Before You Start Any Work
|
|
118
|
-
|
|
119
|
-
### 1. Resume Session (STRICTLY REQUIRED)
|
|
120
|
-
|
|
121
|
-
Always run this first when starting a new conversation:
|
|
122
|
-
```bash
|
|
123
|
-
# Read and follow the checklist
|
|
124
|
-
cat skills/session-resume/SKILL.md
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### 2. Search Existing Solutions
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
# Check if this problem was solved before
|
|
131
|
-
grep -r "{keywords}" docs/solutions/
|
|
132
|
-
|
|
133
|
-
# Check critical patterns
|
|
134
|
-
cat docs/solutions/patterns/critical-patterns.md
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
### 3. Check Pending Work
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
# Any active specs?
|
|
141
|
-
ls docs/specs/*/README.md 2>/dev/null | grep -v templates
|
|
142
|
-
|
|
143
|
-
# Any ready todos?
|
|
144
|
-
ls todos/*-ready-*.md 2>/dev/null
|
|
145
|
-
|
|
146
|
-
# Any in-progress plans?
|
|
147
|
-
ls plans/*.md 2>/dev/null
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
## Directory Structure
|
|
153
|
-
|
|
154
|
-
```
|
|
155
|
-
.agent/workflows/ # You are here - all workflow commands
|
|
156
|
-
docs/solutions/ # Persistent knowledge base
|
|
157
|
-
├── patterns/ # Critical patterns (READ FIRST)
|
|
158
|
-
├── schema.yaml # Solution validation schema
|
|
159
|
-
└── {categories}/ # Categorized solutions
|
|
160
|
-
docs/explorations/ # Deep investigations & research
|
|
161
|
-
skills/ # Modular capabilities
|
|
162
|
-
plans/ # Implementation plans from /plan
|
|
163
|
-
└── archive/ # Completed plans
|
|
164
|
-
todos/ # Work items from /review, /triage
|
|
165
|
-
└── archive/ # Completed todos
|
|
166
|
-
docs/specs/ # Multi-session specifications
|
|
167
|
-
└── archive/ # Completed specs
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
---
|
|
171
|
-
|
|
172
|
-
## Key Principles
|
|
173
|
-
|
|
174
|
-
1. **Search before solving** - Check `docs/solutions/` and `docs/explorations/`
|
|
175
|
-
2. **Document after solving** - Run `/compound` when you fix something
|
|
176
|
-
3. **Follow patterns** - Reference `critical-patterns.md`
|
|
177
|
-
4. **Create todos for deferred work** - Don't just document in artifacts
|
|
178
|
-
5. **Use conventional commits** - Enables changelog automation
|
|
179
|
-
6. **Housekeeping before push** - Run `/housekeeping` to archive completed work
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
## Changelog
|
|
184
|
-
|
|
185
|
-
### 2026-01-24
|
|
186
|
-
- Added Purpose, Components, and Component Details sections
|
|
187
|
-
- Restructured for documentation validation compliance
|
|
188
|
-
|
|
189
|
-
### 2025-12-20
|
|
190
|
-
- Added modular skills section
|
|
191
|
-
- Updated core loop documentation
|
|
1
|
+
# Compound Engineering Workflows
|
|
2
|
+
|
|
3
|
+
> **Quick Start:** New to this project? Read [critical-patterns.md](../docs/solutions/patterns/critical-patterns.md) first.
|
|
4
|
+
> **Technical Architecture:** For the complete system architecture, see [docs/architecture/compound-system.md](../docs/architecture/compound-system.md).
|
|
5
|
+
|
|
6
|
+
## Purpose
|
|
7
|
+
|
|
8
|
+
This directory contains workflow definitions that orchestrate the agent's compound engineering process. Workflows provide structured, repeatable sequences for planning, implementing, reviewing, and documenting work.
|
|
9
|
+
|
|
10
|
+
## Components
|
|
11
|
+
|
|
12
|
+
| Category | Workflows | Description |
|
|
13
|
+
|----------|-----------|-------------|
|
|
14
|
+
| Core Loop | 8 | `/explore`, `/specs`, `/plan`, `/plan_review`, `/work`, `/review`, `/compound`, `/housekeeping` |
|
|
15
|
+
| Todo/Triage | 2 | `/triage`, `/resolve_todo` |
|
|
16
|
+
| Code Review | 2 | `/resolve_pr`, `/plan_review` |
|
|
17
|
+
| Release | 3 | `/changelog`, `/release-docs`, `/deploy-docs` |
|
|
18
|
+
| Debugging | 2 | `/report-bug`, `/reproduce-bug` |
|
|
19
|
+
| Skills | 3 | `/create-agent-skill`, `/heal-skill`, `/generate_command` |
|
|
20
|
+
| Maintenance | 2 | `/housekeeping`, `/compound_health` |
|
|
21
|
+
|
|
22
|
+
## Component Details
|
|
23
|
+
|
|
24
|
+
### 🔴 Critical Workflows
|
|
25
|
+
|
|
26
|
+
| Workflow | Purpose | When to Use |
|
|
27
|
+
|----------|---------|-------------|
|
|
28
|
+
| `plan.md` | Create implementation plans | Before significant work |
|
|
29
|
+
| `work.md` | Execute plans systematically | During implementation |
|
|
30
|
+
| `review-compound.md` | Multi-pass code review | After work complete |
|
|
31
|
+
| `compound.md` | Capture knowledge for reuse | After solving problems |
|
|
32
|
+
|
|
33
|
+
### 🟡 Supporting Workflows
|
|
34
|
+
|
|
35
|
+
| Workflow | Purpose |
|
|
36
|
+
|----------|---------|
|
|
37
|
+
| `explore.md` | Deep investigation before planning |
|
|
38
|
+
| `specs.md` | Multi-session specifications |
|
|
39
|
+
| `housekeeping.md` | Pre-push cleanup and validation |
|
|
40
|
+
| `triage.md` | Prioritize pending work items |
|
|
41
|
+
|
|
42
|
+
## Core Loop
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
/explore (optional) → /specs (large) → /plan (per phase) → /work → /review → /compound → /housekeeping → repeat
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
| Command | When | Purpose |
|
|
49
|
+
|---------|------|---------|
|
|
50
|
+
| `/explore` | Before planning | Deep investigation, best practices, multi-order analysis |
|
|
51
|
+
| `/specs` | Before multi-week initiatives | Create structured specification with phases |
|
|
52
|
+
| `/plan` | Before significant work | Research, design, create implementation plan |
|
|
53
|
+
| `/plan_review` | Before executing plan | Review plan quality and completeness |
|
|
54
|
+
| `/work` | During implementation | Execute plan systematically |
|
|
55
|
+
| `/review` | After work complete | Quality check before merge |
|
|
56
|
+
| `/compound` | After solving problems | Capture knowledge for reuse |
|
|
57
|
+
| `/housekeeping` | Before git push | Archive completed work, fix drift |
|
|
58
|
+
|
|
59
|
+
## Support Commands
|
|
60
|
+
|
|
61
|
+
### Todos & Triage
|
|
62
|
+
| Command | Purpose |
|
|
63
|
+
|---------|---------|
|
|
64
|
+
| `/triage` | Prioritize pending todo items |
|
|
65
|
+
| `/resolve_todo` | Batch-process ready todos |
|
|
66
|
+
|
|
67
|
+
### Code Review
|
|
68
|
+
| Command | Purpose |
|
|
69
|
+
|---------|---------|
|
|
70
|
+
| `/resolve_pr` | Address PR feedback systematically |
|
|
71
|
+
| `/plan_review` | Review plan quality before execution |
|
|
72
|
+
|
|
73
|
+
### Release & Docs
|
|
74
|
+
| Command | Purpose |
|
|
75
|
+
|---------|---------|
|
|
76
|
+
| `/changelog` | Generate changelog from commits |
|
|
77
|
+
| `/release-docs` | Prepare release documentation |
|
|
78
|
+
| `/deploy-docs` | Deploy documentation updates |
|
|
79
|
+
|
|
80
|
+
### Debugging
|
|
81
|
+
| Command | Purpose |
|
|
82
|
+
|---------|---------|
|
|
83
|
+
| `/report-bug` | Create structured bug report |
|
|
84
|
+
| `/reproduce-bug` | Systematically reproduce a bug |
|
|
85
|
+
|
|
86
|
+
### Skills & Extensions
|
|
87
|
+
| Command | Purpose |
|
|
88
|
+
|---------|---------|
|
|
89
|
+
| `/create-agent-skill` | Add new modular capabilities |
|
|
90
|
+
| `/heal-skill` | Diagnose and fix broken skills |
|
|
91
|
+
| `/generate_command` | Create new workflow commands |
|
|
92
|
+
|
|
93
|
+
### Platform-Specific
|
|
94
|
+
| Command | Purpose |
|
|
95
|
+
|---------|---------|
|
|
96
|
+
| `/xcode-test` | Run Xcode tests for iOS |
|
|
97
|
+
|
|
98
|
+
### Maintenance
|
|
99
|
+
| Command | Purpose |
|
|
100
|
+
|---------|---------|
|
|
101
|
+
| `/housekeeping` | Pre-push cleanup: archive completed work, fix state drift |
|
|
102
|
+
| `/compound_health` | Weekly health check: monitor knowledge base vitals |
|
|
103
|
+
| `check-docs-freshness` | Verify documentation updates for code changes |
|
|
104
|
+
|
|
105
|
+
### Modular Skills
|
|
106
|
+
| Skill | Purpose | Entry Point |
|
|
107
|
+
|-------|---------|-------------|
|
|
108
|
+
| `session-resume` | Establish session state | `skills/session-resume/SKILL.md` |
|
|
109
|
+
| `compound-docs` | Search/Document solutions | `skills/compound-docs/SKILL.md` |
|
|
110
|
+
| `file-todos` | Manage file-based tasks | `skills/file-todos/SKILL.md` |
|
|
111
|
+
| `code-review` | Systematic quality gates | `skills/code-review/SKILL.md` |
|
|
112
|
+
| `testing` | Unified test patterns | `skills/testing/SKILL.md` |
|
|
113
|
+
| `debug` | Structured root cause analysis | `skills/debug/SKILL.md` |
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Before You Start Any Work
|
|
118
|
+
|
|
119
|
+
### 1. Resume Session (STRICTLY REQUIRED)
|
|
120
|
+
|
|
121
|
+
Always run this first when starting a new conversation:
|
|
122
|
+
```bash
|
|
123
|
+
# Read and follow the checklist
|
|
124
|
+
cat skills/session-resume/SKILL.md
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### 2. Search Existing Solutions
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
# Check if this problem was solved before
|
|
131
|
+
grep -r "{keywords}" docs/solutions/
|
|
132
|
+
|
|
133
|
+
# Check critical patterns
|
|
134
|
+
cat docs/solutions/patterns/critical-patterns.md
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### 3. Check Pending Work
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
# Any active specs?
|
|
141
|
+
ls docs/specs/*/README.md 2>/dev/null | grep -v templates
|
|
142
|
+
|
|
143
|
+
# Any ready todos?
|
|
144
|
+
ls todos/*-ready-*.md 2>/dev/null
|
|
145
|
+
|
|
146
|
+
# Any in-progress plans?
|
|
147
|
+
ls plans/*.md 2>/dev/null
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## Directory Structure
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
.agent/workflows/ # You are here - all workflow commands
|
|
156
|
+
docs/solutions/ # Persistent knowledge base
|
|
157
|
+
├── patterns/ # Critical patterns (READ FIRST)
|
|
158
|
+
├── schema.yaml # Solution validation schema
|
|
159
|
+
└── {categories}/ # Categorized solutions
|
|
160
|
+
docs/explorations/ # Deep investigations & research
|
|
161
|
+
skills/ # Modular capabilities
|
|
162
|
+
plans/ # Implementation plans from /plan
|
|
163
|
+
└── archive/ # Completed plans
|
|
164
|
+
todos/ # Work items from /review, /triage
|
|
165
|
+
└── archive/ # Completed todos
|
|
166
|
+
docs/specs/ # Multi-session specifications
|
|
167
|
+
└── archive/ # Completed specs
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Key Principles
|
|
173
|
+
|
|
174
|
+
1. **Search before solving** - Check `docs/solutions/` and `docs/explorations/`
|
|
175
|
+
2. **Document after solving** - Run `/compound` when you fix something
|
|
176
|
+
3. **Follow patterns** - Reference `critical-patterns.md`
|
|
177
|
+
4. **Create todos for deferred work** - Don't just document in artifacts
|
|
178
|
+
5. **Use conventional commits** - Enables changelog automation
|
|
179
|
+
6. **Housekeeping before push** - Run `/housekeeping` to archive completed work
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Changelog
|
|
184
|
+
|
|
185
|
+
### 2026-01-24
|
|
186
|
+
- Added Purpose, Components, and Component Details sections
|
|
187
|
+
- Restructured for documentation validation compliance
|
|
188
|
+
|
|
189
|
+
### 2025-12-20
|
|
190
|
+
- Added modular skills section
|
|
191
|
+
- Updated core loop documentation
|