@drafthq/draft 2.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 (158) hide show
  1. package/.claude-plugin/marketplace.json +38 -0
  2. package/.claude-plugin/plugin.json +26 -0
  3. package/LICENSE +21 -0
  4. package/README.md +272 -0
  5. package/bin/README.md +49 -0
  6. package/cli/bin/draft.js +13 -0
  7. package/cli/src/cli.js +113 -0
  8. package/cli/src/hosts/claude-code.js +46 -0
  9. package/cli/src/hosts/codex.js +33 -0
  10. package/cli/src/hosts/cursor.js +50 -0
  11. package/cli/src/hosts/index.js +24 -0
  12. package/cli/src/hosts/opencode.js +39 -0
  13. package/cli/src/installer.js +61 -0
  14. package/cli/src/lib/fsx.js +34 -0
  15. package/cli/src/lib/graph.js +23 -0
  16. package/cli/src/lib/log.js +32 -0
  17. package/cli/src/lib/paths.js +14 -0
  18. package/core/agents/architect.md +338 -0
  19. package/core/agents/debugger.md +193 -0
  20. package/core/agents/ops.md +104 -0
  21. package/core/agents/planner.md +158 -0
  22. package/core/agents/rca.md +314 -0
  23. package/core/agents/reviewer.md +256 -0
  24. package/core/agents/writer.md +110 -0
  25. package/core/guardrails/README.md +4 -0
  26. package/core/guardrails/code-quality.md +4 -0
  27. package/core/guardrails/dependency-triage.md +4 -0
  28. package/core/guardrails/design-norms.md +4 -0
  29. package/core/guardrails/language-standards.md +4 -0
  30. package/core/guardrails/review-checks.md +4 -0
  31. package/core/guardrails/secure-patterns.md +4 -0
  32. package/core/guardrails/security.md +4 -0
  33. package/core/guardrails.md +22 -0
  34. package/core/knowledge-base.md +127 -0
  35. package/core/methodology.md +1221 -0
  36. package/core/shared/condensation.md +224 -0
  37. package/core/shared/context-verify.md +44 -0
  38. package/core/shared/cross-skill-dispatch.md +127 -0
  39. package/core/shared/discovery-schema.md +75 -0
  40. package/core/shared/draft-context-loading.md +282 -0
  41. package/core/shared/git-report-metadata.md +106 -0
  42. package/core/shared/graph-query.md +239 -0
  43. package/core/shared/graph-usage-report.md +22 -0
  44. package/core/shared/jira-sync.md +170 -0
  45. package/core/shared/parallel-analysis.md +386 -0
  46. package/core/shared/parallel-fanout.md +10 -0
  47. package/core/shared/pattern-learning.md +146 -0
  48. package/core/shared/red-flags.md +58 -0
  49. package/core/shared/template-contract.md +22 -0
  50. package/core/shared/template-hygiene.md +10 -0
  51. package/core/shared/tool-resolver.md +10 -0
  52. package/core/shared/vcs-commands.md +97 -0
  53. package/core/shared/verification-gates.md +47 -0
  54. package/core/templates/CHANGELOG.md +70 -0
  55. package/core/templates/ai-context-export.md +8 -0
  56. package/core/templates/ai-context.md +270 -0
  57. package/core/templates/ai-profile.md +41 -0
  58. package/core/templates/architecture.md +203 -0
  59. package/core/templates/dependency-graph.md +103 -0
  60. package/core/templates/discovery.md +79 -0
  61. package/core/templates/guardrails.md +143 -0
  62. package/core/templates/hld.md +327 -0
  63. package/core/templates/intake-questions.md +403 -0
  64. package/core/templates/jira.md +119 -0
  65. package/core/templates/lld.md +283 -0
  66. package/core/templates/metadata.json +66 -0
  67. package/core/templates/plan.md +130 -0
  68. package/core/templates/product.md +110 -0
  69. package/core/templates/rca.md +86 -0
  70. package/core/templates/root-architecture.md +127 -0
  71. package/core/templates/root-product.md +53 -0
  72. package/core/templates/root-tech-stack.md +117 -0
  73. package/core/templates/service-index.md +55 -0
  74. package/core/templates/session-summary.md +8 -0
  75. package/core/templates/spec.md +165 -0
  76. package/core/templates/tech-matrix.md +101 -0
  77. package/core/templates/tech-stack.md +169 -0
  78. package/core/templates/track-architecture.md +311 -0
  79. package/core/templates/workflow.md +187 -0
  80. package/integrations/agents/AGENTS.md +24384 -0
  81. package/integrations/copilot/.github/copilot-instructions.md +24384 -0
  82. package/integrations/gemini/.gemini.md +26 -0
  83. package/package.json +53 -0
  84. package/scripts/fetch-memory-engine.sh +116 -0
  85. package/scripts/lib.sh +256 -0
  86. package/scripts/tools/_lib.sh +220 -0
  87. package/scripts/tools/adr-index.sh +117 -0
  88. package/scripts/tools/check-graph-usage-report.sh +95 -0
  89. package/scripts/tools/check-scope-conflicts.sh +139 -0
  90. package/scripts/tools/check-skill-line-caps.sh +115 -0
  91. package/scripts/tools/check-template-noop.sh +87 -0
  92. package/scripts/tools/check-track-hygiene.sh +230 -0
  93. package/scripts/tools/classify-files.sh +231 -0
  94. package/scripts/tools/cycle-detect.sh +75 -0
  95. package/scripts/tools/detect-test-framework.sh +135 -0
  96. package/scripts/tools/diff-templates-vs-tracks.sh +176 -0
  97. package/scripts/tools/emit-skill-metrics.sh +71 -0
  98. package/scripts/tools/fix-whitespace.sh +192 -0
  99. package/scripts/tools/freshness-check.sh +143 -0
  100. package/scripts/tools/git-metadata.sh +203 -0
  101. package/scripts/tools/graph-callers.sh +74 -0
  102. package/scripts/tools/graph-impact.sh +93 -0
  103. package/scripts/tools/graph-snapshot.sh +102 -0
  104. package/scripts/tools/hotspot-rank.sh +75 -0
  105. package/scripts/tools/manage-symlinks.sh +85 -0
  106. package/scripts/tools/mermaid-from-graph.sh +92 -0
  107. package/scripts/tools/migrate-track-frontmatter.sh +241 -0
  108. package/scripts/tools/parse-git-log.sh +135 -0
  109. package/scripts/tools/parse-reports.sh +114 -0
  110. package/scripts/tools/render-track.sh +145 -0
  111. package/scripts/tools/run-coverage.sh +153 -0
  112. package/scripts/tools/scan-markers.sh +144 -0
  113. package/scripts/tools/skill-caps.conf +24 -0
  114. package/scripts/tools/validate-frontmatter.sh +125 -0
  115. package/scripts/tools/verify-citations.sh +250 -0
  116. package/scripts/tools/verify-doc-anchors.sh +204 -0
  117. package/scripts/tools/verify-graph-binary.sh +154 -0
  118. package/skills/GRAPH.md +332 -0
  119. package/skills/adr/SKILL.md +374 -0
  120. package/skills/assist-review/SKILL.md +49 -0
  121. package/skills/bughunt/SKILL.md +668 -0
  122. package/skills/bughunt/references/regression-tests.md +399 -0
  123. package/skills/change/SKILL.md +267 -0
  124. package/skills/coverage/SKILL.md +336 -0
  125. package/skills/debug/SKILL.md +201 -0
  126. package/skills/decompose/SKILL.md +656 -0
  127. package/skills/deep-review/SKILL.md +326 -0
  128. package/skills/deploy-checklist/SKILL.md +254 -0
  129. package/skills/discover/SKILL.md +66 -0
  130. package/skills/docs/SKILL.md +42 -0
  131. package/skills/documentation/SKILL.md +197 -0
  132. package/skills/draft/SKILL.md +177 -0
  133. package/skills/draft/context-files.md +57 -0
  134. package/skills/draft/intent-mapping.md +37 -0
  135. package/skills/draft/quality-guide.md +51 -0
  136. package/skills/graph/SKILL.md +107 -0
  137. package/skills/impact/SKILL.md +86 -0
  138. package/skills/implement/SKILL.md +794 -0
  139. package/skills/incident-response/SKILL.md +245 -0
  140. package/skills/index/SKILL.md +848 -0
  141. package/skills/init/SKILL.md +1784 -0
  142. package/skills/init/references/architecture-spec.md +1259 -0
  143. package/skills/integrations/SKILL.md +53 -0
  144. package/skills/jira/SKILL.md +577 -0
  145. package/skills/jira/references/review.md +1322 -0
  146. package/skills/learn/SKILL.md +478 -0
  147. package/skills/new-track/SKILL.md +841 -0
  148. package/skills/ops/SKILL.md +57 -0
  149. package/skills/plan/SKILL.md +60 -0
  150. package/skills/quick-review/SKILL.md +216 -0
  151. package/skills/revert/SKILL.md +178 -0
  152. package/skills/review/SKILL.md +1114 -0
  153. package/skills/standup/SKILL.md +183 -0
  154. package/skills/status/SKILL.md +183 -0
  155. package/skills/tech-debt/SKILL.md +318 -0
  156. package/skills/testing-strategy/SKILL.md +195 -0
  157. package/skills/tour/SKILL.md +38 -0
  158. package/skills/upload/SKILL.md +117 -0
