@rfxlamia/skillkit 1.1.0 → 1.2.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 (247) hide show
  1. package/agents/agents/creative-copywriter.md +212 -0
  2. package/agents/agents/dario-amodei.md +135 -0
  3. package/agents/agents/doc-simplifier.md +63 -0
  4. package/agents/agents/kotlin-pro.md +433 -0
  5. package/agents/agents/red-team.md +136 -0
  6. package/agents/agents/sam-altman.md +121 -0
  7. package/agents/agents/seo-manager.md +184 -0
  8. package/package.json +1 -1
  9. package/skills/skillkit-help/SKILL.md +81 -0
  10. package/skills/skillkit-help/knowledge/application/09-case-studies.md +257 -0
  11. package/skills/skillkit-help/knowledge/application/12-testing-and-validation.md +276 -0
  12. package/skills/skillkit-help/knowledge/foundation/01-why-skills-exist.md +246 -0
  13. package/skills/skillkit-help/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
  14. package/skills/skillkit-help/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
  15. package/skills/skillkit-help/knowledge/foundation/06-platform-constraints.md +237 -0
  16. package/skills/skillkit-help/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
  17. package/skills/skillkit-help/template/SKILL.md +52 -0
  18. package/skills/skills/adversarial-review/SKILL.md +219 -0
  19. package/skills/skills/baby-education/SKILL.md +260 -0
  20. package/skills/skills/baby-education/references/advanced-techniques.md +323 -0
  21. package/skills/skills/baby-education/references/transformations.md +345 -0
  22. package/skills/skills/been-there-done-that/SKILL.md +455 -0
  23. package/skills/skills/been-there-done-that/references/analysis-patterns.md +162 -0
  24. package/skills/skills/been-there-done-that/references/git-commands.md +132 -0
  25. package/skills/skills/been-there-done-that/references/tree-insertion-logic.md +145 -0
  26. package/skills/skills/coolhunter/SKILL.md +270 -0
  27. package/skills/skills/coolhunter/assets/elicitation-methods.csv +51 -0
  28. package/skills/skills/coolhunter/knowledge/elicitation-methods.md +312 -0
  29. package/skills/skills/coolhunter/references/workflow-execution.md +238 -0
  30. package/skills/skills/coolhunter/workflow-plan-coolhunter.md +232 -0
  31. package/skills/skills/creative-copywriting/SKILL.md +324 -0
  32. package/skills/skills/creative-copywriting/databases/README.md +60 -0
  33. package/skills/skills/creative-copywriting/databases/carousel-structures.csv +16 -0
  34. package/skills/skills/creative-copywriting/databases/emotional-arcs.csv +11 -0
  35. package/skills/skills/creative-copywriting/databases/hook-formulas.csv +51 -0
  36. package/skills/skills/creative-copywriting/databases/power-words.csv +201 -0
  37. package/skills/skills/creative-copywriting/databases/psychological-triggers.csv +21 -0
  38. package/skills/skills/creative-copywriting/databases/read-more-patterns.csv +26 -0
  39. package/skills/skills/creative-copywriting/databases/swipe-triggers.csv +31 -0
  40. package/skills/skills/creative-copywriting/references/carousel-psychology.md +223 -0
  41. package/skills/skills/creative-copywriting/references/hook-anatomy.md +169 -0
  42. package/skills/skills/creative-copywriting/references/power-word-science.md +134 -0
  43. package/skills/skills/creative-copywriting/references/storytelling-frameworks.md +157 -0
  44. package/skills/skills/diverse-content-gen/SKILL.md +201 -0
  45. package/skills/skills/diverse-content-gen/references/advanced-techniques.md +320 -0
  46. package/skills/skills/diverse-content-gen/references/research-findings.md +379 -0
  47. package/skills/skills/diverse-content-gen/references/task-workflows.md +241 -0
  48. package/skills/skills/diverse-content-gen/references/tool-integration.md +419 -0
  49. package/skills/skills/diverse-content-gen/references/troubleshooting.md +426 -0
  50. package/skills/skills/diverse-content-gen/references/vs-core-technique.md +240 -0
  51. package/skills/skills/framework-critical-thinking/SKILL.md +220 -0
  52. package/skills/skills/framework-critical-thinking/references/bias_detector.md +375 -0
  53. package/skills/skills/framework-critical-thinking/references/fallback_handler.md +239 -0
  54. package/skills/skills/framework-critical-thinking/references/memory_curator.md +161 -0
  55. package/skills/skills/framework-critical-thinking/references/metacognitive_monitor.md +297 -0
  56. package/skills/skills/framework-critical-thinking/references/producer_critic_orchestrator.md +333 -0
  57. package/skills/skills/framework-critical-thinking/references/reasoning_router.md +235 -0
  58. package/skills/skills/framework-critical-thinking/references/reasoning_validator.md +97 -0
  59. package/skills/skills/framework-critical-thinking/references/reflection_trigger.md +78 -0
  60. package/skills/skills/framework-critical-thinking/references/self_verification.md +388 -0
  61. package/skills/skills/framework-critical-thinking/references/uncertainty_quantifier.md +207 -0
  62. package/skills/skills/framework-initiative/SKILL.md +231 -0
  63. package/skills/skills/framework-initiative/references/examples.md +150 -0
  64. package/skills/skills/framework-initiative/references/impact-analysis.md +157 -0
  65. package/skills/skills/framework-initiative/references/intent-patterns.md +145 -0
  66. package/skills/skills/framework-initiative/references/star-framework.md +165 -0
  67. package/skills/skills/humanize-docs/SKILL.md +203 -0
  68. package/skills/skills/humanize-docs/references/advanced-techniques.md +13 -0
  69. package/skills/skills/humanize-docs/references/core-transformations.md +368 -0
  70. package/skills/skills/humanize-docs/references/detection-patterns.md +400 -0
  71. package/skills/skills/humanize-docs/references/examples-gallery.md +374 -0
  72. package/skills/skills/imagine/SKILL.md +190 -0
  73. package/skills/skills/imagine/references/artstyle-corporate-memphis.md +625 -0
  74. package/skills/skills/imagine/references/artstyle-crewdson-hyperrealism.md +295 -0
  75. package/skills/skills/imagine/references/artstyle-iphone-social-media.md +426 -0
  76. package/skills/skills/imagine/references/artstyle-sciencesaru.md +276 -0
  77. package/skills/skills/pre-deploy-checklist/README.md +26 -0
  78. package/skills/skills/pre-deploy-checklist/SKILL.md +153 -0
  79. package/skills/skills/pre-deploy-checklist/references/checklist-categories.md +174 -0
  80. package/skills/skills/pre-deploy-checklist/references/domain-prompts.md +216 -0
  81. package/skills/skills/prompt-engineering/SKILL.md +209 -0
  82. package/skills/skills/prompt-engineering/references/advanced-combinations.md +444 -0
  83. package/skills/skills/prompt-engineering/references/chain-of-thought.md +140 -0
  84. package/skills/skills/prompt-engineering/references/decision_matrix.md +220 -0
  85. package/skills/skills/prompt-engineering/references/few-shot.md +346 -0
  86. package/skills/skills/prompt-engineering/references/json-format.md +270 -0
  87. package/skills/skills/prompt-engineering/references/natural-language.md +420 -0
  88. package/skills/skills/prompt-engineering/references/pitfalls.md +365 -0
  89. package/skills/skills/prompt-engineering/references/prompt-chaining.md +498 -0
  90. package/skills/skills/prompt-engineering/references/react.md +108 -0
  91. package/skills/skills/prompt-engineering/references/self-consistency.md +322 -0
  92. package/skills/skills/prompt-engineering/references/tree-of-thoughts.md +386 -0
  93. package/skills/skills/prompt-engineering/references/xml-format.md +220 -0
  94. package/skills/skills/prompt-engineering/references/yaml-format.md +488 -0
  95. package/skills/skills/prompt-engineering/references/zero-shot.md +74 -0
  96. package/skills/skills/quick-spec/SKILL.md +280 -0
  97. package/skills/skills/quick-spec/assets/tech-spec-template.md +74 -0
  98. package/skills/skills/quick-spec/references/step-01-understand.md +189 -0
  99. package/skills/skills/quick-spec/references/step-02-investigate.md +144 -0
  100. package/skills/skills/quick-spec/references/step-03-generate.md +128 -0
  101. package/skills/skills/quick-spec/references/step-04-review.md +173 -0
  102. package/skills/skills/quick-spec/tests/__pycache__/test_skill.cpython-314-pytest-9.0.2.pyc +0 -0
  103. package/skills/skills/quick-spec/tests/test_scenarios.md +83 -0
  104. package/skills/skills/quick-spec/tests/test_skill.py +136 -0
  105. package/skills/skills/readme-expert/SKILL.md +538 -0
  106. package/skills/skills/readme-expert/knowledge/INDEX.md +192 -0
  107. package/skills/skills/readme-expert/knowledge/application/quality-standards.md +470 -0
  108. package/skills/skills/readme-expert/knowledge/application/script-executor.md +604 -0
  109. package/skills/skills/readme-expert/knowledge/application/template-library.md +822 -0
  110. package/skills/skills/readme-expert/knowledge/foundation/codebase-scanner.md +361 -0
  111. package/skills/skills/readme-expert/knowledge/foundation/validation-checklist.md +481 -0
  112. package/skills/skills/red-teaming/SKILL.md +321 -0
  113. package/skills/skills/red-teaming/references/ai-llm-redteam.md +517 -0
  114. package/skills/skills/red-teaming/references/attack-techniques.md +410 -0
  115. package/skills/skills/red-teaming/references/cybersecurity-redteam.md +383 -0
  116. package/skills/skills/red-teaming/references/tools-frameworks.md +446 -0
  117. package/skills/skills/releasing/.skillkit-mode +1 -0
  118. package/skills/skills/releasing/SKILL.md +225 -0
  119. package/skills/skills/releasing/references/version-detection.md +108 -0
  120. package/skills/skills/screenwriter/SKILL.md +273 -0
  121. package/skills/skills/screenwriter/references/advanced-techniques.md +216 -0
  122. package/skills/skills/screenwriter/references/pipeline-integration.md +266 -0
  123. package/skills/skills/skillkit/.claude/settings.local.json +7 -0
  124. package/skills/skills/skillkit/.claude-plugin/plugin.json +27 -0
  125. package/skills/skills/skillkit/CHANGELOG.md +484 -0
  126. package/skills/skills/skillkit/SKILL.md +511 -0
  127. package/skills/skills/skillkit/commands/skillkit.md +6 -0
  128. package/skills/skills/skillkit/commands/validate-plan.md +6 -0
  129. package/skills/skills/skillkit/commands/verify.md +6 -0
  130. package/skills/skills/skillkit/knowledge/INDEX.md +352 -0
  131. package/skills/skills/skillkit/knowledge/application/09-case-studies.md +257 -0
  132. package/skills/skills/skillkit/knowledge/application/10-technical-architecture.md +324 -0
  133. package/skills/skills/skillkit/knowledge/application/11-adoption-strategy.md +267 -0
  134. package/skills/skills/skillkit/knowledge/application/12-testing-and-validation.md +276 -0
  135. package/skills/skills/skillkit/knowledge/application/13-competitive-landscape.md +198 -0
  136. package/skills/skills/skillkit/knowledge/foundation/01-why-skills-exist.md +246 -0
  137. package/skills/skills/skillkit/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
  138. package/skills/skills/skillkit/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
  139. package/skills/skills/skillkit/knowledge/foundation/04-hybrid-patterns.md +308 -0
  140. package/skills/skills/skillkit/knowledge/foundation/05-token-economics.md +275 -0
  141. package/skills/skills/skillkit/knowledge/foundation/06-platform-constraints.md +237 -0
  142. package/skills/skills/skillkit/knowledge/foundation/07-security-concerns.md +322 -0
  143. package/skills/skills/skillkit/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
  144. package/skills/skills/skillkit/knowledge/plugin-guide.md +614 -0
  145. package/skills/skills/skillkit/knowledge/tools/14-validation-tools-guide.md +150 -0
  146. package/skills/skills/skillkit/knowledge/tools/15-cost-tools-guide.md +157 -0
  147. package/skills/skills/skillkit/knowledge/tools/16-security-tools-guide.md +122 -0
  148. package/skills/skills/skillkit/knowledge/tools/17-pattern-tools-guide.md +161 -0
  149. package/skills/skills/skillkit/knowledge/tools/18-decision-helper-guide.md +243 -0
  150. package/skills/skills/skillkit/knowledge/tools/19-test-generator-guide.md +275 -0
  151. package/skills/skills/skillkit/knowledge/tools/20-split-skill-guide.md +149 -0
  152. package/skills/skills/skillkit/knowledge/tools/21-quality-scorer-guide.md +226 -0
  153. package/skills/skills/skillkit/knowledge/tools/22-migration-helper-guide.md +356 -0
  154. package/skills/skills/skillkit/knowledge/tools/23-subagent-creation-guide.md +448 -0
  155. package/skills/skills/skillkit/knowledge/tools/24-behavioral-testing-guide.md +122 -0
  156. package/skills/skills/skillkit/references/proposal-generation.md +982 -0
  157. package/skills/skills/skillkit/references/rationalization-catalog.md +75 -0
  158. package/skills/skills/skillkit/references/research-methodology.md +661 -0
  159. package/skills/skills/skillkit/references/section-2-full-creation-workflow.md +452 -0
  160. package/skills/skills/skillkit/references/section-3-validation-workflow-existing-skill.md +63 -0
  161. package/skills/skills/skillkit/references/section-4-decision-workflow-skills-vs-subagents.md +64 -0
  162. package/skills/skills/skillkit/references/section-5-migration-workflow-doc-to-skill.md +58 -0
  163. package/skills/skills/skillkit/references/section-6-subagent-creation-workflow.md +499 -0
  164. package/skills/skills/skillkit/references/section-7-knowledge-reference-map.md +72 -0
  165. package/skills/skills/skillkit/scripts/__pycache__/decision_helper.cpython-314.pyc +0 -0
  166. package/skills/skills/skillkit/scripts/__pycache__/quick_validate.cpython-312.pyc +0 -0
  167. package/skills/skills/skillkit/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
  168. package/skills/skills/skillkit/scripts/__pycache__/test_generator.cpython-314-pytest-9.0.2.pyc +0 -0
  169. package/skills/skills/skillkit/scripts/decision_helper.py +799 -0
  170. package/skills/skills/skillkit/scripts/init_skill.py +400 -0
  171. package/skills/skills/skillkit/scripts/init_subagent.py +231 -0
  172. package/skills/skills/skillkit/scripts/migration_helper.py +669 -0
  173. package/skills/skills/skillkit/scripts/package_skill.py +211 -0
  174. package/skills/skills/skillkit/scripts/pattern_detector.py +381 -0
  175. package/skills/skills/skillkit/scripts/pattern_detector_new.py +382 -0
  176. package/skills/skills/skillkit/scripts/pressure_tester.py +157 -0
  177. package/skills/skills/skillkit/scripts/quality_scorer.py +999 -0
  178. package/skills/skills/skillkit/scripts/quick_validate.py +100 -0
  179. package/skills/skills/skillkit/scripts/security_scanner.py +474 -0
  180. package/skills/skills/skillkit/scripts/split_skill.py +540 -0
  181. package/skills/skills/skillkit/scripts/test_generator.py +695 -0
  182. package/skills/skills/skillkit/scripts/token_estimator.py +493 -0
  183. package/skills/skills/skillkit/scripts/utils/__init__.py +49 -0
  184. package/skills/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  185. package/skills/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-314.pyc +0 -0
  186. package/skills/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-312.pyc +0 -0
  187. package/skills/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-314.pyc +0 -0
  188. package/skills/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-312.pyc +0 -0
  189. package/skills/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-314.pyc +0 -0
  190. package/skills/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-312.pyc +0 -0
  191. package/skills/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-314.pyc +0 -0
  192. package/skills/skills/skillkit/scripts/utils/budget_tracker.py +388 -0
  193. package/skills/skills/skillkit/scripts/utils/output_formatter.py +263 -0
  194. package/skills/skills/skillkit/scripts/utils/reference_validator.py +401 -0
  195. package/skills/skills/skillkit/scripts/validate_skill.py +594 -0
  196. package/skills/skills/skillkit/tests/test_behavioral.py +39 -0
  197. package/skills/skills/skillkit/tests/test_scenarios.md +83 -0
  198. package/skills/skills/skillkit/tests/test_skill.py +136 -0
  199. package/skills/skills/skillkit-help/SKILL.md +81 -0
  200. package/skills/skills/skillkit-help/knowledge/application/09-case-studies.md +257 -0
  201. package/skills/skills/skillkit-help/knowledge/application/12-testing-and-validation.md +276 -0
  202. package/skills/skills/skillkit-help/knowledge/foundation/01-why-skills-exist.md +246 -0
  203. package/skills/skills/skillkit-help/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
  204. package/skills/skills/skillkit-help/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
  205. package/skills/skills/skillkit-help/knowledge/foundation/06-platform-constraints.md +237 -0
  206. package/skills/skills/skillkit-help/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
  207. package/skills/skills/skillkit-help/template/SKILL.md +52 -0
  208. package/skills/skills/social-media-seo/SKILL.md +278 -0
  209. package/skills/skills/social-media-seo/databases/caption-styles.csv +31 -0
  210. package/skills/skills/social-media-seo/databases/engagement-tactics.csv +16 -0
  211. package/skills/skills/social-media-seo/databases/hashtag-strategies.csv +21 -0
  212. package/skills/skills/social-media-seo/databases/hook-formulas.csv +26 -0
  213. package/skills/skills/social-media-seo/databases/keyword-clusters.csv +11 -0
  214. package/skills/skills/social-media-seo/databases/thread-structures.csv +26 -0
  215. package/skills/skills/social-media-seo/databases/viral-patterns.csv +21 -0
  216. package/skills/skills/social-media-seo/references/analytics-guide.md +321 -0
  217. package/skills/skills/social-media-seo/references/instagram-seo.md +235 -0
  218. package/skills/skills/social-media-seo/references/threads-seo.md +305 -0
  219. package/skills/skills/social-media-seo/references/x-twitter-seo.md +337 -0
  220. package/skills/skills/social-media-seo/scripts/query_database.py +191 -0
  221. package/skills/skills/storyteller/SKILL.md +241 -0
  222. package/skills/skills/storyteller/references/transformation-methodology.md +293 -0
  223. package/skills/skills/storyteller/references/visual-vocabulary.md +177 -0
  224. package/skills/skills/thread-pro/SKILL.md +162 -0
  225. package/skills/skills/thread-pro/anti-ai-patterns.md +120 -0
  226. package/skills/skills/thread-pro/hook-formulas.md +138 -0
  227. package/skills/skills/thread-pro/references/anti-ai-patterns.md +120 -0
  228. package/skills/skills/thread-pro/references/hook-formulas.md +138 -0
  229. package/skills/skills/thread-pro/references/thread-structures.md +240 -0
  230. package/skills/skills/thread-pro/references/voice-injection.md +130 -0
  231. package/skills/skills/thread-pro/thread-structures.md +240 -0
  232. package/skills/skills/thread-pro/voice-injection.md +130 -0
  233. package/skills/skills/tinkering/SKILL.md +251 -0
  234. package/skills/skills/tinkering/references/graduation-checklist.md +100 -0
  235. package/skills/skills/validate-plan/.skillkit-mode +1 -0
  236. package/skills/skills/validate-plan/SKILL.md +406 -0
  237. package/skills/skills/validate-plan/references/dry-principles.md +251 -0
  238. package/skills/skills/validate-plan/references/gap-analysis-guide.md +320 -0
  239. package/skills/skills/validate-plan/references/tdd-patterns.md +413 -0
  240. package/skills/skills/validate-plan/references/yagni-checklist.md +330 -0
  241. package/skills/skills/verify-before-ship/.skillkit-mode +1 -0
  242. package/skills/skills/verify-before-ship/SKILL.md +116 -0
  243. package/skills/skills/verify-before-ship/references/anti-rationalization.md +212 -0
  244. package/skills/skills/verify-before-ship/references/verification-gates.md +305 -0
  245. package/skills-manifest.json +8 -2
  246. package/src/picker.js +11 -5
  247. package/src/picker.test.js +36 -1
