@rfxlamia/skillkit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/README.md +16 -0
  2. package/agents/creative-copywriter.md +212 -0
  3. package/agents/dario-amodei.md +135 -0
  4. package/agents/doc-simplifier.md +63 -0
  5. package/agents/kotlin-pro.md +433 -0
  6. package/agents/red-team.md +136 -0
  7. package/agents/sam-altman.md +121 -0
  8. package/agents/seo-manager.md +184 -0
  9. package/bin/skillkit.js +3 -0
  10. package/package.json +35 -0
  11. package/skills/adversarial-review/SKILL.md +219 -0
  12. package/skills/baby-education/SKILL.md +260 -0
  13. package/skills/baby-education/references/advanced-techniques.md +323 -0
  14. package/skills/baby-education/references/transformations.md +345 -0
  15. package/skills/been-there-done-that/SKILL.md +455 -0
  16. package/skills/been-there-done-that/references/analysis-patterns.md +162 -0
  17. package/skills/been-there-done-that/references/git-commands.md +132 -0
  18. package/skills/been-there-done-that/references/tree-insertion-logic.md +145 -0
  19. package/skills/coolhunter/SKILL.md +270 -0
  20. package/skills/coolhunter/assets/elicitation-methods.csv +51 -0
  21. package/skills/coolhunter/knowledge/elicitation-methods.md +312 -0
  22. package/skills/coolhunter/references/workflow-execution.md +238 -0
  23. package/skills/coolhunter/workflow-plan-coolhunter.md +232 -0
  24. package/skills/creative-copywriting/SKILL.md +324 -0
  25. package/skills/creative-copywriting/databases/README.md +60 -0
  26. package/skills/creative-copywriting/databases/carousel-structures.csv +16 -0
  27. package/skills/creative-copywriting/databases/emotional-arcs.csv +11 -0
  28. package/skills/creative-copywriting/databases/hook-formulas.csv +51 -0
  29. package/skills/creative-copywriting/databases/power-words.csv +201 -0
  30. package/skills/creative-copywriting/databases/psychological-triggers.csv +21 -0
  31. package/skills/creative-copywriting/databases/read-more-patterns.csv +26 -0
  32. package/skills/creative-copywriting/databases/swipe-triggers.csv +31 -0
  33. package/skills/creative-copywriting/references/carousel-psychology.md +223 -0
  34. package/skills/creative-copywriting/references/hook-anatomy.md +169 -0
  35. package/skills/creative-copywriting/references/power-word-science.md +134 -0
  36. package/skills/creative-copywriting/references/storytelling-frameworks.md +157 -0
  37. package/skills/diverse-content-gen/SKILL.md +201 -0
  38. package/skills/diverse-content-gen/references/advanced-techniques.md +320 -0
  39. package/skills/diverse-content-gen/references/research-findings.md +379 -0
  40. package/skills/diverse-content-gen/references/task-workflows.md +241 -0
  41. package/skills/diverse-content-gen/references/tool-integration.md +419 -0
  42. package/skills/diverse-content-gen/references/troubleshooting.md +426 -0
  43. package/skills/diverse-content-gen/references/vs-core-technique.md +240 -0
  44. package/skills/framework-critical-thinking/SKILL.md +220 -0
  45. package/skills/framework-critical-thinking/references/bias_detector.md +375 -0
  46. package/skills/framework-critical-thinking/references/fallback_handler.md +239 -0
  47. package/skills/framework-critical-thinking/references/memory_curator.md +161 -0
  48. package/skills/framework-critical-thinking/references/metacognitive_monitor.md +297 -0
  49. package/skills/framework-critical-thinking/references/producer_critic_orchestrator.md +333 -0
  50. package/skills/framework-critical-thinking/references/reasoning_router.md +235 -0
  51. package/skills/framework-critical-thinking/references/reasoning_validator.md +97 -0
  52. package/skills/framework-critical-thinking/references/reflection_trigger.md +78 -0
  53. package/skills/framework-critical-thinking/references/self_verification.md +388 -0
  54. package/skills/framework-critical-thinking/references/uncertainty_quantifier.md +207 -0
  55. package/skills/framework-initiative/SKILL.md +231 -0
  56. package/skills/framework-initiative/references/examples.md +150 -0
  57. package/skills/framework-initiative/references/impact-analysis.md +157 -0
  58. package/skills/framework-initiative/references/intent-patterns.md +145 -0
  59. package/skills/framework-initiative/references/star-framework.md +165 -0
  60. package/skills/humanize-docs/SKILL.md +203 -0
  61. package/skills/humanize-docs/references/advanced-techniques.md +13 -0
  62. package/skills/humanize-docs/references/core-transformations.md +368 -0
  63. package/skills/humanize-docs/references/detection-patterns.md +400 -0
  64. package/skills/humanize-docs/references/examples-gallery.md +374 -0
  65. package/skills/imagine/SKILL.md +190 -0
  66. package/skills/imagine/references/artstyle-corporate-memphis.md +625 -0
  67. package/skills/imagine/references/artstyle-crewdson-hyperrealism.md +295 -0
  68. package/skills/imagine/references/artstyle-iphone-social-media.md +426 -0
  69. package/skills/imagine/references/artstyle-sciencesaru.md +276 -0
  70. package/skills/pre-deploy-checklist/README.md +26 -0
  71. package/skills/pre-deploy-checklist/SKILL.md +153 -0
  72. package/skills/pre-deploy-checklist/references/checklist-categories.md +174 -0
  73. package/skills/pre-deploy-checklist/references/domain-prompts.md +216 -0
  74. package/skills/prompt-engineering/SKILL.md +209 -0
  75. package/skills/prompt-engineering/references/advanced-combinations.md +444 -0
  76. package/skills/prompt-engineering/references/chain-of-thought.md +140 -0
  77. package/skills/prompt-engineering/references/decision_matrix.md +220 -0
  78. package/skills/prompt-engineering/references/few-shot.md +346 -0
  79. package/skills/prompt-engineering/references/json-format.md +270 -0
  80. package/skills/prompt-engineering/references/natural-language.md +420 -0
  81. package/skills/prompt-engineering/references/pitfalls.md +365 -0
  82. package/skills/prompt-engineering/references/prompt-chaining.md +498 -0
  83. package/skills/prompt-engineering/references/react.md +108 -0
  84. package/skills/prompt-engineering/references/self-consistency.md +322 -0
  85. package/skills/prompt-engineering/references/tree-of-thoughts.md +386 -0
  86. package/skills/prompt-engineering/references/xml-format.md +220 -0
  87. package/skills/prompt-engineering/references/yaml-format.md +488 -0
  88. package/skills/prompt-engineering/references/zero-shot.md +74 -0
  89. package/skills/quick-spec/SKILL.md +280 -0
  90. package/skills/quick-spec/assets/tech-spec-template.md +74 -0
  91. package/skills/quick-spec/references/step-01-understand.md +189 -0
  92. package/skills/quick-spec/references/step-02-investigate.md +144 -0
  93. package/skills/quick-spec/references/step-03-generate.md +128 -0
  94. package/skills/quick-spec/references/step-04-review.md +173 -0
  95. package/skills/quick-spec/tests/test_scenarios.md +83 -0
  96. package/skills/quick-spec/tests/test_skill.py +136 -0
  97. package/skills/readme-expert/SKILL.md +538 -0
  98. package/skills/readme-expert/knowledge/INDEX.md +192 -0
  99. package/skills/readme-expert/knowledge/application/quality-standards.md +470 -0
  100. package/skills/readme-expert/knowledge/application/script-executor.md +604 -0
  101. package/skills/readme-expert/knowledge/application/template-library.md +822 -0
  102. package/skills/readme-expert/knowledge/foundation/codebase-scanner.md +361 -0
  103. package/skills/readme-expert/knowledge/foundation/validation-checklist.md +481 -0
  104. package/skills/red-teaming/SKILL.md +321 -0
  105. package/skills/red-teaming/references/ai-llm-redteam.md +517 -0
  106. package/skills/red-teaming/references/attack-techniques.md +410 -0
  107. package/skills/red-teaming/references/cybersecurity-redteam.md +383 -0
  108. package/skills/red-teaming/references/tools-frameworks.md +446 -0
  109. package/skills/releasing/.skillkit-mode +1 -0
  110. package/skills/releasing/SKILL.md +225 -0
  111. package/skills/releasing/references/version-detection.md +108 -0
  112. package/skills/screenwriter/SKILL.md +273 -0
  113. package/skills/screenwriter/references/advanced-techniques.md +216 -0
  114. package/skills/screenwriter/references/pipeline-integration.md +266 -0
  115. package/skills/skillkit/.claude-plugin/plugin.json +27 -0
  116. package/skills/skillkit/CHANGELOG.md +484 -0
  117. package/skills/skillkit/SKILL.md +511 -0
  118. package/skills/skillkit/commands/skillkit.md +6 -0
  119. package/skills/skillkit/commands/validate-plan.md +6 -0
  120. package/skills/skillkit/commands/verify.md +6 -0
  121. package/skills/skillkit/knowledge/INDEX.md +352 -0
  122. package/skills/skillkit/knowledge/application/09-case-studies.md +257 -0
  123. package/skills/skillkit/knowledge/application/10-technical-architecture.md +324 -0
  124. package/skills/skillkit/knowledge/application/11-adoption-strategy.md +267 -0
  125. package/skills/skillkit/knowledge/application/12-testing-and-validation.md +276 -0
  126. package/skills/skillkit/knowledge/application/13-competitive-landscape.md +198 -0
  127. package/skills/skillkit/knowledge/foundation/01-why-skills-exist.md +246 -0
  128. package/skills/skillkit/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
  129. package/skills/skillkit/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
  130. package/skills/skillkit/knowledge/foundation/04-hybrid-patterns.md +308 -0
  131. package/skills/skillkit/knowledge/foundation/05-token-economics.md +275 -0
  132. package/skills/skillkit/knowledge/foundation/06-platform-constraints.md +237 -0
  133. package/skills/skillkit/knowledge/foundation/07-security-concerns.md +322 -0
  134. package/skills/skillkit/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
  135. package/skills/skillkit/knowledge/plugin-guide.md +614 -0
  136. package/skills/skillkit/knowledge/tools/14-validation-tools-guide.md +150 -0
  137. package/skills/skillkit/knowledge/tools/15-cost-tools-guide.md +157 -0
  138. package/skills/skillkit/knowledge/tools/16-security-tools-guide.md +122 -0
  139. package/skills/skillkit/knowledge/tools/17-pattern-tools-guide.md +161 -0
  140. package/skills/skillkit/knowledge/tools/18-decision-helper-guide.md +243 -0
  141. package/skills/skillkit/knowledge/tools/19-test-generator-guide.md +275 -0
  142. package/skills/skillkit/knowledge/tools/20-split-skill-guide.md +149 -0
  143. package/skills/skillkit/knowledge/tools/21-quality-scorer-guide.md +226 -0
  144. package/skills/skillkit/knowledge/tools/22-migration-helper-guide.md +356 -0
  145. package/skills/skillkit/knowledge/tools/23-subagent-creation-guide.md +448 -0
  146. package/skills/skillkit/knowledge/tools/24-behavioral-testing-guide.md +122 -0
  147. package/skills/skillkit/references/proposal-generation.md +982 -0
  148. package/skills/skillkit/references/rationalization-catalog.md +75 -0
  149. package/skills/skillkit/references/research-methodology.md +661 -0
  150. package/skills/skillkit/references/section-2-full-creation-workflow.md +452 -0
  151. package/skills/skillkit/references/section-3-validation-workflow-existing-skill.md +63 -0
  152. package/skills/skillkit/references/section-4-decision-workflow-skills-vs-subagents.md +64 -0
  153. package/skills/skillkit/references/section-5-migration-workflow-doc-to-skill.md +58 -0
  154. package/skills/skillkit/references/section-6-subagent-creation-workflow.md +499 -0
  155. package/skills/skillkit/references/section-7-knowledge-reference-map.md +72 -0
  156. package/skills/skillkit/scripts/decision_helper.py +799 -0
  157. package/skills/skillkit/scripts/init_skill.py +400 -0
  158. package/skills/skillkit/scripts/init_subagent.py +231 -0
  159. package/skills/skillkit/scripts/migration_helper.py +669 -0
  160. package/skills/skillkit/scripts/package_skill.py +211 -0
  161. package/skills/skillkit/scripts/pattern_detector.py +381 -0
  162. package/skills/skillkit/scripts/pattern_detector_new.py +382 -0
  163. package/skills/skillkit/scripts/pressure_tester.py +157 -0
  164. package/skills/skillkit/scripts/quality_scorer.py +999 -0
  165. package/skills/skillkit/scripts/quick_validate.py +100 -0
  166. package/skills/skillkit/scripts/security_scanner.py +474 -0
  167. package/skills/skillkit/scripts/split_skill.py +540 -0
  168. package/skills/skillkit/scripts/test_generator.py +695 -0
  169. package/skills/skillkit/scripts/token_estimator.py +493 -0
  170. package/skills/skillkit/scripts/utils/__init__.py +49 -0
  171. package/skills/skillkit/scripts/utils/budget_tracker.py +388 -0
  172. package/skills/skillkit/scripts/utils/output_formatter.py +263 -0
  173. package/skills/skillkit/scripts/utils/reference_validator.py +401 -0
  174. package/skills/skillkit/scripts/validate_skill.py +594 -0
  175. package/skills/skillkit/tests/test_behavioral.py +39 -0
  176. package/skills/skillkit/tests/test_scenarios.md +83 -0
  177. package/skills/skillkit/tests/test_skill.py +136 -0
  178. package/skills/social-media-seo/SKILL.md +278 -0
  179. package/skills/social-media-seo/databases/caption-styles.csv +31 -0
  180. package/skills/social-media-seo/databases/engagement-tactics.csv +16 -0
  181. package/skills/social-media-seo/databases/hashtag-strategies.csv +21 -0
  182. package/skills/social-media-seo/databases/hook-formulas.csv +26 -0
  183. package/skills/social-media-seo/databases/keyword-clusters.csv +11 -0
  184. package/skills/social-media-seo/databases/thread-structures.csv +26 -0
  185. package/skills/social-media-seo/databases/viral-patterns.csv +21 -0
  186. package/skills/social-media-seo/references/analytics-guide.md +321 -0
  187. package/skills/social-media-seo/references/instagram-seo.md +235 -0
  188. package/skills/social-media-seo/references/threads-seo.md +305 -0
  189. package/skills/social-media-seo/references/x-twitter-seo.md +337 -0
  190. package/skills/social-media-seo/scripts/query_database.py +191 -0
  191. package/skills/storyteller/SKILL.md +241 -0
  192. package/skills/storyteller/references/transformation-methodology.md +293 -0
  193. package/skills/storyteller/references/visual-vocabulary.md +177 -0
  194. package/skills/thread-pro/SKILL.md +162 -0
  195. package/skills/thread-pro/anti-ai-patterns.md +120 -0
  196. package/skills/thread-pro/hook-formulas.md +138 -0
  197. package/skills/thread-pro/references/anti-ai-patterns.md +120 -0
  198. package/skills/thread-pro/references/hook-formulas.md +138 -0
  199. package/skills/thread-pro/references/thread-structures.md +240 -0
  200. package/skills/thread-pro/references/voice-injection.md +130 -0
  201. package/skills/thread-pro/thread-structures.md +240 -0
  202. package/skills/thread-pro/voice-injection.md +130 -0
  203. package/skills/tinkering/SKILL.md +251 -0
  204. package/skills/tinkering/references/graduation-checklist.md +100 -0
  205. package/skills/validate-plan/.skillkit-mode +1 -0
  206. package/skills/validate-plan/SKILL.md +406 -0
  207. package/skills/validate-plan/references/dry-principles.md +251 -0
  208. package/skills/validate-plan/references/gap-analysis-guide.md +320 -0
  209. package/skills/validate-plan/references/tdd-patterns.md +413 -0
  210. package/skills/validate-plan/references/yagni-checklist.md +330 -0
  211. package/skills/verify-before-ship/.skillkit-mode +1 -0
  212. package/skills/verify-before-ship/SKILL.md +116 -0
  213. package/skills/verify-before-ship/references/anti-rationalization.md +212 -0
  214. package/skills/verify-before-ship/references/verification-gates.md +305 -0
  215. package/skills-manifest.json +217 -0
  216. package/src/banner.js +10 -0
  217. package/src/cli.js +30 -0
  218. package/src/install.js +53 -0
  219. package/src/install.test.js +40 -0
  220. package/src/picker.js +74 -0
  221. package/src/picker.test.js +21 -0
  222. package/src/scope.js +57 -0
  223. package/src/scope.test.js +19 -0
  224. package/src/update.js +34 -0
  225. package/src/update.test.js +24 -0