@@ -0,0 +1,403 @@
1
+ ---
2
+ project: "{PROJECT_NAME}"
3
+ module: "{MODULE_NAME or 'root'}"
4
+ generated_by: "draft:new-track"
5
+ generated_at: "{ISO_TIMESTAMP}"
6
+ ---
7
+
8
+ # Intake Questions
9
+
10
+ Structured questions for track creation. **Ask ONE question at a time.** Wait for user response before proceeding. Update drafts progressively.
11
+
12
+ ---
13
+
14
+ ## Flow Instructions
15
+
16
+ **CRITICAL:** This is a conversation, not a form. Follow this pattern for EACH question:
17
+
18
+ 1. **Ask** — One question only. Wait for response.
19
+ 2. **Listen** — Process the user's answer.
20
+ 3. **Contribute** — Add your expertise (patterns, risks, alternatives, citations).
21
+ 4. **Update** — Modify spec-draft.md with what's been established.
22
+ 5. **Bridge** — Summarize briefly, then ask the next question.
23
+
24
+ **DO NOT** dump multiple questions at once. The value is in the dialogue.
25
+
26
+ ---
27
+
28
+ ## Phase 1: Initial Context
29
+
30
+ ### Question 1.1: Existing Documentation
31
+ > Start here. Gather any existing context before diving in.
32
+
33
+ **Ask:**
34
+ > "Do you have existing documentation for this work? (PRD, RFC, design doc, Jira ticket, or any notes)"
35
+
36
+ **If yes:**
37
+ - Request the document or key excerpts
38
+ - Ingest and extract: goals, requirements, constraints, open questions
39
+ - Summarize: "I've extracted [X, Y, Z]. I notice [gap] isn't covered yet."
40
+
41
+ **If no:**
42
+ - Acknowledge: "No problem. Let's build this from scratch together."
43
+ - Proceed to Phase 2
44
+
45
+ **Update spec-draft.md:** Add any extracted context to relevant sections.
46
+
47
+ ---
48
+
49
+ ## Phase 2: Problem Space
50
+
51
+ ### Question 2.1: Problem Definition
52
+ **Ask:**
53
+ > "What problem are we solving?"
54
+
55
+ **After response, contribute:**
56
+ - Pattern recognition: "This sounds similar to [industry pattern]..."
57
+ - Domain concepts: Reference Jobs-to-be-Done, DDD problem space if relevant
58
+ - Clarifying probe: "When you say [X], do you mean [A] or [B]?"
59
+
60
+ **Update spec-draft.md:** Problem Statement section.
61
+
62
+ ---
63
+
64
+ ### Question 2.2: Urgency & Impact
65
+ **Ask:**
66
+ > "Why does this problem matter now? What happens if we don't solve it?"
67
+
68
+ **After response, contribute:**
69
+ - Validate urgency: Is this symptom or root cause?
70
+ - Impact analysis: Who's affected? How severely?
71
+ - Reference: 5 Whys technique if they're describing symptoms
72
+
73
+ **Update spec-draft.md:** Background & Why Now section.
74
+
75
+ ---
76
+
77
+ ### Question 2.3: Users & Workarounds
78
+ **Ask:**
79
+ > "Who experiences this pain? How do they currently cope?"
80
+
81
+ **After response, contribute:**
82
+ - User segmentation: Are there different user types with different needs?
83
+ - Workaround analysis: Current workarounds often reveal requirements
84
+ - Prior art: "Similar products handle this by [X]..."
85
+
86
+ **Update spec-draft.md:** Add user context to Background.
87
+
88
+ ---
89
+
90
+ ### Question 2.4: Scope Boundary
91
+ **Ask:**
92
+ > "What's the scope boundary? Where does this problem end and adjacent problems begin?"
93
+
94
+ **After response, contribute:**
95
+ - Identify adjacent problems that should NOT be solved here
96
+ - Reference: Bounded Context (DDD)
97
+ - Flag scope creep risks: "I'd suggest explicitly excluding [X]..."
98
+
99
+ **Update spec-draft.md:** Non-Goals section.
100
+
101
+ ---
102
+
103
+ ### Checkpoint: Problem Space Complete
104
+
105
+ **Summarize:**
106
+ > "Here's what we've established about the problem:
107
+ > - Problem: [summary]
108
+ > - Why now: [summary]
109
+ > - Users: [summary]
110
+ > - Scope: [in] / [out]
111
+ >
112
+ > Does this capture it accurately, or should we refine anything before moving to solutions?"
113
+
114
+ **Wait for confirmation before proceeding.**
115
+
116
+ ---
117
+
118
+ ## Phase 3: Solution Space
119
+
120
+ ### Question 3.1: Simplest Solution
121
+ **Ask:**
122
+ > "What's the simplest version that solves this problem?"
123
+
124
+ **After response, contribute:**
125
+ - MVP identification: What's truly essential vs nice-to-have?
126
+ - Gold-plating risks: "We could simplify by [X]..."
127
+ - Reference: YAGNI, Walking Skeleton, Tracer Bullet (Pragmatic Programmer)
128
+
129
+ **Update spec-draft.md:** Requirements > Functional section.
130
+
131
+ ---
132
+
133
+ ### Question 3.2: Approach Rationale
134
+ **Ask:**
135
+ > "Why this approach over alternatives?"
136
+
137
+ **After response, contribute:**
138
+ - Present 2-3 alternative approaches with trade-offs
139
+ - Reference: Architecture Decision Records pattern
140
+ - Probe: "Have you considered [alternative]? Trade-off would be [X]..."
141
+
142
+ **Update spec-draft.md:** Technical Approach section.
143
+
144
+ ---
145
+
146
+ ### Question 3.3: Explicit Non-Goals
147
+ **Ask:**
148
+ > "What are we explicitly NOT doing? What should be out of scope?"
149
+
150
+ **After response, contribute:**
151
+ - Suggest common scope creep items to exclude
152
+ - Reference: Anti-goals pattern, MoSCoW prioritization
153
+ - "I'd recommend also excluding [X] to keep scope tight..."
154
+
155
+ **Update spec-draft.md:** Non-Goals section (append to existing).
156
+
157
+ ---
158
+
159
+ ### Question 3.4: Architecture Fit
160
+ **Ask:**
161
+ > "How does this fit with the current architecture?"
162
+
163
+ **After response, contribute:**
164
+ - Cross-reference `draft/.ai-context.md` (or `draft/architecture.md`) for integration points
165
+ - Identify affected modules/components
166
+ - Reference: Clean Architecture boundaries, module coupling
167
+ - Flag: "This will touch [modules]. Consider [integration pattern]..."
168
+
169
+ **Update spec-draft.md:** Context References and Technical Approach.
170
+
171
+ ---
172
+
173
+ ### Question 3.5: Reusable Patterns
174
+ **Ask:**
175
+ > "What existing patterns or components can we leverage?"
176
+
177
+ **After response, contribute:**
178
+ - Search codebase context for reusable patterns
179
+ - Suggest tech-stack.md conventions to follow
180
+ - Reference: DRY, existing abstractions
181
+ - "I see [existing component] could be extended for this..."
182
+
183
+ **Update spec-draft.md:** Technical Approach section.
184
+
185
+ ---
186
+
187
+ ### Checkpoint: Solution Space Complete
188
+
189
+ **Summarize:**
190
+ > "Here's the proposed solution:
191
+ > - Approach: [summary]
192
+ > - Why this approach: [rationale]
193
+ > - Not doing: [non-goals]
194
+ > - Architecture fit: [affected modules]
195
+ > - Reusing: [existing patterns]
196
+ >
197
+ > Ready to discuss risks, or want to refine the approach?"
198
+
199
+ **Wait for confirmation before proceeding.**
200
+
201
+ ---
202
+
203
+ ## Phase 4: Risk & Constraints
204
+
205
+ ### Question 4.1: What Could Go Wrong
206
+ **Ask:**
207
+ > "What could go wrong with this approach?"
208
+
209
+ **After response, contribute:**
210
+ - Surface risks user may not have considered
211
+ - Security: Reference OWASP Top 10 if relevant
212
+ - Performance: Identify potential bottlenecks
213
+ - Edge cases: "What happens when [edge case]?"
214
+ - Reference: Failure mode analysis, distributed systems fallacies
215
+
216
+ **Update spec-draft.md:** Open Questions section.
217
+
218
+ ---
219
+
220
+ ### Question 4.2: Dependencies & Blockers
221
+ **Ask:**
222
+ > "What dependencies or blockers exist? (External APIs, other teams, data, infrastructure)"
223
+
224
+ **After response, contribute:**
225
+ - Identify external dependencies and their reliability
226
+ - Team dependencies: Who else needs to be involved?
227
+ - Data dependencies: What data do we need? Where does it come from?
228
+ - Reference: Critical path analysis
229
+
230
+ **Update spec-draft.md:** Open Questions and Technical Approach.
231
+
232
+ ---
233
+
234
+ ### Question 4.3: Assumptions
235
+ **Ask:**
236
+ > "What assumptions are we making? Why might this fail?"
237
+
238
+ **After response, contribute:**
239
+ - List implicit assumptions explicitly
240
+ - Fact-check against `draft/tech-stack.md` and `draft/.ai-context.md`
241
+ - Reference: Pre-mortem technique
242
+ - "I'm assuming [X]. If that's wrong, [consequence]..."
243
+
244
+ **Update spec-draft.md:** Open Questions section.
245
+
246
+ ---
247
+
248
+ ### Question 4.4: Constraints
249
+ **Ask:**
250
+ > "What constraints must we operate within? (Timeline, tech limitations, compliance, performance requirements)"
251
+
252
+ **After response, contribute:**
253
+ - Identify tech constraints from tech-stack.md
254
+ - Performance requirements: Latency, throughput, scale
255
+ - Compliance: GDPR, SOC2, industry-specific
256
+ - Reference: 12-Factor App constraints, NFR frameworks
257
+
258
+ **Update spec-draft.md:** Requirements > Non-Functional section.
259
+
260
+ ---
261
+
262
+ ### Question 4.5: Security & Compliance
263
+ **Ask:**
264
+ > "Are there security or compliance considerations?"
265
+
266
+ **After response, contribute:**
267
+ - Flag relevant OWASP concerns
268
+ - Data privacy: PII handling, encryption, access control
269
+ - Authentication/authorization patterns
270
+ - Reference: OWASP ASVS, security by design principles
271
+
272
+ **Update spec-draft.md:** Requirements > Non-Functional section.
273
+
274
+ ---
275
+
276
+ ### Checkpoint: Risks Complete
277
+
278
+ **Summarize:**
279
+ > "Key risks and constraints identified:
280
+ > - Risks: [list]
281
+ > - Dependencies: [list]
282
+ > - Assumptions: [list]
283
+ > - Constraints: [list]
284
+ > - Security: [considerations]
285
+ >
286
+ > Anything else that could derail this, or ready to define success criteria?"
287
+
288
+ **Wait for confirmation before proceeding.**
289
+
290
+ ---
291
+
292
+ ## Phase 5: Success Criteria
293
+
294
+ ### Question 5.1: Definition of Done
295
+ **Ask:**
296
+ > "How do we know this is complete? What must be true when we're done?"
297
+
298
+ **After response, contribute:**
299
+ - Suggest measurable acceptance criteria
300
+ - Convert vague criteria to testable outcomes
301
+ - Reference: SMART criteria, Given-When-Then format
302
+ - "I'd phrase that as: 'Given [X], when [Y], then [Z]'..."
303
+
304
+ **Update spec-draft.md:** Acceptance Criteria section.
305
+
306
+ ---
307
+
308
+ ### Question 5.2: Verification Strategy
309
+ **Ask:**
310
+ > "How will we verify it works correctly?"
311
+
312
+ **After response, contribute:**
313
+ - Suggest testing strategies appropriate to feature type
314
+ - Reference: Test pyramid, TDD practices
315
+ - Integration testing: What integration points need testing?
316
+ - "I'd recommend [unit/integration/e2e] tests for [component]..."
317
+
318
+ **Update spec-draft.md:** Acceptance Criteria section.
319
+
320
+ ---
321
+
322
+ ### Question 5.3: Stakeholder Acceptance
323
+ **Ask:**
324
+ > "What would make stakeholders accept this? What does success look like to them?"
325
+
326
+ **After response, contribute:**
327
+ - Align with product.md goals
328
+ - Suggest demo scenarios
329
+ - Reference: Stakeholder analysis, acceptance criteria patterns
330
+ - "For [stakeholder], I'd demonstrate [specific scenario]..."
331
+
332
+ **Update spec-draft.md:** Acceptance Criteria section.
333
+
334
+ ---
335
+
336
+ ### Checkpoint: Success Criteria Complete
337
+
338
+ **Summarize:**
339
+ > "Success criteria defined:
340
+ > - Done when: [criteria list]
341
+ > - Verified by: [testing approach]
342
+ > - Stakeholders accept when: [demo scenarios]
343
+ >
344
+ > Ready to finalize the spec?"
345
+
346
+ **Wait for confirmation before proceeding.**
347
+
348
+ ---
349
+
350
+ ## Phase 6: Finalization
351
+
352
+ ### Spec Review
353
+
354
+ **Present complete spec-draft.md:**
355
+ > "Here's the complete specification:
356
+ > [Display spec-draft.md content]
357
+ >
358
+ > Open questions remaining: [list any]
359
+ >
360
+ > Ready to finalize this spec, or any changes needed?"
361
+
362
+ **If changes needed:**
363
+ - Discuss specific sections
364
+ - Update spec-draft.md
365
+ - Return to this review step
366
+
367
+ **If confirmed:**
368
+ - Promote spec-draft.md → spec.md
369
+ - Announce: "Spec finalized. Now let's create the implementation plan."
370
+
371
+ ---
372
+
373
+ ### Plan Creation
374
+
375
+ **After spec is finalized, propose plan structure:**
376
+ > "Based on the spec, I propose these phases:
377
+ > - Phase 1: [name] — [goal]
378
+ > - Phase 2: [name] — [goal]
379
+ > - Phase 3: [name] — [goal]
380
+ >
381
+ > Each phase will have specific tasks with file references and tests.
382
+ > Does this phasing make sense, or should we adjust?"
383
+
384
+ **After confirmation:**
385
+ - Build out detailed plan-draft.md with tasks
386
+ - Present for review
387
+ - On confirmation: promote plan-draft.md → plan.md
388
+
389
+ ---
390
+
391
+ ## Anti-Patterns
392
+
393
+ **STOP if you're doing any of these:**
394
+
395
+ - Asking multiple questions at once
396
+ - Moving to next question before user responds
397
+ - Accepting answers without contributing expertise
398
+ - Not citing sources when giving advice
399
+ - Skipping checkpoints between phases
400
+ - Not updating drafts after each answer
401
+ - Rushing to finalization without thorough exploration
402
+
403
+ **The goal is collaborative understanding, not speed.**
@@ -0,0 +1,119 @@
1
+ ---
2
+ project: "{PROJECT_NAME}"
3
+ module: "root"
4
+ generated_by: "draft:init"
5
+ generated_at: "{ISO_TIMESTAMP}"
6
+ ---
7
+
8
+ # Jira Configuration & Story Template
9
+
10
+ ## Project Configuration
11
+
12
+ Place this section in `draft/jira.md` in your project to configure Jira integration.
13
+
14
+ ```yaml
15
+ # Jira Project Configuration
16
+ project_key: PROJ # Jira project key (required)
17
+ board_id: 123 # Board ID for sprint assignment (optional)
18
+ epic_link_field: customfield_10014 # Custom field ID for epic link (varies by instance)
19
+ story_points_field: customfield_10028 # Custom field ID for story points (optional)
20
+ default_issue_type: Story # Default issue type for tasks
21
+ default_priority: Medium # Default priority level
22
+ labels: # Labels to apply to all created issues
23
+ - draft
24
+ ```
25
+
26
+ ---
27
+
28
+ # Jira Story Template (Minimal)
29
+
30
+ ## Summary
31
+ [Brief, descriptive title]
32
+
33
+ ## Description
34
+
35
+ ```
36
+ h3. Description:
37
+
38
+ Problem Statement:
39
+ [Describe the current problem or pain point]
40
+
41
+ * [Pain point 1]
42
+ * [Pain point 2]
43
+ * [Pain point 3]
44
+
45
+ Solution:
46
+ [Describe the proposed solution at a high level]
47
+
48
+ Key Features:
49
+ # [Feature Category 1]
50
+
51
+ * [Feature detail 1]
52
+ * [Feature detail 2]
53
+
54
+ # [Feature Category 2]
55
+
56
+ * [Feature detail 1]
57
+ * [Feature detail 2]
58
+
59
+ Benefits:
60
+ * [Benefit 1]: [Quantifiable impact]
61
+ * [Benefit 2]: [Quantifiable impact]
62
+
63
+ Use Cases:
64
+ * [Use case 1]
65
+ * [Use case 2]
66
+ * [Use case 3]
67
+ ```
68
+
69
+ ## Acceptance Criteria
70
+
71
+ ```
72
+ - [ ] [Criterion 1: Specific, testable requirement]
73
+ - [ ] [Criterion 2: Specific, testable requirement]
74
+ - [ ] [Criterion 3: Specific, testable requirement]
75
+ ```
76
+
77
+ ## Required Fields
78
+
79
+ ### Standard Fields
80
+ - **Issue Type:** Story
81
+ - **Priority:** Medium
82
+ - **Components:** [Component name]
83
+ - **Fix Version/s:** [Version or master]
84
+
85
+ ### People
86
+ - **Assignee:** [Your email]
87
+ - **Product Owner:** [PO email]
88
+ - **Tech Lead:** [Tech lead email]
89
+ - **Scrum Master:** [Scrum master email]
90
+
91
+ ### Team
92
+ - **Developers:** [List developer emails]
93
+ - **Reviewers:** [List reviewer emails]
94
+
95
+ ### Story Details
96
+ - **Story Points:** [1/2/3/5/8/13]
97
+ - **Work Type:** Operational Excellence
98
+ - **Sub-Team:** [Sub-team name]
99
+ - **Organization:** R&D
100
+
101
+ ### Development Status
102
+ - **Development Status:** Not-Started
103
+
104
+ ### Security
105
+ - **Requires Security Review:** Yes/No
106
+ - **Security Review Status:** Review Needed
107
+
108
+ ### Quality Gates
109
+ - [ ] Tasks complete
110
+ - [ ] Functional Testing complete
111
+ - [ ] 100% code unit tested or Automated
112
+ - [ ] Acceptance criteria met
113
+ - [ ] i18n impact review
114
+
115
+ ### Other
116
+ - **Risk Assessment:** Toss Up
117
+ - **Priority Level:** Normal
118
+ - **Category:** Uncategorized
119
+ - **Roadmap:** Future