@c0x12c/ai-toolkit 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/.claude-plugin/marketplace.json +16 -0
  2. package/.claude-plugin/plugin.json +12 -0
  3. package/README.md +439 -0
  4. package/VERSION +1 -0
  5. package/agents/design-critic.md +127 -0
  6. package/agents/idea-killer.md +72 -0
  7. package/agents/infrastructure-expert.md +49 -0
  8. package/agents/micronaut-backend-expert.md +45 -0
  9. package/agents/phase-reviewer.md +150 -0
  10. package/agents/research-planner.md +70 -0
  11. package/agents/solution-architect-cto.md +49 -0
  12. package/agents/sre-architect.md +49 -0
  13. package/agents/team-coordinator.md +111 -0
  14. package/bin/cli.js +780 -0
  15. package/claude-md/00-header.md +39 -0
  16. package/claude-md/01-core.md +105 -0
  17. package/claude-md/05-database.md +20 -0
  18. package/claude-md/11-backend-micronaut.md +19 -0
  19. package/claude-md/20-frontend-react.md +44 -0
  20. package/claude-md/25-ux-design.md +56 -0
  21. package/claude-md/30-infrastructure.md +24 -0
  22. package/claude-md/30-project-mgmt.md +119 -0
  23. package/claude-md/40-product.md +39 -0
  24. package/claude-md/50-ops.md +34 -0
  25. package/claude-md/60-research.md +27 -0
  26. package/claude-md/90-footer.md +21 -0
  27. package/commands/spartan/brainstorm.md +134 -0
  28. package/commands/spartan/brownfield.md +157 -0
  29. package/commands/spartan/build.md +435 -0
  30. package/commands/spartan/careful.md +94 -0
  31. package/commands/spartan/commit-message.md +112 -0
  32. package/commands/spartan/content.md +17 -0
  33. package/commands/spartan/context-save.md +161 -0
  34. package/commands/spartan/contribute.md +140 -0
  35. package/commands/spartan/daily.md +42 -0
  36. package/commands/spartan/debug.md +308 -0
  37. package/commands/spartan/deep-dive.md +55 -0
  38. package/commands/spartan/deploy.md +207 -0
  39. package/commands/spartan/e2e.md +264 -0
  40. package/commands/spartan/env-setup.md +166 -0
  41. package/commands/spartan/epic.md +199 -0
  42. package/commands/spartan/fe-review.md +181 -0
  43. package/commands/spartan/figma-to-code.md +260 -0
  44. package/commands/spartan/forensics.md +46 -0
  45. package/commands/spartan/freeze.md +84 -0
  46. package/commands/spartan/fundraise.md +53 -0
  47. package/commands/spartan/gate-review.md +229 -0
  48. package/commands/spartan/gsd-upgrade.md +376 -0
  49. package/commands/spartan/guard.md +42 -0
  50. package/commands/spartan/init-project.md +178 -0
  51. package/commands/spartan/init-rules.md +298 -0
  52. package/commands/spartan/interview.md +154 -0
  53. package/commands/spartan/kickoff.md +73 -0
  54. package/commands/spartan/kotlin-service.md +109 -0
  55. package/commands/spartan/lean-canvas.md +222 -0
  56. package/commands/spartan/lint-rules.md +122 -0
  57. package/commands/spartan/map-codebase.md +124 -0
  58. package/commands/spartan/migration.md +82 -0
  59. package/commands/spartan/next-app.md +317 -0
  60. package/commands/spartan/next-feature.md +212 -0
  61. package/commands/spartan/onboard.md +326 -0
  62. package/commands/spartan/outreach.md +16 -0
  63. package/commands/spartan/phase.md +142 -0
  64. package/commands/spartan/pitch.md +18 -0
  65. package/commands/spartan/plan.md +210 -0
  66. package/commands/spartan/pr-ready.md +202 -0
  67. package/commands/spartan/project.md +106 -0
  68. package/commands/spartan/qa.md +222 -0
  69. package/commands/spartan/research.md +254 -0
  70. package/commands/spartan/review.md +132 -0
  71. package/commands/spartan/scan-rules.md +173 -0
  72. package/commands/spartan/sessions.md +143 -0
  73. package/commands/spartan/spec.md +131 -0
  74. package/commands/spartan/startup.md +257 -0
  75. package/commands/spartan/team.md +570 -0
  76. package/commands/spartan/teardown.md +161 -0
  77. package/commands/spartan/testcontainer.md +97 -0
  78. package/commands/spartan/tf-cost.md +123 -0
  79. package/commands/spartan/tf-deploy.md +116 -0
  80. package/commands/spartan/tf-drift.md +100 -0
  81. package/commands/spartan/tf-import.md +107 -0
  82. package/commands/spartan/tf-module.md +121 -0
  83. package/commands/spartan/tf-plan.md +100 -0
  84. package/commands/spartan/tf-review.md +106 -0
  85. package/commands/spartan/tf-scaffold.md +109 -0
  86. package/commands/spartan/tf-security.md +147 -0
  87. package/commands/spartan/think.md +221 -0
  88. package/commands/spartan/unfreeze.md +13 -0
  89. package/commands/spartan/update.md +134 -0
  90. package/commands/spartan/ux.md +1233 -0
  91. package/commands/spartan/validate.md +193 -0
  92. package/commands/spartan/web-to-prd.md +706 -0
  93. package/commands/spartan/workstreams.md +109 -0
  94. package/commands/spartan/write.md +16 -0
  95. package/commands/spartan.md +386 -0
  96. package/frameworks/00-framework-comparison-guide.md +317 -0
  97. package/frameworks/01-lean-canvas.md +196 -0
  98. package/frameworks/02-design-sprint.md +304 -0
  99. package/frameworks/03-foundation-sprint.md +337 -0
  100. package/frameworks/04-business-model-canvas.md +391 -0
  101. package/frameworks/05-customer-development.md +426 -0
  102. package/frameworks/06-jobs-to-be-done.md +358 -0
  103. package/frameworks/07-mom-test.md +392 -0
  104. package/frameworks/08-value-proposition-canvas.md +488 -0
  105. package/frameworks/09-javelin-board.md +428 -0
  106. package/frameworks/10-build-measure-learn.md +467 -0
  107. package/frameworks/11-mvp-approaches.md +533 -0
  108. package/frameworks/think-before-build.md +593 -0
  109. package/lib/assembler.js +197 -0
  110. package/lib/assembler.test.js +159 -0
  111. package/lib/detector.js +166 -0
  112. package/lib/detector.test.js +221 -0
  113. package/lib/packs.js +16 -0
  114. package/lib/resolver.js +272 -0
  115. package/lib/resolver.test.js +298 -0
  116. package/lib/worktree.sh +104 -0
  117. package/package.json +50 -0
  118. package/packs/backend-micronaut.yaml +35 -0
  119. package/packs/backend-nodejs.yaml +15 -0
  120. package/packs/backend-python.yaml +15 -0
  121. package/packs/core.yaml +37 -0
  122. package/packs/database.yaml +21 -0
  123. package/packs/frontend-react.yaml +24 -0
  124. package/packs/infrastructure.yaml +40 -0
  125. package/packs/ops.yaml +16 -0
  126. package/packs/packs.compiled.json +371 -0
  127. package/packs/product.yaml +22 -0
  128. package/packs/project-mgmt.yaml +24 -0
  129. package/packs/research.yaml +39 -0
  130. package/packs/shared-backend.yaml +14 -0
  131. package/packs/ux-design.yaml +21 -0
  132. package/rules/backend-micronaut/API_DESIGN.md +313 -0
  133. package/rules/backend-micronaut/BATCH_PROCESSING.md +92 -0
  134. package/rules/backend-micronaut/CONTROLLERS.md +388 -0
  135. package/rules/backend-micronaut/KOTLIN.md +414 -0
  136. package/rules/backend-micronaut/RETROFIT_PLACEMENT.md +290 -0
  137. package/rules/backend-micronaut/SERVICES_AND_BEANS.md +325 -0
  138. package/rules/core/NAMING_CONVENTIONS.md +208 -0
  139. package/rules/core/SKILL_AUTHORING.md +174 -0
  140. package/rules/core/TIMEZONE.md +316 -0
  141. package/rules/database/ORM_AND_REPO.md +289 -0
  142. package/rules/database/SCHEMA.md +146 -0
  143. package/rules/database/TRANSACTIONS.md +311 -0
  144. package/rules/frontend-react/FRONTEND.md +344 -0
  145. package/rules/infrastructure/MODULES.md +260 -0
  146. package/rules/infrastructure/NAMING.md +196 -0
  147. package/rules/infrastructure/PROVIDERS.md +309 -0
  148. package/rules/infrastructure/SECURITY.md +310 -0
  149. package/rules/infrastructure/STATE_AND_BACKEND.md +237 -0
  150. package/rules/infrastructure/STRUCTURE.md +234 -0
  151. package/rules/infrastructure/VARIABLES.md +285 -0
  152. package/rules/shared-backend/ARCHITECTURE.md +46 -0
  153. package/rules/ux-design/DESIGN_PROCESS.md +176 -0
  154. package/skills/api-endpoint-creator/SKILL.md +455 -0
  155. package/skills/api-endpoint-creator/error-handling-guide.md +244 -0
  156. package/skills/api-endpoint-creator/examples.md +522 -0
  157. package/skills/api-endpoint-creator/testing-patterns.md +302 -0
  158. package/skills/article-writing/SKILL.md +109 -0
  159. package/skills/article-writing/examples.md +59 -0
  160. package/skills/backend-api-design/SKILL.md +84 -0
  161. package/skills/backend-api-design/code-patterns.md +138 -0
  162. package/skills/brainstorm/SKILL.md +95 -0
  163. package/skills/browser-qa/SKILL.md +87 -0
  164. package/skills/browser-qa/playwright-snippets.md +110 -0
  165. package/skills/ci-cd-patterns/SKILL.md +108 -0
  166. package/skills/ci-cd-patterns/workflows.md +149 -0
  167. package/skills/competitive-teardown/SKILL.md +93 -0
  168. package/skills/competitive-teardown/example-analysis.md +50 -0
  169. package/skills/content-engine/SKILL.md +131 -0
  170. package/skills/content-engine/examples.md +72 -0
  171. package/skills/database-patterns/SKILL.md +72 -0
  172. package/skills/database-patterns/code-templates.md +114 -0
  173. package/skills/database-table-creator/SKILL.md +141 -0
  174. package/skills/database-table-creator/examples.md +552 -0
  175. package/skills/database-table-creator/kotlin-templates.md +400 -0
  176. package/skills/database-table-creator/migration-template.sql +68 -0
  177. package/skills/database-table-creator/validation-checklist.md +337 -0
  178. package/skills/deep-research/SKILL.md +80 -0
  179. package/skills/design-intelligence/SKILL.md +268 -0
  180. package/skills/design-workflow/SKILL.md +127 -0
  181. package/skills/design-workflow/checklists.md +45 -0
  182. package/skills/idea-validation/SKILL.md +129 -0
  183. package/skills/idea-validation/example-report.md +50 -0
  184. package/skills/investor-materials/SKILL.md +122 -0
  185. package/skills/investor-materials/example-outline.md +70 -0
  186. package/skills/investor-outreach/SKILL.md +112 -0
  187. package/skills/investor-outreach/examples.md +76 -0
  188. package/skills/kotlin-best-practices/SKILL.md +58 -0
  189. package/skills/kotlin-best-practices/code-patterns.md +132 -0
  190. package/skills/market-research/SKILL.md +99 -0
  191. package/skills/security-checklist/SKILL.md +65 -0
  192. package/skills/security-checklist/audit-reference.md +95 -0
  193. package/skills/service-debugging/SKILL.md +116 -0
  194. package/skills/service-debugging/common-issues.md +65 -0
  195. package/skills/startup-pipeline/SKILL.md +152 -0
  196. package/skills/terraform-best-practices/SKILL.md +244 -0
  197. package/skills/terraform-module-creator/SKILL.md +284 -0
  198. package/skills/terraform-review/SKILL.md +222 -0
  199. package/skills/terraform-security-audit/SKILL.md +280 -0
  200. package/skills/terraform-service-scaffold/SKILL.md +574 -0
  201. package/skills/testing-strategies/SKILL.md +116 -0
  202. package/skills/testing-strategies/examples.md +103 -0
  203. package/skills/testing-strategies/integration-test-setup.md +71 -0
  204. package/skills/ui-ux-pro-max/SKILL.md +238 -0
  205. package/skills/ui-ux-pro-max/data/charts.csv +26 -0
  206. package/skills/ui-ux-pro-max/data/colors.csv +97 -0
  207. package/skills/ui-ux-pro-max/data/icons.csv +101 -0
  208. package/skills/ui-ux-pro-max/data/landing.csv +31 -0
  209. package/skills/ui-ux-pro-max/data/products.csv +97 -0
  210. package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  211. package/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  212. package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  213. package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  214. package/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  215. package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  216. package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  217. package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  218. package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  219. package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  220. package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  221. package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  222. package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  223. package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  224. package/skills/ui-ux-pro-max/data/styles.csv +68 -0
  225. package/skills/ui-ux-pro-max/data/typography.csv +58 -0
  226. package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  227. package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  228. package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  229. package/skills/ui-ux-pro-max/python-setup.md +146 -0
  230. package/skills/ui-ux-pro-max/scripts/core.py +253 -0
  231. package/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
  232. package/skills/ui-ux-pro-max/scripts/search.py +114 -0
  233. package/skills/web-to-prd/SKILL.md +478 -0
  234. package/templates/build-config.yaml +44 -0
  235. package/templates/commands-config.yaml +55 -0
  236. package/templates/competitor-analysis.md +60 -0
  237. package/templates/content/AGENT_TEMPLATE.md +47 -0
  238. package/templates/content/COMMAND_TEMPLATE.md +27 -0
  239. package/templates/content/RULE_TEMPLATE.md +40 -0
  240. package/templates/content/SKILL_TEMPLATE.md +41 -0
  241. package/templates/design-config.md +105 -0
  242. package/templates/design-doc.md +207 -0
  243. package/templates/epic.md +100 -0
  244. package/templates/feature-spec.md +181 -0
  245. package/templates/idea-canvas.md +47 -0
  246. package/templates/implementation-plan.md +159 -0
  247. package/templates/prd-template.md +86 -0
  248. package/templates/preamble.md +89 -0
  249. package/templates/project-readme.md +35 -0
  250. package/templates/quality-gates.md +230 -0
  251. package/templates/spartan-config.yaml +164 -0
  252. package/templates/user-interview.md +69 -0
  253. package/templates/validation-checklist.md +108 -0
  254. package/templates/workflow-backend-micronaut.md +409 -0
  255. package/templates/workflow-frontend-react.md +233 -0
