@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,108 @@
1
+ # Version Detection Patterns
2
+
3
+ Detailed patterns for detecting and updating version strings across ecosystems.
4
+
5
+ **Contents:** [Node.js](#nodejs) | [Python](#python) | [Rust](#rust) | [Go](#go) | [Generic](#generic) | [Semver](#semver-calculation) | [Multi-file](#multi-file-projects) | [Edge Cases](#edge-cases)
6
+
7
+ ## Node.js
8
+
9
+ **File:** `package.json`
10
+ ```bash
11
+ # Read
12
+ node -p "require('./package.json').version"
13
+
14
+ # Update (preferred - handles package-lock.json too)
15
+ npm version <type> --no-git-tag-version
16
+
17
+ # Fallback: manual edit via Edit tool on "version" field
18
+ ```
19
+
20
+ Also check: `package-lock.json` (auto-updated by npm)
21
+
22
+ ## Python
23
+
24
+ **File (modern):** `pyproject.toml`
25
+ ```toml
26
+ [project]
27
+ version = "1.2.3"
28
+
29
+ # OR dynamic with setuptools-scm
30
+ [tool.setuptools_scm]
31
+ ```
32
+ ```bash
33
+ # Read
34
+ grep -Po '(?<=^version = ")[^"]+' pyproject.toml
35
+ ```
36
+
37
+ **File (legacy):** `setup.cfg`
38
+ ```ini
39
+ [metadata]
40
+ version = 1.2.3
41
+ ```
42
+
43
+ **File (legacy):** `setup.py`
44
+ ```python
45
+ setup(version="1.2.3")
46
+ ```
47
+
48
+ **File:** `<package>/__init__.py`
49
+ ```python
50
+ __version__ = "1.2.3"
51
+ ```
52
+
53
+ ## Rust
54
+
55
+ **File:** `Cargo.toml`
56
+ ```toml
57
+ [package]
58
+ version = "1.2.3"
59
+ ```
60
+ ```bash
61
+ grep -Po '(?<=^version = ")[^"]+' Cargo.toml
62
+ ```
63
+
64
+ Workspace: also check `Cargo.lock` gets regenerated via `cargo check`.
65
+
66
+ ## Go
67
+
68
+ Go has no standard version file. Check in order:
69
+ 1. `VERSION` file (plain text)
70
+ 2. `version.go` with `const Version = "1.2.3"`
71
+ 3. Latest git tag (primary source for Go modules)
72
+
73
+ ## Generic
74
+
75
+ **File:** `VERSION` or `VERSION.txt`
76
+ ```bash
77
+ cat VERSION
78
+ ```
79
+ Plain semver string, no quotes.
80
+
81
+ ## Semver Calculation
82
+
83
+ ```
84
+ Given current X.Y.Z:
85
+ patch -> X.Y.(Z+1)
86
+ minor -> X.(Y+1).0
87
+ major -> (X+1).0.0
88
+
89
+ Pre-release:
90
+ prepatch -> X.Y.(Z+1)-beta.1
91
+ preminor -> X.(Y+1).0-beta.1
92
+ premajor -> (X+1).0.0-beta.1
93
+ ```
94
+
95
+ ## Multi-file Projects
96
+
97
+ Some projects store version in multiple places. Common combos:
98
+ - `package.json` + `package-lock.json` (Node.js)
99
+ - `pyproject.toml` + `<pkg>/__init__.py` (Python)
100
+ - `Cargo.toml` + `Cargo.lock` (Rust)
101
+
102
+ When multiple version files exist, update ALL of them to keep consistency.
103
+
104
+ ## Edge Cases
105
+
106
+ - **Monorepo:** Ask user which package to release. Check for `lerna.json`, `pnpm-workspace.yaml`, or `packages/` directory.
107
+ - **No version file found:** Fall back to latest git tag. If no tags exist, ask user for initial version (default: `0.1.0`).
108
+ - **Version mismatch:** If git tag and version file differ, warn user and ask which is authoritative.
@@ -0,0 +1,273 @@
1
+ ---
2
+ name: screenwriter
3
+ description: >
4
+ Transform creative ideas into professional, production-ready screenplays optimized for AI video generation pipelines. Converts raw concepts into structured scene-by-scene narratives with rich visual descriptions, proper screenplay formatting, and XML-tagged output for seamless integration with image/video generation tools (imagine, arch-v).
5
+
6
+ USE WHEN: Converting story ideas into screenplay format, preparing content for AI video pipelines, structuring narratives for 5-10 minute short films, generating visual-rich scene descriptions for image generation.
7
+
8
+ WORKFLOW: Raw idea → Scene breakdown → Visual enhancement → Professional formatting → XML-tagged markdown output
9
+
10
+ OUTPUT: Markdown document with XML-wrapped scenes, rich visual descriptions, proper screenplay elements (sluglines, action, dialogue), and metadata for pipeline processing.
11
+ category: creative
12
+ ---
13
+
14
+ # Screenwriter Skill
15
+
16
+ ## Overview
17
+
18
+ This skill transforms creative concepts into professional screenplay documents optimized for AI-powered video production pipelines. It bridges the gap between raw story ideas and production-ready scripts by generating structured, visual-rich narratives in industry-standard screenplay format.
19
+
20
+ **Pipeline Position:** `diverse-content-gen` → **screenwriter** → `imagine` → `arch-v`
21
+
22
+ **Key Capabilities:**
23
+ - Convert raw ideas into structured scene-by-scene narratives
24
+ - Generate rich visual descriptions optimized for image generation
25
+ - Apply professional screenplay formatting (sluglines, action lines, dialogue)
26
+ - Output XML-tagged markdown for easy parsing
27
+ - Optimize pacing for 5-10 minute short films (8-15 scenes typical)
28
+
29
+ ---
30
+
31
+ ## Core Workflow
32
+
33
+ ### 1. Analyze Input Concept
34
+ - Extract key story beats from raw ideas
35
+ - Identify characters, locations, emotional arc
36
+ - Determine story structure (beginning, middle, end)
37
+
38
+ ### 2. Generate Scene Breakdown
39
+ - Convert story beats into discrete scenes
40
+ - Establish scene count (aim for 8-15 scenes for 5-10 min films)
41
+ - Define scene purpose and emotional progression
42
+
43
+ ### 3. Write Professional Screenplay
44
+ - Apply industry-standard formatting
45
+ - Write visual-rich action lines
46
+ - Include dialogue when narratively essential
47
+ - Maintain consistent character descriptions
48
+
49
+ ### 4. Output XML-Tagged Markdown
50
+ - Wrap each scene in XML tags with metadata
51
+ - Include scene numbers, locations, key visuals
52
+ - Format for easy pipeline parsing
53
+
54
+ ---
55
+
56
+ ## Screenplay Format Standards
57
+
58
+ ### Scene Structure (Master Scene Heading)
59
+
60
+ **Slugline Format:**
61
+ ```
62
+ INT/EXT. LOCATION - TIME
63
+ ```
64
+
65
+ **Components:**
66
+ - **INT/EXT:** Interior or Exterior
67
+ - **LOCATION:** Specific place (be descriptive but concise)
68
+ - **TIME:** DAY, NIGHT, DAWN, DUSK, CONTINUOUS
69
+
70
+ **Examples:**
71
+ ```
72
+ EXT. WASTELAND - DAWN
73
+ INT. ABANDONED SUBWAY STATION - NIGHT
74
+ EXT. ROOFTOP GARDEN - GOLDEN HOUR
75
+ ```
76
+
77
+ **Guidelines:**
78
+ - Always use ALL CAPS for sluglines
79
+ - Use hyphens to separate elements
80
+ - Be specific with locations (aids visual generation)
81
+ - Time should suggest lighting/mood
82
+
83
+ ### Action Lines (Visual Description)
84
+
85
+ **Purpose:** Describe what the audience sees on screen. This is CRITICAL for image generation.
86
+
87
+ **Visual-Rich Writing Principles:**
88
+ 1. **Show, Don't Tell:** Write what's visible, not internal thoughts
89
+ 2. **Sensory Details:** Include lighting, atmosphere, textures, colors
90
+ 3. **Present Tense:** Always write in present tense
91
+ 4. **Active Voice:** Use strong, active verbs
92
+ 5. **Specific Props:** Name objects that matter visually
93
+ 6. **Atmosphere:** Set mood through environmental details
94
+
95
+ **Example - Weak:**
96
+ ```
97
+ A robot walks through the city. It's sad.
98
+ ```
99
+
100
+ **Example - Strong:**
101
+ ```
102
+ A BOXY ROBOT (Unit-7, weathered chrome with a single blue optical sensor) rolls through fog-shrouded streets. Neon signs flicker overhead, casting pink and cyan reflections on wet pavement. The robot's movements are slow, deliberate—almost hesitant.
103
+ ```
104
+
105
+ **Visual Enhancement Checklist:**
106
+ - [ ] Lighting described (natural/artificial, quality, color)
107
+ - [ ] Atmosphere/mood established (fog, rain, dust, clarity)
108
+ - [ ] Character appearance detailed (first appearance only)
109
+ - [ ] Props/objects specified (important visual elements)
110
+ - [ ] Composition suggested (without technical camera direction)
111
+ - [ ] Colors/textures mentioned when relevant
112
+
113
+ ### Character Introduction
114
+
115
+ **First Appearance - Detailed:**
116
+ ```
117
+ SARAH (28, sharp eyes, wearing a weathered leather jacket over faded jeans) enters the frame. Her dark hair is pulled back, revealing a small scar above her left eyebrow.
118
+ ```
119
+
120
+ **Subsequent Appearances - Brief:**
121
+ ```
122
+ Sarah checks her watch.
123
+ ```
124
+
125
+ **Guidelines:**
126
+ - Character names in ALL CAPS on first appearance only
127
+ - Include: age (if relevant), key physical traits, wardrobe
128
+ - Focus on visual identifiers for consistent image generation
129
+ - Avoid excessive detail—just enough for visual consistency
130
+
131
+ ### Dialogue (Use Sparingly)
132
+
133
+ **Format:**
134
+ ```
135
+ CHARACTER NAME
136
+ (parenthetical - optional)
137
+ Dialogue goes here.
138
+ ```
139
+
140
+ **Guidelines for Short Films:**
141
+ - Use dialogue ONLY when essential to story
142
+ - Favor visual storytelling over talking
143
+ - Keep lines concise (max 3-4 lines per block)
144
+ - Parentheticals only for critical tone/action
145
+ - Character names centered, ALL CAPS
146
+
147
+ **Example:**
148
+ ```
149
+ UNIT-7 (robotic voice, soft)
150
+ Organic life form detected.
151
+ Probability of survival: low.
152
+ ```
153
+
154
+ ### Transitions (Minimal Use)
155
+
156
+ **Common Transitions:**
157
+ - `FADE IN:` - Opening of screenplay only
158
+ - `CUT TO:` - Scene change (usually implied, use for emphasis)
159
+ - `SMASH CUT TO:` - Abrupt, jarring transition
160
+ - `DISSOLVE TO:` - Passage of time
161
+ - `FADE OUT.` - End of screenplay
162
+
163
+ **Modern Best Practice:** Most transitions are IMPLIED. Use sparingly, only for specific narrative effect.
164
+
165
+ ---
166
+
167
+ ## XML Output Format
168
+
169
+ ### Scene Tag Structure
170
+
171
+ Each scene wrapped in XML with metadata for pipeline processing:
172
+
173
+ ```xml
174
+ <scene number="1" duration="30-45s">
175
+ <slugline>EXT. WASTELAND - DAWN</slugline>
176
+ <location>Wasteland</location>
177
+ <time>Dawn</time>
178
+ <characters>Unit-7</characters>
179
+ <mood>desolate, lonely</mood>
180
+ <key_visuals>
181
+ <visual>post-apocalyptic wasteland with ruined skyscrapers</visual>
182
+ <visual>boxy robot with single blue optical sensor</visual>
183
+ <visual>dust and smog atmosphere, weak pale sun</visual>
184
+ </key_visuals>
185
+ <action>
186
+ Gray dust covers everything. Skeletal remains of skyscrapers pierce the horizon. The sun, pale and weak, struggles through thick smog.
187
+
188
+ A ROBOT (Unit-7, boxy frame with single blue optical sensor) rolls across cracked asphalt. Its treads leave marks in the dust—the only sign of life.
189
+
190
+ The robot stops at a pile of rubble, extending a mechanical arm to sort through debris. Methodical. Purposeful. Lonely.
191
+ </action>
192
+ </scene>
193
+ ```
194
+
195
+ ### Metadata Fields
196
+
197
+ - `number`: Scene sequence number (1, 2, 3...)
198
+ - `duration`: Estimated screen time (for 5-10 min total)
199
+ - `slugline`: Master scene heading
200
+ - `location`: Extracted location name
201
+ - `time`: Time of day
202
+ - `characters`: Comma-separated character list
203
+ - `mood`: Emotional tone/atmosphere
204
+ - `key_visuals`: Array of specific visual elements for image generation
205
+ - `action`: The full action/description text
206
+ - `dialogue` (optional): Character dialogue if present
207
+
208
+ ---
209
+
210
+ ## Short Film Structure (5-10 Minutes)
211
+
212
+ ### Scene Count Guidelines
213
+ - **5 minutes:** 6-10 scenes
214
+ - **7 minutes:** 10-12 scenes
215
+ - **10 minutes:** 12-15 scenes
216
+
217
+ **Average:** ~30-60 seconds per scene
218
+
219
+ ### Three-Act Structure (Compressed)
220
+
221
+ **Act 1 - Setup (20-25%):** 2-3 scenes
222
+ - Establish world, character, situation
223
+ - Inciting incident
224
+
225
+ **Act 2 - Confrontation (50-60%):** 4-8 scenes
226
+ - Development, obstacles, rising tension
227
+ - Midpoint twist or escalation
228
+
229
+ **Act 3 - Resolution (20-25%):** 2-3 scenes
230
+ - Climax and resolution
231
+ - Emotional payoff
232
+
233
+ ### Pacing Tips
234
+ - **Open strong:** Hook audience in first 10-15 seconds
235
+ - **Visual variety:** Alternate between wide/close, action/stillness
236
+ - **Emotional beats:** Each scene should shift emotional state
237
+ - **Build tension:** Escalate stakes scene-by-scene
238
+ - **Satisfying end:** Clear resolution, even if bittersweet
239
+
240
+ ---
241
+
242
+ ## Best Practices
243
+
244
+ ### For Pipeline Integration
245
+ - **Consistent naming:** Use same character names throughout
246
+ - **Rich visuals:** Every scene needs 3-5 key_visuals for image generation
247
+ - **Parseable format:** Maintain strict XML structure
248
+ - **Duration estimates:** Help pipeline plan total video length
249
+
250
+ ### For Quality Output
251
+ - **Visual storytelling:** Show emotions through actions, not dialogue
252
+ - **Specific details:** "weathered chrome" beats "old metal"
253
+ - **Atmospheric writing:** Set mood through environment
254
+ - **Lean prose:** Each word should serve the image
255
+
256
+ ### Common Pitfalls to Avoid
257
+ - ❌ **Vague descriptions:** "A person walks" → ✅ "A weathered woman in her 50s trudges through snow"
258
+ - ❌ **Telling emotions:** "She feels sad" → ✅ "Tears streak her dusty cheeks"
259
+ - ❌ **Camera directions:** "CLOSE UP ON" → ✅ "The crack in the glass spreads"
260
+ - ❌ **Over-dialogue:** Short films need visual storytelling
261
+ - ❌ **Inconsistent character names:** Stick to ONE name per character
262
+
263
+ ---
264
+
265
+ ## Additional Resources
266
+
267
+ ### Pipeline Integration Guide
268
+ For detailed guidance on metadata standards, visual optimization, and integration with imagine/arch-v:
269
+ - [references/pipeline-integration.md](references/pipeline-integration.md)
270
+
271
+ ### Advanced Techniques
272
+ For sophisticated screenwriting techniques, camera movement hints, and pacing optimization:
273
+ - [references/advanced-techniques.md](references/advanced-techniques.md)
@@ -0,0 +1,216 @@
1
+ # Advanced Screenwriting Techniques
2
+
3
+ This reference covers sophisticated techniques for elevating screenplay quality and preparing for downstream video generation (arch-v integration).
4
+
5
+ ## Table of Contents
6
+ 1. [Camera Movement Hints (For Arch-V)](#camera-movement-hints-for-arch-v)
7
+ 2. [Dialogue Polish Techniques](#dialogue-polish-techniques)
8
+ 3. [Pacing Optimization](#pacing-optimization)
9
+ 4. [Advanced Visual Storytelling](#advanced-visual-storytelling)
10
+ 5. [Short Film Specific Techniques](#short-film-specific-techniques)
11
+
12
+ ---
13
+
14
+ ## Camera Movement Hints (For Arch-V)
15
+
16
+ While avoiding technical camera directions in action lines, you can *suggest* camera movement through visual description and scene structure.
17
+
18
+ ### Suggesting Camera Movement Through Description
19
+
20
+ **Wide Establishing → Close Detail:**
21
+ ```
22
+ The city sprawls below—a concrete jungle of steel and glass.
23
+
24
+ At street level, a single red balloon floats past graffitied walls.
25
+ ```
26
+ *Implies: Wide establishing shot → close-up detail*
27
+
28
+ **Following Movement:**
29
+ ```
30
+ Maya runs down the alley, her footsteps echoing off brick walls. Trash cans blur past. The exit ahead grows larger.
31
+ ```
32
+ *Implies: Tracking shot following character*
33
+
34
+ **Revealing Information:**
35
+ ```
36
+ The desk is empty. Coffee still steaming. Papers scattered.
37
+
38
+ The door stands ajar, revealing darkness beyond.
39
+ ```
40
+ *Implies: Pan from desk to door, revealing new information*
41
+
42
+ ### Scene Structure for Camera Flow
43
+
44
+ **Short Paragraphs = Multiple Shots:**
45
+ Breaking action into short paragraphs suggests multiple camera setups:
46
+
47
+ ```
48
+ The warehouse is silent.
49
+
50
+ A shadow moves across the floor.
51
+
52
+ Sarah freezes, hand on her weapon.
53
+
54
+ The shadow stops.
55
+ ```
56
+
57
+ **Continuous Paragraph = Single Shot:**
58
+ One paragraph suggests continuous camera movement:
59
+
60
+ ```
61
+ Sarah enters the warehouse, weapon drawn. She moves along the wall, checking corners. The shadow crosses her path. She spins, aiming into darkness.
62
+ ```
63
+
64
+ ---
65
+
66
+ ## Dialogue Polish Techniques
67
+
68
+ ### Subtext Over Direct Statement
69
+
70
+ **❌ On-the-nose:**
71
+ ```
72
+ JOHN
73
+ I'm angry at you for lying to me.
74
+ ```
75
+
76
+ **✅ Subtext:**
77
+ ```
78
+ JOHN
79
+ (barely looking at her)
80
+ Coffee's cold.
81
+ ```
82
+
83
+ ### Character Voice Consistency
84
+
85
+ Each character should have distinct speech patterns:
86
+
87
+ **Marcus (technical, precise):**
88
+ ```
89
+ MARCUS
90
+ Probability of success: 47 percent.
91
+ Margin of error: plus or minus 3.
92
+ ```
93
+
94
+ **Sarah (emotional, intuitive):**
95
+ ```
96
+ SARAH
97
+ We'll make it work. We always do.
98
+ ```
99
+
100
+ ### Dialogue Rhythm
101
+
102
+ Vary sentence length for natural flow:
103
+
104
+ ```
105
+ ELENA
106
+ Three years. That's how long I waited.
107
+ For what? This?
108
+ ```
109
+
110
+ ---
111
+
112
+ ## Pacing Optimization
113
+
114
+ ### Scene Length Variation
115
+
116
+ Alternate between long and short scenes for rhythm:
117
+
118
+ **Pattern Example:**
119
+ - Scene 1: 60s (long, establishing)
120
+ - Scene 2: 30s (short, tense)
121
+ - Scene 3: 45s (medium, development)
122
+ - Scene 4: 30s (short, action)
123
+ - Scene 5: 90s (long, climax)
124
+
125
+ ### Tension Escalation
126
+
127
+ Each scene should raise stakes or tension incrementally:
128
+
129
+ **Scene 1:** Character wants something
130
+ **Scene 2:** Obstacle appears
131
+ **Scene 3:** Obstacle worsens
132
+ **Scene 4:** New complications
133
+ **Scene 5:** Crisis point
134
+ **Scene 6:** Resolution
135
+
136
+ ### Visual Momentum
137
+
138
+ Alternate visual energy levels:
139
+
140
+ ```
141
+ Scene A: Still, contemplative (character alone, quiet)
142
+ Scene B: Dynamic, energetic (chase, conflict, movement)
143
+ Scene C: Medium tempo (conversation, planning)
144
+ ```
145
+
146
+ ---
147
+
148
+ ## Advanced Visual Storytelling
149
+
150
+ ### Using Objects as Story Beats
151
+
152
+ Let objects carry narrative weight:
153
+
154
+ **The Flower Example:**
155
+ - Scene 1: Flower is vibrant, yellow
156
+ - Scene 3: Flower petals drooping
157
+ - Scene 5: Single petal falls
158
+ - Scene 7: Flower completely wilted
159
+
160
+ ### Environmental Storytelling
161
+
162
+ Show passage of time or change through environment:
163
+
164
+ ```
165
+ Scene 1: "Sunlight streams through clean windows"
166
+ Scene 5: "Dust motes drift through afternoon light"
167
+ Scene 10: "Shadows lengthen across abandoned chairs"
168
+ ```
169
+
170
+ ### Color Progression
171
+
172
+ Use color to track emotional/narrative arc:
173
+
174
+ **Beginning:** Warm, golden tones (hope)
175
+ **Middle:** Desaturated, gray (struggle)
176
+ **End:** Cool blue light (resolution/melancholy)
177
+
178
+ ---
179
+
180
+ ## Short Film Specific Techniques
181
+
182
+ ### Economy of Storytelling
183
+
184
+ Every scene must serve multiple purposes:
185
+ - Advance plot
186
+ - Reveal character
187
+ - Build world
188
+ - Create emotion
189
+
190
+ **Example Scene Serving 4 Purposes:**
191
+ ```
192
+ Scene: Robot discovers flower
193
+
194
+ Purpose 1 (Plot): Introduces story catalyst
195
+ Purpose 2 (Character): Shows robot's capacity for wonder
196
+ Purpose 3 (World): Reveals post-apocalyptic setting
197
+ Purpose 4 (Emotion): Creates hope/fragility contrast
198
+ ```
199
+
200
+ ### Opening Hook Strategies
201
+
202
+ First 10-15 seconds must grip audience:
203
+
204
+ **Visual Hook:** Striking, unusual image
205
+ **Question Hook:** Raise mystery to be solved
206
+ **Action Hook:** Start mid-event
207
+ **Emotion Hook:** Immediate emotional connection
208
+
209
+ ### Ending Impact
210
+
211
+ Strong endings for short films:
212
+
213
+ **Circular:** Return to opening image, transformed
214
+ **Revelation:** Final scene reveals new understanding
215
+ **Resonance:** Emotionally satisfying moment
216
+ **Question:** Leave audience pondering