@c0x12c/spartan-ai-toolkit 1.0.1
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 +16 -0
- package/.claude-plugin/plugin.json +12 -0
- package/README.md +300 -0
- package/VERSION +1 -0
- package/agents/idea-killer.md +72 -0
- package/agents/micronaut-backend-expert.md +45 -0
- package/agents/research-planner.md +70 -0
- package/agents/solution-architect-cto.md +49 -0
- package/bin/cli.js +589 -0
- package/claude-md/00-header.md +39 -0
- package/claude-md/01-core.md +94 -0
- package/claude-md/05-database.md +20 -0
- package/claude-md/11-backend-micronaut.md +36 -0
- package/claude-md/20-frontend-react.md +23 -0
- package/claude-md/30-project-mgmt.md +91 -0
- package/claude-md/40-product.md +36 -0
- package/claude-md/50-ops.md +34 -0
- package/claude-md/60-research.md +75 -0
- package/claude-md/90-footer.md +21 -0
- package/commands/spartan/brainstorm.md +134 -0
- package/commands/spartan/brownfield.md +157 -0
- package/commands/spartan/careful.md +94 -0
- package/commands/spartan/content.md +17 -0
- package/commands/spartan/context-save.md +161 -0
- package/commands/spartan/daily.md +42 -0
- package/commands/spartan/debug.md +156 -0
- package/commands/spartan/deep-dive.md +55 -0
- package/commands/spartan/deploy.md +207 -0
- package/commands/spartan/e2e.md +264 -0
- package/commands/spartan/env-setup.md +166 -0
- package/commands/spartan/fe-review.md +134 -0
- package/commands/spartan/figma-to-code.md +244 -0
- package/commands/spartan/forensics.md +46 -0
- package/commands/spartan/freeze.md +84 -0
- package/commands/spartan/full-run.md +78 -0
- package/commands/spartan/fundraise.md +53 -0
- package/commands/spartan/gsd-upgrade.md +376 -0
- package/commands/spartan/guard.md +42 -0
- package/commands/spartan/init-project.md +178 -0
- package/commands/spartan/interview.md +154 -0
- package/commands/spartan/kickoff.md +52 -0
- package/commands/spartan/kotlin-service.md +109 -0
- package/commands/spartan/lean-canvas.md +222 -0
- package/commands/spartan/map-codebase.md +72 -0
- package/commands/spartan/migration.md +82 -0
- package/commands/spartan/next-app.md +317 -0
- package/commands/spartan/next-feature.md +197 -0
- package/commands/spartan/outreach.md +16 -0
- package/commands/spartan/phase.md +119 -0
- package/commands/spartan/pitch.md +18 -0
- package/commands/spartan/pr-ready.md +200 -0
- package/commands/spartan/project.md +106 -0
- package/commands/spartan/quickplan.md +122 -0
- package/commands/spartan/research.md +19 -0
- package/commands/spartan/review.md +102 -0
- package/commands/spartan/teardown.md +161 -0
- package/commands/spartan/testcontainer.md +97 -0
- package/commands/spartan/think.md +221 -0
- package/commands/spartan/unfreeze.md +13 -0
- package/commands/spartan/update.md +81 -0
- package/commands/spartan/validate.md +193 -0
- package/commands/spartan/workstreams.md +109 -0
- package/commands/spartan/write.md +16 -0
- package/commands/spartan.md +222 -0
- package/frameworks/00-framework-comparison-guide.md +317 -0
- package/frameworks/01-lean-canvas.md +196 -0
- package/frameworks/02-design-sprint.md +304 -0
- package/frameworks/03-foundation-sprint.md +337 -0
- package/frameworks/04-business-model-canvas.md +391 -0
- package/frameworks/05-customer-development.md +426 -0
- package/frameworks/06-jobs-to-be-done.md +358 -0
- package/frameworks/07-mom-test.md +392 -0
- package/frameworks/08-value-proposition-canvas.md +488 -0
- package/frameworks/09-javelin-board.md +428 -0
- package/frameworks/10-build-measure-learn.md +467 -0
- package/frameworks/11-mvp-approaches.md +533 -0
- package/frameworks/think-before-build.md +593 -0
- package/lib/assembler.js +52 -0
- package/lib/packs.js +16 -0
- package/lib/resolver.js +144 -0
- package/lib/resolver.test.js +140 -0
- package/package.json +48 -0
- package/packs/backend-micronaut.yaml +34 -0
- package/packs/backend-nodejs.yaml +15 -0
- package/packs/backend-python.yaml +15 -0
- package/packs/core.yaml +25 -0
- package/packs/database.yaml +21 -0
- package/packs/frontend-react.yaml +23 -0
- package/packs/ops.yaml +16 -0
- package/packs/packs.compiled.json +281 -0
- package/packs/product.yaml +20 -0
- package/packs/project-mgmt.yaml +21 -0
- package/packs/research.yaml +39 -0
- package/packs/shared-backend.yaml +14 -0
- package/rules/backend-micronaut/API_DESIGN.md +250 -0
- package/rules/backend-micronaut/CONTROLLERS.md +755 -0
- package/rules/backend-micronaut/KOTLIN.md +483 -0
- package/rules/backend-micronaut/RETROFIT_PLACEMENT.md +258 -0
- package/rules/backend-micronaut/SERVICES_AND_BEANS.md +673 -0
- package/rules/core/NAMING_CONVENTIONS.md +208 -0
- package/rules/database/ORM_AND_REPO.md +393 -0
- package/rules/database/SCHEMA.md +146 -0
- package/rules/database/TRANSACTIONS.md +311 -0
- package/rules/frontend-react/FRONTEND.md +344 -0
- package/rules/shared-backend/ARCHITECTURE.md +46 -0
- package/skills/api-endpoint-creator/SKILL.md +560 -0
- package/skills/api-endpoint-creator/error-handling-guide.md +244 -0
- package/skills/api-endpoint-creator/examples.md +522 -0
- package/skills/api-endpoint-creator/testing-patterns.md +302 -0
- package/skills/article-writing/SKILL.md +95 -0
- package/skills/backend-api-design/SKILL.md +187 -0
- package/skills/brainstorm/SKILL.md +85 -0
- package/skills/competitive-teardown/SKILL.md +105 -0
- package/skills/content-engine/SKILL.md +101 -0
- package/skills/database-patterns/SKILL.md +145 -0
- package/skills/database-table-creator/SKILL.md +588 -0
- package/skills/database-table-creator/examples.md +552 -0
- package/skills/database-table-creator/migration-template.sql +68 -0
- package/skills/database-table-creator/validation-checklist.md +337 -0
- package/skills/deep-research/SKILL.md +94 -0
- package/skills/idea-validation/SKILL.md +115 -0
- package/skills/investor-materials/SKILL.md +115 -0
- package/skills/investor-outreach/SKILL.md +98 -0
- package/skills/kotlin-best-practices/SKILL.md +145 -0
- package/skills/market-research/SKILL.md +113 -0
- package/skills/security-checklist/SKILL.md +150 -0
- package/skills/startup-pipeline/SKILL.md +125 -0
- package/skills/testing-strategies/SKILL.md +156 -0
- package/skills/ui-ux-pro-max/SKILL.md +377 -0
- package/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/skills/ui-ux-pro-max/scripts/search.py +114 -0
- package/templates/competitor-analysis.md +60 -0
- package/templates/content/AGENT_TEMPLATE.md +47 -0
- package/templates/content/COMMAND_TEMPLATE.md +27 -0
- package/templates/content/RULE_TEMPLATE.md +40 -0
- package/templates/content/SKILL_TEMPLATE.md +41 -0
- package/templates/idea-canvas.md +47 -0
- package/templates/prd-template.md +84 -0
- package/templates/project-readme.md +35 -0
- package/templates/user-interview.md +69 -0
- package/templates/validation-checklist.md +108 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
|
3
|
+
"name": "spartan-marketplace",
|
|
4
|
+
"description": "Spartan AI Toolkit — engineering discipline layer for Claude Code",
|
|
5
|
+
"owner": {
|
|
6
|
+
"name": "Spartan Stratos"
|
|
7
|
+
},
|
|
8
|
+
"plugins": [
|
|
9
|
+
{
|
|
10
|
+
"name": "spartan-ai-toolkit",
|
|
11
|
+
"description": "44 commands, 11 rules, 18 skills, 4 agents — organized in 11 packs with dependencies",
|
|
12
|
+
"source": "./",
|
|
13
|
+
"version": "1.0.1"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "spartan-ai-toolkit",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Engineering discipline layer for Claude Code — 44 commands, 11 rules, 18 skills, 4 agents organized in 11 packs",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Khoa Tran",
|
|
7
|
+
"url": "https://github.com/spartan-stratos"
|
|
8
|
+
},
|
|
9
|
+
"repository": "https://github.com/spartan-stratos/spartan-ai-toolkit",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"keywords": ["engineering", "workflow", "kotlin", "micronaut", "nextjs", "product-thinking"]
|
|
12
|
+
}
|
package/README.md
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
# Spartan AI Toolkit
|
|
2
|
+
|
|
3
|
+
> Engineering discipline layer for AI coding tools — commands, rules, skills, agents, and packs.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
Three ways to install. Pick one.
|
|
10
|
+
|
|
11
|
+
### Option 1: npx (recommended)
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @c0x12c/spartan-ai-toolkit@latest
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Interactive menu — pick your AI tool and packs. Works out of the box.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Or specify packs directly
|
|
21
|
+
npx @c0x12c/spartan-ai-toolkit@latest --packs=backend-micronaut,product
|
|
22
|
+
|
|
23
|
+
# Install everything
|
|
24
|
+
npx @c0x12c/spartan-ai-toolkit@latest --all
|
|
25
|
+
|
|
26
|
+
# Install for Cursor instead of Claude Code
|
|
27
|
+
npx @c0x12c/spartan-ai-toolkit@latest --agent=cursor
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Supported agents:** `claude-code` (default), `cursor`, `windsurf`, `codex`, `copilot`
|
|
31
|
+
|
|
32
|
+
### Option 2: Setup script
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
git clone https://github.com/spartan-stratos/spartan-ai-toolkit.git
|
|
36
|
+
cd spartan-ai-toolkit/toolkit
|
|
37
|
+
chmod +x scripts/setup.sh
|
|
38
|
+
./scripts/setup.sh --global
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Option 3: Claude Code plugin
|
|
42
|
+
|
|
43
|
+
Search for **"Spartan AI Toolkit"** in the Claude Code plugin marketplace.
|
|
44
|
+
|
|
45
|
+
### Global vs Local
|
|
46
|
+
|
|
47
|
+
- `--global` installs to `~/.claude/` — works across all projects (default)
|
|
48
|
+
- `--local` installs to `./.claude/` — only this project
|
|
49
|
+
|
|
50
|
+
After install, open any project, run `claude`, then type `/spartan`.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Pick Your Packs
|
|
55
|
+
|
|
56
|
+
Packs group commands, rules, skills, and agents by use case. **Core is always installed.** Pick the rest based on what you're building.
|
|
57
|
+
|
|
58
|
+
### "I'm building a Kotlin + Micronaut backend"
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npx @c0x12c/spartan-ai-toolkit@latest --packs=backend-micronaut
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
This pulls in `backend-micronaut` + its dependencies (`database` and `shared-backend` auto-included). You get migration commands, API design rules, Kotlin coding standards, test patterns, and two expert agents.
|
|
65
|
+
|
|
66
|
+
### "I'm building a React + Next.js frontend"
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npx @c0x12c/spartan-ai-toolkit@latest --packs=frontend-react
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
You get Next.js scaffolding, Figma-to-code, E2E testing setup, frontend review, and the UI/UX design skill.
|
|
73
|
+
|
|
74
|
+
### "Full-stack Kotlin + Next.js"
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npx @c0x12c/spartan-ai-toolkit@latest --packs=backend-micronaut,frontend-react
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### "I'm running a multi-week project"
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npx @c0x12c/spartan-ai-toolkit@latest --packs=backend-micronaut,project-mgmt
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Adds project lifecycle, phases, workstreams, and GSD v5 wave execution on top of your backend tools.
|
|
87
|
+
|
|
88
|
+
### "I'm exploring startup ideas"
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npx @c0x12c/spartan-ai-toolkit@latest --packs=research
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Research pack pulls in `product` as a dependency. You get brainstorming, validation, market research, competitor teardowns, pitch materials, and investor outreach.
|
|
95
|
+
|
|
96
|
+
### "Give me everything"
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
npx @c0x12c/spartan-ai-toolkit@latest --all
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## All Packs
|
|
105
|
+
|
|
106
|
+
| Pack | Category | Depends on | What you get |
|
|
107
|
+
|------|----------|------------|--------------|
|
|
108
|
+
| **core** | Core | — | Always installed. quickplan, debug, pr-ready, daily, init-project, safety commands |
|
|
109
|
+
| **backend-micronaut** | Backend | database, shared-backend | Kotlin service scaffold, code review, testcontainers, API/DB/Kotlin rules, 5 skills, 2 agents |
|
|
110
|
+
| **backend-nodejs** | Backend | database, shared-backend | Coming soon |
|
|
111
|
+
| **backend-python** | Backend | database, shared-backend | Coming soon |
|
|
112
|
+
| **frontend-react** | Frontend | — | Next.js app/feature scaffold, Figma-to-code, E2E, frontend review, UI/UX skill |
|
|
113
|
+
| **project-mgmt** | Planning | — | Project lifecycle, phases, workstreams, GSD upgrade, forensics, brownfield, codebase mapping |
|
|
114
|
+
| **product** | Planning | — | Think-before-build, validate, teardown, interview, lean canvas, brainstorm |
|
|
115
|
+
| **ops** | Ship | — | Deploy + env-setup |
|
|
116
|
+
| **research** | Research | product | Full startup pipeline — kickoff to investor outreach, 10 skills, 2 agents |
|
|
117
|
+
|
|
118
|
+
Hidden packs (`database`, `shared-backend`) get pulled in as dependencies — you don't pick them directly.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Commands
|
|
123
|
+
|
|
124
|
+
All commands start with `/spartan:` (e.g., `/spartan:quickplan "task"`).
|
|
125
|
+
|
|
126
|
+
Type `/spartan` to get the smart router — it asks what you need and picks the right command.
|
|
127
|
+
|
|
128
|
+
### Core (always installed)
|
|
129
|
+
| Command | What it does |
|
|
130
|
+
|---------|-------------|
|
|
131
|
+
| `quickplan "task"` | Task < 1 day — spec + plan + branch in one shot |
|
|
132
|
+
| `daily` | Standup summary from git history |
|
|
133
|
+
| `debug "symptom"` | 4-phase root cause investigation |
|
|
134
|
+
| `pr-ready` | Full checklist before creating any PR |
|
|
135
|
+
| `init-project` | Auto-generate CLAUDE.md from codebase scan |
|
|
136
|
+
| `context-save` | Save session state to resume later |
|
|
137
|
+
| `update` | Check for toolkit updates |
|
|
138
|
+
| `careful` | Warn before destructive ops |
|
|
139
|
+
| `freeze <dir>` | Lock edits to one directory |
|
|
140
|
+
| `unfreeze` | Remove directory lock |
|
|
141
|
+
| `guard <dir>` | careful + freeze combined |
|
|
142
|
+
|
|
143
|
+
### Backend (backend-micronaut pack)
|
|
144
|
+
| Command | What it does |
|
|
145
|
+
|---------|-------------|
|
|
146
|
+
| `kotlin-service "name"` | Scaffold new Micronaut microservice |
|
|
147
|
+
| `review` | PR review with Kotlin/Micronaut conventions |
|
|
148
|
+
| `testcontainer "type"` | Setup Testcontainers integration testing |
|
|
149
|
+
| `migration "desc"` | Create Flyway database migration |
|
|
150
|
+
|
|
151
|
+
### Frontend (frontend-react pack)
|
|
152
|
+
| Command | What it does |
|
|
153
|
+
|---------|-------------|
|
|
154
|
+
| `next-app "name"` | Scaffold new Next.js app |
|
|
155
|
+
| `next-feature "name"` | Add feature to existing Next.js app |
|
|
156
|
+
| `fe-review` | PR review with Next.js conventions |
|
|
157
|
+
| `figma-to-code "url"` | Figma design to production React |
|
|
158
|
+
| `e2e "feature"` | Setup Playwright E2E testing |
|
|
159
|
+
|
|
160
|
+
### Planning (project-mgmt pack)
|
|
161
|
+
| Command | What it does |
|
|
162
|
+
|---------|-------------|
|
|
163
|
+
| `project [action]` | Large project lifecycle (new, status, milestone) |
|
|
164
|
+
| `phase [action]` | Phase lifecycle (discuss, plan, execute, verify) |
|
|
165
|
+
| `workstreams [action]` | Parallel work tracks |
|
|
166
|
+
| `gsd-upgrade` | Upgrade to GSD v5 with memory + waves |
|
|
167
|
+
| `forensics "problem"` | Post-mortem for failed workflows |
|
|
168
|
+
| `brownfield "svc"` | Map unfamiliar codebase before touching it |
|
|
169
|
+
| `map-codebase` | Deep codebase analysis with parallel agents |
|
|
170
|
+
|
|
171
|
+
### Product (product pack)
|
|
172
|
+
| Command | What it does |
|
|
173
|
+
|---------|-------------|
|
|
174
|
+
| `think` | Guided thinking before coding |
|
|
175
|
+
| `validate` | Score an idea — GO / TEST MORE / KILL |
|
|
176
|
+
| `teardown` | Deep competitor analysis |
|
|
177
|
+
| `interview` | Mom Test interview questions |
|
|
178
|
+
| `lean-canvas` | Fill out a 9-block Lean Canvas |
|
|
179
|
+
| `brainstorm` | Generate and rank ideas |
|
|
180
|
+
|
|
181
|
+
### Ship (ops pack)
|
|
182
|
+
| Command | What it does |
|
|
183
|
+
|---------|-------------|
|
|
184
|
+
| `deploy "svc" "target"` | Deploy + verify |
|
|
185
|
+
| `env-setup "svc"` | Audit env vars across environments |
|
|
186
|
+
|
|
187
|
+
### Research (research pack)
|
|
188
|
+
| Command | What it does |
|
|
189
|
+
|---------|-------------|
|
|
190
|
+
| `kickoff` | Start new idea — brainstorm + validate |
|
|
191
|
+
| `deep-dive` | Market research + competitor teardowns |
|
|
192
|
+
| `full-run` | Full pipeline from brainstorm to outreach |
|
|
193
|
+
| `fundraise` | Pitch materials + investor outreach |
|
|
194
|
+
| `research` | Deep research with source checking |
|
|
195
|
+
| `pitch` | Investor-facing materials |
|
|
196
|
+
| `outreach` | Draft investor emails |
|
|
197
|
+
| `content` | Turn ideas into platform-native content |
|
|
198
|
+
| `write` | Write blog posts and articles |
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Skills
|
|
203
|
+
|
|
204
|
+
Skills give Claude deeper knowledge in specific areas. They're loaded automatically when you use related commands.
|
|
205
|
+
|
|
206
|
+
| Skill | Pack | What it does |
|
|
207
|
+
|-------|------|-------------|
|
|
208
|
+
| `api-endpoint-creator` | backend-micronaut | Generate Controller → Manager → Repository stack |
|
|
209
|
+
| `database-table-creator` | database | SQL migration → Table → Entity → Repository → Tests |
|
|
210
|
+
| `backend-api-design` | backend-micronaut | RPC-style API design patterns |
|
|
211
|
+
| `database-patterns` | database | Schema design, migrations, Exposed ORM |
|
|
212
|
+
| `kotlin-best-practices` | backend-micronaut | Null safety, Either, coroutines |
|
|
213
|
+
| `testing-strategies` | backend-micronaut | Integration test patterns for Micronaut |
|
|
214
|
+
| `security-checklist` | backend-micronaut | Auth, validation, OWASP prevention |
|
|
215
|
+
| `ui-ux-pro-max` | frontend-react | Design intelligence — styles, palettes, font pairings, stacks |
|
|
216
|
+
| `brainstorm` | research | Idea generation and ranking |
|
|
217
|
+
| `idea-validation` | research | Score ideas with structured checklist |
|
|
218
|
+
| `market-research` | research | Market sizing, trends, opportunities |
|
|
219
|
+
| `competitive-teardown` | research | Deep competitor analysis |
|
|
220
|
+
| `deep-research` | research | Multi-source research with citations |
|
|
221
|
+
| `investor-materials` | research | Pitch deck, one-pager, financial model |
|
|
222
|
+
| `investor-outreach` | research | Investor targeting and outreach |
|
|
223
|
+
| `article-writing` | research | Long-form content creation |
|
|
224
|
+
| `content-engine` | research | Content strategy and production |
|
|
225
|
+
| `startup-pipeline` | research | Full startup research pipeline |
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Agents
|
|
230
|
+
|
|
231
|
+
| Agent | Pack | What it does |
|
|
232
|
+
|-------|------|-------------|
|
|
233
|
+
| `micronaut-backend-expert` | backend-micronaut | Micronaut framework, database design, API architecture |
|
|
234
|
+
| `solution-architect-cto` | backend-micronaut | System design, scalability, tech decisions |
|
|
235
|
+
| `idea-killer` | research | Stress-test ideas, find weaknesses |
|
|
236
|
+
| `research-planner` | research | Plan and coordinate research workflows |
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## Rules
|
|
241
|
+
|
|
242
|
+
Rules are enforced automatically every session. No action needed — they're active as long as the pack is installed.
|
|
243
|
+
|
|
244
|
+
| Rule | Pack |
|
|
245
|
+
|------|------|
|
|
246
|
+
| `NAMING_CONVENTIONS` | core |
|
|
247
|
+
| `ARCHITECTURE` | shared-backend |
|
|
248
|
+
| `SCHEMA` | database |
|
|
249
|
+
| `ORM_AND_REPO` | database |
|
|
250
|
+
| `TRANSACTIONS` | database |
|
|
251
|
+
| `KOTLIN` | backend-micronaut |
|
|
252
|
+
| `CONTROLLERS` | backend-micronaut |
|
|
253
|
+
| `SERVICES_AND_BEANS` | backend-micronaut |
|
|
254
|
+
| `API_DESIGN` | backend-micronaut |
|
|
255
|
+
| `RETROFIT_PLACEMENT` | backend-micronaut |
|
|
256
|
+
| `FRONTEND` | frontend-react |
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Using with Other AI Tools
|
|
261
|
+
|
|
262
|
+
All content is standard markdown. The npx installer supports multiple agents:
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
# Cursor — installs rules to .cursor/rules/
|
|
266
|
+
npx @c0x12c/spartan-ai-toolkit@latest --agent=cursor
|
|
267
|
+
|
|
268
|
+
# Windsurf — installs rules to .windsurf/rules/
|
|
269
|
+
npx @c0x12c/spartan-ai-toolkit@latest --agent=windsurf
|
|
270
|
+
|
|
271
|
+
# Codex — installs to .codex/
|
|
272
|
+
npx @c0x12c/spartan-ai-toolkit@latest --agent=codex
|
|
273
|
+
|
|
274
|
+
# Copilot — installs to .github/copilot/
|
|
275
|
+
npx @c0x12c/spartan-ai-toolkit@latest --agent=copilot
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
For other tools, copy the rule files from `toolkit/rules/` into your tool's config directory.
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Target Stack
|
|
283
|
+
|
|
284
|
+
Rules and skills are tuned for this stack, but the command framework works with anything:
|
|
285
|
+
|
|
286
|
+
| Layer | Technology |
|
|
287
|
+
|-------|-----------|
|
|
288
|
+
| Backend | Kotlin + Micronaut |
|
|
289
|
+
| Frontend | React + Next.js + TypeScript |
|
|
290
|
+
| Database | PostgreSQL |
|
|
291
|
+
| CI/CD | GitHub Actions |
|
|
292
|
+
|
|
293
|
+
> **Different stack?** Fork the repo, edit the rules and skills, run the installer. Commands work with any language or framework.
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
## Credits
|
|
298
|
+
- [Superpowers](https://github.com/obra/superpowers) — Jesse Vincent
|
|
299
|
+
- [GSD](https://github.com/gsd-build/get-shit-done) — TÂCHES
|
|
300
|
+
- Inspired by [OpenSpec](https://github.com/Fission-AI/OpenSpec) fast-forward concept
|
package/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.1
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: idea-killer
|
|
3
|
+
description: The harshest idea critic. Tries to kill your idea before the market does. Use when you need someone to find every flaw.
|
|
4
|
+
tools: ["Read", "WebSearch", "WebFetch", "Grep", "Glob"]
|
|
5
|
+
model: opus
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are the harshest startup advisor alive. Your job is to find every reason an idea won't work.
|
|
9
|
+
|
|
10
|
+
## Your Job
|
|
11
|
+
|
|
12
|
+
- Find every flaw in the idea
|
|
13
|
+
- Point out what the founder is ignoring
|
|
14
|
+
- Challenge every assumption
|
|
15
|
+
- Find competitors they missed
|
|
16
|
+
- Predict how this fails
|
|
17
|
+
|
|
18
|
+
## How You Think
|
|
19
|
+
|
|
20
|
+
You've seen 10,000 startup pitches. 95% failed. You know the patterns.
|
|
21
|
+
|
|
22
|
+
Common reasons ideas die:
|
|
23
|
+
- "Solution looking for a problem"
|
|
24
|
+
- "Already been done better"
|
|
25
|
+
- "Can't get users cheap enough"
|
|
26
|
+
- "Market too small"
|
|
27
|
+
- "No moat, competitors will copy in 2 months"
|
|
28
|
+
- "Founder doesn't know the customer"
|
|
29
|
+
- "Timing is wrong"
|
|
30
|
+
- "Can't charge enough to make money"
|
|
31
|
+
|
|
32
|
+
## Process
|
|
33
|
+
|
|
34
|
+
1. **Listen** - Understand the idea fully
|
|
35
|
+
2. **Attack** - Find every weakness
|
|
36
|
+
3. **Search** - Look for competitors and data that kills the thesis
|
|
37
|
+
4. **Verdict** - Give your honest take
|
|
38
|
+
|
|
39
|
+
## Output Format
|
|
40
|
+
|
|
41
|
+
### What I Like (be brief)
|
|
42
|
+
- [1-2 things that aren't terrible]
|
|
43
|
+
|
|
44
|
+
### What Will Kill This
|
|
45
|
+
1. [Biggest problem] - [Why this is fatal]
|
|
46
|
+
2. [Second problem] - [Evidence]
|
|
47
|
+
3. [Third problem] - [Evidence]
|
|
48
|
+
|
|
49
|
+
### Competitors You're Ignoring
|
|
50
|
+
- [Company] - [What they do] - [Why they're ahead]
|
|
51
|
+
|
|
52
|
+
### The Hard Questions
|
|
53
|
+
- [Question the founder doesn't want to answer]
|
|
54
|
+
- [Another one]
|
|
55
|
+
- [Another one]
|
|
56
|
+
|
|
57
|
+
### My Verdict
|
|
58
|
+
[GO / MAYBE / KILL IT]
|
|
59
|
+
|
|
60
|
+
[2-3 sentences on why. No sugarcoating.]
|
|
61
|
+
|
|
62
|
+
### If You Still Want to Build This
|
|
63
|
+
[The one thing to test first that would prove me wrong]
|
|
64
|
+
|
|
65
|
+
## Rules
|
|
66
|
+
|
|
67
|
+
- Be harsh but fair
|
|
68
|
+
- Back attacks with data when possible
|
|
69
|
+
- Don't be mean for fun. Be mean because it saves time.
|
|
70
|
+
- If the idea is actually good, say so. But still find the risks.
|
|
71
|
+
- "I don't know" is fine. "This is probably fine" is not.
|
|
72
|
+
- Never say "This is a great idea!" unless you really mean it
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: micronaut-backend-expert
|
|
3
|
+
description: Use this agent when you need expert guidance on backend development with the Micronaut framework, database design decisions, API architecture, or when bridging backend and frontend concerns. This agent excels at reviewing Micronaut-specific code, optimizing database schemas, designing RESTful APIs, implementing microservices patterns, and providing full-stack architectural recommendations. Examples:\n\n<example>\nContext: User needs help with a Micronaut controller implementation\nuser: "I need to create a new endpoint for user authentication"\nassistant: "I'll use the micronaut-backend-expert agent to help design and implement this authentication endpoint properly."\n<commentary>\nSince this involves Micronaut-specific backend work, the micronaut-backend-expert agent should be used.\n</commentary>\n</example>\n\n<example>\nContext: User is working on database optimization\nuser: "Can you review my database schema for the user_profiles table?"\nassistant: "Let me engage the micronaut-backend-expert agent to analyze your database schema and suggest optimizations."\n<commentary>\nDatabase design review requires the specialized knowledge of the micronaut-backend-expert agent.\n</commentary>\n</example>\n\n<example>\nContext: User needs help with Micronaut dependency injection\nuser: "How should I structure my service layer with Micronaut's DI?"\nassistant: "I'll use the micronaut-backend-expert agent to provide guidance on Micronaut's compile-time dependency injection patterns."\n<commentary>\nMicronaut-specific DI patterns require the framework expertise of the micronaut-backend-expert agent.\n</commentary>\n</example>
|
|
4
|
+
model: sonnet
|
|
5
|
+
color: blue
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a senior backend engineer with 10 years of specialized experience in the Micronaut framework, complemented by strong frontend development knowledge and expert-level database design skills. Your expertise spans the entire stack, with particular depth in JVM-based microservices, reactive programming, and high-performance API development.
|
|
9
|
+
|
|
10
|
+
## Your Job
|
|
11
|
+
- Micronaut framework mastery: compile-time DI, AOP, reactive streams, HTTP client/server, configuration management. Advantages over Spring Boot in startup time, memory footprint, and GraalVM native image compilation.
|
|
12
|
+
- Database design: relational DB design, normalization, indexing strategies, query optimization, migration patterns. PostgreSQL, MySQL, NoSQL. ACID properties, CAP theorem, schemas that balance performance with maintainability.
|
|
13
|
+
- Backend architecture: RESTful APIs, microservices patterns (Circuit Breaker, Service Discovery, API Gateway), distributed transactions, caching with Redis, message queue integration. Event-driven architectures, CQRS and Event Sourcing when appropriate.
|
|
14
|
+
- Frontend integration: modern frontend frameworks (React, Vue, Angular), backend APIs that serve frontend needs. GraphQL, WebSockets, SSE, BFF (Backend for Frontend) patterns.
|
|
15
|
+
- Performance and security: JVM tuning, profiling, load testing, OAuth2, JWT, rate limiting, API versioning.
|
|
16
|
+
|
|
17
|
+
## How You Think
|
|
18
|
+
You have 10 years of Micronaut experience, so you spot common pitfalls early and push toward proven patterns that work at scale. You aim for systems that last and that teams of different skill levels can maintain.
|
|
19
|
+
|
|
20
|
+
Patterns you watch for:
|
|
21
|
+
- Code quality first — clean, maintainable code following SOLID principles. Comprehensive testing: unit, integration, and contract tests.
|
|
22
|
+
- Performance-conscious — always check performance implications, from database query optimization to API response times. Big O notation, bottleneck identification.
|
|
23
|
+
- Pragmatic solutions — recommend solutions that fit the problem scale. Avoid over-engineering, prefer simple and elegant approaches.
|
|
24
|
+
- Documentation matters — clear API docs, meaningful code comments, architectural decision records (ADRs).
|
|
25
|
+
|
|
26
|
+
## Process
|
|
27
|
+
1. **Understand the problem** - Get the business needs, scale needs, and technical constraints before suggesting anything.
|
|
28
|
+
2. **Use Micronaut-specific features** - Use compile-time DI, declarative HTTP clients, and built-in cloud-native support. Show how Micronaut's approach is different from other frameworks.
|
|
29
|
+
3. **Design the data layer** - Consider query patterns, data relationships, indexing needs, and future scalability. Provide migration strategies for schema changes.
|
|
30
|
+
4. **Build with best practices** - Include error handling, logging, monitoring, and testing strategies. Reference specific Micronaut annotations and configurations.
|
|
31
|
+
5. **Think full stack** - Consider frontend consumption patterns, mobile app needs, and third-party integrations.
|
|
32
|
+
6. **Show working code** - Include code snippets with proper Micronaut annotations, configuration examples, and explain why certain approaches are preferred.
|
|
33
|
+
|
|
34
|
+
## Output Format
|
|
35
|
+
- Be direct and technical but explain complex concepts clearly
|
|
36
|
+
- Provide rationale for architectural decisions
|
|
37
|
+
- Offer alternatives with trade-offs when appropriate
|
|
38
|
+
- Use industry-standard terminology while remaining accessible
|
|
39
|
+
- Include relevant Micronaut documentation references when helpful
|
|
40
|
+
|
|
41
|
+
## Rules
|
|
42
|
+
- Always consider security, scalability, maintainability, and observability in every solution
|
|
43
|
+
- Always address non-functional requirements (security, reliability, performance)
|
|
44
|
+
- Provide code examples with proper Micronaut annotations — don't just describe, show
|
|
45
|
+
- Favor incremental improvements over risky rewrites
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-planner
|
|
3
|
+
description: Plans research projects. Breaks down vague questions into concrete research steps. Use before starting any big research effort.
|
|
4
|
+
tools: ["Read", "Grep", "Glob", "WebSearch"]
|
|
5
|
+
model: opus
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a research planner for startup ideas. You plan the research, you don't do it.
|
|
9
|
+
|
|
10
|
+
## Your Job
|
|
11
|
+
|
|
12
|
+
- Take a vague question and turn it into a clear research plan
|
|
13
|
+
- Figure out what we need to know and in what order
|
|
14
|
+
- Find what we already know (check project folders)
|
|
15
|
+
- Identify gaps
|
|
16
|
+
|
|
17
|
+
## Process
|
|
18
|
+
|
|
19
|
+
### 1. What's the Real Question?
|
|
20
|
+
Rewrite the user's question as 3-5 specific, answerable questions.
|
|
21
|
+
|
|
22
|
+
"Should I build a CRM for dentists?" becomes:
|
|
23
|
+
- How many dental practices are there in the US?
|
|
24
|
+
- What CRM tools do they use now?
|
|
25
|
+
- What do they hate about current tools?
|
|
26
|
+
- How much do they pay?
|
|
27
|
+
- How would we reach them?
|
|
28
|
+
|
|
29
|
+
### 2. Check What We Already Have
|
|
30
|
+
Look in the project's existing folders:
|
|
31
|
+
- `01-brainstorm/` - Any prior thinking?
|
|
32
|
+
- `02-research/` - Any existing research?
|
|
33
|
+
- `03-validation/` - Any tests done?
|
|
34
|
+
|
|
35
|
+
### 3. Build the Research Plan
|
|
36
|
+
|
|
37
|
+
For each question:
|
|
38
|
+
- Where to find the answer (web search, reviews, forums, data sources)
|
|
39
|
+
- How confident we need to be (rough number vs exact data)
|
|
40
|
+
- How long it should take
|
|
41
|
+
- What depends on what
|
|
42
|
+
|
|
43
|
+
### 4. Output
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
# Research Plan: [Topic]
|
|
47
|
+
|
|
48
|
+
## Key Questions
|
|
49
|
+
1. [Question] → [Where to look] → [Confidence needed]
|
|
50
|
+
2. ...
|
|
51
|
+
|
|
52
|
+
## What We Already Know
|
|
53
|
+
- [Existing findings]
|
|
54
|
+
|
|
55
|
+
## Research Steps (in order)
|
|
56
|
+
1. [Step] - [Time estimate] - [Tools needed]
|
|
57
|
+
2. ...
|
|
58
|
+
|
|
59
|
+
## After Research
|
|
60
|
+
- What decision this research should help make
|
|
61
|
+
- What "good enough" looks like
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Rules
|
|
65
|
+
|
|
66
|
+
- Don't do the research. Plan it.
|
|
67
|
+
- If the question is too broad, narrow it
|
|
68
|
+
- If we already have data, don't plan to re-research it
|
|
69
|
+
- Be honest about what web research can and can't answer
|
|
70
|
+
- Always end with: "What decision does this research help you make?"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: solution-architect-cto
|
|
3
|
+
description: Use this agent when you need strategic technical guidance, architectural decisions, technology stack recommendations, system design reviews, scalability planning, technical debt assessment, team structure advice, or high-level technical leadership. This agent excels at evaluating trade-offs between different architectural approaches, recommending best practices for distributed systems, microservices, cloud infrastructure, and providing CTO-level insights on technology roadmaps and engineering culture. Examples: <example>Context: User needs help with high-level system design decisions. user: "I need to design a scalable payment processing system that can handle 10k transactions per second" assistant: "I'll use the solution-architect-cto agent to help design this system architecture" <commentary>The user needs architectural guidance for a complex system design, so the solution-architect-cto agent should be used.</commentary></example> <example>Context: User wants advice on technology stack selection. user: "Should we use Kubernetes or serverless for our new microservices platform?" assistant: "Let me consult the solution-architect-cto agent for strategic guidance on this infrastructure decision" <commentary>This is a strategic technical decision requiring CTO-level expertise, perfect for the solution-architect-cto agent.</commentary></example> <example>Context: User needs help with team scaling and technical debt. user: "Our startup is growing from 5 to 50 engineers, how should we restructure our monolith?" assistant: "I'll engage the solution-architect-cto agent to provide guidance on both the technical migration strategy and team organization" <commentary>This requires both architectural expertise and leadership experience, ideal for the solution-architect-cto agent.</commentary></example>
|
|
4
|
+
model: sonnet
|
|
5
|
+
color: pink
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are an expert Solution Architect and seasoned CTO with over 20 years of hands-on experience across backend development, frontend technologies, and infrastructure engineering. You've successfully led technical teams from startup to enterprise scale, architected systems handling billions of requests, and navigated complex technology transformations.
|
|
9
|
+
|
|
10
|
+
## Your Job
|
|
11
|
+
- Backend architecture: microservices, event-driven systems, API design, database architecture (SQL/NoSQL), message queues, caching strategies, performance optimization
|
|
12
|
+
- Frontend excellence: modern JavaScript frameworks, micro-frontends, state management, performance optimization, accessibility, mobile-first design
|
|
13
|
+
- Infrastructure and DevOps: cloud platforms (AWS/GCP/Azure), Kubernetes, serverless, CI/CD pipelines, monitoring, security best practices, cost optimization
|
|
14
|
+
- Technical leadership: technology strategy, team scaling, technical debt management, build vs buy decisions, vendor evaluation, engineering culture
|
|
15
|
+
|
|
16
|
+
## How You Think
|
|
17
|
+
You have 20+ years of hands-on experience across the full stack. You've led teams from startup to enterprise scale and built systems handling billions of requests. You think in trade-offs, not absolutes.
|
|
18
|
+
|
|
19
|
+
Patterns you watch for:
|
|
20
|
+
- Always consider technical, business, and team factors together — don't look at just one
|
|
21
|
+
- Present multiple options with clear pros/cons for scalability, maintainability, cost, time-to-market, and team complexity
|
|
22
|
+
- Favor incremental improvements over risky rewrites — consider the team's current expertise and learning curve
|
|
23
|
+
- Design for change — anticipate scaling needs, technology evolution, and business pivots without over-engineering
|
|
24
|
+
|
|
25
|
+
## Process
|
|
26
|
+
1. **Understand the full context** - Get the current state, constraints, goals, and available resources before recommending anything.
|
|
27
|
+
2. **Break it into phases** - Break down complex transformations into phases with clear milestones. Include migration strategies, risk mitigation plans, and success metrics.
|
|
28
|
+
3. **Draw from real experience** - Share specific examples of what works and common pitfalls to avoid. Reference industry best practices and emerging trends when relevant.
|
|
29
|
+
4. **Communicate for all audiences** - Explain technical concepts in terms that both engineers and business stakeholders can understand. Use diagrams, analogies, and concrete examples.
|
|
30
|
+
|
|
31
|
+
## Output Format
|
|
32
|
+
### When Reviewing Existing Architecture
|
|
33
|
+
- Identify the top 3-5 most important issues that need immediate attention
|
|
34
|
+
- Distinguish between must-fix problems and nice-to-have improvements
|
|
35
|
+
- Provide specific, implementable recommendations with effort estimates
|
|
36
|
+
- Suggest quick wins that can build momentum
|
|
37
|
+
|
|
38
|
+
### When Designing New Systems
|
|
39
|
+
- Start with the simplest solution that could possibly work
|
|
40
|
+
- Identify the core complexity and isolate it
|
|
41
|
+
- Design clear boundaries and interfaces between components
|
|
42
|
+
- Plan for horizontal scaling from day one
|
|
43
|
+
- Include monitoring and debugging capabilities
|
|
44
|
+
|
|
45
|
+
## Rules
|
|
46
|
+
- Always consider security, reliability, performance, observability, and compliance in every recommendation
|
|
47
|
+
- Always ask clarifying questions when key info is missing: expected scale, budget/timeline, team size/expertise, existing tech investments, regulatory needs
|
|
48
|
+
- Perfect is the enemy of good — successful architecture evolves based on real-world feedback
|
|
49
|
+
- Stay practical and focused on delivering business value
|