@mytechtoday/augment-extensions 0.4.0 → 0.7.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 (226) hide show
  1. package/README.md +6 -6
  2. package/augment-extensions/domain-rules/design/color/themes/catppuccin-latte/README.md +23 -0
  3. package/augment-extensions/domain-rules/design/color/themes/catppuccin-latte/module.json +26 -0
  4. package/augment-extensions/domain-rules/design/color/themes/catppuccin-mocha/README.md +23 -0
  5. package/augment-extensions/domain-rules/design/color/themes/catppuccin-mocha/module.json +26 -0
  6. package/augment-extensions/domain-rules/design/color/themes/dracula/README.md +23 -0
  7. package/augment-extensions/domain-rules/design/color/themes/dracula/module.json +26 -0
  8. package/augment-extensions/domain-rules/design/color/themes/gruvbox-dark/README.md +23 -0
  9. package/augment-extensions/domain-rules/design/color/themes/gruvbox-dark/module.json +26 -0
  10. package/augment-extensions/domain-rules/design/color/themes/gruvbox-light/README.md +23 -0
  11. package/augment-extensions/domain-rules/design/color/themes/gruvbox-light/module.json +26 -0
  12. package/augment-extensions/domain-rules/design/color/themes/high-contrast/README.md +27 -0
  13. package/augment-extensions/domain-rules/design/color/themes/high-contrast/module.json +26 -0
  14. package/augment-extensions/domain-rules/design/color/themes/monokai/README.md +23 -0
  15. package/augment-extensions/domain-rules/design/color/themes/monokai/module.json +26 -0
  16. package/augment-extensions/domain-rules/design/color/themes/nord/README.md +23 -0
  17. package/augment-extensions/domain-rules/design/color/themes/nord/module.json +26 -0
  18. package/augment-extensions/domain-rules/design/color/themes/one-dark/README.md +23 -0
  19. package/augment-extensions/domain-rules/design/color/themes/one-dark/module.json +26 -0
  20. package/augment-extensions/domain-rules/design/color/themes/one-light/README.md +23 -0
  21. package/augment-extensions/domain-rules/design/color/themes/one-light/module.json +26 -0
  22. package/augment-extensions/domain-rules/design/color/themes/solarized-dark/README.md +23 -0
  23. package/augment-extensions/domain-rules/design/color/themes/solarized-dark/module.json +26 -0
  24. package/augment-extensions/domain-rules/design/color/themes/solarized-light/README.md +23 -0
  25. package/augment-extensions/domain-rules/design/color/themes/solarized-light/module.json +26 -0
  26. package/augment-extensions/domain-rules/design/color/themes/tokyo-night/README.md +23 -0
  27. package/augment-extensions/domain-rules/design/color/themes/tokyo-night/module.json +26 -0
  28. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/README.md +136 -0
  29. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/SCHEMA-VALIDATION-REPORT.md +216 -0
  30. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/brand-kit-example.yaml +292 -0
  31. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/campaign-brief-example.yaml +389 -0
  32. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/content-calendar-example.yaml +643 -0
  33. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/email-newsletter-example.md +376 -0
  34. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/landing-page-example.md +934 -0
  35. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/ppc-ad-copy-example.md +301 -0
  36. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/seo-blog-post-example.md +347 -0
  37. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/examples/social-media-campaign-example.md +606 -0
  38. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/module.json +50 -0
  39. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/affiliate-influencer-marketing.md +593 -0
  40. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/asset-management.md +418 -0
  41. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/brand-consistency.md +210 -0
  42. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/content-marketing.md +337 -0
  43. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/conversion-optimization.md +455 -0
  44. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/direct-sales.md +499 -0
  45. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/email-marketing.md +439 -0
  46. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/legal-compliance.md +227 -0
  47. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/ppc-advertising.md +569 -0
  48. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/seo-optimization.md +470 -0
  49. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/social-media-marketing.md +414 -0
  50. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/rules/universal-marketing.md +177 -0
  51. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/asset-inventory.schema.json +247 -0
  52. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/brand-kit.schema.json +326 -0
  53. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/campaign-brief.schema.json +342 -0
  54. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/color-palette.schema.json +223 -0
  55. package/augment-extensions/domain-rules/marketing-standards/seo-sales-marketing/schemas/content-template.schema.json +383 -0
  56. package/augment-extensions/workflows/beads-integration/IMPLEMENTATION-STATUS.md +145 -0
  57. package/augment-extensions/workflows/beads-integration/README.md +143 -0
  58. package/augment-extensions/workflows/beads-integration/config/defaults.json +32 -0
  59. package/augment-extensions/workflows/beads-integration/config/schema.json +140 -0
  60. package/augment-extensions/workflows/beads-integration/examples/basic-task-generation.md +293 -0
  61. package/augment-extensions/workflows/beads-integration/module.json +75 -0
  62. package/augment-extensions/workflows/beads-integration/rules/core-rules.md +219 -0
  63. package/augment-extensions/workflows/beads-integration/rules/effectiveness-standards.md +256 -0
  64. package/augment-extensions/workflows/beads-integration/rules/task-generation.md +607 -0
  65. package/augment-extensions/writing-standards/screenplay/README.md +135 -6
  66. package/augment-extensions/writing-standards/screenplay/_templates/README.md +121 -0
  67. package/augment-extensions/writing-standards/screenplay/_templates/genre-template.md +153 -0
  68. package/augment-extensions/writing-standards/screenplay/_templates/style-template.md +243 -0
  69. package/augment-extensions/writing-standards/screenplay/_templates/theme-template.md +213 -0
  70. package/augment-extensions/writing-standards/screenplay/examples/beat-sheet-example.yaml +95 -0
  71. package/augment-extensions/writing-standards/screenplay/examples/character-profile-example.yaml +116 -0
  72. package/augment-extensions/writing-standards/screenplay/examples/commercial-30sec.fountain +151 -0
  73. package/augment-extensions/writing-standards/screenplay/examples/independent-monologue.fountain +67 -0
  74. package/augment-extensions/writing-standards/screenplay/examples/news-segment.fountain +142 -0
  75. package/augment-extensions/writing-standards/screenplay/examples/plot-outline-example.yaml +184 -0
  76. package/augment-extensions/writing-standards/screenplay/examples/tv-episode-teaser.fountain +204 -0
  77. package/augment-extensions/writing-standards/screenplay/genres/README.md +181 -0
  78. package/augment-extensions/writing-standards/screenplay/genres/examples/.gitkeep +2 -0
  79. package/augment-extensions/writing-standards/screenplay/genres/module.json +70 -0
  80. package/augment-extensions/writing-standards/screenplay/genres/rules/.gitkeep +2 -0
  81. package/augment-extensions/writing-standards/screenplay/genres/rules/action.md +399 -0
  82. package/augment-extensions/writing-standards/screenplay/genres/rules/adventure.md +407 -0
  83. package/augment-extensions/writing-standards/screenplay/genres/rules/animation.md +293 -0
  84. package/augment-extensions/writing-standards/screenplay/genres/rules/biographical.md +293 -0
  85. package/augment-extensions/writing-standards/screenplay/genres/rules/comedy.md +401 -0
  86. package/augment-extensions/writing-standards/screenplay/genres/rules/documentary.md +293 -0
  87. package/augment-extensions/writing-standards/screenplay/genres/rules/drama.md +409 -0
  88. package/augment-extensions/writing-standards/screenplay/genres/rules/fantasy.md +293 -0
  89. package/augment-extensions/writing-standards/screenplay/genres/rules/historical.md +293 -0
  90. package/augment-extensions/writing-standards/screenplay/genres/rules/horror.md +268 -0
  91. package/augment-extensions/writing-standards/screenplay/genres/rules/musical.md +294 -0
  92. package/augment-extensions/writing-standards/screenplay/genres/rules/mystery.md +293 -0
  93. package/augment-extensions/writing-standards/screenplay/genres/rules/noir.md +294 -0
  94. package/augment-extensions/writing-standards/screenplay/genres/rules/romance.md +293 -0
  95. package/augment-extensions/writing-standards/screenplay/genres/rules/sci-fi.md +289 -0
  96. package/augment-extensions/writing-standards/screenplay/genres/rules/superhero.md +293 -0
  97. package/augment-extensions/writing-standards/screenplay/genres/rules/thriller.md +294 -0
  98. package/augment-extensions/writing-standards/screenplay/genres/rules/western.md +293 -0
  99. package/augment-extensions/writing-standards/screenplay/module.json +1 -1
  100. package/augment-extensions/writing-standards/screenplay/rules/aaa-hollywood-films.md +339 -0
  101. package/augment-extensions/writing-standards/screenplay/rules/ai-integration-testing.md +329 -0
  102. package/augment-extensions/writing-standards/screenplay/rules/character-development.md +169 -0
  103. package/augment-extensions/writing-standards/screenplay/rules/commercials.md +437 -0
  104. package/augment-extensions/writing-standards/screenplay/rules/dialogue-writing.md +263 -0
  105. package/augment-extensions/writing-standards/screenplay/rules/diversity-inclusion.md +261 -0
  106. package/augment-extensions/writing-standards/screenplay/rules/examples-guide.md +315 -0
  107. package/augment-extensions/writing-standards/screenplay/rules/formatting-validation.md +413 -0
  108. package/augment-extensions/writing-standards/screenplay/rules/fountain-format.md +372 -0
  109. package/augment-extensions/writing-standards/screenplay/rules/independent-films.md +374 -0
  110. package/augment-extensions/writing-standards/screenplay/rules/live-tv-productions.md +443 -0
  111. package/augment-extensions/writing-standards/screenplay/rules/narrative-structures.md +207 -0
  112. package/augment-extensions/writing-standards/screenplay/rules/news-broadcasts.md +444 -0
  113. package/augment-extensions/writing-standards/screenplay/rules/pacing-timing.md +331 -0
  114. package/augment-extensions/writing-standards/screenplay/rules/quality-review-checklist.md +334 -0
  115. package/augment-extensions/writing-standards/screenplay/rules/quick-reference.md +299 -0
  116. package/augment-extensions/writing-standards/screenplay/rules/screen-continuity.md +263 -0
  117. package/augment-extensions/writing-standards/screenplay/rules/streaming-content.md +412 -0
  118. package/augment-extensions/writing-standards/screenplay/rules/trope-management.md +370 -0
  119. package/augment-extensions/writing-standards/screenplay/rules/tv-series.md +374 -0
  120. package/augment-extensions/writing-standards/screenplay/rules/vscode-integration.md +277 -0
  121. package/augment-extensions/writing-standards/screenplay/rules/web-content.md +393 -0
  122. package/augment-extensions/writing-standards/screenplay/schemas/beat-sheet.json +332 -0
  123. package/augment-extensions/writing-standards/screenplay/schemas/character-profile.json +247 -0
  124. package/augment-extensions/writing-standards/screenplay/schemas/feature-selection.json +200 -0
  125. package/augment-extensions/writing-standards/screenplay/schemas/plot-outline.json +233 -0
  126. package/augment-extensions/writing-standards/screenplay/schemas/screenplay-config.json +245 -0
  127. package/augment-extensions/writing-standards/screenplay/schemas/trope-inventory.json +221 -0
  128. package/augment-extensions/writing-standards/screenplay/styles/README.md +159 -0
  129. package/augment-extensions/writing-standards/screenplay/styles/examples/.gitkeep +2 -0
  130. package/augment-extensions/writing-standards/screenplay/styles/examples/style-applications.md +1449 -0
  131. package/augment-extensions/writing-standards/screenplay/styles/module.json +64 -0
  132. package/augment-extensions/writing-standards/screenplay/styles/rules/.gitkeep +2 -0
  133. package/augment-extensions/writing-standards/screenplay/styles/rules/dialogue-centric.md +520 -0
  134. package/augment-extensions/writing-standards/screenplay/styles/rules/ensemble.md +499 -0
  135. package/augment-extensions/writing-standards/screenplay/styles/rules/epic.md +497 -0
  136. package/augment-extensions/writing-standards/screenplay/styles/rules/experimental.md +492 -0
  137. package/augment-extensions/writing-standards/screenplay/styles/rules/flashback.md +509 -0
  138. package/augment-extensions/writing-standards/screenplay/styles/rules/linear.md +490 -0
  139. package/augment-extensions/writing-standards/screenplay/styles/rules/minimalist.md +499 -0
  140. package/augment-extensions/writing-standards/screenplay/styles/rules/non-linear.md +501 -0
  141. package/augment-extensions/writing-standards/screenplay/styles/rules/poetic.md +499 -0
  142. package/augment-extensions/writing-standards/screenplay/styles/rules/realistic.md +498 -0
  143. package/augment-extensions/writing-standards/screenplay/styles/rules/satirical.md +499 -0
  144. package/augment-extensions/writing-standards/screenplay/styles/rules/surreal.md +508 -0
  145. package/augment-extensions/writing-standards/screenplay/styles/rules/voice-over.md +500 -0
  146. package/augment-extensions/writing-standards/screenplay/themes/README.md +158 -0
  147. package/augment-extensions/writing-standards/screenplay/themes/examples/.gitkeep +2 -0
  148. package/augment-extensions/writing-standards/screenplay/themes/examples/common-mistakes-and-fixes.md +643 -0
  149. package/augment-extensions/writing-standards/screenplay/themes/examples/complete-scene-example.md +311 -0
  150. package/augment-extensions/writing-standards/screenplay/themes/examples/individual-theme-examples.md +562 -0
  151. package/augment-extensions/writing-standards/screenplay/themes/examples/multi-theme-weaving.md +538 -0
  152. package/augment-extensions/writing-standards/screenplay/themes/examples/theme-application-guide.md +432 -0
  153. package/augment-extensions/writing-standards/screenplay/themes/examples/theme-integration-across-acts.md +637 -0
  154. package/augment-extensions/writing-standards/screenplay/themes/module.json +66 -0
  155. package/augment-extensions/writing-standards/screenplay/themes/rules/.gitkeep +2 -0
  156. package/augment-extensions/writing-standards/screenplay/themes/rules/ambition.md +458 -0
  157. package/augment-extensions/writing-standards/screenplay/themes/rules/betrayal.md +490 -0
  158. package/augment-extensions/writing-standards/screenplay/themes/rules/environment.md +458 -0
  159. package/augment-extensions/writing-standards/screenplay/themes/rules/fate.md +459 -0
  160. package/augment-extensions/writing-standards/screenplay/themes/rules/friendship.md +491 -0
  161. package/augment-extensions/writing-standards/screenplay/themes/rules/growth.md +491 -0
  162. package/augment-extensions/writing-standards/screenplay/themes/rules/identity.md +490 -0
  163. package/augment-extensions/writing-standards/screenplay/themes/rules/isolation.md +464 -0
  164. package/augment-extensions/writing-standards/screenplay/themes/rules/justice.md +461 -0
  165. package/augment-extensions/writing-standards/screenplay/themes/rules/love.md +489 -0
  166. package/augment-extensions/writing-standards/screenplay/themes/rules/power.md +494 -0
  167. package/augment-extensions/writing-standards/screenplay/themes/rules/redemption.md +483 -0
  168. package/augment-extensions/writing-standards/screenplay/themes/rules/revenge.md +489 -0
  169. package/augment-extensions/writing-standards/screenplay/themes/rules/survival.md +496 -0
  170. package/augment-extensions/writing-standards/screenplay/themes/rules/technology.md +463 -0
  171. package/cli/dist/cli.js +30 -1
  172. package/cli/dist/cli.js.map +1 -1
  173. package/cli/dist/commands/show.d.ts +23 -0
  174. package/cli/dist/commands/show.d.ts.map +1 -1
  175. package/cli/dist/commands/show.js +928 -10
  176. package/cli/dist/commands/show.js.map +1 -1
  177. package/cli/dist/types/gui.d.ts +62 -0
  178. package/cli/dist/types/gui.d.ts.map +1 -0
  179. package/cli/dist/types/gui.js +30 -0
  180. package/cli/dist/types/gui.js.map +1 -0
  181. package/cli/dist/utils/config-system.d.ts +111 -0
  182. package/cli/dist/utils/config-system.d.ts.map +1 -0
  183. package/cli/dist/utils/config-system.js +239 -0
  184. package/cli/dist/utils/config-system.js.map +1 -0
  185. package/cli/dist/utils/gui-helpers.d.ts +23 -0
  186. package/cli/dist/utils/gui-helpers.d.ts.map +1 -0
  187. package/cli/dist/utils/gui-helpers.js +159 -0
  188. package/cli/dist/utils/gui-helpers.js.map +1 -0
  189. package/cli/dist/utils/hook-system.d.ts +84 -0
  190. package/cli/dist/utils/hook-system.d.ts.map +1 -0
  191. package/cli/dist/utils/hook-system.js +151 -0
  192. package/cli/dist/utils/hook-system.js.map +1 -0
  193. package/cli/dist/utils/inspection-cache.d.ts +56 -0
  194. package/cli/dist/utils/inspection-cache.d.ts.map +1 -0
  195. package/cli/dist/utils/inspection-cache.js +166 -0
  196. package/cli/dist/utils/inspection-cache.js.map +1 -0
  197. package/cli/dist/utils/inspection-handlers.d.ts +75 -0
  198. package/cli/dist/utils/inspection-handlers.d.ts.map +1 -0
  199. package/cli/dist/utils/inspection-handlers.js +171 -0
  200. package/cli/dist/utils/inspection-handlers.js.map +1 -0
  201. package/cli/dist/utils/module-system.d.ts +81 -1
  202. package/cli/dist/utils/module-system.d.ts.map +1 -1
  203. package/cli/dist/utils/module-system.js +393 -16
  204. package/cli/dist/utils/module-system.js.map +1 -1
  205. package/cli/dist/utils/plugin-system.d.ts +133 -0
  206. package/cli/dist/utils/plugin-system.d.ts.map +1 -0
  207. package/cli/dist/utils/plugin-system.js +210 -0
  208. package/cli/dist/utils/plugin-system.js.map +1 -0
  209. package/cli/dist/utils/progress.d.ts +67 -0
  210. package/cli/dist/utils/progress.d.ts.map +1 -0
  211. package/cli/dist/utils/progress.js +146 -0
  212. package/cli/dist/utils/progress.js.map +1 -0
  213. package/cli/dist/utils/stream-reader.d.ts +34 -0
  214. package/cli/dist/utils/stream-reader.d.ts.map +1 -0
  215. package/cli/dist/utils/stream-reader.js +147 -0
  216. package/cli/dist/utils/stream-reader.js.map +1 -0
  217. package/cli/dist/utils/vscode-editor.d.ts +45 -0
  218. package/cli/dist/utils/vscode-editor.d.ts.map +1 -0
  219. package/cli/dist/utils/vscode-editor.js +171 -0
  220. package/cli/dist/utils/vscode-editor.js.map +1 -0
  221. package/cli/dist/utils/vscode-links.d.ts +49 -0
  222. package/cli/dist/utils/vscode-links.d.ts.map +1 -0
  223. package/cli/dist/utils/vscode-links.js +167 -0
  224. package/cli/dist/utils/vscode-links.js.map +1 -0
  225. package/modules.md +44 -2
  226. package/package.json +6 -4
