claude-code-orchestrator-kit 1.4.0 → 1.4.15

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 (219) hide show
  1. package/.claude/agents/business/workers/lead-research-assistant.md +199 -0
  2. package/.claude/agents/database/workers/database-architect.md +3 -3
  3. package/.claude/agents/database/workers/supabase-auditor.md +7 -7
  4. package/.claude/agents/development/workers/code-reviewer.md +17 -2
  5. package/.claude/agents/frontend/workers/nextjs-ui-designer.md +30 -0
  6. package/.claude/agents/health/workers/bug-fixer.md +31 -2
  7. package/.claude/agents/health/workers/bug-hunter.md +0 -1
  8. package/.claude/agents/health/workers/dead-code-hunter.md +167 -75
  9. package/.claude/agents/health/workers/dead-code-remover.md +217 -66
  10. package/.claude/agents/health/workers/dependency-auditor.md +83 -24
  11. package/.claude/agents/health/workers/dependency-updater.md +0 -1
  12. package/.claude/agents/health/workers/security-scanner.md +0 -1
  13. package/.claude/agents/infrastructure/workers/deployment-engineer.md +446 -0
  14. package/.claude/agents/infrastructure/workers/infrastructure-specialist.md +2 -2
  15. package/.claude/agents/meta/workers/meta-agent-v3.md +22 -0
  16. package/.claude/agents/testing/workers/integration-tester.md +1 -1
  17. package/.claude/agents/testing/workers/test-writer.md +16 -0
  18. package/.claude/commands/health-bugs.md +14 -281
  19. package/.claude/commands/health-cleanup.md +14 -281
  20. package/.claude/commands/health-deps.md +14 -281
  21. package/.claude/commands/health-metrics.md +51 -709
  22. package/.claude/commands/health-reuse.md +14 -311
  23. package/.claude/commands/health-security.md +14 -281
  24. package/.claude/commands/push.md +17 -3
  25. package/.claude/commands/speckit.implement.md +0 -11
  26. package/.claude/commands/speckit.taskstoissues.md +95 -5
  27. package/.claude/commands/worktree.md +150 -0
  28. package/.claude/scripts/gates/check-bundle-size.sh +0 -0
  29. package/.claude/scripts/gates/check-coverage.sh +0 -0
  30. package/.claude/scripts/gates/check-security.sh +0 -0
  31. package/.claude/scripts/release.sh +469 -94
  32. package/.claude/skills/algorithmic-art/LICENSE.txt +202 -0
  33. package/.claude/skills/algorithmic-art/SKILL.md +405 -0
  34. package/.claude/skills/algorithmic-art/templates/generator_template.js +223 -0
  35. package/.claude/skills/algorithmic-art/templates/viewer.html +599 -0
  36. package/.claude/skills/artifacts-builder/LICENSE.txt +202 -0
  37. package/.claude/skills/artifacts-builder/SKILL.md +74 -0
  38. package/.claude/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
  39. package/.claude/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
  40. package/.claude/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  41. package/.claude/skills/bug-health-inline/SKILL.md +221 -0
  42. package/.claude/skills/bug-health-inline/references/worker-prompts.md +182 -0
  43. package/.claude/skills/canvas-design/LICENSE.txt +202 -0
  44. package/.claude/skills/canvas-design/SKILL.md +130 -0
  45. package/.claude/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  46. package/.claude/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  47. package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  48. package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
  49. package/.claude/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  50. package/.claude/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
  51. package/.claude/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
  52. package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  53. package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  54. package/.claude/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  55. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  56. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  57. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  58. package/.claude/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  59. package/.claude/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
  60. package/.claude/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
  61. package/.claude/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
  62. package/.claude/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
  63. package/.claude/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
  64. package/.claude/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
  65. package/.claude/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
  66. package/.claude/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
  67. package/.claude/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
  68. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  69. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  70. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  71. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  72. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  73. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  74. package/.claude/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  75. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  76. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  77. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  78. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  79. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  80. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  81. package/.claude/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  82. package/.claude/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
  83. package/.claude/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
  84. package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  85. package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  86. package/.claude/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  87. package/.claude/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
  88. package/.claude/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
  89. package/.claude/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
  90. package/.claude/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  91. package/.claude/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  92. package/.claude/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
  93. package/.claude/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  94. package/.claude/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
  95. package/.claude/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
  96. package/.claude/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
  97. package/.claude/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
  98. package/.claude/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
  99. package/.claude/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
  100. package/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  101. package/.claude/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  102. package/.claude/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
  103. package/.claude/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
  104. package/.claude/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
  105. package/.claude/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  106. package/.claude/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
  107. package/.claude/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
  108. package/.claude/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  109. package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  110. package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
  111. package/.claude/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  112. package/.claude/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
  113. package/.claude/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  114. package/.claude/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  115. package/.claude/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
  116. package/.claude/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
  117. package/.claude/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
  118. package/.claude/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
  119. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
  120. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  121. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
  122. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
  123. package/.claude/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
  124. package/.claude/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
  125. package/.claude/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  126. package/.claude/skills/changelog-generator/SKILL.md +104 -0
  127. package/.claude/skills/cleanup-health-inline/SKILL.md +224 -0
  128. package/.claude/skills/code-reviewer/SKILL.md +209 -0
  129. package/.claude/skills/code-reviewer/references/code_review_checklist.md +103 -0
  130. package/.claude/skills/code-reviewer/references/coding_standards.md +103 -0
  131. package/.claude/skills/code-reviewer/references/common_antipatterns.md +103 -0
  132. package/.claude/skills/code-reviewer/scripts/code_quality_checker.py +114 -0
  133. package/.claude/skills/code-reviewer/scripts/pr_analyzer.py +114 -0
  134. package/.claude/skills/code-reviewer/scripts/review_report_generator.py +114 -0
  135. package/.claude/skills/content-research-writer/SKILL.md +538 -0
  136. package/.claude/skills/deps-health-inline/SKILL.md +227 -0
  137. package/.claude/skills/frontend-aesthetics/SKILL.md +51 -396
  138. package/.claude/skills/git-commit-helper/SKILL.md +203 -0
  139. package/.claude/skills/lead-research-assistant/SKILL.md +199 -0
  140. package/.claude/skills/reuse-health-inline/SKILL.md +248 -0
  141. package/.claude/skills/rollback-changes/SKILL.md +50 -524
  142. package/.claude/skills/run-quality-gate/SKILL.md +36 -346
  143. package/.claude/skills/security-health-inline/SKILL.md +224 -0
  144. package/.claude/skills/senior-devops/SKILL.md +209 -0
  145. package/.claude/skills/senior-devops/references/cicd_pipeline_guide.md +103 -0
  146. package/.claude/skills/senior-devops/references/deployment_strategies.md +103 -0
  147. package/.claude/skills/senior-devops/references/infrastructure_as_code.md +103 -0
  148. package/.claude/skills/senior-devops/scripts/deployment_manager.py +114 -0
  149. package/.claude/skills/senior-devops/scripts/pipeline_generator.py +114 -0
  150. package/.claude/skills/senior-devops/scripts/terraform_scaffolder.py +114 -0
  151. package/.claude/skills/senior-prompt-engineer/SKILL.md +226 -0
  152. package/.claude/skills/senior-prompt-engineer/references/agentic_system_design.md +80 -0
  153. package/.claude/skills/senior-prompt-engineer/references/llm_evaluation_frameworks.md +80 -0
  154. package/.claude/skills/senior-prompt-engineer/references/prompt_engineering_patterns.md +80 -0
  155. package/.claude/skills/senior-prompt-engineer/scripts/agent_orchestrator.py +100 -0
  156. package/.claude/skills/senior-prompt-engineer/scripts/prompt_optimizer.py +100 -0
  157. package/.claude/skills/senior-prompt-engineer/scripts/rag_evaluator.py +100 -0
  158. package/.claude/skills/setup-knip/SKILL.md +372 -0
  159. package/.claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
  160. package/.claude/skills/systematic-debugging/SKILL.md +296 -0
  161. package/.claude/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  162. package/.claude/skills/systematic-debugging/condition-based-waiting.md +115 -0
  163. package/.claude/skills/systematic-debugging/defense-in-depth.md +122 -0
  164. package/.claude/skills/systematic-debugging/find-polluter.sh +63 -0
  165. package/.claude/skills/systematic-debugging/root-cause-tracing.md +169 -0
  166. package/.claude/skills/systematic-debugging/test-academic.md +14 -0
  167. package/.claude/skills/systematic-debugging/test-pressure-1.md +58 -0
  168. package/.claude/skills/systematic-debugging/test-pressure-2.md +68 -0
  169. package/.claude/skills/systematic-debugging/test-pressure-3.md +69 -0
  170. package/.claude/skills/theme-factory/LICENSE.txt +202 -0
  171. package/.claude/skills/theme-factory/SKILL.md +59 -0
  172. package/.claude/skills/theme-factory/theme-showcase.pdf +0 -0
  173. package/.claude/skills/theme-factory/themes/arctic-frost.md +19 -0
  174. package/.claude/skills/theme-factory/themes/botanical-garden.md +19 -0
  175. package/.claude/skills/theme-factory/themes/desert-rose.md +19 -0
  176. package/.claude/skills/theme-factory/themes/forest-canopy.md +19 -0
  177. package/.claude/skills/theme-factory/themes/golden-hour.md +19 -0
  178. package/.claude/skills/theme-factory/themes/midnight-galaxy.md +19 -0
  179. package/.claude/skills/theme-factory/themes/modern-minimalist.md +19 -0
  180. package/.claude/skills/theme-factory/themes/ocean-depths.md +19 -0
  181. package/.claude/skills/theme-factory/themes/sunset-boulevard.md +19 -0
  182. package/.claude/skills/theme-factory/themes/tech-innovation.md +19 -0
  183. package/.claude/skills/ui-design-system/SKILL.md +32 -0
  184. package/.claude/skills/ui-design-system/scripts/design_token_generator.py +529 -0
  185. package/.claude/skills/ux-researcher-designer/SKILL.md +30 -0
  186. package/.claude/skills/ux-researcher-designer/scripts/persona_generator.py +508 -0
  187. package/.claude/skills/webapp-testing/LICENSE.txt +202 -0
  188. package/.claude/skills/webapp-testing/SKILL.md +96 -0
  189. package/.claude/skills/webapp-testing/examples/console_logging.py +35 -0
  190. package/.claude/skills/webapp-testing/examples/element_discovery.py +40 -0
  191. package/.claude/skills/webapp-testing/examples/static_html_automation.py +33 -0
  192. package/.claude/skills/webapp-testing/scripts/with_server.py +106 -0
  193. package/.gitignore +4 -0
  194. package/README.md +492 -1093
  195. package/README.ru.md +719 -0
  196. package/docs/Agents Ecosystem/AGENT-ORCHESTRATION.md +2 -2
  197. package/docs/{SPECKIT-GUIDE.md → COMMANDS-GUIDE.md} +252 -20
  198. package/docs/reports/skills/new-skills-analysis-2025-12.md +331 -0
  199. package/package.json +11 -3
  200. package/.claude/agents/health/orchestrators/bug-orchestrator.md +0 -1084
  201. package/.claude/agents/health/orchestrators/dead-code-orchestrator.md +0 -1064
  202. package/.claude/agents/health/orchestrators/dependency-orchestrator.md +0 -1064
  203. package/.claude/agents/health/orchestrators/reuse-orchestrator.md +0 -1112
  204. package/.claude/agents/health/orchestrators/security-orchestrator.md +0 -1064
  205. package/.claude/commands/worktree-cleanup.md +0 -382
  206. package/.claude/commands/worktree-create.md +0 -287
  207. package/.claude/commands/worktree-list.md +0 -239
  208. package/.claude/commands/worktree-remove.md +0 -339
  209. package/.claude/project-index.md +0 -75
  210. package/.claude/skills/load-project-context/SKILL.md +0 -89
  211. package/.claude/skills/resume-session/SKILL.md +0 -164
  212. package/.claude/skills/save-session-context/SKILL.md +0 -123
  213. package/.claude/templates/project-index.template.md +0 -67
  214. package/.claude/templates/session/context.template.md +0 -40
  215. package/.claude/templates/session/log.template.md +0 -72
  216. package/.github/BRANCH_PROTECTION.md +0 -137
  217. package/.github/workflows/build.yml +0 -70
  218. package/.github/workflows/deploy-staging.yml +0 -90
  219. package/.github/workflows/test.yml +0 -104