@@ -0,0 +1,982 @@
1
+ ---
2
+ title: Proposal Generation with Verbalized Sampling
3
+ purpose: Multi-option skill structure proposals using VS for informed decision-making
4
+ usage: Loaded during Step 1d of Full Creation Workflow
5
+ version: 1.0.0
6
+ author: Advanced Skill Creator
7
+ ---
8
+
9
+ # Proposal Generation: Verbalized Sampling Strategy
10
+
11
+ **Context:** Step 1d - Propose Skill Structure in skill creation workflow
12
+
13
+ **Purpose:** Generate multiple structure proposals with probabilities, trade-offs, and recommendations using Verbalized Sampling (VS)
14
+
15
+ **Key Benefits:**
16
+ - 🎯 **3-5 viable options** vs single proposal (user makes informed choice)
17
+ - 📊 Probability-weighted recommendations based on research alignment
18
+ - ⚖️ Explicit trade-offs for each approach
19
+ - 🔍 Better fit discovery through comparison
20
+ - ✅ Higher user confidence in final selection
21
+
22
+ ---
23
+
24
+ ## 🎯 When to Use This Methodology
25
+
26
+ ### ALWAYS Generate Multiple Proposals When:
27
+ - ✅ Research reveals multiple viable approaches
28
+ - ✅ User requirements allow flexibility
29
+ - ✅ Domain has established alternative patterns
30
+ - ✅ Trade-offs exist between token efficiency, complexity, flexibility
31
+
32
+ ### MAY Generate Single Proposal When:
33
+ - ⚠️ Research strongly indicates ONE optimal approach (rare)
34
+ - ⚠️ User explicitly specifies exact structure desired
35
+ - ⚠️ Constraints so tight that only one viable option exists
36
+
37
+ **Default stance:** Generate 3-5 proposals - let user choose best fit
38
+
39
+ ---
40
+
41
+ ## 🔬 VS Proposal Generation Strategy
42
+
43
+ ### Phase 1: Generate Structure Proposals (INTERNAL)
44
+
45
+ **VS Prompt Template (Agent-Layer Only):**
46
+
47
+ ```markdown
48
+ INTERNAL REASONING TASK:
49
+
50
+ Using Verbalized Sampling methodology, generate 3-5 skill structure proposals
51
+ for [DOMAIN] based on research findings.
52
+
53
+ Context:
54
+ - Domain: [DOMAIN]
55
+ - User Task: [USER_TASK_DESCRIPTION]
56
+ - Research Summary:
57
+ * Technical standards: [key findings]
58
+ * User expectations: [key findings]
59
+ * Competitive gaps: [key findings]
60
+ * Complexity level: [low|medium|high]
61
+
62
+ Instructions:
63
+ 1. Each proposal represents DIFFERENT design philosophy
64
+ 2. Estimate probability based on research alignment + implementation fit
65
+ 3. Calculate token estimates using progressive disclosure principles
66
+ 4. Provide honest trade-offs (pros AND cons)
67
+ 5. Use Chain-of-Thought reasoning for probability
68
+
69
+ Design Philosophies to Consider:
70
+
71
+ 1. **Workflow-Based** (Sequential step-by-step process)
72
+ - Best for: Linear processes, clear sequences
73
+ - Structure: SKILL.md with step sections
74
+ - Token pattern: Core workflow in main, details in references
75
+
76
+ 2. **Task-Based** (Organized by use case/scenario)
77
+ - Best for: Multiple distinct use cases, flexible entry points
78
+ - Structure: SKILL.md with task sections per scenario
79
+ - Token pattern: Task-specific guidance, shared references
80
+
81
+ 3. **Reference-Heavy** (Minimal SKILL.md + comprehensive knowledge base)
82
+ - Best for: Complex domains, extensive documentation needed
83
+ - Structure: Thin SKILL.md orchestrator, detailed references
84
+ - Token pattern: Extreme progressive disclosure
85
+
86
+ 4. **Minimal Progressive** (Core only in SKILL.md, all details on-demand)
87
+ - Best for: Simple domains, efficiency-critical
88
+ - Structure: Compact SKILL.md (~150 lines), optional references
89
+ - Token pattern: Optimal token efficiency
90
+
91
+ 5. **Hybrid** (Combines multiple approaches strategically)
92
+ - Best for: Complex requirements needing flexible structure
93
+ - Structure: Mix of patterns where each fits
94
+ - Token pattern: Balanced based on needs
95
+
96
+ Output Format (JSON):
97
+ ```json
98
+ {
99
+ "domain": "[DOMAIN]",
100
+ "research_context": {
101
+ "technical_requirements": ["req1", "req2"],
102
+ "user_expectations": ["exp1", "exp2"],
103
+ "complexity": "low|medium|high",
104
+ "key_insights": "Brief summary of research driving proposals"
105
+ },
106
+ "proposals": [
107
+ {
108
+ "id": 1,
109
+ "name": "Design Philosophy Name",
110
+ "probability": 0.XX,
111
+ "rationale": "Chain-of-Thought: Why this probability? Research alignment: [X%]. Implementation fit: [Y%]. User requirements match: [Z%]. Weighted average suggests probability of [0.XX].",
112
+
113
+ "structure": {
114
+ "skill_md": {
115
+ "estimated_lines": 150-300,
116
+ "sections": [
117
+ {
118
+ "name": "Section Name",
119
+ "purpose": "What this section covers",
120
+ "estimated_lines": XX
121
+ }
122
+ ]
123
+ },
124
+ "scripts": [
125
+ {
126
+ "name": "script_name.py",
127
+ "purpose": "What script does",
128
+ "optional": true|false
129
+ }
130
+ ],
131
+ "references": [
132
+ {
133
+ "name": "reference_name.md",
134
+ "purpose": "What reference contains",
135
+ "estimated_lines": XX
136
+ }
137
+ ],
138
+ "assets": [
139
+ {
140
+ "name": "asset_name.ext",
141
+ "purpose": "What asset provides",
142
+ "optional": true|false
143
+ }
144
+ ]
145
+ },
146
+
147
+ "token_estimate": {
148
+ "skill_md": XXXX,
149
+ "references_total": XXXX,
150
+ "scripts_docs": XXX,
151
+ "typical_load": XXXX,
152
+ "full_load": XXXX,
153
+ "calculation_method": "How tokens were estimated"
154
+ },
155
+
156
+ "trade_offs": {
157
+ "advantages": [
158
+ "Specific advantage 1 tied to research findings",
159
+ "Specific advantage 2 tied to user needs",
160
+ "Specific advantage 3 tied to implementation"
161
+ ],
162
+ "disadvantages": [
163
+ "Honest limitation 1",
164
+ "Honest limitation 2"
165
+ ]
166
+ },
167
+
168
+ "research_alignment": {
169
+ "technical_match": "How structure implements technical standards found",
170
+ "user_needs_match": "How structure addresses user pain points",
171
+ "competitive_edge": "How structure fills gaps identified",
172
+ "edge_case_handling": "How structure handles edge cases"
173
+ },
174
+
175
+ "implementation_notes": {
176
+ "estimated_effort": "X hours creation time",
177
+ "maintenance_complexity": "low|medium|high",
178
+ "scalability": "How easy to extend later"
179
+ }
180
+ }
181
+ ],
182
+ "metadata": {
183
+ "total_probability": 1.0,
184
+ "proposal_count": 3-5,
185
+ "diversity_level": "high|medium",
186
+ "recommendation": "ID of highest probability proposal"
187
+ }
188
+ }
189
+ ```
190
+
191
+ Constraints:
192
+ - Probabilities MUST sum to ~1.0 (±0.05 acceptable)
193
+ - All proposals must be VIABLE (no straw man options)
194
+ - Token estimates must follow progressive disclosure principles
195
+ - Trade-offs must be HONEST and SPECIFIC
196
+ - At least 3 proposals required, maximum 5
197
+ - Highest probability = best research alignment
198
+ ```
199
+
200
+ **Implementation Note:** This is INTERNAL prompt - user doesn't see raw JSON. Claude processes this and presents formatted proposals to user.
201
+
202
+ ---
203
+
204
+ ### Token Budget Constraints (Enforced in Step 1f)
205
+
206
+ **CRITICAL: These constraints are enforced during execution planning (Step 1f)**
207
+
208
+ **Budget Rules:**
209
+ 1. **Per-file limit:** Each reference file MAX 300 tokens (~37 lines)
210
+ 2. **Total reference limit:** All references combined <= 70% of SKILL.md target tokens
211
+ 3. **File count threshold:** If >8 reference files -> MUST reduce OR justify
212
+
213
+ **Why These Constraints:**
214
+ - Prevents "plan 14 files, create only 3" problem identified in testing
215
+ - Forces focused content in fewer, substantial files
216
+ - Ensures token budget known before creation starts
217
+ - Enables priority system (P0/P1/P2) to work effectively
218
+
219
+ **Calculation Example:**
220
+ ```
221
+ SKILL.md target: 2000 tokens (250 lines)
222
+ Reference budget: 2000 * 0.70 = 1400 tokens max
223
+
224
+ If proposal has 14 reference files at 300 tokens each:
225
+ - Planned: 14 * 300 = 4200 tokens
226
+ - Budget: 1400 tokens
227
+ - PROBLEM: 3x over budget!
228
+
229
+ Solution (applied in Step 1f):
230
+ - Assign priorities: 4 P0 + 3 P1 + 7 P2
231
+ - P0 (critical, must complete): 4 * 300 = 1200 tokens
232
+ - P1 (important, minimum): 3 * 120 = 360 tokens (reduced scope)
233
+ - P2 (optional, placeholder): 7 * 0 = 0 tokens
234
+ - Total: 1200 + 360 = 1560 tokens (within budget if optimized)
235
+ ```
236
+
237
+ **Priority Assignment Guidelines:**
238
+ - **P0 (Critical):** Core workflows, essential APIs, must-have references
239
+ - Requirement: >=80 lines substantial content
240
+ - Cannot proceed without these files
241
+ - **P1 (Important):** Supporting docs, helpful guides, nice-to-have
242
+ - Requirement: >=40 lines minimum content
243
+ - Warn if missing but allow proceed
244
+ - **P2 (Optional):** Future enhancements, edge cases, advanced topics
245
+ - Requirement: Placeholder "# TBD" acceptable
246
+ - Explicitly allowed to be stubs
247
+
248
+ **Impact on Proposal Generation:**
249
+ When generating proposals in Phase 1, consider:
250
+ 1. Estimate realistic token counts per reference file
251
+ 2. If total references exceed 70% budget -> flag in proposal
252
+ 3. Suggest priority levels in structure planning
253
+ 4. Prefer 3-6 substantial files over 10+ planned files
254
+
255
+ ---
256
+
257
+ ### Phase 2: Proposal Evaluation (Multi-Criteria Scoring)
258
+
259
+ **Scoring Framework (INTERNAL):**
260
+
261
+ ```python
262
+ def calculate_proposal_probability(proposal, research, user_requirements):
263
+ """
264
+ Calculate probability using weighted multi-criteria scoring
265
+
266
+ Criteria weights:
267
+ - Research Alignment: 40%
268
+ - Token Efficiency: 25%
269
+ - User Requirements Match: 20%
270
+ - Implementation Complexity: 15%
271
+ """
272
+
273
+ # Criterion 1: Research Alignment (40%)
274
+ research_score = 0.0
275
+
276
+ # Technical standards match
277
+ if implements_technical_standards(proposal, research):
278
+ research_score += 0.10
279
+
280
+ # User pain points addressed
281
+ pain_points_addressed = count_addressed_pain_points(proposal, research)
282
+ research_score += (pain_points_addressed / total_pain_points) * 0.10
283
+
284
+ # Competitive gaps filled
285
+ if fills_competitive_gaps(proposal, research):
286
+ research_score += 0.10
287
+
288
+ # Edge cases handled
289
+ edge_cases_covered = count_covered_edge_cases(proposal, research)
290
+ research_score += (edge_cases_covered / total_edge_cases) * 0.10
291
+
292
+ # Criterion 2: Token Efficiency (25%)
293
+ token_score = 0.0
294
+
295
+ typical_load = proposal['token_estimate']['typical_load']
296
+ if typical_load < 2000:
297
+ token_score = 0.25 # Excellent
298
+ elif typical_load < 3000:
299
+ token_score = 0.20 # Good
300
+ elif typical_load < 4000:
301
+ token_score = 0.15 # Acceptable
302
+ else:
303
+ token_score = 0.10 # Needs optimization
304
+
305
+ # Criterion 3: User Requirements Match (20%)
306
+ requirements_score = 0.0
307
+
308
+ covered_requirements = count_covered_requirements(proposal, user_requirements)
309
+ requirements_score = (covered_requirements / total_requirements) * 0.20
310
+
311
+ # Criterion 4: Implementation Complexity (15%)
312
+ complexity_score = 0.0
313
+
314
+ effort = proposal['implementation_notes']['estimated_effort']
315
+ if effort < 2: # hours
316
+ complexity_score = 0.15 # Quick to implement
317
+ elif effort < 4:
318
+ complexity_score = 0.12 # Moderate
319
+ else:
320
+ complexity_score = 0.08 # Complex
321
+
322
+ # Total probability
323
+ probability = research_score + token_score + requirements_score + complexity_score
324
+
325
+ # Normalize if needed
326
+ return min(probability, 0.95) # Cap at 0.95 to allow alternatives
327
+ ```
328
+
329
+ ---
330
+
331
+ ## 📋 Proposal Presentation Template
332
+
333
+ ### Format for User Display
334
+
335
+ **Presentation Structure:**
336
+
337
+ ```markdown
338
+ # 📋 PROPOSED SKILL STRUCTURES (Research-Backed)
339
+
340
+ Based on research of [DOMAIN] best practices and [brief research summary],
341
+ here are recommended structures:
342
+
343
+ ---
344
+
345
+ ## ✅ OPTION A: [Design Philosophy] (p=0.45) ⭐ RECOMMENDED
346
+
347
+ **Why this fits:** [1-sentence research alignment summary]
348
+
349
+ ### 📁 Structure
350
+
351
+ ```
352
+ skill-name/
353
+ ├── SKILL.md (~180 lines)
354
+ │ ├── Overview & Trigger Conditions (15 lines)
355
+ │ ├── [Section 1]: [Purpose] (40 lines)
356
+ │ ├── [Section 2]: [Purpose] (50 lines)
357
+ │ ├── [Section 3]: [Purpose] (45 lines)
358
+ │ └── [Section 4]: [Purpose] (30 lines)
359
+ │
360
+ ├── scripts/
361
+ │ ├── [script_name].py (optional)
362
+ │ └── [Purpose of script]
363
+ │
364
+ ├── references/
365
+ │ ├── [reference_1].md (~120 lines)
366
+ │ │ └── [What it contains]
367
+ │ └── [reference_2].md (~100 lines)
368
+ │ └── [What it contains]
369
+ │
370
+ └── assets/ (optional)
371
+ └── [asset_name].ext
372
+ ```
373
+
374
+ ### 📊 Token Efficiency
375
+
376
+ | Component | Tokens | When Loaded |
377
+ |-----------|--------|-------------|
378
+ | SKILL.md | ~1,800 | Always (startup) |
379
+ | reference_1.md | ~1,200 | On-demand (when [trigger]) |
380
+ | reference_2.md | ~1,000 | On-demand (when [trigger]) |
381
+ | **Typical load** | **~2,200** | **Core usage** ✅ |
382
+ | **Full load** | **~4,000** | **All references** |
383
+
384
+ **Progressive Disclosure:** ✅ 55% of content loaded on-demand
385
+
386
+ ### ✅ Advantages
387
+
388
+ 1. **[Research-backed advantage 1]** - Implements [technical standard found]
389
+ 2. **[User-centric advantage 2]** - Addresses [pain point discovered]
390
+ 3. **[Implementation advantage 3]** - [Specific benefit from structure]
391
+
392
+ ### ⚠️ Trade-offs
393
+
394
+ - **[Honest limitation 1]** - [Specific scenario where this doesn't excel]
395
+ - **[Honest limitation 2]** - [Alternative approach might be better for...]
396
+
397
+ ### 🔍 Research Alignment
398
+
399
+ **Technical Standards:** Implements [standard 1], [standard 2]
400
+ **User Needs:** Addresses [pain point 1], supports [expectation 1]
401
+ **Competitive Edge:** Fills gap in [area], improves on [existing approach]
402
+ **Edge Cases:** Handles [edge case 1], validates [constraint 1]
403
+
404
+ ### 🛠️ Implementation Notes
405
+
406
+ - **Creation Time:** ~X hours
407
+ - **Maintenance:** [Low|Medium|High] complexity
408
+ - **Scalability:** [Easy|Moderate|Difficult] to extend later
409
+
410
+ ---
411
+
412
+ ## 💡 OPTION B: [Design Philosophy] (p=0.35)
413
+
414
+ [Same detailed breakdown as Option A]
415
+
416
+ ---
417
+
418
+ ## 💡 OPTION C: [Design Philosophy] (p=0.20)
419
+
420
+ [Same detailed breakdown as Option A]
421
+
422
+ ---
423
+
424
+ ## ❓ Which Approach Fits Your Vision?
425
+
426
+ **Selection Options:**
427
+ 1. **Select one** (A/B/C) - Proceed with chosen design
428
+ 2. **Request hybrid** - Combine aspects from multiple options
429
+ 3. **Request modifications** - Adjust specific aspects of a proposal
430
+ 4. **Ask questions** - Clarify trade-offs or implications
431
+
432
+ **Decision Guide:**
433
+
434
+ | Choose This | If You Value... | And Can Accept... |
435
+ |-------------|-----------------|-------------------|
436
+ | **Option A** | [Primary benefit] | [Primary trade-off] |
437
+ | **Option B** | [Primary benefit] | [Primary trade-off] |
438
+ | **Option C** | [Primary benefit] | [Primary trade-off] |
439
+ ```
440
+
441
+ ---
442
+
443
+ ## 🎯 Example: Instagram Caption Maker Proposals
444
+
445
+ ### Generated Proposals (VS Output)
446
+
447
+ **Research Context:**
448
+ - Technical: 100-125 char optimal, 5-8 hashtags, emoji strategic
449
+ - User: Need quick generation, brand voice, A/B variants
450
+ - Competitive: Gap in brand voice customization + variant generation
451
+ - Complexity: Medium (Unicode, brand voice, multiple variants)
452
+
453
+ ```json
454
+ {
455
+ "domain": "Instagram Caption Generation",
456
+ "research_context": {
457
+ "technical_requirements": ["100-125 char optimal", "5-8 hashtags", "Unicode-aware"],
458
+ "user_expectations": ["<30sec generation", "brand voice consistency", "A/B variants"],
459
+ "complexity": "medium",
460
+ "key_insights": "Users need quick, on-brand caption generation with testing variants. Gap in market for brand voice customization."
461
+ },
462
+ "proposals": [
463
+ {
464
+ "id": 1,
465
+ "name": "Task-Based Organization",
466
+ "probability": 0.45,
467
+ "rationale": "CoT: Research shows users have distinct caption goals (product launch vs storytelling vs engagement). Task-based structure matches this workflow. Research alignment: 90% (addresses all user needs). Implementation fit: 85% (moderate complexity). User requirements match: 95% (covers all requested features). Weighted: 0.40*0.90 + 0.25*0.85 + 0.20*0.95 + 0.15*0.85 = 0.45",
468
+
469
+ "structure": {
470
+ "skill_md": {
471
+ "estimated_lines": 200,
472
+ "sections": [
473
+ {"name": "Overview & Triggers", "purpose": "Skill description, when to use", "estimated_lines": 20},
474
+ {"name": "Task 1: Product Launch Captions", "purpose": "Promotional, conversion-focused captions", "estimated_lines": 45},
475
+ {"name": "Task 2: Storytelling Captions", "purpose": "Brand narrative, emotional connection", "estimated_lines": 45},
476
+ {"name": "Task 3: Engagement Captions", "purpose": "Questions, polls, community building", "estimated_lines": 40},
477
+ {"name": "Brand Voice Integration", "purpose": "How to customize for brand", "estimated_lines": 30},
478
+ {"name": "A/B Testing Guide", "purpose": "How to generate and use variants", "estimated_lines": 20}
479
+ ]
480
+ },
481
+ "references": [
482
+ {"name": "caption-best-practices.md", "purpose": "Instagram 2025 standards, character limits, emoji usage", "estimated_lines": 120},
483
+ {"name": "hashtag-strategy.md", "purpose": "Strategic hashtag mixing (brand + trending + niche)", "estimated_lines": 100},
484
+ {"name": "brand-voice-examples.md", "purpose": "Examples for different brand personalities", "estimated_lines": 80}
485
+ ],
486
+ "scripts": [
487
+ {"name": "validate_caption.py", "purpose": "Check length, hashtag count, Unicode", "optional": true}
488
+ ]
489
+ },
490
+
491
+ "token_estimate": {
492
+ "skill_md": 2000,
493
+ "references_total": 3000,
494
+ "scripts_docs": 200,
495
+ "typical_load": 2500,
496
+ "full_load": 5200,
497
+ "calculation_method": "SKILL.md always loaded. Users typically access 1-2 reference files per session based on task."
498
+ },
499
+
500
+ "trade_offs": {
501
+ "advantages": [
502
+ "Clear use case separation - users quickly find relevant guidance for their goal",
503
+ "Matches natural workflow - users think in terms of caption purpose, not structure",
504
+ "Scalable - easy to add new caption types (e.g., 'Reels captions') later"
505
+ ],
506
+ "disadvantages": [
507
+ "Some duplication across tasks - brand voice guidance repeated per task",
508
+ "Requires user to identify task type - may need quick guide to choose"
509
+ ]
510
+ },
511
+
512
+ "research_alignment": {
513
+ "technical_match": "Each task section implements 100-125 char guidance, 5-8 hashtag rules",
514
+ "user_needs_match": "Addresses quick generation need, brand voice consistency, A/B variants",
515
+ "competitive_edge": "Fills gap with task-specific optimization, unlike generic tools",
516
+ "edge_case_handling": "validate_caption.py handles Unicode counting, censored words"
517
+ },
518
+
519
+ "implementation_notes": {
520
+ "estimated_effort": "3 hours",
521
+ "maintenance_complexity": "medium",
522
+ "scalability": "Easy - add new task sections as needs evolve"
523
+ }
524
+ },
525
+ {
526
+ "id": 2,
527
+ "name": "Workflow-Based Sequential",
528
+ "probability": 0.30,
529
+ "rationale": "CoT: Research shows caption creation has steps (brainstorm → draft → optimize → hashtags → test). Workflow structure maps to this. Research alignment: 75% (covers process but less flexible). Implementation fit: 90% (simpler structure). User requirements match: 80% (meets needs but less optimal). Weighted: 0.30",
530
+
531
+ "structure": {
532
+ "skill_md": {
533
+ "estimated_lines": 180,
534
+ "sections": [
535
+ {"name": "Step 1: Understand Brief", "purpose": "Parse user requirements, brand voice", "estimated_lines": 30},
536
+ {"name": "Step 2: Generate Hook", "purpose": "Create attention-grabbing first line", "estimated_lines": 40},
537
+ {"name": "Step 3: Develop Body", "purpose": "Complete caption message", "estimated_lines": 40},
538
+ {"name": "Step 4: Add Hashtags", "purpose": "Strategic hashtag selection", "estimated_lines": 35},
539
+ {"name": "Step 5: Create Variants", "purpose": "A/B testing versions", "estimated_lines": 35}
540
+ ]
541
+ },
542
+ "references": [
543
+ {"name": "caption-standards.md", "purpose": "Combined best practices", "estimated_lines": 150}
544
+ ]
545
+ },
546
+
547
+ "token_estimate": {
548
+ "skill_md": 1800,
549
+ "references_total": 1500,
550
+ "typical_load": 2200,
551
+ "full_load": 3300,
552
+ "calculation_method": "Workflow always loaded. Single reference file contains all guidance."
553
+ },
554
+
555
+ "trade_offs": {
556
+ "advantages": [
557
+ "Clear sequential process - easy to follow for beginners",
558
+ "Simple structure - fewer files, faster to create",
559
+ "Lower token load - more efficient than task-based"
560
+ ],
561
+ "disadvantages": [
562
+ "Less flexible - forces sequential thinking even for quick captions",
563
+ "Harder to navigate - users must read through steps vs jump to relevant task"
564
+ ]
565
+ },
566
+
567
+ "research_alignment": {
568
+ "technical_match": "Steps implement standards, but less optimized per use case",
569
+ "user_needs_match": "Addresses needs but workflow less natural for users",
570
+ "competitive_edge": "Similar to existing tools - less differentiation",
571
+ "edge_case_handling": "Validation in Step 4 (hashtags)"
572
+ },
573
+
574
+ "implementation_notes": {
575
+ "estimated_effort": "2 hours",
576
+ "maintenance_complexity": "low",
577
+ "scalability": "Moderate - harder to add optional paths"
578
+ }
579
+ },
580
+ {
581
+ "id": 3,
582
+ "name": "Minimal Progressive Disclosure",
583
+ "probability": 0.25,
584
+ "rationale": "CoT: Extreme token efficiency focus. Research alignment: 70% (covers core but lacks depth). Implementation fit: 95% (simple to build). User requirements match: 70% (basic features only). Weighted: 0.25",
585
+
586
+ "structure": {
587
+ "skill_md": {
588
+ "estimated_lines": 140,
589
+ "sections": [
590
+ {"name": "Core Caption Generation", "purpose": "Essential generation logic", "estimated_lines": 80},
591
+ {"name": "Quick Reference", "purpose": "Key rules and limits", "estimated_lines": 40},
592
+ {"name": "Advanced Features", "purpose": "Point to reference files", "estimated_lines": 20}
593
+ ]
594
+ },
595
+ "references": [
596
+ {"name": "advanced-techniques.md", "purpose": "Brand voice, A/B testing details", "estimated_lines": 120},
597
+ {"name": "hashtag-research.md", "purpose": "Deep dive on hashtag strategy", "estimated_lines": 100}
598
+ ]
599
+ },
600
+
601
+ "token_estimate": {
602
+ "skill_md": 1400,
603
+ "references_total": 2200,
604
+ "typical_load": 1400,
605
+ "full_load": 3600,
606
+ "calculation_method": "SKILL.md core only. References loaded when advanced features needed."
607
+ },
608
+
609
+ "trade_offs": {
610
+ "advantages": [
611
+ "Excellent token efficiency - 1,400 typical load (lowest)",
612
+ "Fast startup - minimal overhead",
613
+ "Good for simple use cases - core features immediately accessible"
614
+ ],
615
+ "disadvantages": [
616
+ "Less guidance upfront - users may need to explore references",
617
+ "Doesn't showcase capabilities - advanced features hidden",
618
+ "May feel incomplete - thin SKILL.md for complex domain"
619
+ ]
620
+ },
621
+
622
+ "research_alignment": {
623
+ "technical_match": "Core standards in SKILL.md, details in references",
624
+ "user_needs_match": "Basic needs met, but A/B variants less discoverable",
625
+ "competitive_edge": "Token efficiency edge, but less feature-rich appearance",
626
+ "edge_case_handling": "In advanced-techniques.md (on-demand)"
627
+ },
628
+
629
+ "implementation_notes": {
630
+ "estimated_effort": "2 hours",
631
+ "maintenance_complexity": "medium",
632
+ "scalability": "Good - easy to add references without bloating core"
633
+ }
634
+ }
635
+ ],
636
+ "metadata": {
637
+ "total_probability": 1.00,
638
+ "proposal_count": 3,
639
+ "diversity_level": "high",
640
+ "recommendation": 1
641
+ }
642
+ }
643
+ ```
644
+
645
+ ### User Presentation
646
+
647
+ [Would show formatted version as per template above, with all 3 options clearly presented with tables, emojis, and decision guide]
648
+
649
+ ---
650
+
651
+ ## 🎮 User Selection Handling
652
+
653
+ ### Pattern 1: Direct Selection
654
+
655
+ ```markdown
656
+ User: "Option A looks perfect"
657
+
658
+ Claude Response:
659
+ ✅ Excellent choice! Proceeding with **Task-Based Organization** approach.
660
+
661
+ 📋 Confirmed Structure:
662
+ ```
663
+ instagram-caption-skill/
664
+ ├── SKILL.md (~200 lines)
665
+ │ ├── Task 1: Product Launch Captions
666
+ │ ├── Task 2: Storytelling Captions
667
+ │ ├── Task 3: Engagement Captions
668
+ │ ├── Brand Voice Integration
669
+ │ └── A/B Testing Guide
670
+ ├── references/
671
+ │ ├── caption-best-practices.md
672
+ │ ├── hashtag-strategy.md
673
+ │ └── brand-voice-examples.md
674
+ └── scripts/
675
+ └── validate_caption.py (optional)
676
+ ```
677
+
678
+ ✅ Key Features Confirmed:
679
+ - Task-specific optimization (product launch, storytelling, engagement)
680
+ - Brand voice customization support
681
+ - A/B variant generation
682
+ - Strategic hashtag mixing
683
+ - Unicode-aware validation
684
+
685
+ ✅ Token Efficiency: ~2,500 tokens typical load
686
+
687
+ **CHECKPOINT PASSED** ✅
688
+ → Proceeding to Step 2: Initialize Structure
689
+
690
+ Let's build this skill!
691
+ ```
692
+
693
+ ---
694
+
695
+ ### Pattern 2: Modification Request
696
+
697
+ ```markdown
698
+ User: "Option A is good but I want to combine the efficiency of Option C"
699
+
700
+ Claude Response:
701
+ ✅ Understood! Creating **hybrid proposal**: Task-Based + Minimal Progressive
702
+
703
+ 📋 Adjusted Structure:
704
+ ```
705
+ instagram-caption-skill/
706
+ ├── SKILL.md (~160 lines) ← Reduced from 200
707
+ │ ├── Overview (15 lines)
708
+ │ ├── Quick Task Guide (25 lines) ← New: task decision matrix
709
+ │ └── Core Generation Logic (120 lines) ← Consolidated tasks
710
+ │
711
+ ├── references/
712
+ │ ├── task-product-launch.md (~60 lines) ← Separated
713
+ │ ├── task-storytelling.md (~60 lines) ← Separated
714
+ │ ├── task-engagement.md (~60 lines) ← Separated
715
+ │ ├── brand-voice-guide.md (~80 lines)
716
+ │ └── hashtag-strategy.md (~100 lines)
717
+ ```
718
+
719
+ 📊 Updated Token Efficiency:
720
+ - SKILL.md: ~1,600 tokens (vs 2,000)
721
+ - Typical load: ~2,000 tokens (vs 2,500) - **20% improvement** ✅
722
+ - Full load: ~4,600 tokens (more references but on-demand)
723
+
724
+ ✅ Maintained Benefits:
725
+ - Task-specific optimization (now in separate references)
726
+ - Improved token efficiency (minimal core)
727
+ - Progressive disclosure (load task reference when needed)
728
+
729
+ ⚖️ New Trade-off:
730
+ - Pro: More efficient, better progressive disclosure
731
+ - Con: User must load task reference (but most will only use 1-2 tasks)
732
+
733
+ Does this hybrid approach meet your needs?
734
+ ```
735
+
736
+ ---
737
+
738
+ ### Pattern 3: Hybrid Request
739
+
740
+ ```markdown
741
+ User: "Combine A's task organization with B's sequential workflow"
742
+
743
+ Claude Response:
744
+ ✅ Creating **Task-Based Workflow Hybrid**
745
+
746
+ 💡 Design Concept:
747
+ - Task sections (from A) for flexibility
748
+ - Sequential steps within each task (from B) for clarity
749
+
750
+ 📋 Hybrid Structure:
751
+ ```
752
+ instagram-caption-skill/
753
+ ├── SKILL.md (~220 lines)
754
+ │ ├── Overview & Task Selection (20 lines)
755
+ │ │
756
+ │ ├── Task 1: Product Launch
757
+ │ │ ├── Step 1: Brief → Hook → Body → Hashtags (40 lines)
758
+ │ │ └── Optimization tips
759
+ │ │
760
+ │ ├── Task 2: Storytelling
761
+ │ │ ├── Step 1: Brief → Hook → Body → Hashtags (40 lines)
762
+ │ │ └── Narrative techniques
763
+ │ │
764
+ │ └── Task 3: Engagement
765
+ │ ├── Step 1: Brief → Hook → Body → Hashtags (40 lines)
766
+ │ └── Question frameworks
767
+ │
768
+ └── references/ (same as Option A)
769
+ ```
770
+
771
+ ✅ Benefits from Both:
772
+ - Task flexibility (Option A) - choose your use case
773
+ - Step clarity (Option B) - clear process per task
774
+ - Best of both worlds
775
+
776
+ ⚠️ Honest Trade-off:
777
+ - Slightly longer SKILL.md (~220 vs 200 lines)
778
+ - Some repetition of steps across tasks
779
+ - But: Clear and comprehensive guidance
780
+
781
+ 📊 Token Estimate: ~2,800 tokens typical
782
+
783
+ Proceed with this hybrid?
784
+ ```
785
+
786
+ ---
787
+
788
+ ### Pattern 4: Uncertainty / Questions
789
+
790
+ ```markdown
791
+ User: "Not sure between A and B... which is better for beginners?"
792
+
793
+ Claude Response:
794
+ Great question! Let me highlight the key differences:
795
+
796
+ | Aspect | Option A (Task-Based) | Option B (Workflow) |
797
+ |--------|----------------------|---------------------|
798
+ | **Learning Curve** | Moderate - need to choose task | Easier - just follow steps |
799
+ | **Flexibility** | High - jump to relevant section | Low - must follow sequence |
800
+ | **Use Case** | "I need product launch caption" | "Walk me through caption creation" |
801
+ | **Best For** | Experienced users who know goal | Beginners learning the process |
802
+
803
+ 🎯 **Recommendation for Beginners:**
804
+ **Option B (Workflow-Based)** is better because:
805
+ 1. Clear linear process - no decisions needed
806
+ 2. Learn by doing - each step teaches something
807
+ 3. Easier first experience - hand-holding approach
808
+
809
+ **However**, once they're comfortable, they may prefer Option A for speed.
810
+
811
+ 💡 **Alternative Idea:**
812
+ Start with Option B (workflow), then add Task-Based quick reference later as users get comfortable. This provides "training wheels" that can be removed.
813
+
814
+ Would you like to:
815
+ - Choose Option B (beginner-friendly)
816
+ - Use hybrid approach (workflow + task shortcuts)
817
+ - Start with B, plan to add A features later
818
+ ```
819
+
820
+ ---
821
+
822
+ ## 📏 Quality Validation
823
+
824
+ ### Proposal Quality Checklist
825
+
826
+ Before presenting to user, verify each proposal:
827
+
828
+ - [ ] **Viability:** Structure is implementable (not theoretical)
829
+ - [ ] **Token Accuracy:** Estimates calculated using line-count method
830
+ - [ ] **Trade-offs Honest:** Includes real disadvantages, not just pros
831
+ - [ ] **Research Aligned:** Claims match actual research findings
832
+ - [ ] **Differentiation:** Proposals genuinely different (not minor variations)
833
+ - [ ] **Completeness:** All required sections specified
834
+ - [ ] **Probability Justified:** CoT reasoning provided
835
+
836
+ **Red Flags:**
837
+ - ⚠️ All probabilities ~0.33 (uniform) → Likely not truly evaluated
838
+ - ⚠️ No disadvantages listed → Unrealistic, not honest
839
+ - ⚠️ Identical structures with minor tweaks → Not diverse enough
840
+ - ⚠️ Token estimates wildly different from similar patterns → Recalculate
841
+
842
+ ---
843
+
844
+ ## 🎯 Optimization Guidelines
845
+
846
+ ### Adaptive Proposal Count
847
+
848
+ ```python
849
+ def determine_proposal_count(research_results, domain_complexity):
850
+ """
851
+ Decide how many proposals to generate
852
+ """
853
+ # Factors
854
+ viable_approaches = count_viable_approaches(research_results)
855
+ clear_winner = has_clear_winner(research_results)
856
+ user_constraints = get_constraints_count()
857
+
858
+ # Decision logic
859
+ if clear_winner and user_constraints > 3:
860
+ return 2 # Clear winner + one alternative
861
+
862
+ elif viable_approaches <= 2:
863
+ return 2 # Only 2 genuinely different approaches
864
+
865
+ elif domain_complexity == 'high':
866
+ return 5 # More options for complex domains
867
+
868
+ else:
869
+ return 3 # Standard: 3 proposals
870
+ ```
871
+
872
+ ### Temperature Tuning
873
+
874
+ **Proposal generation:**
875
+ - Temperature: **0.7-0.8** (balanced, coherent structures)
876
+ - Reason: Want viable proposals, not wild experimentation
877
+
878
+ **Probability estimation:**
879
+ - Temperature: **0.6** (conservative, accurate)
880
+ - Reason: Probability should be calculated, not creative
881
+
882
+ ---
883
+
884
+ ## 🚨 Common Pitfalls & Solutions
885
+
886
+ | Problem | Cause | Solution |
887
+ |---------|-------|----------|
888
+ | **Proposals too similar** | Not exploring diverse philosophies | Explicitly assign different philosophy to each |
889
+ | **Unrealistic token estimates** | Guessing vs calculating | Use line count: ~10 tokens/line formula |
890
+ | **All pros, no cons** | Avoiding honest trade-offs | Required: At least 2 disadvantages per proposal |
891
+ | **Probabilities don't sum to 1.0** | Math error or normalization issue | Post-process: normalize probabilities |
892
+ | **User can't decide** | Proposals not differentiated enough | Add comparison table, decision guide |
893
+
894
+ ---
895
+
896
+ ## 📚 Token Economics
897
+
898
+ **This file:** ~400 lines = ~4,500 tokens
899
+
900
+ **Typical usage during Step 1d:**
901
+ - SKILL.md Step 1d section: ~500 tokens
902
+ - This proposal-generation.md: ~4,500 tokens
903
+ - VS proposal generation (internal): ~1,000 tokens
904
+ - Research findings (from Step 1c): ~800 tokens
905
+ - **Total Step 1d:** ~6,800 tokens
906
+
907
+ **Optimization:**
908
+ - File loaded only during Step 1d
909
+ - Not needed for other steps
910
+ - Progressive disclosure maintained
911
+
912
+ ---
913
+
914
+ ## ✅ Integration with Workflow
915
+
916
+ **Workflow Context:**
917
+
918
+ ```
919
+ STEP 1c: Research Domain (completed)
920
+ │
921
+ └─ Research findings available
922
+ ↓
923
+ STEP 1d: Propose Structure ← YOU ARE HERE
924
+ │
925
+ ├─ Load: proposal-generation.md
926
+ ├─ Generate: VS proposals (JSON, 3-5 options)
927
+ ├─ Present: Formatted proposals to user
928
+ ├─ Handle: User selection/modification/questions
929
+ └─ Output: Validated proposal for Step 2
930
+ ↓
931
+ STEP 1e: User Validation Checkpoint
932
+ │
933
+ └─ Explicit approval required
934
+ ↓
935
+ STEP 2: Initialize Structure (with validated blueprint)
936
+ ```
937
+
938
+ **Handoff to Step 1e:**
939
+ - ✅ User-selected structure proposal
940
+ - ✅ All specifications confirmed
941
+ - ✅ Token estimates validated
942
+ - ✅ Trade-offs acknowledged
943
+ - ✅ Ready for implementation
944
+
945
+ ---
946
+
947
+ ## 🎓 Learning & Improvement
948
+
949
+ **After each proposal session, track:**
950
+
951
+ 1. **Selection Patterns:**
952
+ - Which proposals most commonly selected?
953
+ - Do users prefer task-based or workflow-based?
954
+ - Are hybrid requests frequent?
955
+
956
+ 2. **Probability Accuracy:**
957
+ - Did highest probability match user choice?
958
+ - Were probabilities well-calibrated?
959
+
960
+ 3. **Trade-off Effectiveness:**
961
+ - Did honest cons help decision-making?
962
+ - Were any cons deal-breakers?
963
+
964
+ 4. **Modification Frequency:**
965
+ - How often do users request modifications?
966
+ - What aspects most commonly modified?
967
+
968
+ **Feedback Loop:**
969
+ - Refine probability weighting based on patterns
970
+ - Adjust proposal templates for common hybrids
971
+ - Update trade-off categories based on user feedback
972
+
973
+ ---
974
+
975
+ **File Status:** Production-ready ✅
976
+ **Integration:** Phase 4 - Step 1d enhancement
977
+ **VS Methodology:** Based on Zhang et al. (2024) research
978
+ **Last Updated:** 2025-11-09
979
+
980
+ ---
981
+
982
+ *"From single proposal to informed choice: Empowering users through transparency"*