@@ -0,0 +1,661 @@
1
+ ---
2
+ title: Research Methodology with Verbalized Sampling
3
+ purpose: Multi-angle domain research using VS for comprehensive understanding
4
+ usage: Loaded during Step 1c of Full Creation Workflow
5
+ version: 1.0.0
6
+ author: Advanced Skill Creator
7
+ ---
8
+
9
+ # Research Methodology: Verbalized Sampling Strategy
10
+
11
+ **Context:** Step 1c - Research Domain in skill creation workflow
12
+
13
+ **Purpose:** Generate and execute diverse research strategies to understand domain comprehensively using Verbalized Sampling (VS)
14
+
15
+ **Key Benefits:**
16
+ - 🎯 **1.6-2.1× diversity gain** vs standard research
17
+ - 🔍 Explores non-obvious valuable angles (tail sampling p<0.10)
18
+ - 📊 Probability-weighted strategy selection
19
+ - âš¡ Research-backed skill proposals (not assumptions)
20
+
21
+ ---
22
+
23
+ ## 🎯 When to Use This Methodology
24
+
25
+ ### ALWAYS Offer Research When:
26
+ - ✅ Domain unfamiliar to Claude (not in pre-training knowledge)
27
+ - ✅ User requirements vague or minimal (<50 words description)
28
+ - ✅ Domain with rapid change (social media, AI tools, trends)
29
+ - ✅ Security-sensitive or complex domains
30
+ - ✅ User explicitly requests comprehensive understanding
31
+
32
+ ### MAY Skip Research When:
33
+ - ⚠️ Domain standard and familiar (PDF processing, markdown formatting)
34
+ - ⚠️ User provides detailed specification (>200 words with clear structure)
35
+ - ⚠️ User explicitly says "I know exactly what I need, skip research"
36
+
37
+ **Default stance:** ALWAYS OFFER research - let user decide
38
+
39
+ ---
40
+
41
+ ## 🔬 VS Research Strategy Generation
42
+
43
+ ### Phase 1: Generate Diverse Research Strategies (INTERNAL)
44
+
45
+ **VS Prompt Template (Agent-Layer Only):**
46
+
47
+ ```markdown
48
+ INTERNAL REASONING TASK:
49
+
50
+ Using Verbalized Sampling methodology, generate 5 diverse research query
51
+ strategies for understanding [DOMAIN] skill creation.
52
+
53
+ Context:
54
+ - User wants to create skill for: [USER_TASK_DESCRIPTION]
55
+ - Domain appears: [familiar/unfamiliar/partially_known]
56
+ - User requirements clarity: [vague/moderate/detailed]
57
+
58
+ Instructions:
59
+ 1. Sample from FULL distribution including non-obvious angles (p<0.15 acceptable)
60
+ 2. Each strategy should explore DIFFERENT aspects
61
+ 3. Estimate probability based on research value and relevance
62
+ 4. Provide rationale using Chain-of-Thought reasoning
63
+
64
+ Required Aspects to Cover:
65
+ 1. **Technical Implementation** (~p=0.30)
66
+ - Standards, patterns, APIs, protocols
67
+ - Common technical approaches and architectures
68
+ - Best practices for implementation
69
+
70
+ 2. **User Experience** (~p=0.25)
71
+ - User pain points and workflows
72
+ - Quality criteria users expect
73
+ - Common user journeys and scenarios
74
+
75
+ 3. **Competitive Analysis** (~p=0.20)
76
+ - Existing tools and their approaches
77
+ - Gaps in current solutions
78
+ - Differentiation opportunities
79
+
80
+ 4. **Edge Cases & Limitations** (~p=0.15)
81
+ - Failure modes to anticipate
82
+ - Platform-specific constraints
83
+ - Non-obvious challenges
84
+
85
+ 5. **Innovation & Trends** (~p=0.10)
86
+ - Emerging trends in domain
87
+ - Novel approaches worth exploring
88
+ - Future-proofing considerations
89
+
90
+ Output Format (JSON):
91
+ ```json
92
+ {
93
+ "domain": "[DOMAIN]",
94
+ "task_context": "[USER_TASK_DESCRIPTION]",
95
+ "strategies": [
96
+ {
97
+ "id": 1,
98
+ "query": "specific web_search query (3-6 words optimal)",
99
+ "probability": 0.XX,
100
+ "aspect": "technical|user|competitive|edge|innovation",
101
+ "rationale": "Chain-of-thought: Why this angle is valuable for [DOMAIN]. What insights it will provide. How it aligns with user needs.",
102
+ "expected_insights": "What we expect to learn from this search"
103
+ }
104
+ ],
105
+ "metadata": {
106
+ "total_probability": 1.0,
107
+ "diversity_score": "high|medium|low",
108
+ "tail_inclusion": "count of strategies with p<0.15"
109
+ }
110
+ }
111
+ ```
112
+
113
+ Constraints:
114
+ - Probabilities MUST sum to ~1.0 (±0.05 acceptable)
115
+ - Queries optimized for web_search (3-6 words)
116
+ - Include current year (2025) for trend-dependent searches
117
+ - Favor diverse angles over redundant queries
118
+ - At least 1 tail strategy (p<0.15) for non-obvious insights
119
+ ```
120
+
121
+ **Implementation Note:** This is INTERNAL prompt - user doesn't see this. Claude executes this reasoning internally to generate strategies.
122
+
123
+ ---
124
+
125
+ ### Phase 2: Strategy Execution (Top-N Selection)
126
+
127
+ **Execution Rules:**
128
+
129
+ ```python
130
+ # Pseudo-code for execution logic
131
+ def execute_research_strategies(strategies):
132
+ """
133
+ Execute top strategies based on probability and time budget
134
+ """
135
+ # Sort by probability (highest first)
136
+ sorted_strategies = sort(strategies, key='probability', reverse=True)
137
+
138
+ # Execution rules
139
+ to_execute = []
140
+
141
+ # Always execute top 3
142
+ to_execute.extend(sorted_strategies[0:3])
143
+
144
+ # Execute 4th if p > 0.10 (meaningful probability)
145
+ if len(sorted_strategies) >= 4 and sorted_strategies[3]['probability'] > 0.10:
146
+ to_execute.append(sorted_strategies[3])
147
+
148
+ # Execute 5th if p > 0.12 AND time allows (optional)
149
+ if len(sorted_strategies) >= 5 and sorted_strategies[4]['probability'] > 0.12:
150
+ to_execute.append(sorted_strategies[4])
151
+
152
+ # Time budget: ~2-3 minutes total
153
+ # Typical: 3-4 web_search calls
154
+
155
+ return to_execute
156
+ ```
157
+
158
+ **Execution Pattern:**
159
+
160
+ ```bash
161
+ # Strategy 1 (Highest p - usually technical)
162
+ web_search(strategy_1.query)
163
+ # Expected: Technical standards, implementation patterns
164
+
165
+ # Strategy 2 (User-centric)
166
+ web_search(strategy_2.query)
167
+ # Expected: User pain points, workflow patterns
168
+
169
+ # Strategy 3 (Competitive/edge cases)
170
+ web_search(strategy_3.query)
171
+ # Expected: Existing solutions, gaps, opportunities
172
+
173
+ # Strategy 4 (If p>0.10 - innovation/trends)
174
+ if strategy_4.probability > 0.10:
175
+ web_search(strategy_4.query)
176
+ # Expected: Emerging trends, novel approaches
177
+ ```
178
+
179
+ **Quality Check During Execution:**
180
+ - ⚠️ If search returns insufficient results → reformulate query
181
+ - ⚠️ If results too generic → add domain-specific terms
182
+ - ⚠️ If aspect already well-covered → skip redundant search
183
+
184
+ ---
185
+
186
+ ## 📊 Findings Synthesis & Organization
187
+
188
+ ### Synthesis Framework
189
+
190
+ **Organize findings by 5 core aspects:**
191
+
192
+ ```markdown
193
+ ## 📊 RESEARCH FINDINGS SUMMARY
194
+
195
+ ### Context
196
+ Domain: [DOMAIN]
197
+ Strategies Executed: [3-4 strategies]
198
+ Total Sources Reviewed: [count]
199
+ Research Time: [~2-3 minutes]
200
+
201
+ ---
202
+
203
+ ### ✅ Technical Standards & Patterns
204
+
205
+ **From:** [Strategy 1: {query}]
206
+
207
+ **Key Findings:**
208
+ 1. [Technical standard 1] - [source citation if notable]
209
+ 2. [Implementation pattern 2]
210
+ 3. [Best practice 3]
211
+
212
+ **Implications for Skill Design:**
213
+ - Structure should include: [sections/files based on findings]
214
+ - Must handle: [technical requirements]
215
+ - Should support: [standards/formats discovered]
216
+
217
+ ---
218
+
219
+ ### ✅ User Expectations & Pain Points
220
+
221
+ **From:** [Strategy 2: {query}]
222
+
223
+ **Key Findings:**
224
+ 1. **Pain Point:** [User struggle 1] - Common in [context]
225
+ 2. **Expectation:** [What users expect from tools in this domain]
226
+ 3. **Quality Criteria:** [What defines "good" output in domain]
227
+
228
+ **Implications for Skill Design:**
229
+ - SKILL.md should address: [pain points]
230
+ - Must provide: [expected capabilities]
231
+ - Quality target: [criteria from research]
232
+
233
+ ---
234
+
235
+ ### ✅ Competitive Landscape & Gaps
236
+
237
+ **From:** [Strategy 3: {query}]
238
+
239
+ **Key Findings:**
240
+ 1. **Existing Tools:** [Tool 1, Tool 2] - [their approaches]
241
+ 2. **Common Features:** [What all tools provide]
242
+ 3. **Identified Gaps:** [What's missing in current solutions]
243
+
244
+ **Implications for Skill Design:**
245
+ - Differentiation opportunity: [gap to address]
246
+ - Should match: [industry standard features]
247
+ - Can improve on: [weaknesses in existing tools]
248
+
249
+ ---
250
+
251
+ ### ✅ Edge Cases & Limitations (If researched)
252
+
253
+ **From:** [Strategy 4: {query}] (if executed)
254
+
255
+ **Key Findings:**
256
+ 1. **Common Failure Mode:** [Edge case 1]
257
+ 2. **Platform Constraint:** [Limitation discovered]
258
+ 3. **Non-Obvious Challenge:** [Hidden complexity]
259
+
260
+ **Implications for Skill Design:**
261
+ - Must handle: [edge cases]
262
+ - Should validate: [constraints]
263
+ - Include warnings about: [known limitations]
264
+
265
+ ---
266
+
267
+ ### ✅ Innovation Opportunities & Trends (If researched)
268
+
269
+ **From:** [Strategy 5: {query}] (if executed)
270
+
271
+ **Key Findings:**
272
+ 1. **Emerging Trend:** [Trend 1] - [adoption status]
273
+ 2. **Novel Approach:** [Innovation worth considering]
274
+ 3. **Future Direction:** [Where domain is heading]
275
+
276
+ **Implications for Skill Design:**
277
+ - Future-proof by: [incorporating trend]
278
+ - Consider experimental: [novel approach]
279
+ - Prepare for: [anticipated changes]
280
+
281
+ ---
282
+
283
+ ### 🎯 Research Summary & Recommendations
284
+
285
+ **Overall Insights:**
286
+ - Primary approach: [workflow-based|task-based|reference-heavy] recommended
287
+ - Key requirements: [3-5 critical requirements identified]
288
+ - Complexity level: [low|medium|high]
289
+ - Token budget: [estimated based on findings]
290
+
291
+ **Next Steps:**
292
+ 1. Load relevant knowledge files:
293
+ - IF Skills vs Subagents unclear → `knowledge/foundation/02-skills-vs-subagents.md`
294
+ - IF token efficiency critical → `knowledge/foundation/05-token-economics.md`
295
+ - IF security considerations → `knowledge/foundation/07-security-concerns.md`
296
+ 2. Proceed to Step 1d: Generate structure proposals based on research
297
+
298
+ **Quality Score:** [How confident are we in research completeness?]
299
+ - Coverage: [technical ✅ | user ✅ | competitive ✅ | edge ⚠️ | innovation ✅]
300
+ - Confidence: [High|Medium|Low] - based on source quality and consistency
301
+ ```
302
+
303
+ ---
304
+
305
+ ## 🎯 Example: Instagram Caption Maker Research
306
+
307
+ ### Generated Strategies (VS Output)
308
+
309
+ ```json
310
+ {
311
+ "domain": "Instagram Caption Generation",
312
+ "task_context": "User wants skill to generate engaging Instagram captions for e-commerce fashion brand with brand voice consistency",
313
+ "strategies": [
314
+ {
315
+ "id": 1,
316
+ "query": "Instagram caption best practices 2025",
317
+ "probability": 0.32,
318
+ "aspect": "technical",
319
+ "rationale": "CoT: Instagram captions have specific technical constraints (character limits, hashtag rules, emoji usage). Understanding current 2025 best practices ensures skill aligns with platform standards. Will provide: optimal length, hashtag count, formatting rules.",
320
+ "expected_insights": "Character limits, optimal posting patterns, hashtag strategies, platform-specific features"
321
+ },
322
+ {
323
+ "id": 2,
324
+ "query": "e-commerce social media caption pain points",
325
+ "probability": 0.28,
326
+ "aspect": "user",
327
+ "rationale": "CoT: E-commerce brands have unique challenges (product focus vs engagement, brand voice consistency, conversion-driven content). Identifying pain points helps skill directly address user frustrations. Will provide: common struggles, time constraints, quality expectations.",
328
+ "expected_insights": "Time-to-create bottlenecks, brand voice challenges, A/B testing needs, batch generation requirements"
329
+ },
330
+ {
331
+ "id": 3,
332
+ "query": "AI caption generator tools comparison 2025",
333
+ "probability": 0.22,
334
+ "aspect": "competitive",
335
+ "rationale": "CoT: Multiple caption tools exist (Jasper, Copy.ai, Later). Understanding their approaches reveals what works, what users like, and what gaps exist. Will provide: feature comparison, differentiation opportunities, pricing models.",
336
+ "expected_insights": "Standard features, premium capabilities, unmet needs, pricing expectations, integration points"
337
+ },
338
+ {
339
+ "id": 4,
340
+ "query": "Instagram caption character limits edge cases",
341
+ "probability": 0.11,
342
+ "aspect": "edge",
343
+ "rationale": "CoT: Character counting isn't straightforward (emojis = 2+ chars, Unicode issues, display vs actual length). Edge cases can break caption generation. Will provide: technical constraints, common errors, validation rules.",
344
+ "expected_insights": "Unicode handling, emoji sizing, line break behavior, hashtag placement rules"
345
+ },
346
+ {
347
+ "id": 5,
348
+ "query": "social media caption AI trends 2025",
349
+ "probability": 0.07,
350
+ "aspect": "innovation",
351
+ "rationale": "CoT: AI caption generation is evolving (personalization, performance prediction, trend integration). Understanding trends helps future-proof skill. Lower probability as not critical for MVP. Will provide: emerging capabilities, user expectations shift.",
352
+ "expected_insights": "AI-powered personalization, predictive analytics, trend-aware generation, multimodal integration"
353
+ }
354
+ ],
355
+ "metadata": {
356
+ "total_probability": 1.00,
357
+ "diversity_score": "high",
358
+ "tail_inclusion": 1
359
+ }
360
+ }
361
+ ```
362
+
363
+ ### Execution & Synthesis
364
+
365
+ **Executed Strategies:** Top 4 (strategies 1-4, since strategy 4 p=0.11 > 0.10)
366
+
367
+ **Research Findings:**
368
+
369
+ ```markdown
370
+ ## 📊 RESEARCH FINDINGS SUMMARY
371
+
372
+ ### Context
373
+ Domain: Instagram Caption Generation
374
+ Strategies Executed: 4 strategies (technical, user, competitive, edge)
375
+ Total Sources Reviewed: 12 articles
376
+ Research Time: ~2.5 minutes
377
+
378
+ ---
379
+
380
+ ### ✅ Technical Standards & Patterns
381
+
382
+ **From:** "Instagram caption best practices 2025"
383
+
384
+ **Key Findings:**
385
+ 1. **Optimal length:** 100-125 characters for highest engagement (first 2 lines visible)
386
+ 2. **Hashtags:** 5-8 hashtags optimal (mix: 3 brand + 2-3 trending + 2 niche)
387
+ 3. **Emoji usage:** Strategic placement (1-3 emojis max, avoid overuse)
388
+ 4. **Hook placement:** First 40 characters critical (appears in feed preview)
389
+ 5. **Posting patterns:** Captions with questions get 23% more engagement
390
+
391
+ **Implications for Skill Design:**
392
+ - Structure should include: Caption types by goal (engagement, conversion, storytelling)
393
+ - Must handle: Character counting with emoji consideration
394
+ - Should support: Hashtag research and mixing strategies
395
+
396
+ ---
397
+
398
+ ### ✅ User Expectations & Pain Points
399
+
400
+ **From:** "e-commerce social media caption pain points"
401
+
402
+ **Key Findings:**
403
+ 1. **Pain Point:** Time-consuming (average 15-20 min per caption)
404
+ 2. **Pain Point:** Brand voice inconsistency across team members
405
+ 3. **Expectation:** Generate 3-5 variants for A/B testing
406
+ 4. **Quality Criteria:** Must sound human, not robotic AI
407
+ 5. **Workflow:** Need batch generation for weekly content planning
408
+
409
+ **Implications for Skill Design:**
410
+ - SKILL.md should address: Quick generation (<30 sec target)
411
+ - Must provide: Brand voice guidelines integration
412
+ - Quality target: Human-like, on-brand captions with testing variants
413
+
414
+ ---
415
+
416
+ ### ✅ Competitive Landscape & Gaps
417
+
418
+ **From:** "AI caption generator tools comparison 2025"
419
+
420
+ **Key Findings:**
421
+ 1. **Existing Tools:** Copy.ai, Jasper, Later AI, Predis.ai
422
+ 2. **Common Features:** Template-based, hashtag suggestions, emoji integration
423
+ 3. **Identified Gaps:**
424
+ - Generic output (no brand voice customization)
425
+ - No A/B variant generation
426
+ - Weak hashtag mixing (just trending vs strategic)
427
+ - No performance prediction
428
+
429
+ **Implications for Skill Design:**
430
+ - Differentiation opportunity: Brand voice customization + A/B variants
431
+ - Should match: Hashtag suggestions (industry standard)
432
+ - Can improve on: Strategic hashtag mixing (brand + trending + niche)
433
+
434
+ ---
435
+
436
+ ### ✅ Edge Cases & Limitations
437
+
438
+ **From:** "Instagram caption character limits edge cases"
439
+
440
+ **Key Findings:**
441
+ 1. **Common Failure Mode:** Emoji counted incorrectly (Unicode 2-4 bytes)
442
+ 2. **Platform Constraint:** 2,200 character max but display cuts at ~125
443
+ 3. **Non-Obvious Challenge:** Hashtags at end vs inline behavior different
444
+ 4. **Validation Issue:** Instagram censors certain word combinations
445
+
446
+ **Implications for Skill Design:**
447
+ - Must handle: Proper character counting (Unicode-aware)
448
+ - Should validate: Display length vs actual length
449
+ - Include warnings about: Censored words, hashtag placement effects
450
+
451
+ ---
452
+
453
+ ### 🎯 Research Summary & Recommendations
454
+
455
+ **Overall Insights:**
456
+ - Primary approach: **Task-based** recommended (by caption goal: product launch, engagement, storytelling)
457
+ - Key requirements: Brand voice integration, A/B variants, strategic hashtags, <125 char optimal
458
+ - Complexity level: Medium (Unicode handling, brand voice, multiple variants)
459
+ - Token budget: ~2,500-3,000 tokens estimated (SKILL.md + brand voice reference)
460
+
461
+ **Next Steps:**
462
+ 1. Load relevant knowledge files:
463
+ - `knowledge/foundation/05-token-economics.md` (for efficient design)
464
+ - `knowledge/application/09-case-studies.md` (for content generation patterns)
465
+ 2. Proceed to Step 1d: Generate 3-5 structure proposals optimized for caption generation
466
+
467
+ **Quality Score:**
468
+ - Coverage: technical ✅ | user ✅ | competitive ✅ | edge ✅ | innovation ⚠️ (not executed)
469
+ - Confidence: High - consistent findings across multiple sources, clear user needs identified
470
+ ```
471
+
472
+ ---
473
+
474
+ ## 📏 Quality Metrics & Validation
475
+
476
+ ### Research Completeness Checklist
477
+
478
+ Before proceeding to Step 1d, verify:
479
+
480
+ - [ ] **Aspect Coverage:** At least 3 of 5 aspects researched
481
+ - [ ] Technical standards identified
482
+ - [ ] User expectations documented
483
+ - [ ] Competitive landscape analyzed
484
+ - [ ] Edge cases considered (if domain complex)
485
+ - [ ] Innovation opportunities noted (nice-to-have)
486
+
487
+ - [ ] **Source Quality:**
488
+ - [ ] Multiple sources per aspect (not single source)
489
+ - [ ] Recent sources (2024-2025 for trend-dependent domains)
490
+ - [ ] Authoritative sources (not just blog posts)
491
+
492
+ - [ ] **Actionable Insights:**
493
+ - [ ] Can inform structure proposals (Step 1d)
494
+ - [ ] Identifies specific requirements
495
+ - [ ] Reveals differentiation opportunities
496
+ - [ ] Clarifies complexity level
497
+
498
+ - [ ] **Synthesis Quality:**
499
+ - [ ] Findings organized clearly
500
+ - [ ] Implications stated explicitly
501
+ - [ ] Recommendations actionable
502
+ - [ ] Conflicts/contradictions noted
503
+
504
+ **If any aspect missing:** Consider additional targeted search before Step 1d
505
+
506
+ ---
507
+
508
+ ## 🎯 Optimization Guidelines
509
+
510
+ ### Adaptive Strategy Selection
511
+
512
+ ```python
513
+ def adjust_research_depth(context):
514
+ """
515
+ Adjust research depth based on context
516
+ """
517
+ # Factors to consider
518
+ domain_familiarity = context.get('familiarity') # high|medium|low
519
+ requirements_clarity = context.get('clarity') # clear|moderate|vague
520
+ domain_complexity = context.get('complexity') # simple|moderate|complex
521
+
522
+ # Decision logic
523
+ if domain_familiarity == 'low' or requirements_clarity == 'vague':
524
+ # MUST research thoroughly
525
+ return {
526
+ 'strategies_count': 5,
527
+ 'execute_count': 4,
528
+ 'time_budget': '3-4 minutes'
529
+ }
530
+
531
+ elif domain_complexity == 'complex':
532
+ # Research technical + edge cases
533
+ return {
534
+ 'strategies_count': 5,
535
+ 'execute_count': 4,
536
+ 'time_budget': '2-3 minutes',
537
+ 'focus': ['technical', 'edge']
538
+ }
539
+
540
+ else:
541
+ # Standard research
542
+ return {
543
+ 'strategies_count': 5,
544
+ 'execute_count': 3,
545
+ 'time_budget': '2 minutes',
546
+ 'focus': ['technical', 'user', 'competitive']
547
+ }
548
+ ```
549
+
550
+ ### Temperature Tuning
551
+
552
+ **Research strategy generation:**
553
+ - Temperature: **0.8-0.9** (encourage diverse angles)
554
+ - Reason: Want non-obvious strategies to emerge
555
+
556
+ **Web search execution:**
557
+ - Temperature: N/A (deterministic search)
558
+
559
+ **Findings synthesis:**
560
+ - Temperature: **0.7** (balanced, coherent)
561
+
562
+ ---
563
+
564
+ ## 🚨 Common Pitfalls & Solutions
565
+
566
+ | Problem | Cause | Solution |
567
+ |---------|-------|----------|
568
+ | **Strategies too similar** | Prompt not emphasizing diversity | Add "explore DIFFERENT aspects" + tail sampling instruction |
569
+ | **Probabilities all ~0.2** | Model defaulting to uniform | Use CoT: "Explain WHY this probability based on research value" |
570
+ | **Irrelevant search results** | Query too generic | Add domain-specific terms, current year |
571
+ | **Redundant findings** | Similar strategies executed | Validate uniqueness before execution |
572
+ | **Synthesis too verbose** | Over-documenting every detail | Focus on ACTIONABLE insights for Step 1d |
573
+
574
+ ---
575
+
576
+ ## 📚 Token Economics
577
+
578
+ **This file:** ~380 lines = ~4,200 tokens
579
+
580
+ **Typical usage during Step 1c:**
581
+ - SKILL.md Step 1c section: ~500 tokens
582
+ - This research-methodology.md: ~4,200 tokens
583
+ - VS strategy generation (internal): ~800 tokens
584
+ - Web search results (4 searches): ~2,000 tokens
585
+ - **Total Step 1c:** ~7,500 tokens
586
+
587
+ **Optimization:**
588
+ - File loaded only during Step 1c
589
+ - Not needed for other workflow steps
590
+ - Progressive disclosure maintained
591
+
592
+ ---
593
+
594
+ ## ✅ Integration with Workflow
595
+
596
+ **Workflow Context:**
597
+
598
+ ```
599
+ STEP 0: Decide Approach (decision_helper.py)
600
+ ↓
601
+ STEP 1a: Gather User Requirements
602
+ ↓
603
+ STEP 1b: Identify Knowledge Gaps
604
+ ↓
605
+ STEP 1c: Research Domain ← YOU ARE HERE
606
+ │
607
+ ├─ Load: research-methodology.md
608
+ ├─ Generate: VS research strategies (JSON)
609
+ ├─ Execute: Top 3-4 web_search calls
610
+ ├─ Synthesize: Findings by aspect
611
+ └─ Output: Research summary for Step 1d
612
+ ↓
613
+ STEP 1d: Propose Structure (using research findings)
614
+ ↓
615
+ STEP 1e: User Validation Checkpoint
616
+ ↓
617
+ STEP 2: Initialize Structure
618
+ ```
619
+
620
+ **Handoff to Step 1d:**
621
+ - ✅ Research findings summary
622
+ - ✅ Technical standards identified
623
+ - ✅ User expectations clarified
624
+ - ✅ Competitive gaps noted
625
+ - ✅ Complexity estimate
626
+ - ✅ Recommended approach (workflow/task/reference-based)
627
+
628
+ ---
629
+
630
+ ## 🎓 Learning & Improvement
631
+
632
+ **After each research session, consider:**
633
+
634
+ 1. **What worked well?**
635
+ - Which strategies provided most valuable insights?
636
+ - Were probabilities accurate in predicting value?
637
+
638
+ 2. **What could improve?**
639
+ - Any aspect under-researched?
640
+ - Were search queries optimal?
641
+ - Did synthesis miss key implications?
642
+
643
+ 3. **Pattern recognition:**
644
+ - For similar domains, which aspects most critical?
645
+ - Are there domain-specific research patterns?
646
+
647
+ **Feedback loop:**
648
+ - Track which research findings led to better proposals (Step 1d)
649
+ - Refine strategy generation based on patterns
650
+ - Update aspect priorities for domain families
651
+
652
+ ---
653
+
654
+ **File Status:** Production-ready ✅
655
+ **Integration:** Phase 4 - Step 1c enhancement
656
+ **VS Methodology:** Based on Zhang et al. (2024) research
657
+ **Last Updated:** 2025-11-09
658
+
659
+ ---
660
+
661
+ *"Research-driven skill creation: From assumptions to evidence-based design"*