100xprism 2.3.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.
Files changed (207) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +196 -0
  3. package/VERSION +1 -0
  4. package/adapters/antigravity.sh +14 -0
  5. package/adapters/claude-code.sh +160 -0
  6. package/adapters/codex.sh +13 -0
  7. package/adapters/copilot.sh +13 -0
  8. package/adapters/cursor.sh +13 -0
  9. package/adapters/gemini.sh +13 -0
  10. package/adapters/lib/__pycache__/modules.cpython-312.pyc +0 -0
  11. package/adapters/lib/modules.py +592 -0
  12. package/adapters/lib/shared.sh +83 -0
  13. package/adapters/lib/sync_plugins.py +113 -0
  14. package/adapters/windsurf.sh +15 -0
  15. package/bin/100xprism.js +29 -0
  16. package/get.sh +24 -0
  17. package/install-project.sh +82 -0
  18. package/install.sh +281 -0
  19. package/lib/adapters/windows.js +429 -0
  20. package/lib/bootstrap.js +33 -0
  21. package/lib/init.js +19 -0
  22. package/lib/install.js +18 -0
  23. package/lib/migrate.js +52 -0
  24. package/lib/platform.js +22 -0
  25. package/lib/update.js +29 -0
  26. package/modules/_lib/reference.md +77 -0
  27. package/modules/a11y-auditor/SKILL.md +151 -0
  28. package/modules/ab-test-setup/SKILL.md +266 -0
  29. package/modules/ab-test-setup/evals/evals.json +105 -0
  30. package/modules/ab-test-setup/references/sample-size-guide.md +263 -0
  31. package/modules/ab-test-setup/references/test-templates.md +277 -0
  32. package/modules/ad-creative/SKILL.md +362 -0
  33. package/modules/ad-creative/evals/evals.json +90 -0
  34. package/modules/ad-creative/references/generative-tools.md +637 -0
  35. package/modules/ad-creative/references/platform-specs.md +213 -0
  36. package/modules/ai-seo/SKILL.md +398 -0
  37. package/modules/ai-seo/evals/evals.json +90 -0
  38. package/modules/ai-seo/references/content-patterns.md +285 -0
  39. package/modules/ai-seo/references/platform-ranking-factors.md +152 -0
  40. package/modules/analytics-tracking/SKILL.md +309 -0
  41. package/modules/analytics-tracking/evals/evals.json +90 -0
  42. package/modules/analytics-tracking/references/event-library.md +260 -0
  43. package/modules/analytics-tracking/references/ga4-implementation.md +300 -0
  44. package/modules/analytics-tracking/references/gtm-implementation.md +390 -0
  45. package/modules/architect/SKILL.md +282 -0
  46. package/modules/branch/SKILL.md +105 -0
  47. package/modules/churn-prevention/SKILL.md +424 -0
  48. package/modules/churn-prevention/evals/evals.json +93 -0
  49. package/modules/churn-prevention/references/cancel-flow-patterns.md +316 -0
  50. package/modules/churn-prevention/references/dunning-playbook.md +408 -0
  51. package/modules/cloud-security/SKILL.md +240 -0
  52. package/modules/cold-email/SKILL.md +178 -0
  53. package/modules/cold-email/evals/evals.json +94 -0
  54. package/modules/cold-email/references/benchmarks.md +83 -0
  55. package/modules/cold-email/references/follow-up-sequences.md +81 -0
  56. package/modules/cold-email/references/frameworks.md +90 -0
  57. package/modules/cold-email/references/personalization.md +79 -0
  58. package/modules/cold-email/references/subject-lines.md +53 -0
  59. package/modules/commit/SKILL.md +195 -0
  60. package/modules/competitor-alternatives/SKILL.md +256 -0
  61. package/modules/competitor-alternatives/evals/evals.json +93 -0
  62. package/modules/competitor-alternatives/references/content-architecture.md +271 -0
  63. package/modules/competitor-alternatives/references/templates.md +223 -0
  64. package/modules/connect/SKILL.md +894 -0
  65. package/modules/content-strategy/SKILL.md +359 -0
  66. package/modules/content-strategy/evals/evals.json +90 -0
  67. package/modules/context-dump/SKILL.md +67 -0
  68. package/modules/copy-editing/SKILL.md +447 -0
  69. package/modules/copy-editing/evals/evals.json +89 -0
  70. package/modules/copy-editing/references/plain-english-alternatives.md +394 -0
  71. package/modules/copywriting/SKILL.md +271 -0
  72. package/modules/copywriting/evals/evals.json +111 -0
  73. package/modules/copywriting/references/cold-email-benchmarks.md +83 -0
  74. package/modules/copywriting/references/cold-email-follow-ups.md +81 -0
  75. package/modules/copywriting/references/cold-email-frameworks.md +90 -0
  76. package/modules/copywriting/references/cold-email-personalization.md +79 -0
  77. package/modules/copywriting/references/cold-email-subject-lines.md +53 -0
  78. package/modules/copywriting/references/copy-frameworks.md +344 -0
  79. package/modules/copywriting/references/email-copy-guidelines.md +113 -0
  80. package/modules/copywriting/references/email-types.md +515 -0
  81. package/modules/copywriting/references/natural-transitions.md +272 -0
  82. package/modules/copywriting/references/sequence-templates.md +168 -0
  83. package/modules/data-query/SKILL.md +58 -0
  84. package/modules/data-viz/SKILL.md +225 -0
  85. package/modules/db/SKILL.md +205 -0
  86. package/modules/db/db-engines/_router.md +24 -0
  87. package/modules/db/db-engines/athena.md +16 -0
  88. package/modules/db/db-engines/cloud-sql.md +16 -0
  89. package/modules/db/db-engines/databricks.md +14 -0
  90. package/modules/db/db-engines/oracle.md +14 -0
  91. package/modules/db/db-engines/postgres.md +15 -0
  92. package/modules/db/db-engines/presto.md +14 -0
  93. package/modules/db/db-engines/snowflake.md +14 -0
  94. package/modules/docs/SKILL.md +100 -0
  95. package/modules/email-sequence/SKILL.md +309 -0
  96. package/modules/email-sequence/evals/evals.json +93 -0
  97. package/modules/email-sequence/references/copy-guidelines.md +113 -0
  98. package/modules/email-sequence/references/email-types.md +515 -0
  99. package/modules/email-sequence/references/sequence-templates.md +168 -0
  100. package/modules/enterprise-design/SKILL.md +75 -0
  101. package/modules/eval/SKILL.md +105 -0
  102. package/modules/figma-translator/SKILL.md +49 -0
  103. package/modules/fix-bugs/SKILL.md +104 -0
  104. package/modules/form-cro/SKILL.md +429 -0
  105. package/modules/form-cro/evals/evals.json +90 -0
  106. package/modules/free-tool-strategy/SKILL.md +178 -0
  107. package/modules/free-tool-strategy/evals/evals.json +90 -0
  108. package/modules/free-tool-strategy/references/tool-types.md +217 -0
  109. package/modules/gate/SKILL.md +232 -0
  110. package/modules/grill-me/SKILL.md +59 -0
  111. package/modules/interaction-engineer/SKILL.md +49 -0
  112. package/modules/issue/SKILL.md +272 -0
  113. package/modules/launch/SKILL.md +345 -0
  114. package/modules/launch-strategy/SKILL.md +353 -0
  115. package/modules/launch-strategy/evals/evals.json +91 -0
  116. package/modules/lint/SKILL.md +126 -0
  117. package/modules/marketing-ideas/SKILL.md +167 -0
  118. package/modules/marketing-ideas/evals/evals.json +90 -0
  119. package/modules/marketing-ideas/references/ideas-by-category.md +366 -0
  120. package/modules/marketing-psychology/SKILL.md +455 -0
  121. package/modules/marketing-psychology/evals/evals.json +88 -0
  122. package/modules/motion-designer/SKILL.md +214 -0
  123. package/modules/onboarding-cro/SKILL.md +220 -0
  124. package/modules/onboarding-cro/evals/evals.json +92 -0
  125. package/modules/onboarding-cro/references/experiments.md +258 -0
  126. package/modules/orchestrate/SKILL.md +77 -0
  127. package/modules/page-cro/SKILL.md +182 -0
  128. package/modules/page-cro/evals/evals.json +111 -0
  129. package/modules/page-cro/references/experiments.md +248 -0
  130. package/modules/page-cro/references/paywall-experiments.md +164 -0
  131. package/modules/paid-ads/SKILL.md +315 -0
  132. package/modules/paid-ads/evals/evals.json +90 -0
  133. package/modules/paid-ads/references/ad-copy-templates.md +207 -0
  134. package/modules/paid-ads/references/audience-targeting.md +243 -0
  135. package/modules/paid-ads/references/platform-setup-checklists.md +277 -0
  136. package/modules/paywall-upgrade-cro/SKILL.md +227 -0
  137. package/modules/paywall-upgrade-cro/evals/evals.json +93 -0
  138. package/modules/paywall-upgrade-cro/references/experiments.md +164 -0
  139. package/modules/popup-cro/SKILL.md +453 -0
  140. package/modules/popup-cro/evals/evals.json +94 -0
  141. package/modules/pr/SKILL.md +203 -0
  142. package/modules/pricing-strategy/SKILL.md +231 -0
  143. package/modules/pricing-strategy/evals/evals.json +90 -0
  144. package/modules/pricing-strategy/references/research-methods.md +152 -0
  145. package/modules/pricing-strategy/references/tier-structure.md +232 -0
  146. package/modules/product-marketing-context/SKILL.md +241 -0
  147. package/modules/product-marketing-context/evals/evals.json +85 -0
  148. package/modules/programmatic-seo/SKILL.md +238 -0
  149. package/modules/programmatic-seo/evals/evals.json +94 -0
  150. package/modules/programmatic-seo/references/playbooks.md +308 -0
  151. package/modules/push/SKILL.md +202 -0
  152. package/modules/referral-program/SKILL.md +255 -0
  153. package/modules/referral-program/evals/evals.json +89 -0
  154. package/modules/referral-program/references/affiliate-programs.md +164 -0
  155. package/modules/referral-program/references/program-examples.md +143 -0
  156. package/modules/release/SKILL.md +293 -0
  157. package/modules/revops/SKILL.md +343 -0
  158. package/modules/revops/evals/evals.json +91 -0
  159. package/modules/revops/references/automation-playbooks.md +290 -0
  160. package/modules/revops/references/lifecycle-definitions.md +278 -0
  161. package/modules/revops/references/routing-rules.md +203 -0
  162. package/modules/revops/references/scoring-models.md +247 -0
  163. package/modules/sales-enablement/SKILL.md +349 -0
  164. package/modules/sales-enablement/evals/evals.json +91 -0
  165. package/modules/sales-enablement/references/deck-frameworks.md +263 -0
  166. package/modules/sales-enablement/references/demo-scripts.md +355 -0
  167. package/modules/sales-enablement/references/objection-library.md +270 -0
  168. package/modules/sales-enablement/references/one-pager-templates.md +208 -0
  169. package/modules/schema-markup/SKILL.md +179 -0
  170. package/modules/schema-markup/evals/evals.json +87 -0
  171. package/modules/schema-markup/references/schema-examples.md +398 -0
  172. package/modules/security/SKILL.md +138 -0
  173. package/modules/seo-audit/SKILL.md +412 -0
  174. package/modules/seo-audit/evals/evals.json +136 -0
  175. package/modules/seo-audit/references/ai-writing-detection.md +200 -0
  176. package/modules/seo-audit/references/content-patterns.md +285 -0
  177. package/modules/seo-audit/references/platform-ranking-factors.md +152 -0
  178. package/modules/signup-flow-cro/SKILL.md +359 -0
  179. package/modules/signup-flow-cro/evals/evals.json +88 -0
  180. package/modules/site-architecture/SKILL.md +357 -0
  181. package/modules/site-architecture/evals/evals.json +88 -0
  182. package/modules/site-architecture/references/mermaid-templates.md +216 -0
  183. package/modules/site-architecture/references/navigation-patterns.md +305 -0
  184. package/modules/site-architecture/references/site-type-templates.md +293 -0
  185. package/modules/social-content/SKILL.md +278 -0
  186. package/modules/social-content/evals/evals.json +92 -0
  187. package/modules/social-content/references/platforms.md +170 -0
  188. package/modules/social-content/references/post-templates.md +177 -0
  189. package/modules/social-content/references/reverse-engineering.md +195 -0
  190. package/modules/spec/SKILL.md +81 -0
  191. package/modules/subagents/SKILL.md +123 -0
  192. package/modules/techdebt/SKILL.md +71 -0
  193. package/modules/terminal-setup/SKILL.md +49 -0
  194. package/modules/test/SKILL.md +493 -0
  195. package/modules/test/references/e2e-patterns.md +294 -0
  196. package/modules/update-claude-md/SKILL.md +52 -0
  197. package/modules/visual-system-architect/SKILL.md +53 -0
  198. package/package.json +44 -0
  199. package/plugins/plugins.json +43 -0
  200. package/shell/aliases.sh +24 -0
  201. package/shell/check-update.sh +212 -0
  202. package/templates/.env.example +199 -0
  203. package/templates/docker-compose.md +46 -0
  204. package/templates/node-frontend.md +56 -0
  205. package/templates/node-fullstack.md +59 -0
  206. package/templates/python-api.md +57 -0
  207. package/update.sh +231 -0
