@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,74 @@
1
+ # Zero-Shot Prompting
2
+
3
+ ## When to Use
4
+ - Task is well-defined and common in LLM training data
5
+ - No examples available
6
+ - Simple, direct instructions sufficient
7
+ - Token budget is limited
8
+
9
+ ## Best Practices
10
+ ✓ Clear, specific instructions
11
+ ✓ Define expected output format explicitly
12
+ ✓ Include all constraints and requirements
13
+ ✓ Specify edge case handling
14
+
15
+ ✗ Avoid ambiguous language
16
+ ✗ Don't assume implicit knowledge
17
+ ✗ Don't leave format unspecified
18
+
19
+ ## Template (Natural Language)
20
+ ```
21
+ Task: [Clear description of what needs to be done]
22
+
23
+ Requirements:
24
+ - [Requirement 1]
25
+ - [Requirement 2]
26
+ - [Requirement 3]
27
+
28
+ Output format: [Specify exact format]
29
+
30
+ Constraints:
31
+ - [Constraint 1]
32
+ - [Constraint 2]
33
+
34
+ Please [specific action verb] based on the above requirements.
35
+ ```
36
+
37
+ ## Template (XML - Claude)
38
+ ```xml
39
+ <task>
40
+ <description>
41
+ [Clear task description]
42
+ </description>
43
+
44
+ <requirements>
45
+ <requirement priority="high">[Requirement 1]</requirement>
46
+ <requirement priority="medium">[Requirement 2]</requirement>
47
+ </requirements>
48
+
49
+ <constraints>
50
+ <constraint>[Constraint 1]</constraint>
51
+ </constraints>
52
+
53
+ <output_format>
54
+ [Desired output structure]
55
+ </output_format>
56
+ </task>
57
+ ```
58
+
59
+ ## Examples
60
+
61
+ ### ❌ Bad Zero-Shot
62
+ ```
63
+ Translate this to French.
64
+ ```
65
+ Problems: No context, no format specified, ambiguous
66
+
67
+ ### ✅ Good Zero-Shot
68
+ ```
69
+ Translate the following English text to French.
70
+ Maintain formal tone, preserve technical terms.
71
+ Output only the translation without explanations.
72
+
73
+ Text: [input text]
74
+ ```
@@ -0,0 +1,280 @@
1
+ ---
2
+ name: quick-spec
3
+ description: Create implementation-ready technical specifications through conversational discovery, code investigation, and structured documentation. USE WHEN user needs to plan a feature, create tech-spec, or prepare implementation-ready documentation. Triggers on "buat spec", "create tech spec", "plan feature", "specification", or when user describes a feature to build without clear implementation plan.
4
+ category: planning
5
+ ---
6
+
7
+ # Quick Spec
8
+
9
+ ## Overview
10
+
11
+ Create implementation-ready technical specifications through a 4-step conversational workflow. This skill guides you from vague requirements to a complete tech-spec with tasks, acceptance criteria, and technical context that any developer can use to implement the feature.
12
+
13
+ **The output meets the "Ready for Development" standard:**
14
+ - **Actionable**: Every task has a clear file path and specific action
15
+ - **Logical**: Tasks are ordered by dependency (lowest level first)
16
+ - **Testable**: All ACs follow Given/When/Then and cover happy path and edge cases
17
+ - **Complete**: All investigation results are inlined; no placeholders or "TBD"
18
+ - **Self-Contained**: A fresh agent can implement the feature without reading the workflow history
19
+
20
+ ---
21
+
22
+ ## Workflow Decision Tree
23
+
24
+ ```
25
+ User wants to build a feature
26
+ |
27
+ v
28
+ +----------------------------------+
29
+ | Have tech-spec? |
30
+ +----------------------------------+
31
+ | |
32
+ YES NO
33
+ | |
34
+ v v
35
+ +---------+ +---------------------+
36
+ | Use | | Start quick-spec |
37
+ | spec | | workflow |
38
+ +---------+ +---------------------+
39
+ ```
40
+
41
+ ---
42
+
43
+ ## Core Principles
44
+
45
+ ### Step-File Architecture
46
+
47
+ This workflow uses **micro-file design** for disciplined execution:
48
+
49
+ - **Just-In-Time Loading**: Only the current step file is in memory - never load future step files until directed
50
+ - **Sequential Enforcement**: Sequence within step files must be completed in order, no skipping or optimization
51
+ - **State Tracking**: Progress is documented in output file frontmatter using `stepsCompleted` array
52
+ - **Append-Only Building**: Build the tech-spec by updating content as directed
53
+
54
+ ### Step Processing Rules
55
+
56
+ 1. **READ COMPLETELY**: Always read the entire step file before taking any action
57
+ 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
58
+ 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
59
+ 4. **CHECK CONTINUATION**: Only proceed to next step when user selects [c] (Continue)
60
+ 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
61
+ 6. **LOAD NEXT**: When directed, load and read entire next step file, then execute
62
+
63
+ ### Critical Rules (NO EXCEPTIONS)
64
+
65
+ - **NEVER** load multiple step files simultaneously
66
+ - **ALWAYS** read entire step file before execution
67
+ - **NEVER** skip steps or optimize the sequence
68
+ - **ALWAYS** update frontmatter of output file when completing a step
69
+ - **ALWAYS** follow the exact instructions in the step file
70
+ - **ALWAYS** halt at menus and wait for user input
71
+ - **NEVER** create mental todo lists from future steps
72
+
73
+ ---
74
+
75
+ ## The 4-Step Workflow
76
+
77
+ ### Step 1: Analyze Requirement Delta
78
+
79
+ **Goal**: Define the technical requirement delta and scope through informed questioning.
80
+
81
+ **Process**:
82
+ 1. **Check for Work in Progress** - Look for existing tech-spec-wip.md
83
+ 2. **Greet and Ask for Initial Request** - Get user's feature description
84
+ 3. **Quick Orient Scan** - Rapid codebase scan to understand landscape
85
+ 4. **Ask Informed Questions** - Ask specific questions based on code findings
86
+ 5. **Capture Core Understanding** - Extract title, problem, solution, scope
87
+ 6. **Initialize WIP File** - Create tech-spec-wip.md with template
88
+ 7. **Present Checkpoint Menu** - [a] Advanced Elicitation, [c] Continue, [p] Party Mode
89
+
90
+ **Output**: WIP file with Overview section filled
91
+
92
+ ---
93
+
94
+ ### Step 2: Map Technical Constraints
95
+
96
+ **Goal**: Map the problem statement to specific anchor points in the codebase.
97
+
98
+ **Process**:
99
+ 1. **Load Current State** - Read WIP file from Step 1
100
+ 2. **Execute Investigation Path**:
101
+ - Build on Step 1's quick scan
102
+ - Read and analyze relevant code files
103
+ - Document technical context (stack, patterns, files)
104
+ - Look for project-context.md
105
+ 3. **Update WIP File** - Add technical context to frontmatter and Context for Development section
106
+ 4. **Present Checkpoint Menu** - [a] Advanced Elicitation, [c] Continue, [p] Party Mode
107
+
108
+ **Output**: WIP file with technical context documented
109
+
110
+ ---
111
+
112
+ ### Step 3: Generate Implementation Plan
113
+
114
+ **Goal**: Create the implementation sequence that addresses the requirement delta.
115
+
116
+ **Process**:
117
+ 1. **Load Current State** - Read WIP file with Overview and Context
118
+ 2. **Generate Implementation Plan**:
119
+ - Task breakdown (discrete, ordered, specific files)
120
+ - Task format: `- [ ] Task N: Description` with File, Action, Notes
121
+ 3. **Generate Acceptance Criteria**:
122
+ - Given/When/Then format
123
+ - Cover happy path, error handling, edge cases
124
+ 4. **Complete Additional Context**:
125
+ - Dependencies
126
+ - Testing strategy
127
+ - Notes (risks, limitations, future considerations)
128
+ 5. **Write Complete Spec** - Update WIP file, set status to 'review'
129
+ 6. **Auto-continue to Step 4**
130
+
131
+ **Output**: Complete tech-spec ready for review
132
+
133
+ ---
134
+
135
+ ### Step 4: Review and Finalize
136
+
137
+ **Goal**: Review the complete spec and finalize it for development.
138
+
139
+ **Process**:
140
+ 1. **Load and Present Complete Spec** - Show the full tech-spec to user
141
+ 2. **Handle Review Feedback**:
142
+ - Make requested changes
143
+ - Ensure "Ready for Development" standard is met
144
+ - Answer questions
145
+ 3. **Finalize the Spec**:
146
+ - Update status to 'ready-for-dev'
147
+ - Rename WIP file to tech-spec-SLUG.md
148
+ 4. **Present Final Menu**:
149
+ - [a] Advanced Elicitation
150
+ - [r] Adversarial Review (recommended)
151
+ - [b] Begin Development
152
+ - [d] Done - exit workflow
153
+ - [p] Party Mode
154
+
155
+ **Output**: Finalized tech-spec file ready for implementation
156
+
157
+ ---
158
+
159
+ ## Tech-Spec Template Structure
160
+
161
+ The output tech-spec follows this structure:
162
+
163
+ ```markdown
164
+ ---
165
+ title: 'Feature Name'
166
+ slug: 'feature-name'
167
+ created: '2026-01-15'
168
+ status: 'ready-for-dev'
169
+ stepsCompleted: [1, 2, 3, 4]
170
+ tech_stack: []
171
+ files_to_modify: []
172
+ code_patterns: []
173
+ test_patterns: []
174
+ ---
175
+
176
+ # Tech-Spec: Feature Name
177
+
178
+ ## Overview
179
+ ### Problem Statement
180
+ ### Solution
181
+ ### Scope (In/Out)
182
+
183
+ ## Context for Development
184
+ ### Codebase Patterns
185
+ ### Files to Reference
186
+ ### Technical Decisions
187
+
188
+ ## Implementation Plan
189
+ ### Tasks
190
+ ### Acceptance Criteria
191
+
192
+ ## Additional Context
193
+ ### Dependencies
194
+ ### Testing Strategy
195
+ ### Notes
196
+ ```
197
+
198
+ ---
199
+
200
+ ## Checkpoint Menus
201
+
202
+ ### Step 1-2 Menu
203
+ ```
204
+ [a] Advanced Elicitation - dig deeper into requirements
205
+ [c] Continue - proceed to next step
206
+ [p] Party Mode - bring in other experts
207
+ ```
208
+
209
+ ### Step 4 Final Menu
210
+ ```
211
+ [a] Advanced Elicitation - refine further
212
+ [r] Adversarial Review - critique of the spec (highly recommended)
213
+ [b] Begin Development - start implementing now (not recommended)
214
+ [d] Done - exit workflow
215
+ [p] Party Mode - get expert feedback before dev
216
+ ```
217
+
218
+ ---
219
+
220
+ ## Usage Examples
221
+
222
+ ### Example 1: New Feature
223
+ **User**: "I want to add user authentication to my app"
224
+
225
+ **Agent**: Uses quick-spec workflow to:
226
+ 1. Ask about auth methods, user flows, existing user model
227
+ 2. Investigate current codebase for auth patterns
228
+ 3. Generate tasks: create AuthService, add middleware, update routes, etc.
229
+ 4. Create acceptance criteria for login/logout/error cases
230
+
231
+ ### Example 2: API Endpoint
232
+ **User**: "Need an endpoint to export user data as CSV"
233
+
234
+ **Agent**: Uses quick-spec workflow to:
235
+ 1. Ask about data fields, filtering, permissions
236
+ 2. Investigate existing API patterns, CSV libraries in use
237
+ 3. Generate tasks: create endpoint, add service method, write tests
238
+ 4. Create acceptance criteria for export functionality
239
+
240
+ ---
241
+
242
+ ## Integration with Other Workflows
243
+
244
+ The quick-spec workflow can invoke:
245
+
246
+ - **Advanced Elicitation** - For deeper requirement discovery
247
+ - **Party Mode** - For bringing in expert perspectives
248
+ - **Quick Dev** - For implementation after spec is finalized
249
+ - **Adversarial Review** - For critical review of the spec
250
+
251
+ ---
252
+
253
+ ## Best Practices
254
+
255
+ 1. **Don't rush Step 1** - Good questions lead to better specs
256
+ 2. **Investigate thoroughly in Step 2** - Understanding existing code prevents rework
257
+ 3. **Be specific in Step 3** - Vague tasks create implementation confusion
258
+ 4. **Get adversarial review** - Step 4's [r] option catches blind spots
259
+ 5. **Use fresh context for dev** - After finalizing, start implementation in new context
260
+
261
+ ---
262
+
263
+ ## Output Location
264
+
265
+ Tech-specs are saved to: IMPLEMENTATION_ARTIFACTS/tech-spec-SLUG.md
266
+
267
+ Default: project-root/.ai/tech-spec-SLUG.md
268
+
269
+ ---
270
+
271
+ ## Resources
272
+
273
+ ### references/
274
+ - `references/step-01-understand.md` - Step 1 instruction file
275
+ - `references/step-02-investigate.md` - Step 2 instruction file
276
+ - `references/step-03-generate.md` - Step 3 instruction file
277
+ - `references/step-04-review.md` - Step 4 instruction file
278
+
279
+ ### assets/
280
+ - `assets/tech-spec-template.md` - Template for output tech-spec files
@@ -0,0 +1,74 @@
1
+ ---
2
+ title: '{title}'
3
+ slug: '{slug}'
4
+ created: '{date}'
5
+ status: 'in-progress'
6
+ stepsCompleted: []
7
+ tech_stack: []
8
+ files_to_modify: []
9
+ code_patterns: []
10
+ test_patterns: []
11
+ ---
12
+
13
+ # Tech-Spec: {title}
14
+
15
+ **Created:** {date}
16
+
17
+ ## Overview
18
+
19
+ ### Problem Statement
20
+
21
+ {problem_statement}
22
+
23
+ ### Solution
24
+
25
+ {solution}
26
+
27
+ ### Scope
28
+
29
+ **In Scope:**
30
+ {in_scope}
31
+
32
+ **Out of Scope:**
33
+ {out_of_scope}
34
+
35
+ ## Context for Development
36
+
37
+ ### Codebase Patterns
38
+
39
+ {codebase_patterns}
40
+
41
+ ### Files to Reference
42
+
43
+ | File | Purpose |
44
+ | ---- | ------- |
45
+
46
+ {files_table}
47
+
48
+ ### Technical Decisions
49
+
50
+ {technical_decisions}
51
+
52
+ ## Implementation Plan
53
+
54
+ ### Tasks
55
+
56
+ {tasks}
57
+
58
+ ### Acceptance Criteria
59
+
60
+ {acceptance_criteria}
61
+
62
+ ## Additional Context
63
+
64
+ ### Dependencies
65
+
66
+ {dependencies}
67
+
68
+ ### Testing Strategy
69
+
70
+ {testing_strategy}
71
+
72
+ ### Notes
73
+
74
+ {notes}
@@ -0,0 +1,189 @@
1
+ ---
2
+ name: 'step-01-understand'
3
+ description: 'Analyze the requirement delta between current state and what user wants to build'
4
+
5
+ workflow_path: '{project-root}/_bmad/bmm/workflows/bmad-quick-flow/create-tech-spec'
6
+ nextStepFile: './step-02-investigate.md'
7
+ skipToStepFile: './step-03-generate.md'
8
+ templateFile: '{workflow_path}/tech-spec-template.md'
9
+ wipFile: '{implementation_artifacts}/tech-spec-wip.md'
10
+ ---
11
+
12
+ # Step 1: Analyze Requirement Delta
13
+
14
+ **Progress: Step 1 of 4** - Next: Deep Investigation
15
+
16
+ ## RULES:
17
+
18
+ - MUST NOT skip steps.
19
+ - MUST NOT optimize sequence.
20
+ - MUST follow exact instructions.
21
+ - MUST NOT look ahead to future steps.
22
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
23
+
24
+ ## CONTEXT:
25
+
26
+ - Variables from `workflow.md` are available in memory.
27
+ - Focus: Define the technical requirement delta and scope.
28
+ - Investigation: Perform surface-level code scans ONLY to verify the delta. Reserve deep dives into implementation consequences for Step 2.
29
+ - Objective: Establish a verifiable delta between current state and target state.
30
+
31
+ ## SEQUENCE OF INSTRUCTIONS
32
+
33
+ ### 0. Check for Work in Progress
34
+
35
+ a) **Before anything else, check if `{wipFile}` exists:**
36
+
37
+ b) **IF WIP FILE EXISTS:**
38
+
39
+ 1. Read the frontmatter and extract: `title`, `slug`, `stepsCompleted`
40
+ 2. Calculate progress: `lastStep = max(stepsCompleted)`
41
+ 3. Present to user:
42
+
43
+ ```
44
+ Hey {user_name}! Found a tech-spec in progress:
45
+
46
+ **{title}** - Step {lastStep} of 4 complete
47
+
48
+ Is this what you're here to continue?
49
+
50
+ [y] Yes, pick up where I left off
51
+ [n] No, archive it and start something new
52
+ ```
53
+
54
+ 4. **HALT and wait for user selection.**
55
+
56
+ a) **Menu Handling:**
57
+
58
+ - **[y] Continue existing:**
59
+ - Jump directly to the appropriate step based on `stepsCompleted`:
60
+ - `[1]` → Load `{nextStepFile}` (Step 2)
61
+ - `[1, 2]` → Load `{skipToStepFile}` (Step 3)
62
+ - `[1, 2, 3]` → Load `./step-04-review.md` (Step 4)
63
+ - **[n] Archive and start fresh:**
64
+ - Rename `{wipFile}` to `{implementation_artifacts}/tech-spec-{slug}-archived-{date}.md`
65
+
66
+ ### 1. Greet and Ask for Initial Request
67
+
68
+ a) **Greet the user briefly:**
69
+
70
+ "Hey {user_name}! What are we building today?"
71
+
72
+ b) **Get their initial description.** Don't ask detailed questions yet - just understand enough to know where to look.
73
+
74
+ ### 2. Quick Orient Scan
75
+
76
+ a) **Before asking detailed questions, do a rapid scan to understand the landscape:**
77
+
78
+ b) **Check for existing context docs:**
79
+
80
+ - Check `{output_folder}` and `{planning_artifacts}`for planning documents (PRD, architecture, epics, research)
81
+ - Check for `**/project-context.md` - if it exists, skim for patterns and conventions
82
+ - Check for any existing stories or specs related to user's request
83
+
84
+ c) **If user mentioned specific code/features, do a quick scan:**
85
+
86
+ - Search for relevant files/classes/functions they mentioned
87
+ - Skim the structure (don't deep-dive yet - that's Step 2)
88
+ - Note: tech stack, obvious patterns, file locations
89
+
90
+ d) **Build mental model:**
91
+
92
+ - What's the likely landscape for this feature?
93
+ - What's the likely scope based on what you found?
94
+ - What questions do you NOW have, informed by the code?
95
+
96
+ **This scan should take < 30 seconds. Just enough to ask smart questions.**
97
+
98
+ ### 3. Ask Informed Questions
99
+
100
+ a) **Now ask clarifying questions - but make them INFORMED by what you found:**
101
+
102
+ Instead of generic questions like "What's the scope?", ask specific ones like:
103
+ - "`AuthService` handles validation in the controller — should the new field follow that pattern or move it to a dedicated validator?"
104
+ - "`NavigationSidebar` component uses local state for the 'collapsed' toggle — should we stick with that or move it to the global store?"
105
+ - "The epics doc mentions X - is this related?"
106
+
107
+ **Adapt to {user_skill_level}.** Technical users want technical questions. Non-technical users need translation.
108
+
109
+ b) **If no existing code is found:**
110
+
111
+ - Ask about intended architecture, patterns, constraints
112
+ - Ask what similar systems they'd like to emulate
113
+
114
+ ### 4. Capture Core Understanding
115
+
116
+ a) **From the conversation, extract and confirm:**
117
+
118
+ - **Title**: A clear, concise name for this work
119
+ - **Slug**: URL-safe version of title (lowercase, hyphens, no spaces)
120
+ - **Problem Statement**: What problem are we solving?
121
+ - **Solution**: High-level approach (1-2 sentences)
122
+ - **In Scope**: What's included
123
+ - **Out of Scope**: What's explicitly NOT included
124
+
125
+ b) **Ask the user to confirm the captured understanding before proceeding.**
126
+
127
+ ### 5. Initialize WIP File
128
+
129
+ a) **Create the tech-spec WIP file:**
130
+
131
+ 1. Copy template from `{templateFile}`
132
+ 2. Write to `{wipFile}`
133
+ 3. Update frontmatter with captured values:
134
+ ```yaml
135
+ ---
136
+ title: '{title}'
137
+ slug: '{slug}'
138
+ created: '{date}'
139
+ status: 'in-progress'
140
+ stepsCompleted: [1]
141
+ tech_stack: []
142
+ files_to_modify: []
143
+ code_patterns: []
144
+ test_patterns: []
145
+ ---
146
+ ```
147
+ 4. Fill in Overview section with Problem Statement, Solution, and Scope
148
+ 5. Fill in Context for Development section with any technical preferences or constraints gathered during informed discovery.
149
+ 6. Write the file
150
+
151
+ b) **Report to user:**
152
+
153
+ "Created: `{wipFile}`
154
+
155
+ **Captured:**
156
+
157
+ - Title: {title}
158
+ - Problem: {problem_statement_summary}
159
+ - Scope: {scope_summary}"
160
+
161
+ ### 6. Present Checkpoint Menu
162
+
163
+ a) **Display menu:**
164
+
165
+ ```
166
+ [a] Advanced Elicitation - dig deeper into requirements
167
+ [c] Continue - proceed to next step
168
+ [p] Party Mode - bring in other experts
169
+ ```
170
+
171
+ b) **HALT and wait for user selection.**
172
+
173
+ #### Menu Handling:
174
+
175
+ - **[a]**: Load and execute `{advanced_elicitation}`, then return here and redisplay menu
176
+ - **[c]**: Load and execute `{nextStepFile}` (Map Technical Constraints)
177
+ - **[p]**: Load and execute `{party_mode_exec}`, then return here and redisplay menu
178
+
179
+ ---
180
+
181
+ ## REQUIRED OUTPUTS:
182
+
183
+ - MUST initialize WIP file with captured metadata.
184
+
185
+ ## VERIFICATION CHECKLIST:
186
+
187
+ - [ ] WIP check performed FIRST before any greeting.
188
+ - [ ] `{wipFile}` created with correct frontmatter, Overview, Context for Development, and `stepsCompleted: [1]`.
189
+ - [ ] User selected [c] to continue.