@@ -0,0 +1,193 @@
1
+ ---
2
+ name: spartan:validate
3
+ description: Score a product idea with a quick canvas + 7-area validation checklist — get a GO / TEST MORE / KILL decision
4
+ argument-hint: "[idea or product name]"
5
+ ---
6
+
7
+ # Validate: {{ args[0] | default: "your idea" }}
8
+
9
+ You are running a two-part validation session. Part 1 is a quick idea canvas (5 min). Part 2 is a scoring checklist (10 min). At the end, you'll get a clear GO / TEST MORE / KILL decision.
10
+
11
+ Be honest. The point is to kill bad ideas early, not to make every idea sound good.
12
+
13
+ ---
14
+
15
+ ## Part 1: Quick Idea Canvas (~5 min)
16
+
17
+ Walk the user through each question. Challenge weak or vague answers. "Everyone" is not a target user. "It's better" is not a differentiator.
18
+
19
+ ### The Canvas
20
+
21
+ | # | Question | Answer |
22
+ |---|---|---|
23
+ | 1 | **The problem:** What specific pain does this solve? | |
24
+ | 2 | **Who has it:** Describe the person (not "everyone") | |
25
+ | 3 | **Current solution:** How do they solve it today? | |
26
+ | 4 | **Your solution:** 30-second pitch — what is it and what does it do? | |
27
+ | 5 | **Why you:** What do you know or have that gives you an edge? | |
28
+ | 6 | **Market size:** How many people have this problem? (rough is fine) | |
29
+ | 7 | **Top 3 risks:** What could kill this idea? | |
30
+ | 8 | **First experiment:** What's the cheapest way to test demand? | |
31
+
32
+ ### Gut Check (yes/no)
33
+
34
+ Ask these 5 questions. The user answers yes or no:
35
+
36
+ 1. Would you use this yourself?
37
+ 2. Do you know 3 real people who have this problem?
38
+ 3. Have you seen people complain about this online?
39
+ 4. Can you explain it in one sentence to a stranger?
40
+ 5. Would you still work on this if it took twice as long?
41
+
42
+ Count the "yes" answers:
43
+ - 5/5 = Strong founder conviction
44
+ - 3-4 = Good, but check what's missing
45
+ - 0-2 = Red flag — you might not care enough to push through the hard parts
46
+
47
+ **Output:** Filled canvas table + gut check score
48
+
49
+ Ask: **"Ready for the scoring checklist? This gets more specific."**
50
+
51
+ ---
52
+
53
+ ## Part 2: Validation Checklist (~10 min)
54
+
55
+ Score each area 1-5. Ask the user probing questions to arrive at the right score. Don't let them rate themselves high without evidence.
56
+
57
+ ### Area 1: Problem (is it real?)
58
+
59
+ | Score | Meaning |
60
+ |---|---|
61
+ | 1 | You think it's a problem but haven't talked to anyone |
62
+ | 2 | A few people mentioned it casually |
63
+ | 3 | Multiple people describe this pain unprompted |
64
+ | 4 | People are actively spending money/time to solve it |
65
+ | 5 | People are desperate — current solutions are awful and expensive |
66
+
67
+ Ask: How often does this problem happen? Daily? Weekly? Once a year?
68
+ Ask: How do they solve it now? How much time/money does that cost them?
69
+
70
+ ### Area 2: Solution (does it work?)
71
+
72
+ | Score | Meaning |
73
+ |---|---|
74
+ | 1 | Just an idea, no proof it works |
75
+ | 2 | Mockup or prototype exists |
76
+ | 3 | A few people have tried it and gave feedback |
77
+ | 4 | Users understand it in 30 seconds and want to use it |
78
+ | 5 | Users try it and don't want to go back to the old way |
79
+
80
+ Ask: Can a stranger understand what this does in 30 seconds?
81
+ Ask: Is this simpler than what they use now, or more complicated?
82
+
83
+ ### Area 3: Competition (can you win?)
84
+
85
+ | Score | Meaning |
86
+ |---|---|
87
+ | 1 | Strong incumbents, no clear angle |
88
+ | 2 | Competitors exist but are beatable on one dimension |
89
+ | 3 | Competitors are weak or serving a different segment |
90
+ | 4 | No direct competitors, only workarounds |
91
+ | 5 | You have a clear unfair advantage they can't copy |
92
+
93
+ Ask: Who are the top 3 alternatives? What do they charge?
94
+ Ask: Why would someone pick you over them?
95
+
96
+ ### Area 4: Market (big enough?)
97
+
98
+ | Score | Meaning |
99
+ |---|---|
100
+ | 1 | Tiny niche, hard to grow beyond 100 users |
101
+ | 2 | Small market, maybe a lifestyle business |
102
+ | 3 | Medium market, can build a real company |
103
+ | 4 | Large market with clear growth trends |
104
+ | 5 | Massive market, multiple entry points |
105
+
106
+ Ask: How many people/companies have this problem?
107
+ Ask: Is this market growing or shrinking?
108
+
109
+ ### Area 5: Build Ability (can you build it?)
110
+
111
+ | Score | Meaning |
112
+ |---|---|
113
+ | 1 | Needs tech that doesn't exist yet |
114
+ | 2 | Very hard — needs specialized skills you don't have |
115
+ | 3 | Doable but will take 2-3 months for MVP |
116
+ | 4 | Can build MVP in 2-4 weeks with your current skills |
117
+ | 5 | Can build MVP in under 2 weeks, mostly known tech |
118
+
119
+ Ask: What's the hardest part to build?
120
+ Ask: Any tech risk — things that might not work?
121
+
122
+ ### Area 6: Founder Fit (should YOU build it?)
123
+
124
+ | Score | Meaning |
125
+ |---|---|
126
+ | 1 | No connection to this space, just saw an opportunity |
127
+ | 2 | Some interest but no experience with these users |
128
+ | 3 | You understand the space, have used similar products |
129
+ | 4 | You've worked in this space or have the problem yourself |
130
+ | 5 | Deep expertise + network + personal obsession with the problem |
131
+
132
+ Ask: Do you know this type of user personally?
133
+ Ask: Would you still work on this in 2 years if growth is slow?
134
+
135
+ ### Area 7: Business Model (will it make money?)
136
+
137
+ | Score | Meaning |
138
+ |---|---|
139
+ | 1 | No idea how to make money from this |
140
+ | 2 | Could maybe add ads or freemium later |
141
+ | 3 | Users might pay, but unclear how much |
142
+ | 4 | Clear pricing model, comparable products charge similar amounts |
143
+ | 5 | Users already pay for worse alternatives — willingness to pay is proven |
144
+
145
+ Ask: How will you charge? Subscription? One-time? Usage-based?
146
+ Ask: What would users pay? What are they paying for alternatives now?
147
+
148
+ ---
149
+
150
+ ## Scoring
151
+
152
+ Add up all 7 scores.
153
+
154
+ | Total | Verdict | What to Do |
155
+ |---|---|---|
156
+ | 28-35 | **BUILD** | Strong idea. Start with `/spartan:think` to plan it out. |
157
+ | 21-27 | **TEST MORE** | Promising but gaps. Do more user research on the low-scoring areas. |
158
+ | 14-20 | **RETHINK** | Too many weak spots. Pivot the approach or park the idea. |
159
+ | Below 14 | **KILL** | Not ready. Save your time for a stronger idea. |
160
+
161
+ ---
162
+
163
+ ## Output: One-Page Scorecard
164
+
165
+ Show this at the end:
166
+
167
+ ```
168
+ ## Validation Scorecard: [idea name]
169
+
170
+ ### Scores
171
+ | Area | Score | Notes |
172
+ |---|---|---|
173
+ | Problem | X/5 | [one-liner] |
174
+ | Solution | X/5 | [one-liner] |
175
+ | Competition | X/5 | [one-liner] |
176
+ | Market | X/5 | [one-liner] |
177
+ | Build Ability | X/5 | [one-liner] |
178
+ | Founder Fit | X/5 | [one-liner] |
179
+ | Business Model | X/5 | [one-liner] |
180
+ | **TOTAL** | **XX/35** | |
181
+
182
+ ### Verdict: [BUILD / TEST MORE / RETHINK / KILL]
183
+
184
+ ### Weakest Areas (focus here):
185
+ 1. [lowest scoring area] — [what to do about it]
186
+ 2. [second lowest] — [what to do about it]
187
+
188
+ ### Recommended Next Step:
189
+ - BUILD → Run `/spartan:think` to start structured planning
190
+ - TEST MORE → Run `/spartan:interview` to talk to real users
191
+ - RETHINK → Run `/spartan:brainstorm` to explore other angles
192
+ - KILL → Move on. Run `/spartan:brainstorm` for new ideas.
193
+ ```