@@ -0,0 +1,90 @@
1
+ {
2
+ "skill_name": "free-tool-strategy",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "We want to build a free tool to drive leads for our SEO software. We're thinking about an SEO audit tool or a keyword research tool. Which would be better and how should we approach it?",
7
+ "expected_output": "Should check for product-marketing-context.md first. Should apply the evaluation scorecard to compare both tool ideas across dimensions (audience alignment, lead quality, build effort, SEO value, maintenance burden, competitive differentiation). Should reference the tool types from the skill (analyzers, testers). Should recommend the stronger option with rationale. Should discuss lead capture gating strategy (what's free vs what requires email). Should address MVP scope — what's the minimum valuable version. Should provide implementation recommendations.",
8
+ "assertions": [
9
+ "Checks for product-marketing-context.md",
10
+ "Applies evaluation scorecard to compare options",
11
+ "References tool types from the skill",
12
+ "Recommends one option with clear rationale",
13
+ "Discusses lead capture gating strategy",
14
+ "Addresses MVP scope",
15
+ "Provides implementation recommendations"
16
+ ],
17
+ "files": []
18
+ },
19
+ {
20
+ "id": 2,
21
+ "prompt": "I want to build a free ROI calculator for our HR software. Users input their company size and current processes, and it shows how much time and money they'd save.",
22
+ "expected_output": "Should identify this as a calculator tool type. Should apply the ideation framework to validate the concept. Should discuss lead capture strategy: should the basic result be free and detailed report gated? Should address the build vs buy decision. Should recommend MVP scope (what inputs, what outputs, what formula). Should discuss SEO considerations for the tool page. Should reference the evaluation scorecard to score the idea.",
23
+ "assertions": [
24
+ "Identifies as calculator tool type",
25
+ "Applies ideation framework to validate",
26
+ "Discusses lead capture gating strategy",
27
+ "Addresses build vs buy decision",
28
+ "Recommends MVP scope (inputs, outputs, formula)",
29
+ "Discusses SEO considerations",
30
+ "References evaluation scorecard"
31
+ ],
32
+ "files": []
33
+ },
34
+ {
35
+ "id": 3,
36
+ "prompt": "give me some ideas for free tools we could build. we sell email marketing software for e-commerce brands.",
37
+ "expected_output": "Should trigger on casual phrasing. Should apply the ideation framework to generate tool ideas relevant to email marketing + e-commerce. Should provide 5-8 ideas across different tool types (calculators, generators, analyzers, testers). Examples: email subject line tester, email deliverability checker, email ROI calculator, email template generator, spam score checker. Should briefly score each against the evaluation dimensions. Should recommend top 2-3 to pursue.",
38
+ "assertions": [
39
+ "Triggers on casual phrasing",
40
+ "Applies ideation framework",
41
+ "Generates ideas across multiple tool types",
42
+ "Ideas are relevant to email marketing + e-commerce",
43
+ "Provides 5-8 ideas",
44
+ "Briefly evaluates each idea",
45
+ "Recommends top 2-3 to pursue"
46
+ ],
47
+ "files": []
48
+ },
49
+ {
50
+ "id": 4,
51
+ "prompt": "We built a free website speed test tool 6 months ago but it's barely getting any traffic. What went wrong and how do we fix it?",
52
+ "expected_output": "Should diagnose why the tool isn't getting traffic. Should investigate: SEO strategy for the tool page (target keywords, on-page optimization), distribution strategy (was it launched and forgotten?), competitive landscape (are there dominant free tools already?), tool quality and UX (does it provide unique value?). Should apply the engineering as marketing principles. Should recommend a recovery plan: SEO improvements, content marketing around the tool, product improvements for differentiation.",
53
+ "assertions": [
54
+ "Diagnoses potential traffic issues",
55
+ "Investigates SEO strategy for the tool",
56
+ "Assesses competitive landscape",
57
+ "Questions unique value proposition",
58
+ "Applies engineering as marketing principles",
59
+ "Recommends recovery plan with specific actions"
60
+ ],
61
+ "files": []
62
+ },
63
+ {
64
+ "id": 5,
65
+ "prompt": "Should we gate our free tool behind an email capture or make it completely free? We want leads but don't want to kill usage.",
66
+ "expected_output": "Should apply the lead capture gating strategy framework. Should present the spectrum: fully ungated → partial gating (basic results free, detailed report gated) → fully gated. Should recommend partial gating as the typical best approach — give enough value to demonstrate the tool's worth, gate the detailed/actionable output. Should discuss tradeoffs: ungated = more SEO value and usage, gated = more leads but fewer users. Should provide specific gating recommendations based on tool type.",
67
+ "assertions": [
68
+ "Applies lead capture gating strategy",
69
+ "Presents gating spectrum (ungated to fully gated)",
70
+ "Recommends partial gating approach",
71
+ "Discusses tradeoffs of each approach",
72
+ "Provides specific gating recommendations",
73
+ "Addresses SEO impact of gating decisions"
74
+ ],
75
+ "files": []
76
+ },
77
+ {
78
+ "id": 6,
79
+ "prompt": "How do I optimize the landing page for our free tool to get more signups? The tool itself is great but nobody finds it.",
80
+ "expected_output": "Should recognize this is a landing page conversion optimization task, not a free tool strategy task. Should defer to or cross-reference the page-cro skill for optimizing the tool's landing page conversion rate. May provide free-tool-specific context (gating strategy, value demonstration) but should make clear that page-cro is the right skill for page conversion optimization.",
81
+ "assertions": [
82
+ "Recognizes this as page CRO, not free tool strategy",
83
+ "References or defers to page-cro skill",
84
+ "May provide free-tool-specific context",
85
+ "Does not attempt full page CRO using free tool strategy patterns"
86
+ ],
87
+ "files": []
88
+ }
89
+ ]
90
+ }
@@ -0,0 +1,217 @@
1
+ # Free Tool Types Reference
2
+
3
+ Detailed guide to each type of marketing tool you can build.
4
+
5
+ ## Contents
6
+ - Calculators
7
+ - Generators
8
+ - Analyzers/Auditors
9
+ - Testers/Validators
10
+ - Libraries/Resources
11
+ - Interactive Educational
12
+ - Tool Concept Examples by Industry (SaaS product, agency/services, e-commerce, developer tools, finance)
13
+
14
+ ## Calculators
15
+
16
+ **Best for**: Decisions involving numbers, comparisons, estimates
17
+
18
+ **Examples**:
19
+ - ROI calculator
20
+ - Savings calculator
21
+ - Cost comparison tool
22
+ - Salary calculator
23
+ - Tax estimator
24
+ - Pricing estimator
25
+ - Compound interest calculator
26
+ - Break-even calculator
27
+
28
+ **Why they work**:
29
+ - Personalized output
30
+ - High perceived value
31
+ - Share-worthy results
32
+ - Clear problem → solution
33
+
34
+ **Implementation tips**:
35
+ - Keep inputs simple
36
+ - Show calculations transparently
37
+ - Make results shareable
38
+ - Add "powered by" branding
39
+
40
+ ---
41
+
42
+ ## Generators
43
+
44
+ **Best for**: Creating something useful quickly
45
+
46
+ **Examples**:
47
+ - Policy generator (privacy, terms)
48
+ - Template generator
49
+ - Name/tagline generator
50
+ - Email subject line generator
51
+ - Resume builder
52
+ - Color palette generator
53
+ - Logo maker
54
+ - Contract generator
55
+
56
+ **Why they work**:
57
+ - Tangible output
58
+ - Saves time
59
+ - Easily shared
60
+ - Repeat usage
61
+
62
+ **Implementation tips**:
63
+ - Output should be immediately usable
64
+ - Allow customization
65
+ - Offer download/export options
66
+ - Include email gating for premium outputs
67
+
68
+ ---
69
+
70
+ ## Analyzers/Auditors
71
+
72
+ **Best for**: Evaluating existing work or assets
73
+
74
+ **Examples**:
75
+ - Website grader
76
+ - SEO analyzer
77
+ - Email subject tester
78
+ - Headline analyzer
79
+ - Security checker
80
+ - Performance auditor
81
+ - Accessibility checker
82
+ - Code quality analyzer
83
+
84
+ **Why they work**:
85
+ - Curiosity-driven
86
+ - Personalized insights
87
+ - Creates awareness of problems
88
+ - Natural lead to solution
89
+
90
+ **Implementation tips**:
91
+ - Score or grade for gamification
92
+ - Benchmark against averages
93
+ - Provide actionable recommendations
94
+ - Follow up with improvement offers
95
+
96
+ ---
97
+
98
+ ## Testers/Validators
99
+
100
+ **Best for**: Checking if something works
101
+
102
+ **Examples**:
103
+ - Meta tag preview
104
+ - Email rendering test
105
+ - Mobile-friendly test
106
+ - Speed test
107
+ - DNS checker
108
+ - SSL certificate checker
109
+ - Redirect checker
110
+ - Broken link finder
111
+
112
+ **Why they work**:
113
+ - Immediate utility
114
+ - Bookmark-worthy
115
+ - Repeat usage
116
+ - Professional necessity
117
+
118
+ **Implementation tips**:
119
+ - Fast results are essential
120
+ - Show pass/fail clearly
121
+ - Provide fix instructions
122
+ - Integrate with your product where relevant
123
+
124
+ ---
125
+
126
+ ## Libraries/Resources
127
+
128
+ **Best for**: Reference material
129
+
130
+ **Examples**:
131
+ - Icon library
132
+ - Template library
133
+ - Code snippet library
134
+ - Example gallery
135
+ - Industry directory
136
+ - Resource list
137
+ - Swipe file collection
138
+ - Font pairing tool
139
+
140
+ **Why they work**:
141
+ - High SEO value
142
+ - Ongoing traffic
143
+ - Establishes authority
144
+ - Linkable asset
145
+
146
+ **Implementation tips**:
147
+ - Make searchable/filterable
148
+ - Allow easy copying/downloading
149
+ - Update regularly
150
+ - Accept community submissions
151
+
152
+ ---
153
+
154
+ ## Interactive Educational
155
+
156
+ **Best for**: Learning/understanding
157
+
158
+ **Examples**:
159
+ - Interactive tutorials
160
+ - Code playgrounds
161
+ - Visual explainers
162
+ - Quizzes/assessments
163
+ - Simulators
164
+ - Comparison tools
165
+ - Decision trees
166
+ - Configurators
167
+
168
+ **Why they work**:
169
+ - Engages deeply
170
+ - Demonstrates expertise
171
+ - Shareable
172
+ - Memory-creating
173
+
174
+ **Implementation tips**:
175
+ - Make it hands-on
176
+ - Show immediate feedback
177
+ - Lead to deeper resources
178
+ - Capture engaged users
179
+
180
+ ---
181
+
182
+ ## Tool Concept Examples by Industry
183
+
184
+ ### SaaS Product
185
+ - Product ROI calculator
186
+ - Competitor comparison tool
187
+ - Readiness assessment quiz
188
+ - Template library for use case
189
+ - Feature configurator
190
+
191
+ ### Agency/Services
192
+ - Industry benchmark tool
193
+ - Project scoping calculator
194
+ - Portfolio review tool
195
+ - Cost estimator
196
+ - Proposal generator
197
+
198
+ ### E-commerce
199
+ - Product finder quiz
200
+ - Comparison tool
201
+ - Size/fit calculator
202
+ - Savings calculator
203
+ - Gift finder
204
+
205
+ ### Developer Tools
206
+ - Code snippet library
207
+ - Testing/preview tool
208
+ - Documentation generator
209
+ - Interactive tutorials
210
+ - API playground
211
+
212
+ ### Finance
213
+ - Financial calculators
214
+ - Investment comparison
215
+ - Budget planner
216
+ - Tax estimator
217
+ - Loan calculator
@@ -0,0 +1,232 @@
1
+ ---
2
+ name: gate
3
+ description: **MANDATORY before every commit and push.** All gates must pass — Gates 1–3 always run; Gates 4 (Docker) and 5 (Cloud) run only when applicable. Do NOT proceed if any gate fails — fix the issue first.
4
+ category: quality
5
+ tier: core
6
+ slash_command: /gate
7
+ ---
8
+
9
+ # Gate — Pre-Commit Quality Gate
10
+
11
+ **MANDATORY before every commit and push.** All gates must pass — Gates 1–3 always run; Gates 4 (Docker) and 5 (Cloud) run only when applicable. Do NOT proceed if any gate fails — fix the issue first.
12
+
13
+ ## Do NOT ask for permission. Do NOT skip gates. Do NOT continue past a failing gate.
14
+
15
+ ---
16
+
17
+ ## How to run the gates (fan out the independent ones)
18
+
19
+ Gate 1 (the coverage loop) is the long pole — run it first and let it finish. Gates 2–5
20
+ (**security, build, docker, cloud-security**) are mutually independent: they read the
21
+ tree but never depend on each other's results, so **run them in parallel**, not as serial
22
+ ASCII boxes.
23
+
24
+ Use the fan-out ladder from the `subagents` skill: prefer the `Workflow` tool (one stage
25
+ per gate, `schema`-validated return), else dispatch parallel `Agent`/`Task` subagents,
26
+ else fall back to running them serially. Each gate subagent returns a structured verdict:
27
+
28
+ ```json
29
+ { "gate": "security", "status": "passed|failed|skipped", "severity": "critical|high|none", "findings": ["..."] }
30
+ ```
31
+
32
+ The parent **reduces** the verdicts into the summary box below: any `failed` with
33
+ critical/high severity ⇒ overall FAILED. Cache each verdict keyed on the **tree hash**
34
+ (`git write-tree` + clean-tree check) so a re-run on an unchanged tree reuses the verdict
35
+ instead of recomputing — the same key the `gate-pass.py` token uses (see *Record the
36
+ pass* below). Never reuse a verdict across a changed tree.
37
+
38
+ ---
39
+
40
+ ## Gate 1 — Test Coverage (≥ 95%)
41
+
42
+ Run the **test** workflow. Run ALL test layers (unit, integration, E2E if configured).
43
+
44
+ Requirements:
45
+ - Lines ≥ 95% | Functions ≥ 95% | Statements ≥ 95% | Branches ≥ 90%
46
+ - Zero failing tests
47
+
48
+ **If coverage is below threshold or tests fail → STOP. Fix tests. Re-run gate.**
49
+
50
+ ```
51
+ Gate 1: Tests ✅ PASSED | ❌ FAILED — do not proceed
52
+ ```
53
+
54
+ ---
55
+
56
+ ## Gate 2 — Security (No Critical, No High)
57
+
58
+ Run the **security** workflow. Scan all package managers found in this project.
59
+
60
+ Requirements:
61
+ - **Zero critical vulnerabilities**
62
+ - **Zero high vulnerabilities**
63
+ - No real secrets in tracked files
64
+
65
+ Known exceptions accepted **only if explicitly documented** in the project's `/security` override (e.g. install-time-only transitive deps). When in doubt, treat as blocking.
66
+
67
+ **If critical or high vulnerabilities exist → STOP. Fix vulnerabilities. Re-run gate.**
68
+
69
+ ```
70
+ Gate 2: Security ✅ PASSED | ❌ FAILED — do not proceed
71
+ ```
72
+
73
+ ---
74
+
75
+ ## Gate 3 — Local Build
76
+
77
+ Detect and run all applicable builds:
78
+
79
+ ```bash
80
+ PROJECT_ROOT=$(git rev-parse --show-toplevel)
81
+ cd "$PROJECT_ROOT"
82
+ ```
83
+
84
+ **npm frontend** (if `package.json` + `vite`/`webpack`/`next` detected):
85
+ ```bash
86
+ npm run build
87
+ ```
88
+
89
+ **npm backend** (if `api/package.json` detected):
90
+ ```bash
91
+ cd api && npm run build
92
+ ```
93
+
94
+ **Python** (if `pyproject.toml` detected):
95
+ ```bash
96
+ ./venv/bin/python -m build 2>/dev/null || ./venv/bin/python -c "import py_compile, glob; [py_compile.compile(f, doraise=True) for f in glob.glob('**/*.py', recursive=True) if 'venv' not in f]"
97
+ ```
98
+
99
+ Requirements:
100
+ - Zero compiler errors
101
+ - Zero TypeScript type errors (for TS projects)
102
+
103
+ **If any build fails → STOP. Fix compiler errors. Re-run gate.**
104
+
105
+ ```
106
+ Gate 3: Build ✅ PASSED | ❌ FAILED — do not proceed
107
+ ```
108
+
109
+ ---
110
+
111
+ ## Gate 4 — Docker Build (if Dockerfile present)
112
+
113
+ ```bash
114
+ if [ -f "$PROJECT_ROOT/Dockerfile" ]; then
115
+ docker build -t $(basename "$PROJECT_ROOT"):gate-check . --quiet
116
+ echo "Docker build: ✅"
117
+ else
118
+ echo "Docker build: skipped (no Dockerfile)"
119
+ fi
120
+ ```
121
+
122
+ If the project has a `docker-compose.yml`, also verify it starts cleanly:
123
+ ```bash
124
+ if [ -f "$PROJECT_ROOT/deploy/docker-compose.yml" ] || [ -f "$PROJECT_ROOT/docker-compose.yml" ]; then
125
+ COMPOSE_FILE=${PROJECT_ROOT}/deploy/docker-compose.yml
126
+ [ -f "$COMPOSE_FILE" ] || COMPOSE_FILE=${PROJECT_ROOT}/docker-compose.yml
127
+ docker compose -f "$COMPOSE_FILE" config --quiet && echo "Compose config: ✅"
128
+ fi
129
+ ```
130
+
131
+ **If Docker build fails → STOP. Fix the Dockerfile or dependency issue. Re-run gate.**
132
+
133
+ ```
134
+ Gate 4: Docker ✅ PASSED | skipped (no Dockerfile) | ❌ FAILED — do not proceed
135
+ ```
136
+
137
+ ---
138
+
139
+ ## Gate 5 — Cloud Security & Data Privacy (if cloud project)
140
+
141
+ Detect whether this project deploys to a cloud provider:
142
+
143
+ ```bash
144
+ PROJECT_ROOT=$(git rev-parse --show-toplevel)
145
+ IS_CLOUD_PROJECT=false
146
+
147
+ # Detect project instruction file
148
+ INSTRUCTION_FILE=$(for f in CLAUDE.md AGENTS.md .cursorrules .windsurfrules .github/copilot-instructions.md GEMINI.md; do [ -f "$PROJECT_ROOT/$f" ] && echo "$PROJECT_ROOT/$f" && break; done)
149
+
150
+ # GCP: check for gcloud config, Terraform, or project instruction file references
151
+ if [ -n "$INSTRUCTION_FILE" ] && grep -qE "gcloud|GCP_PROJECT|GOOGLE_CLOUD_PROJECT|Cloud Run|Cloud SQL|Firebase" \
152
+ "$INSTRUCTION_FILE" "$PROJECT_ROOT/.env.example" 2>/dev/null; then
153
+ IS_CLOUD_PROJECT=true
154
+ fi
155
+
156
+ # AWS: check for aws-cli config or CDK/Terraform
157
+ if ls "$PROJECT_ROOT/terraform/" "$PROJECT_ROOT/infra/" "$PROJECT_ROOT/cdk.json" 2>/dev/null | grep -qE "aws|cdk"; then
158
+ IS_CLOUD_PROJECT=true
159
+ fi
160
+
161
+ echo "Cloud project: $IS_CLOUD_PROJECT"
162
+ ```
163
+
164
+ **If `IS_CLOUD_PROJECT=true`:** Run the **cloud-security** workflow. Run the full cloud security and data privacy scan.
165
+
166
+ Requirements:
167
+ - **Zero CRITICAL findings** (public data exposure, open credentials, public storage, SQL injection)
168
+ - **Zero HIGH findings** (missing SSL, overprivileged IAM, PII in logs, missing auth headers, eval() usage)
169
+ - MEDIUM/LOW findings: reported, non-blocking, must be tracked
170
+
171
+ **If any CRITICAL or HIGH finding → STOP. Fix before committing. Cloud misconfigurations can expose user data.**
172
+
173
+ **If `IS_CLOUD_PROJECT=false`:** Gate 5 is skipped.
174
+
175
+ ```
176
+ Gate 5: Cloud Security ✅ PASSED | ❌ FAILED — do not proceed | skipped (local only)
177
+ ```
178
+
179
+ ---
180
+
181
+ ## Gate summary output
182
+
183
+ This box is the **reduce step**: collect the structured verdict from each gate (Gate 1
184
+ plus the parallel Gates 2–5) and aggregate. STATUS is PASSED only when every applicable
185
+ gate reports `passed` with no critical/high severity.
186
+
187
+ ```
188
+ ╔══════════════════════════════════════════════════════╗
189
+ ║ QUALITY GATE RESULTS ║
190
+ ╠══════════════════════════════════════════════════════╣
191
+ ║ Gate 1 Tests: ✅ PASSED (FE 97% | BE 96%) ║
192
+ ║ Gate 2 Security: ✅ PASSED (0 critical, 0 high) ║
193
+ ║ Gate 3 Build: ✅ PASSED (FE ✅ | BE ✅) ║
194
+ ║ Gate 4 Docker: ✅ PASSED | skipped ║
195
+ ║ Gate 5 Cloud/Privacy: ✅ PASSED | skipped ║
196
+ ╠══════════════════════════════════════════════════════╣
197
+ ║ STATUS: ✅ ALL GATES PASSED — safe to commit ║
198
+ ╚══════════════════════════════════════════════════════╝
199
+ ```
200
+
201
+ If ANY gate fails:
202
+ ```
203
+ ╔══════════════════════════════════════════════════════╗
204
+ ║ QUALITY GATE RESULTS ║
205
+ ╠══════════════════════════════════════════════════════╣
206
+ ║ Gate 1 Tests: ❌ FAILED (BE 88%) ║
207
+ ║ Gate 2 Security: ✅ PASSED ║
208
+ ║ Gate 3 Build: ✅ PASSED ║
209
+ ║ Gate 4 Docker: skipped ║
210
+ ║ Gate 5 Cloud/Privacy: ❌ FAILED (1 CRITICAL) ║
211
+ ╠══════════════════════════════════════════════════════╣
212
+ ║ STATUS: ❌ GATE FAILED — fix issues before commit ║
213
+ ╚══════════════════════════════════════════════════════╝
214
+ ```
215
+
216
+ **Do NOT commit or push until the gate summary shows ALL GATES PASSED.**
217
+
218
+ ---
219
+
220
+ ## Record the pass (enables the gate-on-commit hook)
221
+
222
+ **Only when the summary shows ALL GATES PASSED**, record the pass so the optional
223
+ `gate-on-commit` hook will allow the next commit/push:
224
+
225
+ ```bash
226
+ python3 ~/100xprism/hooks/gate-pass.py 2>/dev/null || true
227
+ ```
228
+
229
+ This writes a token for the **current tree state** (HEAD + tracked diff + untracked
230
+ files) to `~/.100xprism/gate-cache`. The token is invalidated the moment anything in the
231
+ tree changes, so a later edit always re-arms the gate. If a gate **failed**, do NOT run
232
+ this — leave the cache stale so the commit stays blocked.
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: grill-me
3
+ description: Adversarial code review before a PR — Claude asks hard questions until you pass the test. Also supports elegant rewrites ("scrap this and implement the elegant solution") and spec-driven development. Use before opening any pull request.
4
+ category: engineering
5
+ tier: core
6
+ slash_command: /grill
7
+ allowed-tools: Bash(git:*) Read Grep Glob
8
+ ---
9
+
10
+ # Grill — Adversarial Code Review
11
+
12
+ Enter adversarial review mode. Challenge the current changes before a PR is created. Do not approve until satisfied.
13
+
14
+ ## How to use
15
+ - `/grill` — adversarial review of current diff before `/pr`
16
+ - `/grill rewrite` — scrap and implement the elegant solution
17
+ - `/grill spec` — write detailed specs before handing off work
18
+
19
+ ---
20
+
21
+ ## Mode A — Code Review (default)
22
+
23
+ ```bash
24
+ PROJECT_ROOT=$(git rev-parse --show-toplevel)
25
+ cd "$PROJECT_ROOT"
26
+ git diff main
27
+ git diff --staged
28
+ ```
29
+
30
+ Read the diff. Identify risks:
31
+
32
+ - [ ] Does this handle the unhappy path?
33
+ - [ ] Are there race conditions or async issues?
34
+ - [ ] Is this the right abstraction (over- or under-engineered)?
35
+ - [ ] Will this break anything that depends on it?
36
+ - [ ] Are tests missing for the new behaviour?
37
+ - [ ] Is the naming clear to someone reading this cold?
38
+ - [ ] Could this be 50% simpler?
39
+
40
+ Ask the user **3–5 hard, specific questions** about the changes. Do not accept vague answers — probe further. Only approve (and proceed with `/pr`) once satisfied.
41
+
42
+ ---
43
+
44
+ ## Mode B — Elegant Rewrite
45
+
46
+ After a messy fix, start fresh:
47
+ - Identify the root insight that makes the solution simple
48
+ - Rewrite with that insight as the foundation — no legacy cruft
49
+ - The elegant solution is usually 30–50% less code
50
+
51
+ ---
52
+
53
+ ## Mode C — Spec-Driven Development
54
+
55
+ Ask clarifying questions until requirements are unambiguous. Produce a written spec (inputs, outputs, edge cases, acceptance criteria). Only begin implementation once spec is approved.
56
+
57
+ ---
58
+
59
+ **GATE: User has answered all questions satisfactorily. Only then proceed to `/pr`.**
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: interaction-engineer
3
+ description: Act as a Senior Frontend Systems Engineer to architect interactive modules — multi-step forms, pricing calculators, faceted search, dashboards, and auth flows. Defines state machines, data flow, error handling, and React component structure. Use when designing complex UI logic for Figma Make prototypes or React implementation.
4
+ category: design
5
+ tier: on-demand
6
+ allowed-tools: Read Write
7
+ ---
8
+
9
+ You are a Senior Frontend Systems Engineer. Architect the functional logic for advanced interactive modules.
10
+
11
+ ## Required Modules (specify which to build)
12
+
13
+ Choose from these or describe your own:
14
+
15
+ 1. **Multi-step form** — with validation and progress tracking
16
+ 2. **Real-time pricing calculator** — with dynamic computation
17
+ 3. **Faceted search** — with filtering, sorting, and pagination
18
+ 4. **User dashboard** — with analytics visualization and CRUD capability
19
+ 5. **Full authentication lifecycle** — login, registration, password recovery
20
+
21
+ ## For Each Module, Define
22
+
23
+ ### State Machine Structure
24
+ - Textual diagram of all states and transitions
25
+
26
+ ### Data Flow
27
+ - Props, events, and API communication patterns
28
+
29
+ ### Error Management Strategy
30
+ - All error states and user-facing messages
31
+
32
+ ### Loading Behavior
33
+ - Skeleton states, spinners, progressive loading
34
+
35
+ ### Empty State UX
36
+ - What the user sees before data is populated
37
+
38
+ ### Edge Case Handling
39
+ - Boundary conditions, timeouts, network failures
40
+
41
+ ## Output Format
42
+
43
+ Generate a React component architecture outline including:
44
+ - Hooks and handlers
45
+ - Structural logic (not full implementation)
46
+
47
+ ## Output Goal
48
+
49
+ This output will inform the interactive prototype built within Figma Make. It should be detailed enough for a developer to implement directly from the spec.