@@ -0,0 +1,219 @@
1
+ # Core Rules for Beads Task Generation
2
+
3
+ ## Overview
4
+
5
+ This document defines the universal guidelines that apply to all Beads task generation. These core rules ensure consistency, quality, and effectiveness across all tasks created by AI agents.
6
+
7
+ ## 1. Task Structure Requirements
8
+
9
+ ### 1.1 Required Sections
10
+
11
+ Every Beads task MUST include:
12
+
13
+ 1. **Title**: Clear, concise, action-oriented (verb + object)
14
+ 2. **Description**: Comprehensive explanation of what needs to be done
15
+ 3. **Prerequisites**: What must be completed or available before starting
16
+ 4. **Steps**: Detailed, ordered list of actions to complete the task
17
+ 5. **Verification**: Clear criteria for determining task completion
18
+ 6. **Success Metrics**: Measurable outcomes that define success
19
+
20
+ ### 1.2 Description Format
21
+
22
+ ```markdown
23
+ ## Description
24
+
25
+ [Comprehensive explanation of the task]
26
+
27
+ ## Prerequisites
28
+
29
+ - [ ] Prerequisite 1
30
+ - [ ] Prerequisite 2
31
+
32
+ ## Steps
33
+
34
+ 1. Step 1 with details
35
+ 2. Step 2 with details
36
+ 3. Step 3 with details
37
+
38
+ ## Verification
39
+
40
+ - [ ] Verification criterion 1
41
+ - [ ] Verification criterion 2
42
+
43
+ ## Success Metrics
44
+
45
+ - Metric 1: [measurable outcome]
46
+ - Metric 2: [measurable outcome]
47
+ ```
48
+
49
+ ### 1.3 Title Guidelines
50
+
51
+ **DO**:
52
+ - ✅ Use action verbs: "Implement", "Create", "Update", "Fix", "Refactor"
53
+ - ✅ Be specific: "Create user authentication module" not "Work on auth"
54
+ - ✅ Keep concise: 50-80 characters maximum
55
+
56
+ **DON'T**:
57
+ - ❌ Use vague language: "Handle stuff", "Do things"
58
+ - ❌ Be overly verbose: "Create a comprehensive and detailed user authentication module with all necessary features"
59
+ - ❌ Use passive voice: "Authentication should be implemented"
60
+
61
+ ## 2. Quality Standards
62
+
63
+ ### 2.1 Clarity
64
+
65
+ Tasks MUST be:
66
+ - **Unambiguous**: No room for multiple interpretations
67
+ - **Specific**: Concrete actions, not abstract concepts
68
+ - **Actionable**: Clear what to do, not just what to achieve
69
+
70
+ ### 2.2 Completeness
71
+
72
+ Tasks MUST include:
73
+ - **All necessary information**: No missing context
74
+ - **All required resources**: Links, references, examples
75
+ - **All edge cases**: Known exceptions and special scenarios
76
+
77
+ ### 2.3 Actionability
78
+
79
+ Tasks MUST be:
80
+ - **Immediately executable**: No additional research required
81
+ - **Self-contained**: All information needed is present
82
+ - **Properly scoped**: Not too large, not too small
83
+
84
+ ## 3. Versioning and Logging
85
+
86
+ ### 3.1 Task Versioning
87
+
88
+ - Use semantic versioning for task updates: MAJOR.MINOR.PATCH
89
+ - Document changes in task comments
90
+ - Track task evolution over time
91
+
92
+ ### 3.2 Logging Requirements
93
+
94
+ Every task update MUST log:
95
+ - **What changed**: Specific modifications made
96
+ - **Why it changed**: Reason for the update
97
+ - **Who changed it**: Author of the update
98
+ - **When it changed**: Timestamp of the update
99
+
100
+ ## 4. Dependency Management
101
+
102
+ ### 4.1 Explicit Dependencies
103
+
104
+ Tasks MUST declare:
105
+ - **Blocking dependencies**: Tasks that must complete first
106
+ - **Blocked tasks**: Tasks that depend on this task
107
+ - **Related tasks**: Tasks in the same feature/epic
108
+
109
+ ### 4.2 Dependency Format
110
+
111
+ ```json
112
+ {
113
+ "dependencies": [
114
+ {
115
+ "issue_id": "bd-child",
116
+ "depends_on_id": "bd-parent",
117
+ "type": "blocks"
118
+ }
119
+ ]
120
+ }
121
+ ```
122
+
123
+ ## 5. Error Handling Standards
124
+
125
+ ### 5.1 Error Scenarios
126
+
127
+ Tasks MUST document:
128
+ - **Known failure modes**: What can go wrong
129
+ - **Error handling**: How to handle failures
130
+ - **Rollback procedures**: How to undo changes if needed
131
+
132
+ ### 5.2 Error Documentation Format
133
+
134
+ ```markdown
135
+ ## Error Handling
136
+
137
+ ### Scenario 1: [Error description]
138
+ - **Cause**: [What causes this error]
139
+ - **Detection**: [How to detect this error]
140
+ - **Resolution**: [How to fix this error]
141
+ - **Prevention**: [How to prevent this error]
142
+ ```
143
+
144
+ ## 6. Examples
145
+
146
+ ### Example 1: Well-Structured Task
147
+
148
+ **Title**: Implement user authentication module
149
+
150
+ **Description**: Create a user authentication module with email/password login, JWT token generation, and session management.
151
+
152
+ **Prerequisites**:
153
+ - [ ] Database schema for users table created
154
+ - [ ] JWT library installed
155
+ - [ ] Environment variables configured
156
+
157
+ **Steps**:
158
+ 1. Create User model with email and password fields
159
+ 2. Implement password hashing using bcrypt
160
+ 3. Create login endpoint that validates credentials
161
+ 4. Generate JWT token on successful login
162
+ 5. Implement token verification middleware
163
+ 6. Add session management with refresh tokens
164
+
165
+ **Verification**:
166
+ - [ ] User can register with email and password
167
+ - [ ] User can login with correct credentials
168
+ - [ ] Login fails with incorrect credentials
169
+ - [ ] JWT token is generated and valid
170
+ - [ ] Protected routes require valid token
171
+
172
+ **Success Metrics**:
173
+ - All authentication tests pass (100% coverage)
174
+ - Login response time < 200ms
175
+ - Token expiration works correctly
176
+
177
+ ### Example 2: Task with Dependencies
178
+
179
+ **Title**: Create user profile page
180
+
181
+ **Description**: Build user profile page displaying user information and allowing profile updates.
182
+
183
+ **Prerequisites**:
184
+ - [ ] User authentication module completed (bd-auth)
185
+ - [ ] User model includes profile fields
186
+ - [ ] Frontend routing configured
187
+
188
+ **Dependencies**:
189
+ - Blocks: bd-auth (user authentication module)
190
+ - Related: bd-settings (user settings page)
191
+
192
+ **Steps**:
193
+ 1. Create profile component with user data display
194
+ 2. Add form for editing profile information
195
+ 3. Implement profile update API endpoint
196
+ 4. Add validation for profile fields
197
+ 5. Connect frontend to backend API
198
+
199
+ **Verification**:
200
+ - [ ] Profile page displays user information
201
+ - [ ] User can edit and save profile changes
202
+ - [ ] Validation prevents invalid data
203
+ - [ ] Changes persist after page reload
204
+
205
+ **Success Metrics**:
206
+ - Profile update success rate > 99%
207
+ - Form validation catches all invalid inputs
208
+ - UI responsive on mobile and desktop
209
+
210
+ ## Summary
211
+
212
+ These core rules ensure that all Beads tasks are:
213
+ - **Structured**: Follow consistent format
214
+ - **Complete**: Include all necessary information
215
+ - **Clear**: Unambiguous and actionable
216
+ - **Traceable**: Versioned and logged
217
+ - **Connected**: Properly linked with dependencies
218
+ - **Robust**: Handle errors gracefully
219
+
@@ -0,0 +1,256 @@
1
+ # Effectiveness Standards for Beads Tasks
2
+
3
+ ## Overview
4
+
5
+ This document defines effectiveness rules ensuring high-quality task content. These standards ensure tasks are atomic, complete, clear, testable, and maintainable.
6
+
7
+ ## 1. Atomicity Principles
8
+
9
+ ### 1.1 Single-Purpose Tasks
10
+
11
+ Each task MUST focus on ONE specific objective.
12
+
13
+ **✅ GOOD - Atomic Task**:
14
+ ```
15
+ Title: Implement user login endpoint
16
+ Description: Create POST /api/auth/login endpoint with email/password validation and JWT token generation
17
+ ```
18
+
19
+ **❌ BAD - Non-Atomic Task**:
20
+ ```
21
+ Title: Implement authentication system
22
+ Description: Create login, registration, password reset, email verification, and session management
23
+ ```
24
+
25
+ ### 1.2 Decomposition Guidelines
26
+
27
+ If a task description requires "and" more than twice, it should be split:
28
+
29
+ **Split this**:
30
+ - "Create user model AND add validation AND implement CRUD endpoints AND write tests"
31
+
32
+ **Into these**:
33
+ 1. "Create user model with validation"
34
+ 2. "Implement user CRUD endpoints"
35
+ 3. "Write tests for user endpoints"
36
+
37
+ ### 1.3 Scope Boundaries
38
+
39
+ Tasks should be completable in:
40
+ - **Small tasks**: 1-4 hours
41
+ - **Medium tasks**: 4-8 hours
42
+ - **Large tasks**: 8-16 hours (max)
43
+
44
+ If a task exceeds 16 hours, it MUST be decomposed.
45
+
46
+ ## 2. Completeness Requirements
47
+
48
+ ### 2.1 All Necessary Information
49
+
50
+ Tasks MUST include:
51
+ - **What**: Clear description of deliverable
52
+ - **Why**: Context and purpose
53
+ - **How**: Detailed steps
54
+ - **When**: Prerequisites and dependencies
55
+ - **Where**: Affected files/components
56
+ - **Who**: Required skills/expertise
57
+
58
+ ### 2.2 No Missing Context
59
+
60
+ **✅ GOOD - Complete Context**:
61
+ ```markdown
62
+ ## Description
63
+ Implement rate limiting middleware to prevent API abuse. Current system allows unlimited requests, causing server overload during traffic spikes. Rate limit should be 100 requests per minute per IP address.
64
+
65
+ ## Context
66
+ Recent DDoS attack caused 3-hour outage. Rate limiting will prevent similar incidents and protect server resources.
67
+ ```
68
+
69
+ **❌ BAD - Missing Context**:
70
+ ```markdown
71
+ ## Description
72
+ Add rate limiting
73
+ ```
74
+
75
+ ### 2.3 Resource Completeness
76
+
77
+ Tasks MUST include:
78
+ - Links to relevant documentation
79
+ - References to related code
80
+ - Examples or templates
81
+ - Configuration requirements
82
+
83
+ ## 3. Clarity Standards
84
+
85
+ ### 3.1 Unambiguous Instructions
86
+
87
+ Every step MUST be clear and specific.
88
+
89
+ **✅ GOOD - Clear Instructions**:
90
+ ```markdown
91
+ 1. Create `src/middleware/rateLimit.ts` file
92
+ 2. Import `express-rate-limit` package
93
+ 3. Configure rate limiter with 100 requests per minute
94
+ 4. Apply middleware to all `/api/*` routes
95
+ ```
96
+
97
+ **❌ BAD - Ambiguous Instructions**:
98
+ ```markdown
99
+ 1. Add rate limiting
100
+ 2. Configure it
101
+ 3. Use it
102
+ ```
103
+
104
+ ### 3.2 Terminology Consistency
105
+
106
+ Use consistent terminology throughout:
107
+ - **User** vs **Customer** vs **Account** - Pick ONE
108
+ - **Endpoint** vs **Route** vs **API** - Pick ONE
109
+ - **Database** vs **DB** vs **Data Store** - Pick ONE
110
+
111
+ ### 3.3 Avoid Jargon
112
+
113
+ Explain technical terms or provide links:
114
+
115
+ **✅ GOOD**:
116
+ ```markdown
117
+ Implement JWT (JSON Web Token) authentication. See: https://jwt.io/introduction
118
+ ```
119
+
120
+ **❌ BAD**:
121
+ ```markdown
122
+ Implement JWT auth
123
+ ```
124
+
125
+ ## 4. Testability Criteria
126
+
127
+ ### 4.1 Clear Success Metrics
128
+
129
+ Every task MUST have measurable success criteria.
130
+
131
+ **✅ GOOD - Measurable**:
132
+ ```markdown
133
+ ## Success Metrics
134
+ - Rate limiter blocks requests after 100 per minute
135
+ - Response time < 50ms for rate limit check
136
+ - 429 status code returned when limit exceeded
137
+ - Rate limit resets after 1 minute
138
+ ```
139
+
140
+ **❌ BAD - Not Measurable**:
141
+ ```markdown
142
+ ## Success Metrics
143
+ - Rate limiting works
144
+ - Performance is good
145
+ ```
146
+
147
+ ### 4.2 Verification Checklist
148
+
149
+ Tasks MUST include specific, testable verification criteria.
150
+
151
+ **✅ GOOD - Testable Verification**:
152
+ ```markdown
153
+ ## Verification
154
+ - [ ] Send 100 requests in 1 minute - all succeed
155
+ - [ ] Send 101st request - receives 429 status
156
+ - [ ] Wait 1 minute - rate limit resets
157
+ - [ ] Different IPs have independent limits
158
+ ```
159
+
160
+ **❌ BAD - Not Testable**:
161
+ ```markdown
162
+ ## Verification
163
+ - [ ] Rate limiting works
164
+ - [ ] System is protected
165
+ ```
166
+
167
+ ### 4.3 Test Coverage Requirements
168
+
169
+ Tasks MUST specify required tests:
170
+ - **Unit tests**: For individual functions/methods
171
+ - **Integration tests**: For component interactions
172
+ - **End-to-end tests**: For complete workflows
173
+
174
+ ## 5. Maintainability Guidelines
175
+
176
+ ### 5.1 Documentation Requirements
177
+
178
+ Tasks MUST specify documentation updates:
179
+ - **Code comments**: Inline documentation
180
+ - **API docs**: Endpoint documentation
181
+ - **README**: User-facing documentation
182
+ - **Runbooks**: Operational procedures
183
+
184
+ ### 5.2 Versioning Requirements
185
+
186
+ Tasks MUST include:
187
+ - **Version number**: Semantic versioning
188
+ - **Changelog entry**: What changed and why
189
+ - **Migration guide**: If breaking changes
190
+
191
+ ### 5.3 Future-Proofing
192
+
193
+ Tasks SHOULD consider:
194
+ - **Extensibility**: Can this be extended later?
195
+ - **Backwards compatibility**: Will this break existing code?
196
+ - **Deprecation path**: If replacing existing functionality
197
+
198
+ ## 6. Effectiveness Checklist
199
+
200
+ ### 6.1 Before Creating a Task
201
+
202
+ - [ ] **Atomic**: Does this task have a single, clear purpose?
203
+ - [ ] **Complete**: Is all necessary information included?
204
+ - [ ] **Clear**: Are instructions unambiguous and specific?
205
+ - [ ] **Testable**: Are success criteria measurable?
206
+ - [ ] **Maintainable**: Are documentation requirements specified?
207
+
208
+ ### 6.2 After Creating a Task
209
+
210
+ - [ ] Can someone unfamiliar execute this task without questions?
211
+ - [ ] Are all edge cases documented?
212
+ - [ ] Are all error scenarios handled?
213
+ - [ ] Is the scope appropriate (not too large, not too small)?
214
+ - [ ] Are dependencies explicitly declared?
215
+
216
+ ## 7. Measurement Criteria
217
+
218
+ ### 7.1 Task Quality Metrics
219
+
220
+ **High-Quality Task**:
221
+ - Completeness score: 100% (all sections present)
222
+ - Clarity score: > 90% (minimal ambiguity)
223
+ - Testability score: 100% (all criteria measurable)
224
+ - Execution time: Within estimated range
225
+
226
+ **Low-Quality Task**:
227
+ - Completeness score: < 70% (missing sections)
228
+ - Clarity score: < 60% (ambiguous instructions)
229
+ - Testability score: < 70% (vague criteria)
230
+ - Execution time: 2x+ estimated time
231
+
232
+ ### 7.2 Effectiveness Indicators
233
+
234
+ **Effective Task**:
235
+ - ✅ Executed without clarification questions
236
+ - ✅ Completed within estimated time
237
+ - ✅ All verification criteria met
238
+ - ✅ No rework required
239
+
240
+ **Ineffective Task**:
241
+ - ❌ Multiple clarification questions needed
242
+ - ❌ Significantly over/under estimated time
243
+ - ❌ Verification criteria unclear or incomplete
244
+ - ❌ Rework required due to missing requirements
245
+
246
+ ## Summary
247
+
248
+ Effectiveness standards ensure tasks are:
249
+ - **Atomic**: Single-purpose, appropriately scoped
250
+ - **Complete**: All information present, no missing context
251
+ - **Clear**: Unambiguous, specific, consistent terminology
252
+ - **Testable**: Measurable success criteria, specific verification
253
+ - **Maintainable**: Documentation requirements, versioning, future-proofing
254
+
255
+ **Remember**: An effective task is one that can be executed successfully without additional clarification or research.
256
+