@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,511 @@
1
+ ---
2
+ name: skillkit
3
+ description: >
4
+ Research-driven toolkit for creating and validating skills and subagents with
5
+ structured workflows, gates, and automation scripts.
6
+ Use for: create skill, create subagent, validate skill quality, decide Skills
7
+ vs Subagents, migrate docs to skills, estimate token cost, and security scan.
8
+ Includes proposal generation, quality scoring, progressive disclosure checks,
9
+ and packaging support. Built for consistent high-quality outputs with
10
+ reusable scripts and production-tested tooling.
11
+ category: core
12
+ ---
13
+
14
+ ## Section 1: Intent Detection & Routing
15
+ **Detect user intent, route to appropriate workflow.**
16
+
17
+ | Intent | Keywords | Route To |
18
+ |--------|----------|----------|
19
+ | Full skill creation | "create skill", "build skill", "new skill" | Section 2 |
20
+ | Subagent creation | "create subagent", "build subagent", "new subagent" | Section 6 |
21
+ | Validation | "validate", "check quality" | Section 3 |
22
+ | Decision | "Skills vs Subagents", "decide", "which to use" | Section 4 |
23
+ | Migration | "convert", "migrate doc" | Section 5 |
24
+ | Single tool | "validate only", "estimate tokens", "scan" | Section 7 |
25
+
26
+ **PROCEED to corresponding section after intent detection.**
27
+
28
+ **Stop Condition (Mandatory):**
29
+ - If multiple routes match, or intent is ambiguous, agent MUST stop and ask user to choose one route.
30
+ - Agent MUST NOT proceed until user confirms the route.
31
+
32
+ **Workflow Value:** Research-driven approach validates design before building.
33
+ Sequential steps with checkpoints produce 9.0/10+ quality vs ad-hoc creation.
34
+
35
+ ---
36
+
37
+ ## Section 2: Creation Workflows (Dual Mode)
38
+
39
+ **Prerequisites:** Skill description provided, workspace available.
40
+
41
+ ### Mode Selection (Required at Start)
42
+
43
+ Agent MUST detect or prompt for workflow mode before running the creation flow.
44
+
45
+ **Stop Condition (Mandatory):**
46
+ - If mode is not explicitly provided by user, agent MUST stop and ask:
47
+ "Do you want to use fast-mode or full mode?"
48
+ - Agent MUST NOT continue creation workflow until user confirms the mode.
49
+
50
+ | Mode | Steps | Validation | Quality Target | Time |
51
+ |------|-------|------------|----------------|------|
52
+ | **fast** | 12 | Structural only | >=9.0/10 | <10 min |
53
+ | **full** | 16 | Structural + Behavioral | >=9.0/10 and behavioral >=7.0 | <20 min |
54
+
55
+ No implicit default mode is allowed when mode is not explicitly known.
56
+
57
+ ### Workflow A: Fast Mode (12 Steps)
58
+
59
+ Use when `.skillkit-mode` contains `fast` or marker does not exist.
60
+
61
+ Phase 1: Decision and Research
62
+ - Step 0: Decide approach (`decision_helper.py`)
63
+ - Step 1: Research and proposals
64
+ - Step 2: User validation
65
+ - Stop Condition: Agent MUST stop and request user approval before continuing to Step 3.
66
+
67
+ Phase 2: Creation
68
+ - Step 3: Initialize skill (`init_skill.py --mode fast`)
69
+ - Step 4: Create content
70
+
71
+ Phase 3: Structural Validation
72
+ - Step 5: Validate structure (`validate_skill.py`)
73
+ - Step 6: Security audit (`security_scanner.py`)
74
+ - Step 7: Token optimization (`token_estimator.py`)
75
+
76
+ Phase 4: Packaging
77
+ - Step 8: Progressive disclosure check
78
+ - Step 9: Generate tests (`test_generator.py`)
79
+ - Step 10: Quality assessment (`quality_scorer.py`)
80
+ - Step 11: Package (`package_skill.py`)
81
+
82
+ ### Workflow B: Full Mode (16 Steps)
83
+
84
+ Use when `.skillkit-mode` contains `full`.
85
+
86
+ **→ READ `references/section-2-full-creation-workflow.md` IN FULL before starting.**
87
+ **Create a TodoWrite task for each step listed in that file, then follow them in order.**
88
+ The outline below is a summary only — the reference file is authoritative.
89
+
90
+ Phase 1: Decision and Research
91
+ - Step 0: Decide approach (`decision_helper.py`)
92
+ - Step 1: Research and proposals
93
+ - Step 2: User validation
94
+ - Stop Condition: Agent MUST stop and request user approval before continuing to Step 3.
95
+
96
+ Phase 2: Behavioral Baseline (extra vs fast)
97
+ - Step 3 (RED): Run pressure scenarios without skill
98
+ **→ Load `references/section-2-full-creation-workflow.md` → section "Full Mode Behavioral Testing Protocol" (mandatory)**
99
+ - Step 4: Document baseline failures
100
+
101
+ Phase 3: Creation
102
+ - Step 5: Initialize skill (`init_skill.py --mode full`)
103
+ - Step 6: Create content addressing baseline failures
104
+
105
+ Phase 4: Behavioral Verification (extra vs fast)
106
+ - Step 7 (GREEN): Run scenarios with skill
107
+ **→ Load `references/section-2-full-creation-workflow.md` → section "Full Mode Behavioral Testing Protocol" (mandatory)**
108
+ - Step 8: Fix gaps
109
+
110
+ Phase 5: Structural Validation
111
+ - Step 9: Validate structure
112
+ - Step 10: Security audit
113
+ - Step 11: Token optimization
114
+
115
+ Phase 6: Refinement (extra vs fast)
116
+ - Step 12 (REFACTOR): Combined pressure tests
117
+ **→ Load `references/section-2-full-creation-workflow.md` → section "Full Mode Behavioral Testing Protocol" (mandatory)**
118
+ - Step 13: Close loopholes
119
+
120
+ Phase 7: Packaging
121
+ - Step 14: Quality assessment (`quality_scorer.py --format json`) — behavioral score derived from Steps 3/7/12 subagent results, not from `--behavioral` flag
122
+ - Step 15: Package (`package_skill.py`)
123
+
124
+ ### Mode Detection
125
+
126
+ Mode detection priority:
127
+ 1. Explicit flag: `--mode fast` or `--mode full`
128
+ 2. Skill marker: `.skillkit-mode` file
129
+ 3. If still unknown: stop and ask user to choose `fast` or `full`
130
+
131
+ ```python
132
+ def detect_mode(skill_path: str, cli_flag: Optional[str] = None) -> str:
133
+ if cli_flag:
134
+ return cli_flag
135
+
136
+ marker_file = Path(skill_path) / ".skillkit-mode"
137
+ if marker_file.exists():
138
+ return marker_file.read_text().strip()
139
+
140
+ raise ValueError("Mode unknown. Ask user: fast-mode or full mode?")
141
+ ```
142
+
143
+ ---
144
+
145
+ ## Section 3: Validation Workflow (Overview)
146
+
147
+ **Use when:** Validating existing skill
148
+
149
+ **Steps:** Execute validation subset (Steps 3-8)
150
+ 1. Structure validation (validate_skill.py)
151
+ 2. Security audit (security_scanner.py)
152
+ 3. Token analysis (token_estimator.py)
153
+ 4. Progressive disclosure check
154
+ 5. Test generation (optional)
155
+ 6. Quality assessment (quality_scorer.py)
156
+
157
+ **For detailed workflow:** [See references/section-3-validation-workflow-existing-skill.md](references/section-3-validation-workflow-existing-skill.md)
158
+
159
+ ---
160
+
161
+ ## Section 4: Decision Workflow (Overview)
162
+
163
+ **Use when:** Uncertain if Skills is right approach
164
+
165
+ **CRITICAL: Agent MUST create a temp JSON file first.** The `decision_helper.py` script does NOT accept inline JSON strings - it requires a file path to a JSON file.
166
+
167
+ **Step-by-step workflow (REQUIRED):**
168
+
169
+ ```bash
170
+ # STEP 1: Create temp directory (from repository root)
171
+ mkdir -p ./tmp/skillkit
172
+
173
+ # STEP 2: Create JSON file with answers (REQUIRED - cannot be inline)
174
+ cat > ./tmp/skillkit/decision-answers.json <<'EOF'
175
+ {
176
+ "utility_task": false,
177
+ "multi_step": true,
178
+ "reusable": false,
179
+ "specialized_personality": true,
180
+ "missing_knowledge": false,
181
+ "coordination": true,
182
+ "isolated_context": true,
183
+ "clutter_chat": true
184
+ }
185
+ EOF
186
+
187
+ # STEP 3: Call decision helper with FILE PATH (not JSON string)
188
+ cd skills/skillkit && source venv/bin/activate
189
+ python scripts/decision_helper.py --answers ../../tmp/skillkit/decision-answers.json
190
+ ```
191
+
192
+ **Required JSON structure:**
193
+
194
+ - 8 keys (exact names): `utility_task`, `multi_step`, `reusable`, `specialized_personality`, `missing_knowledge`, `coordination`, `isolated_context`, `clutter_chat`
195
+ - All values MUST be boolean (`true` or `false`), not strings
196
+ - Missing/extra keys will cause validation error
197
+
198
+ **Accuracy:** Highest (90-95% confidence).
199
+
200
+ **Process:**
201
+
202
+ 1. Run `decision_helper.py` with json file.
203
+ 2. Answer interactive questions
204
+ 3. Receive recommendation with confidence score
205
+ 4. Proceed if Skills recommended (confidence >=75%)
206
+ 5. If confidence <75% or recommendation is uncertain, stop and ask user whether to continue, switch route, or refine inputs.
207
+
208
+ **For detailed workflow:** [See references/section-4-decision-workflow-skills-vs-subagents.md](references/section-4-decision-workflow-skills-vs-subagents.md)
209
+
210
+ ---
211
+
212
+ ## Section 6: Subagent Creation Workflow (Overview)
213
+
214
+ **Use when:** Creating new subagent (user explicitly asks or decision workflow recommends)
215
+
216
+ **Prerequisites:** Role definition clear, workspace available
217
+ **Quality Target:** Clear role, comprehensive workflow, testable examples
218
+ **Time:** <15 min with template
219
+
220
+ ### 8-Step Process:
221
+
222
+ **STEP 0: Requirements & Role Definition**
223
+ - Answer: Primary role? Trigger conditions? Tool requirements?
224
+ - Choose subagent_type from predefined list
225
+
226
+ **STEP 1: Initialize Subagent File**
227
+ - Tool: `python scripts/init_subagent.py subagent-name --path ~/.claude/agents`
228
+ - Creates: `~/.claude/agents/subagent-name.md` with template
229
+ - **Important:** Subagents are individual `.md` files (not directories)
230
+ - Stop Condition: If target file already exists, agent MUST stop and ask whether to overwrite, rename, or cancel.
231
+
232
+ **STEP 2: Define Configuration**
233
+ - Edit YAML frontmatter (name, description, type, tools, skills)
234
+ - Configure tool permissions (minimal but sufficient)
235
+
236
+ **STEP 3: Define Role and Workflow**
237
+ - Role definition section
238
+ - Trigger conditions (when to invoke)
239
+ - Multi-phase workflow
240
+
241
+ **STEP 4: Define Response Format**
242
+ - Output structure template
243
+ - Tone and style guidelines
244
+ - Error handling
245
+
246
+ **STEP 5: Add Examples**
247
+ - At least 1 complete example
248
+ - Input/Process/Output format
249
+
250
+ **STEP 6: Validation**
251
+ - YAML validity check
252
+ - Structure verification
253
+ - Completeness review
254
+
255
+ **STEP 7: Testing**
256
+ - Test invocation with Task tool
257
+ - Iterate based on results
258
+
259
+ **STEP 8: Documentation & Deployment**
260
+ - Create README.md
261
+ - Register in system
262
+ - Stop Condition: Agent MUST ask for explicit user confirmation before register/deploy actions.
263
+
264
+ **For detailed workflow:** [See references/section-6-subagent-creation-workflow.md](references/section-6-subagent-creation-workflow.md)
265
+
266
+ ---
267
+
268
+ ## Section 5: Migration Workflow (Overview)
269
+
270
+ **Use when:** Converting document to skill
271
+
272
+ **Process:**
273
+ 1. Decision check (Step 0)
274
+ 2. Migration analysis (migration_helper.py)
275
+ 3. Structure creation
276
+ 4. Execute validation steps (3-8)
277
+ 5. Package (Step 9)
278
+
279
+ **Stop Condition (Mandatory):**
280
+ - Before structure creation or any overwrite/write operation, agent MUST ask user confirmation.
281
+ - Agent MUST NOT modify files until user confirms.
282
+
283
+ **For detailed workflow:** [See references/section-5-migration-workflow-doc-to-skill.md](references/section-5-migration-workflow-doc-to-skill.md)
284
+
285
+ ---
286
+
287
+ ## Section 7: Individual Tool Usage
288
+ **Use when:** User needs single tool, not full workflow
289
+
290
+ **Entry Point:** User asks for specific tool like "estimate tokens" or "security scan"
291
+
292
+ ### Available Tools
293
+
294
+ **Validation Tool:**
295
+ ```bash
296
+ python scripts/validate_skill.py skill-name/ --format json
297
+ ```
298
+ Guide: `knowledge/tools/14-validation-tools-guide.md`
299
+
300
+ **Token Estimator:**
301
+ ```bash
302
+ python scripts/token_estimator.py skill-name/ --format json
303
+ ```
304
+ Guide: `knowledge/tools/15-cost-tools-guide.md`
305
+
306
+ **Security Scanner:**
307
+ ```bash
308
+ python scripts/security_scanner.py skill-name/ --format json
309
+ ```
310
+ Guide: `knowledge/tools/16-security-tools-guide.md`
311
+
312
+ **Pattern Detector:**
313
+ ```bash
314
+ # Analysis mode with JSON output
315
+ python scripts/pattern_detector.py "convert PDF to Word" --format json
316
+
317
+ # List all patterns
318
+ python scripts/pattern_detector.py --list --format json
319
+
320
+ # Interactive mode (text only)
321
+ python scripts/pattern_detector.py --interactive
322
+ ```
323
+ Guide: `knowledge/tools/17-pattern-tools-guide.md`
324
+
325
+ **Decision Helper:**
326
+ ```bash
327
+ # Analyze use case (JSON output - agent-layer default)
328
+ python scripts/decision_helper.py --analyze "code review with validation"
329
+
330
+ # Show decision criteria (JSON output)
331
+ python scripts/decision_helper.py --show-criteria --format json
332
+
333
+ # Text mode for human reading (debugging)
334
+ python scripts/decision_helper.py --analyze "description" --format text
335
+ ```
336
+ Guide: `knowledge/tools/18-decision-helper-guide.md`
337
+
338
+ **Test Generator (v1.2: Parameter update):**
339
+ ```bash
340
+ python scripts/test_generator.py skill-name/ --test-format pytest --format json
341
+ ```
342
+ - `--test-format`: Test framework (pytest/unittest/plain, default: pytest)
343
+ - `--format`: Output style (text/json, default: text)
344
+ - Backward compatible: Old `--output` parameter still works (deprecated)
345
+
346
+ Guide: `knowledge/tools/19-test-generator-guide.md`
347
+
348
+ **Split Skill:**
349
+ ```bash
350
+ python scripts/split_skill.py skill-name/ --format json
351
+ ```
352
+ Guide: `knowledge/tools/20-split-skill-guide.md`
353
+
354
+ **Quality Scorer:**
355
+ ```bash
356
+ python scripts/quality_scorer.py skill-name/ --format json
357
+ ```
358
+ Guide: `knowledge/tools/21-quality-scorer-guide.md`
359
+
360
+ **Migration Helper:**
361
+ ```bash
362
+ python scripts/migration_helper.py doc.md --format json
363
+ ```
364
+ Guide: `knowledge/tools/22-migration-helper-guide.md`
365
+
366
+ **Subagent Initializer (NEW):**
367
+ ```bash
368
+ python scripts/init_subagent.py subagent-name --path /path/to/subagents
369
+ ```
370
+ Guide: `references/section-6-subagent-creation-workflow.md`
371
+
372
+ ### Tool Output Standardization (v1.0.1+)
373
+
374
+ **All 9 tools now support `--format json` parameter:**
375
+ - ✅ Consistent JSON schema across all automation tools
376
+ - ✅ Parseable with `python -m json.tool` for validation
377
+ - ✅ Backward compatible - text mode still available as default (or via `--format text`)
378
+ - ✅ Agent-layer tools (decision_helper) default to JSON for automation
379
+
380
+ **JSON Output Structure (Standardized):**
381
+ ```json
382
+ {
383
+ "status": "success" | "error",
384
+ "tool": "tool_name",
385
+ "timestamp": "ISO-8601",
386
+ "data": { /* tool-specific results */ }
387
+ }
388
+ ```
389
+
390
+ ### Quality Assurance Enhancements (v1.2+)
391
+
392
+ **File & Reference Validation:**
393
+ - `validate_skill.py` now comprehensively checks file references (markdown links, code refs, path patterns)
394
+ - `package_skill.py` validates references before packaging, detects orphaned files
395
+ - Prevents broken references and incomplete files in deployed skills
396
+
397
+ **Content Budget Enforcement (v1.2+):**
398
+ - Hard limits on file size: P0 ≤150 lines, P1 ≤100 lines, P2 ≤60 lines
399
+ - Real-time token counting with progress indicators
400
+ - Prevents file bloat that previously caused 4-9x target overruns
401
+
402
+ **Execution Planning (v1.2+):**
403
+ - P0/P1/P2 prioritization prevents over-scoping
404
+ - Token budget allocated per file to maintain efficiency
405
+ - Research phase respects Verbalized Sampling probability thresholds (p>0.10)
406
+
407
+ **Quality Scorer Context:**
408
+ - Scores calibrated for general skill quality heuristics
409
+ - Target: 70%+ is good, 80%+ is excellent
410
+ - Style scoring may not fit all skill types (educational vs technical)
411
+ - Use as guidance, supplement with manual review for edge cases
412
+
413
+ ---
414
+
415
+ ## Section 8: Mode Selection Guide
416
+
417
+ ### When to Use Fast Mode
418
+
419
+ Use fast mode when:
420
+ - simple utility or conversion skills
421
+ - quick prototypes
422
+ - API or reference-focused skills
423
+ - internal tooling with low behavioral risk
424
+
425
+ Do not use fast mode when:
426
+ - skill enforces discipline (TDD, strict verification, no-shortcut rules)
427
+ - skill has many decision points and loophole risk
428
+ - production-grade compliance is mandatory
429
+
430
+ ### When to Use Full Mode
431
+
432
+ Use full mode when:
433
+ - discipline enforcement is core behavior
434
+ - workflow is multi-step and error-sensitive
435
+ - skill will be reused broadly by multiple agents
436
+ - quality and compliance are both critical
437
+
438
+ Full mode may be overkill for:
439
+ - very small one-step techniques
440
+ - personal one-off reference notes
441
+
442
+ ### Decision Matrix
443
+
444
+ | Skill Type | Recommended Mode | Why |
445
+ |------------|------------------|-----|
446
+ | TDD or discipline skill | **full** | must resist rationalization under pressure |
447
+ | Code pattern skill | **fast** | structural checks are usually sufficient |
448
+ | API reference skill | **fast** | primarily retrieval accuracy |
449
+ | Workflow orchestration skill | **full** | complex flow benefits from pressure checks |
450
+ | Debugging technique skill | **fast** | concise technique with clear method |
451
+
452
+ ---
453
+
454
+ ## Section 9: Knowledge Reference Map (Overview)
455
+
456
+ **Strategic context loaded on-demand.**
457
+
458
+ ### Foundation Concepts (Files 01-08):
459
+ - Why Skills exist vs alternatives
460
+ - Skills vs Subagents decision framework
461
+ - Token economics and efficiency
462
+ - Platform constraints and security
463
+ - When NOT to use Skills
464
+
465
+ ### Application Knowledge (Files 09-13):
466
+ - Real-world case studies (Rakuten, Box, Notion)
467
+ - Technical architecture patterns
468
+ - Adoption and testing strategies
469
+ - Competitive landscape analysis
470
+
471
+ ### Tool Guides (Files 14-22):
472
+ - One guide per automation script
473
+ - Usage patterns and parameters
474
+ - JSON output formats
475
+ - Integration examples
476
+
477
+ **For complete reference map:** [See references/section-7-knowledge-reference-map.md](references/section-7-knowledge-reference-map.md)
478
+
479
+ ---
480
+
481
+ ## Workflow Compliance Reinforcement
482
+ **This skill works best when workflows are followed sequentially.**
483
+
484
+ **Why compliance matters:**
485
+ 1. Research validation reduces iteration (validate before build)
486
+ 2. Security checks prevent vulnerabilities (catch issues early)
487
+ 3. Token optimization ensures efficiency (avoid bloat)
488
+ 4. Quality gates maintain standards (9.0/10+ target)
489
+
490
+ **Mechanisms encouraging compliance:**
491
+ - Frontmatter priming: "WORKFLOW COMPLIANCE" statement
492
+ - Section routing: Explicit "PROCEED to Section X"
493
+ - Validation gates: IF/THEN with checkpoints
494
+ - Quality target: ">=9.0/10 requires following workflow"
495
+
496
+ **Flexible when needed:**
497
+ - Single tool usage (Section 7) skips full workflow
498
+ - Validation-only (Section 3) runs subset of steps
499
+ - Subagent creation (Section 6) has streamlined workflow
500
+ - User can request deviations with justification
501
+
502
+ **Goal:** Strong encouragement through design, not strict enforcement.
503
+
504
+ ---
505
+
506
+ ## Additional Resources
507
+
508
+ **Detailed implementations available in references/ directory:**
509
+
510
+ All section overviews above link to detailed reference files for deep-dive information.
511
+ Load references on-demand when detailed implementation guidance needed.
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Research-driven toolkit for creating and validating skills and subagents with structured workflows, gates, and automation scripts."
3
+ disable-model-invocation: true
4
+ ---
5
+
6
+ Invoke the skillkit skill and follow its workflow exactly as presented to you.
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Validate implementation plans against DRY, YAGNI, TDD principles before execution."
3
+ disable-model-invocation: true
4
+ ---
5
+
6
+ Invoke the validate-plan skill and follow its workflow exactly as presented to you.
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: "Enforce 7 production safety gates with evidence before deployment."
3
+ disable-model-invocation: true
4
+ ---
5
+
6
+ Invoke the verify-before-ship skill and follow its workflow exactly as presented to you.