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,177 @@
1
+ # Post Format Templates
2
+
3
+ Ready-to-use templates for different platforms and content types.
4
+
5
+ ## Contents
6
+ - LinkedIn Post Templates (The Story Post, The Contrarian Take, The List Post, The How-To)
7
+ - Twitter/X Thread Templates (The Tutorial Thread, The Story Thread, The Breakdown Thread)
8
+ - Instagram Templates (The Carousel Hook, The Reel Script)
9
+ - Hook Formulas (Curiosity Hooks, Story Hooks, Value Hooks, Contrarian Hooks, Social Proof Hooks)
10
+
11
+ ## LinkedIn Post Templates
12
+
13
+ ### The Story Post
14
+ ```
15
+ [Hook: Unexpected outcome or lesson]
16
+
17
+ [Set the scene: When/where this happened]
18
+
19
+ [The challenge you faced]
20
+
21
+ [What you tried / what happened]
22
+
23
+ [The turning point]
24
+
25
+ [The result]
26
+
27
+ [The lesson for readers]
28
+
29
+ [Question to prompt engagement]
30
+ ```
31
+
32
+ ### The Contrarian Take
33
+ ```
34
+ [Unpopular opinion stated boldly]
35
+
36
+ Here's why:
37
+
38
+ [Reason 1]
39
+ [Reason 2]
40
+ [Reason 3]
41
+
42
+ [What you recommend instead]
43
+
44
+ [Invite discussion: "Am I wrong?"]
45
+ ```
46
+
47
+ ### The List Post
48
+ ```
49
+ [X things I learned about [topic] after [credibility builder]:
50
+
51
+ 1. [Point] — [Brief explanation]
52
+
53
+ 2. [Point] — [Brief explanation]
54
+
55
+ 3. [Point] — [Brief explanation]
56
+
57
+ [Wrap-up insight]
58
+
59
+ Which resonates most with you?
60
+ ```
61
+
62
+ ### The How-To
63
+ ```
64
+ How to [achieve outcome] in [timeframe]:
65
+
66
+ Step 1: [Action]
67
+ ↳ [Why this matters]
68
+
69
+ Step 2: [Action]
70
+ ↳ [Key detail]
71
+
72
+ Step 3: [Action]
73
+ ↳ [Common mistake to avoid]
74
+
75
+ [Result you can expect]
76
+
77
+ [CTA or question]
78
+ ```
79
+
80
+ ---
81
+
82
+ ## Twitter/X Thread Templates
83
+
84
+ ### The Tutorial Thread
85
+ ```
86
+ Tweet 1: [Hook + promise of value]
87
+
88
+ "Here's exactly how to [outcome] (step-by-step):"
89
+
90
+ Tweet 2-7: [One step per tweet with details]
91
+
92
+ Final tweet: [Summary + CTA]
93
+
94
+ "If this was helpful, follow me for more on [topic]"
95
+ ```
96
+
97
+ ### The Story Thread
98
+ ```
99
+ Tweet 1: [Intriguing hook]
100
+
101
+ "[Time] ago, [unexpected thing happened]. Here's the full story:"
102
+
103
+ Tweet 2-6: [Story beats, building tension]
104
+
105
+ Tweet 7: [Resolution and lesson]
106
+
107
+ Final tweet: [Takeaway + engagement ask]
108
+ ```
109
+
110
+ ### The Breakdown Thread
111
+ ```
112
+ Tweet 1: [Company/person] just [did thing].
113
+
114
+ Here's why it's genius (and what you can learn):
115
+
116
+ Tweet 2-6: [Analysis points]
117
+
118
+ Tweet 7: [Your key takeaway]
119
+
120
+ "[Related insight + follow CTA]"
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Instagram Templates
126
+
127
+ ### The Carousel Hook
128
+ ```
129
+ [Slide 1: Bold statement or question]
130
+ [Slides 2-9: One point per slide, visual + text]
131
+ [Slide 10: Summary + CTA]
132
+
133
+ Caption: [Expand on the topic, add context, include CTA]
134
+ ```
135
+
136
+ ### The Reel Script
137
+ ```
138
+ Hook (0-2 sec): [Pattern interrupt or bold claim]
139
+ Setup (2-5 sec): [Context for the tip]
140
+ Value (5-25 sec): [The actual advice/content]
141
+ CTA (25-30 sec): [Follow, comment, share, link]
142
+ ```
143
+
144
+ ---
145
+
146
+ ## Hook Formulas
147
+
148
+ The first line determines whether anyone reads the rest.
149
+
150
+ ### Curiosity Hooks
151
+ - "I was wrong about [common belief]."
152
+ - "The real reason [outcome] happens isn't what you think."
153
+ - "[Impressive result] — and it only took [surprisingly short time]."
154
+ - "Nobody talks about [insider knowledge]."
155
+
156
+ ### Story Hooks
157
+ - "Last week, [unexpected thing] happened."
158
+ - "I almost [big mistake/failure]."
159
+ - "3 years ago, I [past state]. Today, [current state]."
160
+ - "[Person] told me something I'll never forget."
161
+
162
+ ### Value Hooks
163
+ - "How to [desirable outcome] (without [common pain]):"
164
+ - "[Number] [things] that [outcome]:"
165
+ - "The simplest way to [outcome]:"
166
+ - "Stop [common mistake]. Do this instead:"
167
+
168
+ ### Contrarian Hooks
169
+ - "Unpopular opinion: [bold statement]"
170
+ - "[Common advice] is wrong. Here's why:"
171
+ - "I stopped [common practice] and [positive result]."
172
+ - "Everyone says [X]. The truth is [Y]."
173
+
174
+ ### Social Proof Hooks
175
+ - "We [achieved result] in [timeframe]. Here's the full story:"
176
+ - "[Number] people asked me about [topic]. Here's my answer:"
177
+ - "[Authority figure] taught me [lesson]."
@@ -0,0 +1,195 @@
1
+ # Reverse Engineering Viral Content
2
+
3
+ Instead of guessing what works, systematically analyze top-performing content in your niche and extract proven patterns.
4
+
5
+ ## Contents
6
+ - The 6-Step Framework (Niche ID, Scrape, Analyze, Playbook, Layer Voice, Convert)
7
+ - The Formula
8
+ - Reverse Engineering Checklist
9
+
10
+ ## The 6-Step Framework
11
+
12
+ ### 1. NICHE ID — Find Top Creators
13
+
14
+ Identify 10-20 creators in your space who consistently get high engagement:
15
+
16
+ **Selection criteria:**
17
+ - Posting consistently (3+ times/week)
18
+ - High engagement rate relative to follower count
19
+ - Audience overlap with your target market
20
+ - Mix of established and rising creators
21
+
22
+ **Where to find them:**
23
+ - LinkedIn: Search by industry keywords, check "People also viewed"
24
+ - Twitter/X: Check who your target audience follows and engages with
25
+ - Use tools like SparkToro, Followerwonk, or manual research
26
+ - Look at who gets featured in industry newsletters
27
+
28
+ ### 2. SCRAPE — Collect Posts at Scale
29
+
30
+ Gather 500-1000+ posts from your identified creators for analysis:
31
+
32
+ **Tools:**
33
+ - **Apify** — LinkedIn scraper, Twitter scraper actors
34
+ - **Phantom Buster** — Multi-platform automation
35
+ - **Export tools** — Platform-specific export features
36
+ - **Manual collection** — For smaller datasets, copy/paste into spreadsheet
37
+
38
+ **Data to collect:**
39
+ - Post text/content
40
+ - Engagement metrics (likes, comments, shares, saves)
41
+ - Post format (text-only, carousel, video, image)
42
+ - Posting time/day
43
+ - Hook/first line
44
+ - CTA used
45
+ - Topic/theme
46
+
47
+ ### 3. ANALYZE — Extract What Actually Works
48
+
49
+ Sort and analyze the data to find patterns:
50
+
51
+ **Quantitative analysis:**
52
+ - Rank posts by engagement rate
53
+ - Identify top 10% performers
54
+ - Look for format patterns (do carousels outperform?)
55
+ - Check timing patterns (best days/times)
56
+ - Compare topic performance
57
+
58
+ **Qualitative analysis:**
59
+ - What hooks do top posts use?
60
+ - How long are high-performing posts?
61
+ - What emotional triggers appear?
62
+ - What formats repeat?
63
+ - What topics consistently perform?
64
+
65
+ **Questions to answer:**
66
+ - What's the average length of top posts?
67
+ - Which hook types appear most in top 10%?
68
+ - What CTAs drive most comments?
69
+ - What topics get saved/shared most?
70
+
71
+ ### 4. PLAYBOOK — Codify Patterns
72
+
73
+ Document repeatable patterns you can use:
74
+
75
+ **Hook patterns to codify:**
76
+ ```
77
+ Pattern: "I [unexpected action] and [surprising result]"
78
+ Example: "I stopped posting daily and my engagement doubled"
79
+ Why it works: Curiosity gap + contrarian
80
+
81
+ Pattern: "[Specific number] [things] that [outcome]:"
82
+ Example: "7 pricing mistakes that cost me $50K:"
83
+ Why it works: Specificity + loss aversion
84
+
85
+ Pattern: "[Controversial take]"
86
+ Example: "Cold outreach is dead."
87
+ Why it works: Pattern interrupt + invites debate
88
+ ```
89
+
90
+ **Format patterns:**
91
+ - Carousel: Hook slide → Problem → Solution steps → CTA
92
+ - Thread: Hook → Promise → Deliver → Recap → CTA
93
+ - Story post: Hook → Setup → Conflict → Resolution → Lesson
94
+
95
+ **CTA patterns:**
96
+ - Question: "What would you add?"
97
+ - Agreement: "Agree or disagree?"
98
+ - Share: "Tag someone who needs this"
99
+ - Save: "Save this for later"
100
+
101
+ ### 5. LAYER VOICE — Apply Direct Response Principles
102
+
103
+ Take proven patterns and make them yours with these voice principles:
104
+
105
+ **"Smart friend who figured something out"**
106
+ - Write like you're texting advice to a friend
107
+ - Share discoveries, not lectures
108
+ - Use "I found that..." not "You should..."
109
+ - Be helpful, not preachy
110
+
111
+ **Specific > Vague**
112
+ ```
113
+ ❌ "I made good revenue"
114
+ ✅ "I made $47,329"
115
+
116
+ ❌ "It took a while"
117
+ ✅ "It took 47 days"
118
+
119
+ ❌ "A lot of people"
120
+ ✅ "2,847 people"
121
+ ```
122
+
123
+ **Short. Breathe. Land.**
124
+ - One idea per sentence
125
+ - Use line breaks liberally
126
+ - Let important points stand alone
127
+ - Create rhythm: short, short, longer explanation
128
+
129
+ ```
130
+ ❌ "I spent three years building my business the wrong way before I finally realized that the key to success was focusing on fewer things and doing them exceptionally well."
131
+
132
+ ✅ "I built wrong for 3 years.
133
+
134
+ Then I figured it out.
135
+
136
+ Focus on less.
137
+ Do it exceptionally well.
138
+
139
+ Everything changed."
140
+ ```
141
+
142
+ **Write from emotion**
143
+ - Start with how you felt, not what you did
144
+ - Use emotional words: frustrated, excited, terrified, obsessed
145
+ - Show vulnerability when authentic
146
+ - Connect the feeling to the lesson
147
+
148
+ ```
149
+ ❌ "Here's what I learned about pricing"
150
+
151
+ ✅ "I was terrified to raise my prices.
152
+
153
+ My hands were shaking when I sent the email.
154
+
155
+ Here's what happened..."
156
+ ```
157
+
158
+ ### 6. CONVERT — Turn Attention into Action
159
+
160
+ Bridge from engagement to business results:
161
+
162
+ **Soft conversions:**
163
+ - Newsletter signups in bio/comments
164
+ - Free resource offers in follow-up comments
165
+ - DM triggers ("Comment X and I'll send you...")
166
+ - Profile visits → optimized profile with clear CTA
167
+
168
+ **Direct conversions:**
169
+ - Link in comments (not post body on LinkedIn)
170
+ - Contextual product mentions within valuable content
171
+ - Case study posts that naturally showcase your work
172
+ - "If you want help with this, DM me" (sparingly)
173
+
174
+ ---
175
+
176
+ ## The Formula
177
+
178
+ ```
179
+ 1. Find what's already working (don't guess)
180
+ 2. Extract the patterns (hooks, formats, CTAs)
181
+ 3. Layer your authentic voice on top
182
+ 4. Test and iterate based on your own data
183
+ ```
184
+
185
+ ## Reverse Engineering Checklist
186
+
187
+ - [ ] Identified 10-20 top creators in niche
188
+ - [ ] Collected 500+ posts for analysis
189
+ - [ ] Ranked by engagement rate
190
+ - [ ] Documented top 10 hook patterns
191
+ - [ ] Documented top 5 format patterns
192
+ - [ ] Documented top 5 CTA patterns
193
+ - [ ] Created voice guidelines (specificity, brevity, emotion)
194
+ - [ ] Built template library from patterns
195
+ - [ ] Set up tracking for your own content performance
@@ -0,0 +1,81 @@
1
+ ---
2
+ name: spec
3
+ description: Write a precise, implementation-ready spec before any code is written. Use when a feature request is vague, ambiguous, or complex — turn fuzzy requirements into an unambiguous spec with acceptance criteria, edge cases, API contracts, and data shapes. Run before /orchestrate or /commit.
4
+ category: engineering
5
+ tier: core
6
+ slash_command: /spec
7
+ allowed-tools: Read Grep Glob Bash(git:*)
8
+ ---
9
+
10
+ # Spec — Implementation-Ready Specification
11
+
12
+ Turn a vague request into an unambiguous, implementation-ready specification. Do not write any code until the spec is approved.
13
+
14
+ ## How to use
15
+ - `/spec <feature request>` — clarify, read codebase, produce spec, get approval
16
+
17
+ ---
18
+
19
+ ## Phase 1 — Clarify (ask, don't assume)
20
+
21
+ Ask targeted questions to eliminate ambiguity:
22
+ - **Who** triggers this? (user action, background job, webhook, cron?)
23
+ - **What** is the exact input? (types, shapes, valid ranges, optional vs required)
24
+ - **What** is the exact output? (return value, side effects, UI state change)
25
+ - **What** are the error cases? (invalid input, missing data, network failure, auth failure)
26
+ - **What** are the constraints? (performance, backwards-compatibility, permissions, rate limits)
27
+ - **What** does "done" look like? (how do you know it works?)
28
+
29
+ Only ask questions that materially change the spec. Infer what you can from the codebase.
30
+
31
+ ---
32
+
33
+ ## Phase 2 — Read context
34
+
35
+ ```bash
36
+ PROJECT_ROOT=$(git rev-parse --show-toplevel)
37
+ cd "$PROJECT_ROOT"
38
+ git log --oneline -10
39
+ ```
40
+
41
+ Read relevant existing code: find related files with Grep/Glob, understand existing data shapes, API contracts, naming conventions. Note anything constraining the implementation.
42
+
43
+ ---
44
+
45
+ ## Phase 3 — Write the spec
46
+
47
+ ```
48
+ ## Feature: [name]
49
+
50
+ ### Summary
51
+ One paragraph: what this does and why.
52
+
53
+ ### Inputs
54
+ - [param]: [type] — [description, valid values, required/optional]
55
+
56
+ ### Outputs / Side Effects
57
+ - [what changes, what is returned, what events are fired]
58
+
59
+ ### Acceptance Criteria
60
+ - [ ] [specific, testable condition]
61
+ - [ ] [specific, testable condition]
62
+
63
+ ### Edge Cases & Error Handling
64
+ - [condition] → [expected behavior]
65
+
66
+ ### Out of Scope
67
+ - [explicitly list what this does NOT do]
68
+
69
+ ### Open Questions
70
+ - [anything unresolved — flag for user to decide]
71
+ ```
72
+
73
+ ---
74
+
75
+ ## Phase 4 — Get approval
76
+
77
+ Present the spec. Do **not** proceed to implementation until the user says "approved", "lgtm", "ship it", or similar.
78
+
79
+ If the user requests changes: update the spec and re-present it.
80
+
81
+ **Once approved:** run `/commit` or hand off to implementation.
@@ -0,0 +1,123 @@
1
+ ---
2
+ name: subagents
3
+ description: Use subagents to throw more compute at hard problems, keep the main context window clean, and auto-approve safe permissions via hooks. Use when a task is complex, exploratory, or can be parallelized across multiple independent workstreams.
4
+ category: engineering
5
+ tier: on-demand
6
+ allowed-tools: Agent Task Workflow
7
+ ---
8
+
9
+ Invoke this skill when a task is complex, exploratory, or parallel in nature. Subagents keep the main context clean and focused.
10
+
11
+ ## When to Use Subagents
12
+
13
+ - Append "use subagents" to any request where you want Claude to throw more compute at the problem
14
+ - Use for: codebase exploration, parallel analysis, research, large refactors, test writing
15
+ - Do NOT use for: simple one-file edits, quick lookups, single-step tasks
16
+
17
+ ## Three Subagent Strategies
18
+
19
+ ### A. Parallelization
20
+ Offload independent tasks to separate subagents running simultaneously:
21
+ ```
22
+ use 5 subagents to explore the codebase
23
+ → Explore entry points and startup
24
+ → Explore React component structure
25
+ → Explore tools implementation
26
+ → Explore state management
27
+ → Explore testing infrastructure
28
+ ```
29
+
30
+ ### B. Context Isolation
31
+ Offload heavy research or analysis to a subagent so the main agent's context stays focused on the implementation.
32
+ - Research → subagent → returns a structured result (see *Standard return contract* below)
33
+ - Main agent uses the result, never sees the raw noise
34
+
35
+ **Reframe for the 1M-context era:** with a 1M-token window, token savings is no longer the
36
+ main reason to isolate. Isolate for **parallelism** (independent work running at once) and
37
+ **adversarial independence** (a fresh subagent with zero authoring context reviews work
38
+ without self-review bias). Treat context savings as a side benefit, not the goal.
39
+
40
+ ### C. Permission Routing via Hook
41
+ Auto-approve obviously-safe tool calls so they don't interrupt with a prompt, while
42
+ anything risky still falls through to human review. 100xprism ships this as a real,
43
+ installable artifact — not just advice:
44
+
45
+ - **Artifact:** `~/100xprism/hooks/permission-router.py` (a `PreToolUse` Bash hook).
46
+ - **Tier 1 (offline):** a deterministic allowlist auto-approves read-only commands
47
+ (`ls`, `cat`, `git status`, `grep`, …); destructive/network/credential commands are
48
+ never auto-approved.
49
+ - **Tier 2 (optional):** set `HOOK_ROUTER_MODEL=claude-haiku-4-5` (needs the `claude`
50
+ CLI) to route ambiguous commands to a cheap model; only a confident "safe" verdict
51
+ grants permission, so escalation to a deeper model (e.g. Opus 4.8) or a human is the
52
+ default for anything uncertain. The router **never blocks** — it only grants.
53
+ - **Enable it:** re-run the installer and turn on the *permission-router* hook (it ships
54
+ off by default), or run `python3 ~/100xprism/adapters/lib/modules.py emit-hooks` with
55
+ `HOOK_ROUTER=1`.
56
+ - See `~/100xprism/hooks/README.md` and the hooks docs:
57
+ <https://docs.claude.com/en/docs/claude-code/hooks>
58
+
59
+ ## Fan-out ladder (how to parallelize)
60
+
61
+ When a skill says "fan out" or "run these in parallel", pick the highest rung your
62
+ platform supports — they all reach the same outcome, only the determinism differs:
63
+
64
+ 1. **`Workflow` tool (best — Claude Code).** Use it for deterministic, auditable fan-out:
65
+ one stage per independent unit, structured-output return per agent, a reduce step that
66
+ aggregates verdicts. Phase order and concurrency caps are enforced by the runtime, not
67
+ by prose.
68
+ 2. **Parallel `Agent`/`Task` subagents (good).** Dispatch the independent units as
69
+ concurrent subagents in a single message; gather their structured returns and reduce.
70
+ No runtime enforcement, but real parallelism.
71
+ 3. **Serial in-context (fallback — any platform).** If neither tool exists (most
72
+ non-Claude-Code platforms), run the units one after another in the main context. The
73
+ outcome is identical; only wall-clock and isolation are lost.
74
+
75
+ A fan-out site is only worth it when the units are **genuinely independent** (no shared
76
+ mutable state, no ordering dependency). Anything that shares a resource — one Docker DB,
77
+ one build dir — stays serial or needs isolation (worktrees).
78
+
79
+ ## Standard return contract
80
+
81
+ Exploration / research / review / verdict subagents return a **fixed structure, not
82
+ prose**, so the parent can reduce deterministically (sort by severity, filter by
83
+ confidence, dedup by file):
84
+
85
+ ```json
86
+ {
87
+ "summary": "one-line headline of what was found",
88
+ "findings": [{ "severity": "critical|high|medium|low", "title": "", "file": "path:line", "detail": "" }],
89
+ "files": ["paths touched or inspected"],
90
+ "risks": ["what could be wrong / what wasn't covered"],
91
+ "confidence": "high|medium|low"
92
+ }
93
+ ```
94
+
95
+ Skills adapt the shape to their job (e.g. `gate` subagents return
96
+ `{gate, status, findings[], severity}`), but the principle is constant: **structured in,
97
+ structured out**. With the `Workflow` tool, pass this as the agent's `schema` so the
98
+ return is validated automatically.
99
+
100
+ **Model routing for fan-out:** route breadth/mechanical scans (file sweeps, lint, simple
101
+ greps) to **Haiku** for cheap concurrency; route depth/judgment (security triage,
102
+ root-cause analysis, go/no-go verdicts) to **Opus** with extended thinking. Default
103
+ cheap, escalate on uncertainty.
104
+
105
+ ## Usage Patterns
106
+
107
+ ```
108
+ # More compute on a hard problem
109
+ "Refactor the auth system. Use subagents."
110
+
111
+ # Parallel exploration
112
+ "Use 5 subagents to map out every API endpoint and their dependencies"
113
+
114
+ # Background agent (Claude Code only)
115
+ ctrl+b → runs current task in background agent
116
+ ```
117
+
118
+ ## Principles
119
+
120
+ - One focused task per subagent
121
+ - Subagents return summaries, not raw data dumps
122
+ - Use background agents (ctrl+b, Claude Code only) for long-running tasks so you can keep working
123
+ - Subagents are especially valuable for: codebase mapping, test generation, doc writing, and competitive analysis
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: techdebt
3
+ description: Find and eliminate technical debt — duplicated code, dead code, redundant abstractions. Use at the end of a coding session or when the codebase feels bloated. Scans, reports, and fixes issues with user confirmation.
4
+ category: engineering
5
+ tier: on-demand
6
+ slash_command: /techdebt
7
+ allowed-tools: Bash Read Grep Glob Edit
8
+ model: sonnet
9
+ ---
10
+
11
+ # Techdebt — Technical Debt Scanner
12
+
13
+ Scan the codebase for technical debt and eliminate it. Run at end of session or when the codebase feels bloated.
14
+
15
+ ## Do NOT ask for permission — scan, report, then ask before fixing.
16
+
17
+ ## How to use
18
+ - `/techdebt` — full scan + report, confirm before fixing
19
+ - `/techdebt fix` — scan and fix without confirmation
20
+
21
+ ---
22
+
23
+ ## Phase 1 — Scan
24
+
25
+ ```bash
26
+ PROJECT_ROOT=$(git rev-parse --show-toplevel)
27
+ cd "$PROJECT_ROOT"
28
+ ```
29
+
30
+ Look for:
31
+
32
+ 1. **Duplicated code** — copy-pasted logic that should be a shared utility
33
+ 2. **Dead code** — unused functions, variables, imports, exports, commented-out blocks
34
+ 3. **Redundant abstractions** — over-engineered helpers used in only one place
35
+ 4. **Inconsistent patterns** — same operation done 3+ different ways across files
36
+ 5. **Stale TODOs / FIXMEs** — old comments no longer relevant
37
+
38
+ Use Grep and Glob to identify candidates. Confirm each item is truly dead/duplicated before reporting.
39
+
40
+ ---
41
+
42
+ ## Phase 2 — Report
43
+
44
+ ```
45
+ ## Tech Debt Found
46
+
47
+ ### Duplicated Code
48
+ - `src/utils/formatDate.ts:12` and `src/helpers/dates.ts:45` — identical logic
49
+ Fix: consolidate into formatDate.ts, delete dates.ts
50
+
51
+ ### Dead Code
52
+ - `src/api/legacyAuth.ts` — no imports found anywhere
53
+ Fix: delete file
54
+
55
+ ### Stale TODOs
56
+ - `src/components/Modal.tsx:89` — TODO from 6 months ago, feature shipped
57
+ Fix: remove comment
58
+ ```
59
+
60
+ ---
61
+
62
+ ## Phase 3 — Fix (with confirmation)
63
+
64
+ For each item, ask the user to confirm unless they said "fix". After fixes:
65
+
66
+ ```bash
67
+ # Run tests to verify nothing broke
68
+ npm test 2>&1 | tail -20
69
+ ```
70
+
71
+ **GATE: Tests still pass after cleanup.**
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: terminal-setup
3
+ description: Guide for optimal terminal and environment setup for Claude Code — Ghostty, statusline, tmux worktrees, voice dictation, and tab organization. Use when setting up a new machine or optimizing your Claude Code workflow.
4
+ category: engineering
5
+ tier: on-demand
6
+ allowed-tools: Read
7
+ ---
8
+
9
+ Configure your terminal environment for maximum Claude Code productivity.
10
+
11
+ ## Recommended Setup
12
+
13
+ ### Terminal: Ghostty
14
+ - Synchronized rendering, 24-bit color, proper unicode support
15
+ - Color-code and name terminal tabs for context (e.g., "frontend", "api", "tests")
16
+ - One tab per task or git worktree
17
+
18
+ ### Status Bar: /statusline
19
+ Run `/statusline` to configure your status bar to always show:
20
+ - Current context token usage
21
+ - Current git branch
22
+ - Active task / worktree name
23
+
24
+ This prevents context overload surprises mid-session.
25
+
26
+ ### Tmux for Parallel Worktrees
27
+ - One tmux window per Claude task/worktree
28
+ - Name windows after the task: `tmux rename-window "auth-refactor"`
29
+ - Lets you switch between parallel Claude sessions without losing context
30
+
31
+ ### Voice Dictation
32
+ - You speak 3x faster than you type
33
+ - Voice-dictated prompts are more detailed and natural → better Claude output
34
+ - macOS: press `fn fn` (double-tap fn key) to activate dictation anywhere
35
+ - Use voice for long context dumps, specs, and bug descriptions
36
+
37
+ ## Quick Setup Checklist
38
+
39
+ - [ ] Install Ghostty (or iTerm2 with 24-bit color)
40
+ - [ ] Run `/statusline` to enable token + branch display
41
+ - [ ] Set up tmux with one window per active task
42
+ - [ ] Enable macOS voice dictation (`System Settings → Keyboard → Dictation`)
43
+ - [ ] Color-code tabs by domain (frontend=blue, api=green, infra=red)
44
+
45
+ ## Tips
46
+
47
+ - Before starting a large task: open a new tmux window, name it, start fresh
48
+ - Use `ctrl+b` in tmux to run Claude agents in background
49
+ - The status line's context counter tells you when to `/compact` or start fresh