bokata 2.0.1 → 3.0.0-beta.3
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.
- package/{commands/task-parallel/feature-map.md → .agents/skills/bokata-feature-map/SKILL.md} +80 -79
- package/.agents/skills/bokata-feature-map/resources/features-template.md +83 -0
- package/.agents/skills/bokata-feature-slicer/SKILL.md +171 -182
- package/.agents/skills/bokata-feature-slicer/resources/output-template-bites.md +13 -0
- package/.agents/skills/bokata-feature-slicer/resources/output-template-increments.md +9 -12
- package/.agents/skills/bokata-feature-slicer/resources/output-template-steps.md +6 -22
- package/.agents/skills/bokata-feature-slicer/resources/phase-2-increments.md +43 -49
- package/.agents/skills/bokata-feature-slicer/resources/phase-3-baby-steps.md +90 -249
- package/.agents/skills/bokata-feature-slicer/resources/phase-4-bites.md +138 -0
- package/.agents/skills/bokata-plan/SKILL.md +104 -0
- package/.agents/skills/bokata-plan/resources/plan-template.md +33 -0
- package/.agents/skills/bokata-refactor/SKILL.md +69 -0
- package/.agents/skills/bokata-refactor/resources/smells.md +47 -0
- package/.agents/skills/bokata-refactor/resources/tidyings.md +31 -0
- package/.agents/skills/bokata-render/SKILL.md +144 -0
- package/.agents/skills/bokata-render/resources/story-map-template.md +835 -0
- package/.agents/skills/bokata-shape/SKILL.md +117 -0
- package/.agents/skills/bokata-shape/resources/adr-template.md +24 -0
- package/.agents/skills/bokata-shape/resources/breadboarding.md +47 -0
- package/.agents/skills/bokata-shape/resources/pitch-template.md +42 -0
- package/.agents/skills/bokata-slice/SKILL.md +475 -0
- package/.agents/skills/bokata-slice/resources/slice-template.md +117 -0
- package/.agents/skills/bokata-status/SKILL.md +65 -0
- package/.agents/skills/bokata-tdd/SKILL.md +109 -0
- package/.agents/skills/bokata-tdd/resources/evidence-rules.md +27 -0
- package/README.md +210 -92
- package/agents/bokata-product-designer.md +48 -16
- package/agents/bokata-product-engineer.md +48 -15
- package/agents/bokata-product-manager.md +48 -16
- package/agents/code-executor.md +53 -0
- package/agents/design-reviewer.md +40 -0
- package/agents/feature-slicer.md +42 -0
- package/agents/story-map-renderer.md +19 -0
- package/bin/bokata.js +27 -12
- package/package.json +20 -7
- package/src/agents.js +114 -0
- package/src/config.js +75 -0
- package/src/install.js +173 -205
- package/commands/codex/feature-map.md +0 -263
- package/commands/codex/slice-feature.md +0 -291
- package/commands/task-parallel/resources/html-template.md +0 -560
- package/commands/task-parallel/resources/story-map-template.md +0 -495
- package/commands/task-parallel/slice-feature.md +0 -301
|
@@ -1,560 +0,0 @@
|
|
|
1
|
-
# Bokata HTML Template
|
|
2
|
-
|
|
3
|
-
This file defines the shared HTML rendering template and markdown→HTML conversion rules for all bokata command outputs (backbone, functional ACs, slicing, concrete ACs).
|
|
4
|
-
|
|
5
|
-
## Base HTML Shell
|
|
6
|
-
|
|
7
|
-
Use this doctype/head/style block as the base for all rendered outputs, verbatim from `docs/mvp/features-backbone.html` (generalized for dark-mode consistency):
|
|
8
|
-
|
|
9
|
-
```html
|
|
10
|
-
<!DOCTYPE html>
|
|
11
|
-
<html lang="es">
|
|
12
|
-
<head>
|
|
13
|
-
<meta charset="UTF-8">
|
|
14
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
15
|
-
<title>{{TITLE}}</title>
|
|
16
|
-
<style>
|
|
17
|
-
* {
|
|
18
|
-
margin: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
body {
|
|
24
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
25
|
-
line-height: 1.6;
|
|
26
|
-
color: #2d3748;
|
|
27
|
-
background: #f7fafc;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@media (prefers-color-scheme: dark) {
|
|
31
|
-
body {
|
|
32
|
-
background: #1a202c;
|
|
33
|
-
color: #e2e8f0;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
header {
|
|
38
|
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
39
|
-
color: white;
|
|
40
|
-
padding: 3rem 2rem;
|
|
41
|
-
text-align: center;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
header h1 {
|
|
45
|
-
font-size: 2.5rem;
|
|
46
|
-
margin-bottom: 0.5rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
header p {
|
|
50
|
-
font-size: 1.1rem;
|
|
51
|
-
opacity: 0.95;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.container {
|
|
55
|
-
max-width: 1200px;
|
|
56
|
-
margin: 0 auto;
|
|
57
|
-
padding: 2rem;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
section {
|
|
61
|
-
background: white;
|
|
62
|
-
margin: 2rem 0;
|
|
63
|
-
padding: 2rem;
|
|
64
|
-
border-radius: 8px;
|
|
65
|
-
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@media (prefers-color-scheme: dark) {
|
|
69
|
-
section {
|
|
70
|
-
background: #2d3748;
|
|
71
|
-
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
h2 {
|
|
76
|
-
color: #667eea;
|
|
77
|
-
margin-bottom: 1.5rem;
|
|
78
|
-
font-size: 1.8rem;
|
|
79
|
-
border-bottom: 3px solid #667eea;
|
|
80
|
-
padding-bottom: 0.5rem;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@media (prefers-color-scheme: dark) {
|
|
84
|
-
h2 {
|
|
85
|
-
color: #a78bfa;
|
|
86
|
-
border-bottom-color: #a78bfa;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
h3 {
|
|
91
|
-
color: #764ba2;
|
|
92
|
-
margin-top: 2rem;
|
|
93
|
-
margin-bottom: 1rem;
|
|
94
|
-
font-size: 1.4rem;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@media (prefers-color-scheme: dark) {
|
|
98
|
-
h3 {
|
|
99
|
-
color: #d8b4fe;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.feature {
|
|
104
|
-
margin: 2rem 0;
|
|
105
|
-
padding: 1.5rem;
|
|
106
|
-
border-left: 4px solid #667eea;
|
|
107
|
-
background: #f0f4ff;
|
|
108
|
-
border-radius: 4px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@media (prefers-color-scheme: dark) {
|
|
112
|
-
.feature {
|
|
113
|
-
background: rgba(102, 126, 234, 0.1);
|
|
114
|
-
border-left-color: #a78bfa;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.feature-header {
|
|
119
|
-
display: flex;
|
|
120
|
-
justify-content: space-between;
|
|
121
|
-
align-items: start;
|
|
122
|
-
margin-bottom: 1rem;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.feature-title {
|
|
126
|
-
font-size: 1.3rem;
|
|
127
|
-
font-weight: 600;
|
|
128
|
-
color: #2d3748;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
@media (prefers-color-scheme: dark) {
|
|
132
|
-
.feature-title {
|
|
133
|
-
color: #f7fafc;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.feature-id {
|
|
138
|
-
background: #667eea;
|
|
139
|
-
color: white;
|
|
140
|
-
padding: 0.3rem 0.8rem;
|
|
141
|
-
border-radius: 20px;
|
|
142
|
-
font-size: 0.8rem;
|
|
143
|
-
white-space: nowrap;
|
|
144
|
-
margin-left: 1rem;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@media (prefers-color-scheme: dark) {
|
|
148
|
-
.feature-id {
|
|
149
|
-
background: #a78bfa;
|
|
150
|
-
color: #1a202c;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.feature-meta {
|
|
155
|
-
display: grid;
|
|
156
|
-
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
157
|
-
gap: 1rem;
|
|
158
|
-
margin: 1rem 0;
|
|
159
|
-
font-size: 0.95rem;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.meta-item {
|
|
163
|
-
background: white;
|
|
164
|
-
padding: 0.75rem;
|
|
165
|
-
border-radius: 4px;
|
|
166
|
-
border: 1px solid #e2e8f0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@media (prefers-color-scheme: dark) {
|
|
170
|
-
.meta-item {
|
|
171
|
-
background: rgba(0,0,0,0.2);
|
|
172
|
-
border-color: #4a5568;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.meta-label {
|
|
177
|
-
font-weight: 600;
|
|
178
|
-
color: #667eea;
|
|
179
|
-
font-size: 0.85rem;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
@media (prefers-color-scheme: dark) {
|
|
183
|
-
.meta-label {
|
|
184
|
-
color: #a78bfa;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.meta-value {
|
|
189
|
-
margin-top: 0.25rem;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.feature-description {
|
|
193
|
-
margin: 1rem 0;
|
|
194
|
-
line-height: 1.7;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.task-list {
|
|
198
|
-
list-style: none;
|
|
199
|
-
margin: 1rem 0;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.task-item {
|
|
203
|
-
padding: 0.5rem 0;
|
|
204
|
-
padding-left: 1.5rem;
|
|
205
|
-
position: relative;
|
|
206
|
-
margin: 0.5rem 0;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.task-item:before {
|
|
210
|
-
content: "✓";
|
|
211
|
-
position: absolute;
|
|
212
|
-
left: 0;
|
|
213
|
-
color: #48bb78;
|
|
214
|
-
font-weight: bold;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@media (prefers-color-scheme: dark) {
|
|
218
|
-
.task-item {
|
|
219
|
-
color: #cbd5e0;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.system-tasks {
|
|
224
|
-
background: rgba(0,0,0,0.03);
|
|
225
|
-
padding: 1rem;
|
|
226
|
-
border-radius: 4px;
|
|
227
|
-
margin-top: 1rem;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
@media (prefers-color-scheme: dark) {
|
|
231
|
-
.system-tasks {
|
|
232
|
-
background: rgba(0,0,0,0.2);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.system-task {
|
|
237
|
-
margin: 0.5rem 0;
|
|
238
|
-
padding-left: 1rem;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.system-task strong {
|
|
242
|
-
color: #764ba2;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
@media (prefers-color-scheme: dark) {
|
|
246
|
-
.system-task strong {
|
|
247
|
-
color: #d8b4fe;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.requirement {
|
|
252
|
-
margin: 1.5rem 0;
|
|
253
|
-
padding: 1rem;
|
|
254
|
-
background: rgba(102, 126, 234, 0.05);
|
|
255
|
-
border-left: 3px solid #667eea;
|
|
256
|
-
border-radius: 4px;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
@media (prefers-color-scheme: dark) {
|
|
260
|
-
.requirement {
|
|
261
|
-
background: rgba(102, 126, 234, 0.1);
|
|
262
|
-
border-left-color: #a78bfa;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.requirement-header {
|
|
267
|
-
font-weight: 600;
|
|
268
|
-
color: #667eea;
|
|
269
|
-
margin-bottom: 0.5rem;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
@media (prefers-color-scheme: dark) {
|
|
273
|
-
.requirement-header {
|
|
274
|
-
color: #a78bfa;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.scenario {
|
|
279
|
-
margin: 1rem 0 0 0;
|
|
280
|
-
padding: 0.75rem;
|
|
281
|
-
background: white;
|
|
282
|
-
border: 1px solid #e2e8f0;
|
|
283
|
-
border-radius: 4px;
|
|
284
|
-
font-size: 0.95rem;
|
|
285
|
-
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
286
|
-
overflow-x: auto;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
@media (prefers-color-scheme: dark) {
|
|
290
|
-
.scenario {
|
|
291
|
-
background: rgba(0,0,0,0.2);
|
|
292
|
-
border-color: #4a5568;
|
|
293
|
-
color: #e2e8f0;
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.gherkin-keyword {
|
|
298
|
-
font-weight: 600;
|
|
299
|
-
color: #667eea;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
@media (prefers-color-scheme: dark) {
|
|
303
|
-
.gherkin-keyword {
|
|
304
|
-
color: #a78bfa;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.skeleton-item {
|
|
309
|
-
margin: 1.5rem 0;
|
|
310
|
-
padding: 1rem;
|
|
311
|
-
border-left: 4px solid #48bb78;
|
|
312
|
-
background: rgba(72, 187, 120, 0.05);
|
|
313
|
-
border-radius: 4px;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
@media (prefers-color-scheme: dark) {
|
|
317
|
-
.skeleton-item {
|
|
318
|
-
background: rgba(72, 187, 120, 0.1);
|
|
319
|
-
border-left-color: #81e6d9;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.skeleton-item-title {
|
|
324
|
-
font-weight: 600;
|
|
325
|
-
color: #22543d;
|
|
326
|
-
margin-bottom: 0.5rem;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
@media (prefers-color-scheme: dark) {
|
|
330
|
-
.skeleton-item-title {
|
|
331
|
-
color: #81e6d9;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.increment-item {
|
|
336
|
-
margin: 1rem 0;
|
|
337
|
-
padding: 1rem;
|
|
338
|
-
border-left: 4px solid #ed8936;
|
|
339
|
-
background: rgba(237, 137, 54, 0.05);
|
|
340
|
-
border-radius: 4px;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
@media (prefers-color-scheme: dark) {
|
|
344
|
-
.increment-item {
|
|
345
|
-
background: rgba(237, 137, 54, 0.1);
|
|
346
|
-
border-left-color: #fbd38d;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.increment-item-title {
|
|
351
|
-
font-weight: 600;
|
|
352
|
-
color: #7c2d12;
|
|
353
|
-
margin-bottom: 0.5rem;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
@media (prefers-color-scheme: dark) {
|
|
357
|
-
.increment-item-title {
|
|
358
|
-
color: #fbd38d;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.discovery-context {
|
|
363
|
-
margin: 2rem 0;
|
|
364
|
-
padding: 1rem;
|
|
365
|
-
background: #fffacd;
|
|
366
|
-
border: 2px solid #daa520;
|
|
367
|
-
border-radius: 4px;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
@media (prefers-color-scheme: dark) {
|
|
371
|
-
.discovery-context {
|
|
372
|
-
background: rgba(218, 165, 32, 0.15);
|
|
373
|
-
border-color: #daa520;
|
|
374
|
-
color: #e2e8f0;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.trio-reconciliation {
|
|
379
|
-
margin: 2rem 0;
|
|
380
|
-
padding: 1rem;
|
|
381
|
-
background: #e6f2ff;
|
|
382
|
-
border: 2px solid #667eea;
|
|
383
|
-
border-radius: 4px;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
@media (prefers-color-scheme: dark) {
|
|
387
|
-
.trio-reconciliation {
|
|
388
|
-
background: rgba(102, 126, 234, 0.15);
|
|
389
|
-
border-color: #a78bfa;
|
|
390
|
-
color: #e2e8f0;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
table {
|
|
395
|
-
width: 100%;
|
|
396
|
-
border-collapse: collapse;
|
|
397
|
-
margin: 1.5rem 0;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
th {
|
|
401
|
-
background: #667eea;
|
|
402
|
-
color: white;
|
|
403
|
-
padding: 1rem;
|
|
404
|
-
text-align: left;
|
|
405
|
-
font-weight: 600;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
@media (prefers-color-scheme: dark) {
|
|
409
|
-
th {
|
|
410
|
-
background: #4c51bf;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
td {
|
|
415
|
-
padding: 0.75rem 1rem;
|
|
416
|
-
border-bottom: 1px solid #e2e8f0;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
@media (prefers-color-scheme: dark) {
|
|
420
|
-
td {
|
|
421
|
-
border-bottom-color: #4a5568;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
tr:nth-child(even) {
|
|
426
|
-
background: #f7fafc;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
@media (prefers-color-scheme: dark) {
|
|
430
|
-
tr:nth-child(even) {
|
|
431
|
-
background: rgba(0,0,0,0.1);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.critical {
|
|
436
|
-
color: #e53e3e;
|
|
437
|
-
font-weight: 600;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.recommended {
|
|
441
|
-
color: #ed8936;
|
|
442
|
-
font-weight: 500;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.checklist {
|
|
446
|
-
list-style: none;
|
|
447
|
-
margin: 1rem 0;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.checklist li {
|
|
451
|
-
padding: 0.5rem 0;
|
|
452
|
-
padding-left: 2rem;
|
|
453
|
-
position: relative;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.checklist li:before {
|
|
457
|
-
content: "☑";
|
|
458
|
-
position: absolute;
|
|
459
|
-
left: 0;
|
|
460
|
-
color: #48bb78;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
footer {
|
|
464
|
-
text-align: center;
|
|
465
|
-
padding: 2rem;
|
|
466
|
-
color: #718096;
|
|
467
|
-
font-size: 0.9rem;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
@media (prefers-color-scheme: dark) {
|
|
471
|
-
footer {
|
|
472
|
-
color: #a0aec0;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
</style>
|
|
476
|
-
</head>
|
|
477
|
-
<body>
|
|
478
|
-
|
|
479
|
-
<header>
|
|
480
|
-
<h1>{{TITLE}}</h1>
|
|
481
|
-
<p>{{SUBTITLE}}</p>
|
|
482
|
-
</header>
|
|
483
|
-
|
|
484
|
-
<div class="container">
|
|
485
|
-
{{BODY}}
|
|
486
|
-
</div>
|
|
487
|
-
|
|
488
|
-
<footer>
|
|
489
|
-
{{FOOTER_META}}
|
|
490
|
-
</footer>
|
|
491
|
-
|
|
492
|
-
</body>
|
|
493
|
-
</html>
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
## Markdown→HTML Conversion Rules
|
|
497
|
-
|
|
498
|
-
When a command processes `.md` content and renders it to `.html`, follow these mappings:
|
|
499
|
-
|
|
500
|
-
| Markdown | HTML Class | Notes |
|
|
501
|
-
|----------|-----------|-------|
|
|
502
|
-
| `## Features Backbone` | `<section><h2>Features Backbone</h2>...</section>` | Wraps entire backbone in a section |
|
|
503
|
-
| `#### Feature: ...` + `<!-- ID: ... -->` | `.feature` div with `.feature-header` + `.feature-title` + `.feature-id` | Replicate the card design from features-backbone.html |
|
|
504
|
-
| `##### User Task: ...` | `.task-list > li.task-item` | Rendered as a bulleted list with checkmark, indented under parent Feature |
|
|
505
|
-
| `##### System Task: ...` | `.system-tasks` block | Rendered as muted box under the User Tasks |
|
|
506
|
-
| `### Requirement: ...` | `.requirement` div with `.requirement-header` | For functional AC documents |
|
|
507
|
-
| `#### Scenario: ...` | `.scenario` block inside `.requirement` | Render WHEN/THEN on separate lines, use `.gherkin-keyword` for WHEN/THEN/GIVEN/AND/BUT |
|
|
508
|
-
| Gherkin fences (concrete AC) | `.scenario` monospace pre block | For Given/When/Then blocks in concrete ACs |
|
|
509
|
-
| `## Walking Skeleton` header | `<section><h2>Walking Skeleton</h2>...</section>` | New section for slicing document |
|
|
510
|
-
| `- [ ] **[task name]**` (skeleton item) | `.skeleton-item` div with `.skeleton-item-title` | Green-bordered box |
|
|
511
|
-
| `## Increments Backlog` header | `<section><h2>Increments Backlog</h2>...</section>` | Subsection for increments |
|
|
512
|
-
| `**[Increment ID]**: ...` (increment) | `.increment-item` div with `.increment-item-title` | Orange-bordered box |
|
|
513
|
-
| `## Discovery Context` | `.discovery-context` | Yellow-bordered callout box |
|
|
514
|
-
| `## Trio Reconciliation Notes` | `.trio-reconciliation` | Blue-bordered callout box |
|
|
515
|
-
| `- [ ] ...` (generic checklist) | `.checklist li` | Standard checklist styling |
|
|
516
|
-
| Tables | `table/th/td` | Reuse existing table style from template |
|
|
517
|
-
|
|
518
|
-
## Template Placeholders
|
|
519
|
-
|
|
520
|
-
- `{{TITLE}}`: Page title (e.g., "Real Tourism MVP — Backbone", "Tourist Discovers Nearby Places — Slicing")
|
|
521
|
-
- `{{SUBTITLE}}`: Tagline/description (e.g., "Features Mapping + Trio-Reviewed", "Walking Skeleton + Increments Backlog")
|
|
522
|
-
- `{{BODY}}`: The complete rendered HTML content from the markdown artifacts, wrapped in sections
|
|
523
|
-
- `{{FOOTER_META}}`: Generated footer line with date, command, and input source (e.g., "Real Tourism MVP Features Backbone | Generated 2026-07-16 | Command: /bokata:feature-map | Source: Real Tourism MVP Initiative")
|
|
524
|
-
|
|
525
|
-
## Example Conversion
|
|
526
|
-
|
|
527
|
-
Input markdown:
|
|
528
|
-
```markdown
|
|
529
|
-
## Features Backbone
|
|
530
|
-
|
|
531
|
-
#### Feature: 🗺️ Tourist Discovers Nearby Places
|
|
532
|
-
<!-- ID: RTMVP-FEAT-001 -->
|
|
533
|
-
|
|
534
|
-
**Actor**: Tourist
|
|
535
|
-
**Capability**: Geolocation Discovery
|
|
536
|
-
|
|
537
|
-
##### User Task: Enable geolocation permissions on first launch
|
|
538
|
-
|
|
539
|
-
##### System Task 1.1: Request location permission
|
|
540
|
-
**Trigger:** App launches.
|
|
541
|
-
```
|
|
542
|
-
|
|
543
|
-
Output HTML (simplified):
|
|
544
|
-
```html
|
|
545
|
-
<section>
|
|
546
|
-
<h2>Features Backbone</h2>
|
|
547
|
-
<div class="feature">
|
|
548
|
-
<div class="feature-header">
|
|
549
|
-
<div class="feature-title">🗺️ Tourist Discovers Nearby Places</div>
|
|
550
|
-
<div class="feature-id">RTMVP-FEAT-001</div>
|
|
551
|
-
</div>
|
|
552
|
-
<ul class="task-list">
|
|
553
|
-
<li class="task-item">Enable geolocation permissions on first launch</li>
|
|
554
|
-
</ul>
|
|
555
|
-
<div class="system-tasks">
|
|
556
|
-
<div class="system-task"><strong>Request location permission</strong>: Triggered when app launches.</div>
|
|
557
|
-
</div>
|
|
558
|
-
</div>
|
|
559
|
-
</section>
|
|
560
|
-
```
|