@@ -0,0 +1,199 @@
1
+ ---
2
+ name: lead-research-assistant
3
+ description: Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.
4
+ ---
5
+
6
+ # Lead Research Assistant
7
+
8
+ This skill helps you identify and qualify potential leads for your business by analyzing your product/service, understanding your ideal customer profile, and providing actionable outreach strategies.
9
+
10
+ ## When to Use This Skill
11
+
12
+ - Finding potential customers or clients for your product/service
13
+ - Building a list of companies to reach out to for partnerships
14
+ - Identifying target accounts for sales outreach
15
+ - Researching companies that match your ideal customer profile
16
+ - Preparing for business development activities
17
+
18
+ ## What This Skill Does
19
+
20
+ 1. **Understands Your Business**: Analyzes your product/service, value proposition, and target market
21
+ 2. **Identifies Target Companies**: Finds companies that match your ideal customer profile based on:
22
+ - Industry and sector
23
+ - Company size and location
24
+ - Technology stack and tools they use
25
+ - Growth stage and funding
26
+ - Pain points your product solves
27
+ 3. **Prioritizes Leads**: Ranks companies based on fit score and relevance
28
+ 4. **Provides Contact Strategies**: Suggests how to approach each lead with personalized messaging
29
+ 5. **Enriches Data**: Gathers relevant information about decision-makers and company context
30
+
31
+ ## How to Use
32
+
33
+ ### Basic Usage
34
+
35
+ Simply describe your product/service and what you're looking for:
36
+
37
+ ```
38
+ I'm building [product description]. Find me 10 companies in [location/industry]
39
+ that would be good leads for this.
40
+ ```
41
+
42
+ ### With Your Codebase
43
+
44
+ For even better results, run this from your product's source code directory:
45
+
46
+ ```
47
+ Look at what I'm building in this repository and identify the top 10 companies
48
+ in [location/industry] that would benefit from this product.
49
+ ```
50
+
51
+ ### Advanced Usage
52
+
53
+ For more targeted research:
54
+
55
+ ```
56
+ My product: [description]
57
+ Ideal customer profile:
58
+ - Industry: [industry]
59
+ - Company size: [size range]
60
+ - Location: [location]
61
+ - Current pain points: [pain points]
62
+ - Technologies they use: [tech stack]
63
+
64
+ Find me 20 qualified leads with contact strategies for each.
65
+ ```
66
+
67
+ ## Instructions
68
+
69
+ When a user requests lead research:
70
+
71
+ 1. **Understand the Product/Service**
72
+ - If in a code directory, analyze the codebase to understand the product
73
+ - Ask clarifying questions about the value proposition
74
+ - Identify key features and benefits
75
+ - Understand what problems it solves
76
+
77
+ 2. **Define Ideal Customer Profile**
78
+ - Determine target industries and sectors
79
+ - Identify company size ranges
80
+ - Consider geographic preferences
81
+ - Understand relevant pain points
82
+ - Note any technology requirements
83
+
84
+ 3. **Research and Identify Leads**
85
+ - Search for companies matching the criteria
86
+ - Look for signals of need (job postings, tech stack, recent news)
87
+ - Consider growth indicators (funding, expansion, hiring)
88
+ - Identify companies with complementary products/services
89
+ - Check for budget indicators
90
+
91
+ 4. **Prioritize and Score**
92
+ - Create a fit score (1-10) for each lead
93
+ - Consider factors like:
94
+ - Alignment with ICP
95
+ - Signals of immediate need
96
+ - Budget availability
97
+ - Competitive landscape
98
+ - Timing indicators
99
+
100
+ 5. **Provide Actionable Output**
101
+
102
+ For each lead, provide:
103
+ - **Company Name** and website
104
+ - **Why They're a Good Fit**: Specific reasons based on their business
105
+ - **Priority Score**: 1-10 with explanation
106
+ - **Decision Maker**: Role/title to target (e.g., "VP of Engineering")
107
+ - **Contact Strategy**: Personalized approach suggestions
108
+ - **Value Proposition**: How your product solves their specific problem
109
+ - **Conversation Starters**: Specific points to mention in outreach
110
+ - **LinkedIn URL**: If available, for easy connection
111
+
112
+ 6. **Format the Output**
113
+
114
+ Present results in a clear, scannable format:
115
+
116
+ ```markdown
117
+ # Lead Research Results
118
+
119
+ ## Summary
120
+ - Total leads found: [X]
121
+ - High priority (8-10): [X]
122
+ - Medium priority (5-7): [X]
123
+ - Average fit score: [X]
124
+
125
+ ---
126
+
127
+ ## Lead 1: [Company Name]
128
+
129
+ **Website**: [URL]
130
+ **Priority Score**: [X/10]
131
+ **Industry**: [Industry]
132
+ **Size**: [Employee count/revenue range]
133
+
134
+ **Why They're a Good Fit**:
135
+ [2-3 specific reasons based on their business]
136
+
137
+ **Target Decision Maker**: [Role/Title]
138
+ **LinkedIn**: [URL if available]
139
+
140
+ **Value Proposition for Them**:
141
+ [Specific benefit for this company]
142
+
143
+ **Outreach Strategy**:
144
+ [Personalized approach - mention specific pain points, recent company news, or relevant context]
145
+
146
+ **Conversation Starters**:
147
+ - [Specific point 1]
148
+ - [Specific point 2]
149
+
150
+ ---
151
+
152
+ [Repeat for each lead]
153
+ ```
154
+
155
+ 7. **Offer Next Steps**
156
+ - Suggest saving results to a CSV for CRM import
157
+ - Offer to draft personalized outreach messages
158
+ - Recommend prioritization based on timing
159
+ - Suggest follow-up research for top leads
160
+
161
+ ## Examples
162
+
163
+ ### Example 1: From Lenny's Newsletter
164
+
165
+ **User**: "I'm building a tool that masks sensitive data in AI coding assistant queries. Find potential leads."
166
+
167
+ **Output**: Creates a prioritized list of companies that:
168
+ - Use AI coding assistants (Copilot, Cursor, etc.)
169
+ - Handle sensitive data (fintech, healthcare, legal)
170
+ - Have evidence in their GitHub repos of using coding agents
171
+ - May have accidentally exposed sensitive data in code
172
+ - Includes LinkedIn URLs of relevant decision-makers
173
+
174
+ ### Example 2: Local Business
175
+
176
+ **User**: "I run a consulting practice for remote team productivity. Find me 10 companies in the Bay Area that recently went remote."
177
+
178
+ **Output**: Identifies companies that:
179
+ - Recently posted remote job listings
180
+ - Announced remote-first policies
181
+ - Are hiring distributed teams
182
+ - Show signs of remote work challenges
183
+ - Provides personalized outreach strategies for each
184
+
185
+ ## Tips for Best Results
186
+
187
+ - **Be specific** about your product and its unique value
188
+ - **Run from your codebase** if applicable for automatic context
189
+ - **Provide context** about your ideal customer profile
190
+ - **Specify constraints** like industry, location, or company size
191
+ - **Request follow-up** research on promising leads for deeper insights
192
+
193
+ ## Related Use Cases
194
+
195
+ - Drafting personalized outreach emails after identifying leads
196
+ - Building a CRM-ready CSV of qualified prospects
197
+ - Researching specific companies in detail
198
+ - Analyzing competitor customer bases
199
+ - Identifying partnership opportunities
@@ -0,0 +1,248 @@
1
+ ---
2
+ name: reuse-health-inline
3
+ description: Inline orchestration workflow for code duplication detection and consolidation. Provides step-by-step phases for reuse-hunter detection, priority-based consolidation with reuse-fixer, and verification cycles.
4
+ version: 2.0.0
5
+ ---
6
+
7
+ # Code Reuse Health Check (Inline Orchestration)
8
+
9
+ You ARE the orchestrator. Execute this workflow directly without spawning a separate orchestrator agent.
10
+
11
+ ## Workflow Overview
12
+
13
+ ```
14
+ Detection → Validate → Consolidate by Priority → Verify → Repeat if needed
15
+ ```
16
+
17
+ **Max iterations**: 3
18
+ **Priorities**: high → medium → low
19
+
20
+ ---
21
+
22
+ ## Phase 1: Pre-flight
23
+
24
+ 1. **Setup directories**:
25
+ ```bash
26
+ mkdir -p .tmp/current/{plans,changes,backups}
27
+ ```
28
+
29
+ 2. **Validate environment**:
30
+ - Check `package.json` exists
31
+ - Check `type-check` and `build` scripts exist
32
+
33
+ 3. **Initialize TodoWrite**:
34
+ ```json
35
+ [
36
+ {"content": "Duplication detection", "status": "in_progress", "activeForm": "Detecting duplications"},
37
+ {"content": "Consolidate high priority duplications", "status": "pending", "activeForm": "Consolidating high priority"},
38
+ {"content": "Consolidate medium priority duplications", "status": "pending", "activeForm": "Consolidating medium priority"},
39
+ {"content": "Consolidate low priority duplications", "status": "pending", "activeForm": "Consolidating low priority"},
40
+ {"content": "Verification scan", "status": "pending", "activeForm": "Verifying consolidation"}
41
+ ]
42
+ ```
43
+
44
+ ---
45
+
46
+ ## Phase 2: Detection
47
+
48
+ **Invoke reuse-hunter** via Task tool:
49
+
50
+ ```
51
+ subagent_type: "reuse-hunter"
52
+ description: "Detect all code duplications"
53
+ prompt: |
54
+ Scan the entire codebase for code duplications:
55
+ - Duplicated TypeScript interfaces/types
56
+ - Duplicated Zod schemas
57
+ - Duplicated constants and configuration objects
58
+ - Copy-pasted utility functions
59
+ - Similar code patterns that should be abstracted
60
+ - Categorize by priority (high/medium/low)
61
+
62
+ Generate: reuse-hunting-report.md
63
+
64
+ Return summary with duplication counts per priority.
65
+ ```
66
+
67
+ **After reuse-hunter returns**:
68
+ 1. Read `reuse-hunting-report.md`
69
+ 2. Parse duplication counts by priority
70
+ 3. If zero duplications → skip to Final Summary
71
+ 4. Update TodoWrite: mark detection complete
72
+
73
+ ---
74
+
75
+ ## Phase 3: Quality Gate (Detection)
76
+
77
+ Run inline validation:
78
+
79
+ ```bash
80
+ pnpm type-check
81
+ pnpm build
82
+ ```
83
+
84
+ - If both pass → proceed to consolidation
85
+ - If fail → report to user, exit
86
+
87
+ ---
88
+
89
+ ## Phase 4: Consolidation Loop
90
+
91
+ **For each priority** (high → medium → low):
92
+
93
+ 1. **Check if duplications exist** for this priority
94
+ - If zero → skip to next priority
95
+
96
+ 2. **Update TodoWrite**: mark current priority in_progress
97
+
98
+ 3. **Invoke reuse-fixer** via Task tool:
99
+ ```
100
+ subagent_type: "reuse-fixer"
101
+ description: "Consolidate {priority} duplications"
102
+ prompt: |
103
+ Read reuse-hunting-report.md and consolidate all {priority} priority duplications.
104
+
105
+ For each duplication:
106
+ 1. Backup files before editing
107
+ 2. Determine canonical location (usually shared-types or shared package)
108
+ 3. Create/update canonical file with the type/schema/constant
109
+ 4. Replace duplicates with imports/re-exports
110
+ 5. Log change to .tmp/current/changes/reuse-changes.json
111
+
112
+ Generate/update: reuse-consolidation-implemented.md
113
+
114
+ Return: count of consolidated items, count of failed consolidations.
115
+ ```
116
+
117
+ 4. **Quality Gate** (inline):
118
+ ```bash
119
+ pnpm type-check
120
+ pnpm build
121
+ ```
122
+
123
+ - If FAIL → report error, suggest rollback, exit
124
+ - If PASS → continue
125
+
126
+ 5. **Update TodoWrite**: mark priority complete
127
+
128
+ 6. **Repeat** for next priority
129
+
130
+ ---
131
+
132
+ ## Phase 5: Verification
133
+
134
+ After all priorities consolidated:
135
+
136
+ 1. **Update TodoWrite**: mark verification in_progress
137
+
138
+ 2. **Invoke reuse-hunter** (verification mode):
139
+ ```
140
+ subagent_type: "reuse-hunter"
141
+ description: "Verification scan"
142
+ prompt: |
143
+ Re-scan codebase after consolidation.
144
+ Compare with previous reuse-hunting-report.md.
145
+
146
+ Report:
147
+ - Duplications resolved (count)
148
+ - Duplications remaining (count)
149
+ - New duplications introduced (count)
150
+ ```
151
+
152
+ 3. **Decision**:
153
+ - If duplications_remaining == 0 → Final Summary
154
+ - If iteration < 3 AND duplications_remaining > 0 → Go to Phase 2
155
+ - If iteration >= 3 → Final Summary with remaining items
156
+
157
+ ---
158
+
159
+ ## Phase 6: Final Summary
160
+
161
+ Generate summary for user:
162
+
163
+ ```markdown
164
+ ## Code Reuse Health Check Complete
165
+
166
+ **Iterations**: {count}/3
167
+ **Status**: {SUCCESS/PARTIAL}
168
+
169
+ ### Results
170
+ - Found: {total} duplications
171
+ - Consolidated: {consolidated} ({percentage}%)
172
+ - Remaining: {remaining}
173
+
174
+ ### By Priority
175
+ - High: {consolidated}/{total}
176
+ - Medium: {consolidated}/{total}
177
+ - Low: {consolidated}/{total}
178
+
179
+ ### Validation
180
+ - Type Check: {status}
181
+ - Build: {status}
182
+
183
+ ### Artifacts
184
+ - Detection: `reuse-hunting-report.md`
185
+ - Consolidation: `reuse-consolidation-implemented.md`
186
+ ```
187
+
188
+ ---
189
+
190
+ ## Error Handling
191
+
192
+ **If quality gate fails**:
193
+ ```
194
+ Rollback available: .tmp/current/changes/reuse-changes.json
195
+
196
+ To rollback:
197
+ 1. Read changes log
198
+ 2. Restore files from .tmp/current/backups/
199
+ 3. Re-run workflow
200
+ ```
201
+
202
+ **If worker fails**:
203
+ - Report error to user
204
+ - Suggest manual intervention
205
+ - Exit workflow
206
+
207
+ ---
208
+
209
+ ## Duplication Categories
210
+
211
+ **Types/Interfaces** (shared-types):
212
+ - Database types
213
+ - API types
214
+ - Zod schemas
215
+ - Common enums
216
+
217
+ **Constants** (shared-types):
218
+ - Configuration objects
219
+ - MIME types, file limits
220
+ - Feature flags
221
+
222
+ **Utilities** (shared package or re-export):
223
+ - Helper functions
224
+ - Validation utilities
225
+ - Formatters
226
+
227
+ **Single Source of Truth Pattern**:
228
+ 1. Canonical location: `packages/shared-types/src/`
229
+ 2. Other packages: `export * from '@package/shared-types/{module}'`
230
+ 3. NEVER copy code between packages
231
+
232
+ ---
233
+
234
+ ## Key Differences from Old Approach
235
+
236
+ | Old (Orchestrator Agent) | New (Inline Skill) |
237
+ |--------------------------|-------------------|
238
+ | 9+ orchestrator calls | 0 orchestrator calls |
239
+ | ~1400 lines (cmd + agent) | ~150 lines |
240
+ | Context reload each call | Single session context |
241
+ | Plan files for each phase | Direct execution |
242
+ | ~10,000+ tokens overhead | ~500 tokens |
243
+
244
+ ---
245
+
246
+ ## Worker Prompts
247
+
248
+ See `references/worker-prompts.md` for detailed prompts.