@programinglive/dev-workflow-mcp-server 1.4.6 → 1.5.1

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 (38) hide show
  1. package/CHANGELOG.md +114 -0
  2. package/docs/NETLIFY_DEPLOYMENT.md +125 -0
  3. package/docs/product/PRD.md +4 -2
  4. package/docs/release-notes/RELEASE_NOTES.md +32 -0
  5. package/docs/web-dashboard.md +12 -0
  6. package/package.json +1 -1
  7. package/server.json +13 -3
  8. package/tests/build.test.js +30 -0
  9. package/tests/mcpRegistry.test.js +13 -3
  10. package/web/app/api/history/route.ts +10 -17
  11. package/web/app/api/summary/route.ts +11 -13
  12. package/web/app/api/version/route.ts +4 -11
  13. package/web/netlify.toml +6 -0
  14. package/web/next.config.ts +1 -2
  15. package/web/package-lock.json +17 -428
  16. package/web/package.json +0 -1
  17. package/web-legacy/public/assets/android-chrome-192x192.png +0 -0
  18. package/web-legacy/public/assets/android-chrome-512x512.png +0 -0
  19. package/web-legacy/public/assets/apple-touch-icon.png +0 -0
  20. package/web-legacy/public/assets/favicon-16x16.png +0 -0
  21. package/web-legacy/public/assets/favicon-32x32.png +0 -0
  22. package/web-legacy/public/assets/favicon.ico +0 -0
  23. package/web-legacy/public/assets/favicon.png +0 -0
  24. package/web-legacy/public/assets/logo.png +0 -0
  25. package/web-legacy/public/assets/og-preview.png +0 -0
  26. package/web-legacy/public/assets/site.webmanifest +0 -1
  27. package/web-legacy/public/docs/EXAMPLES.html +0 -496
  28. package/web-legacy/public/docs/GETTING-STARTED.html +0 -318
  29. package/web-legacy/public/docs/README.html +0 -620
  30. package/web-legacy/public/docs/RELEASE_NOTES.html +0 -275
  31. package/web-legacy/public/docs/TROUBLESHOOTING.html +0 -627
  32. package/web-legacy/public/docs/WORKFLOW-TEMPLATES.html +0 -676
  33. package/web-legacy/public/docs/web-dashboard.html +0 -243
  34. package/web-legacy/public/index.html +0 -223
  35. package/web-legacy/public/input.css +0 -80
  36. package/web-legacy/public/main.js +0 -167
  37. package/web-legacy/public/output.css +0 -1559
  38. package/web-legacy/server.js +0 -207
@@ -1,676 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Workflow Templates for Dev-Workflow MCP Server - Dev Workflow</title>
7
- <link rel="icon" type="image/png" href="/assets/favicon.png">
8
- <meta property="og:type" content="website">
9
- <meta property="og:url" content="https://commiter.programinglive.com/docs/WORKFLOW-TEMPLATES.md">
10
- <meta property="og:title" content="Workflow Templates for Dev-Workflow MCP Server - Dev Workflow">
11
- <meta property="og:description" content="Detailed documentation for Dev Workflow MCP Server commands and usage.">
12
- <meta property="og:image" content="/assets/og-preview.png">
13
- <meta property="twitter:card" content="summary_large_image">
14
- <meta property="twitter:url" content="https://commiter.programinglive.com/docs/WORKFLOW-TEMPLATES.md">
15
- <meta property="twitter:title" content="Workflow Templates for Dev-Workflow MCP Server - Dev Workflow">
16
- <meta property="twitter:description" content="Detailed documentation for Dev Workflow MCP Server commands and usage.">
17
- <meta property="twitter:image" content="/assets/og-preview.png">
18
- <link rel="stylesheet" href="/output.css">
19
- <script src="https://unpkg.com/lucide@latest"></script>
20
- </head>
21
- <body class="bg-[#0a0a0f] text-white font-sans antialiased selection:bg-primary/30 selection:text-white min-h-screen flex flex-col">
22
- <header class="fixed top-0 left-0 right-0 z-50 border-b border-white/10 bg-[#0a0a0f]/80 backdrop-blur-md">
23
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between">
24
- <div class="flex items-center gap-3">
25
- <a href="/" class="flex items-center gap-3 hover:opacity-80 transition-opacity">
26
- <div class="w-10 h-10 rounded-lg overflow-hidden border border-white/10 shadow-lg shadow-primary/20">
27
- <img src="/assets/logo.png" alt="Dev Workflow Logo" class="w-full h-full object-cover">
28
- </div>
29
- <div>
30
- <h1 class="font-bold text-lg tracking-tight text-white">Dev Workflow</h1>
31
- <div class="flex items-center gap-2 text-xs text-gray-400">
32
- <span class="w-2 h-2 rounded-full bg-emerald-500 shadow-[0_0_8px_rgba(16,185,129,0.5)]"></span>
33
- <span>Documentation</span>
34
- </div>
35
- </div>
36
- </a>
37
- </div>
38
- <div class="flex items-center gap-4">
39
- <a href="/" class="flex items-center gap-2 px-4 py-2 bg-white/5 hover:bg-white/10 border border-white/10 rounded-full text-sm font-medium transition-all group">
40
- <i data-lucide="layout-dashboard" class="w-4 h-4 text-gray-400 group-hover:text-white transition-colors"></i>
41
- <span>Dashboard</span>
42
- </a>
43
- </div>
44
- </div>
45
- </header>
46
-
47
- <div class="flex-1 max-w-7xl mx-auto w-full px-4 sm:px-6 lg:px-8 pt-24 pb-12 flex gap-8">
48
- <aside class="hidden lg:block w-64 flex-shrink-0 fixed h-[calc(100vh-6rem)] overflow-y-auto pr-4 custom-scrollbar">
49
- <nav class="space-y-1">
50
- <a href="/" class="flex items-center gap-3 px-4 py-3 text-sm font-medium rounded-lg text-gray-400 hover:text-white hover:bg-white/5 transition-colors">
51
- <i data-lucide="arrow-left" class="w-4 h-4"></i>
52
- Back to Dashboard
53
- </a>
54
- </nav>
55
- <div class="mt-8 pt-8 border-t border-white/10">
56
- <h3 class="px-4 text-xs font-semibold text-gray-500 uppercase tracking-wider mb-2">Documentation</h3>
57
- <div class="space-y-1">
58
- <a href="/docs/README.html" class="doc-link block px-4 py-2 text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 rounded-lg transition-colors ">README</a>
59
- <a href="/docs/web-dashboard.html" class="doc-link block px-4 py-2 text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 rounded-lg transition-colors ">web dashboard</a>
60
- <a href="/docs/GETTING-STARTED.html" class="doc-link block px-4 py-2 text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 rounded-lg transition-colors ">GETTING STARTED</a>
61
- <a href="/docs/EXAMPLES.html" class="doc-link block px-4 py-2 text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 rounded-lg transition-colors ">EXAMPLES</a>
62
- <a href="/docs/WORKFLOW-TEMPLATES.html" class="doc-link block px-4 py-2 text-sm font-medium hover:text-white hover:bg-white/5 rounded-lg transition-colors bg-white/5 text-white ring-1 ring-white/5">WORKFLOW TEMPLATES</a>
63
- <a href="/docs/TROUBLESHOOTING.html" class="doc-link block px-4 py-2 text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 rounded-lg transition-colors ">TROUBLESHOOTING</a>
64
- <a href="/docs/RELEASE_NOTES.html" class="doc-link block px-4 py-2 text-sm font-medium text-gray-400 hover:text-white hover:bg-white/5 rounded-lg transition-colors ">RELEASE_NOTES</a>
65
- </div>
66
- </div>
67
- </aside>
68
-
69
- <main class="flex-1 lg:pl-72 min-w-0">
70
- <div class="bg-surface border border-white/10 rounded-xl p-8 backdrop-blur-sm">
71
- <header class="mb-8 border-b border-white/10 pb-6">
72
- <h1 class="text-3xl font-bold text-white mb-2">Workflow Templates for Dev-Workflow MCP Server</h1>
73
- <p class="text-gray-400 font-mono text-sm">WORKFLOW-TEMPLATES.md</p>
74
- </header>
75
- <article class="prose prose-invert prose-lg max-w-none">
76
- <p>Ready-to-use workflow templates for common development scenarios in Antigravity.</p>
77
- <h2>Table of Contents</h2>
78
- <ul>
79
- <li><a href="#feature-development-template">Feature Development Template</a></li>
80
- <li><a href="#bug-fix-template">Bug Fix Template</a></li>
81
- <li><a href="#refactoring-template">Refactoring Template</a></li>
82
- <li><a href="#hotfix-template">Hotfix Template</a></li>
83
- <li><a href="#documentation-update-template">Documentation Update Template</a></li>
84
- <li><a href="#release-preparation-template">Release Preparation Template</a></li>
85
- </ul>
86
- <hr>
87
- <h2>Feature Development Template</h2>
88
- <p>Use this template when adding new functionality to your application.</p>
89
- <h3>Checklist</h3>
90
- <pre><code class="language-markdown">## Feature: [Feature Name]
91
-
92
- ### Planning
93
- - [ ] Define feature requirements
94
- - [ ] Design API/component interface
95
- - [ ] Identify affected files
96
- - [ ] Plan test cases
97
-
98
- ### Implementation
99
- - [ ] Start workflow task
100
- - [ ] Implement feature code
101
- - [ ] Mark as fixed
102
-
103
- ### Testing
104
- - [ ] Write unit tests
105
- - [ ] Write integration tests
106
- - [ ] Create tests in workflow
107
- - [ ] Run test suite
108
- - [ ] Record passing tests
109
-
110
- ### Documentation
111
- - [ ] Update README
112
- - [ ] Add inline comments
113
- - [ ] Update API documentation
114
- - [ ] Create documentation in workflow
115
-
116
- ### Release
117
- - [ ] Commit and push changes
118
- - [ ] Perform release (minor version)
119
- - [ ] Complete task
120
- </code></pre>
121
- <h3>Workflow Commands</h3>
122
- <pre><code># 1. Start
123
- start_task:
124
- description: &quot;Add [feature name] to [component/module]&quot;
125
- type: &quot;feature&quot;
126
-
127
- # 2. Code the feature
128
- # ... your implementation ...
129
-
130
- # 3. Mark as fixed
131
- mark_bug_fixed:
132
- summary: &quot;[Brief description of what was implemented]&quot;
133
-
134
- # 4. Create tests
135
- # ... write your test files ...
136
- create_tests
137
-
138
- # 5. Run tests
139
- run_tests:
140
- passed: true
141
- testCommand: &quot;npm test&quot;
142
- details: &quot;[X tests passed, coverage Y%]&quot;
143
-
144
- # 6. Document
145
- # ... update documentation ...
146
- create_documentation:
147
- documentationType: &quot;README&quot;
148
- summary: &quot;[What you documented]&quot;
149
-
150
- # 7. Commit
151
- commit_and_push:
152
- commitMessage: &quot;feat([scope]): [description]&quot;
153
-
154
- # 8. Release
155
- perform_release:
156
- command: &quot;npm run release:minor&quot;
157
- notes: &quot;v[X.Y.Z] - [Feature name]&quot;
158
-
159
- # 9. Complete
160
- complete_task:
161
- commitMessage: &quot;feat([scope]): [description]&quot;
162
- </code></pre>
163
- <h3>Example</h3>
164
- <p><strong>Feature:</strong> Add shopping cart functionality</p>
165
- <pre><code>start_task:
166
- description: &quot;Add shopping cart with add/remove items and checkout&quot;
167
- type: &quot;feature&quot;
168
-
169
- mark_bug_fixed:
170
- summary: &quot;Shopping cart with localStorage persistence and quantity controls&quot;
171
-
172
- create_tests
173
-
174
- run_tests:
175
- passed: true
176
- testCommand: &quot;npm test -- cart&quot;
177
- details: &quot;12 cart tests passed: add, remove, update quantity, persist&quot;
178
-
179
- create_documentation:
180
- documentationType: &quot;README&quot;
181
- summary: &quot;Added shopping cart API reference and integration guide&quot;
182
-
183
- commit_and_push:
184
- commitMessage: &quot;feat(cart): add shopping cart with persistence&quot;
185
-
186
- perform_release:
187
- command: &quot;npm run release:minor&quot;
188
- notes: &quot;v1.5.0 - Shopping cart feature&quot;
189
-
190
- complete_task:
191
- commitMessage: &quot;feat(cart): add shopping cart with persistence&quot;
192
- </code></pre>
193
- <hr>
194
- <h2>Bug Fix Template</h2>
195
- <p>Use this template when fixing defects or unexpected behavior.</p>
196
- <h3>Checklist</h3>
197
- <pre><code class="language-markdown">## Bug Fix: [Bug Description]
198
-
199
- ### Investigation
200
- - [ ] Reproduce the bug
201
- - [ ] Identify root cause
202
- - [ ] Document expected vs actual behavior
203
-
204
- ### Implementation
205
- - [ ] Start workflow task
206
- - [ ] Fix the bug
207
- - [ ] Verify fix locally
208
- - [ ] Mark as fixed
209
-
210
- ### Testing
211
- - [ ] Write regression test
212
- - [ ] Update existing tests if needed
213
- - [ ] Create tests in workflow
214
- - [ ] Run full test suite
215
- - [ ] Record passing tests
216
-
217
- ### Documentation
218
- - [ ] Update CHANGELOG
219
- - [ ] Add code comments explaining the fix
220
- - [ ] Create documentation in workflow
221
-
222
- ### Release
223
- - [ ] Commit and push changes
224
- - [ ] Perform release (patch version)
225
- - [ ] Complete task
226
- </code></pre>
227
- <h3>Workflow Commands</h3>
228
- <pre><code># 1. Start
229
- start_task:
230
- description: &quot;Fix [bug description]&quot;
231
- type: &quot;bugfix&quot;
232
-
233
- # 2. Fix the bug
234
- # ... your fix ...
235
-
236
- # 3. Mark as fixed
237
- mark_bug_fixed:
238
- summary: &quot;[Brief description of the fix]&quot;
239
-
240
- # 4. Create regression tests
241
- # ... write test to prevent recurrence ...
242
- create_tests
243
-
244
- # 5. Run tests
245
- run_tests:
246
- passed: true
247
- testCommand: &quot;npm test&quot;
248
- details: &quot;[Include regression test results]&quot;
249
-
250
- # 6. Document
251
- # ... update CHANGELOG ...
252
- create_documentation:
253
- documentationType: &quot;changelog&quot;
254
- summary: &quot;[What you documented]&quot;
255
-
256
- # 7. Commit
257
- commit_and_push:
258
- commitMessage: &quot;fix([scope]): [description]&quot;
259
-
260
- # 8. Release
261
- perform_release:
262
- command: &quot;npm run release:patch&quot;
263
- notes: &quot;v[X.Y.Z] - Bugfix for [issue]&quot;
264
-
265
- # 9. Complete
266
- complete_task:
267
- commitMessage: &quot;fix([scope]): [description]&quot;
268
- </code></pre>
269
- <h3>Example</h3>
270
- <p><strong>Bug:</strong> Date picker shows wrong month on mobile</p>
271
- <pre><code>start_task:
272
- description: &quot;Fix date picker showing incorrect month on iOS Safari&quot;
273
- type: &quot;bugfix&quot;
274
-
275
- mark_bug_fixed:
276
- summary: &quot;Fixed timezone offset calculation in date picker for iOS Safari&quot;
277
-
278
- create_tests
279
-
280
- run_tests:
281
- passed: true
282
- testCommand: &quot;npm test -- datepicker&quot;
283
- details: &quot;Added timezone regression test, all 8 tests pass&quot;
284
-
285
- create_documentation:
286
- documentationType: &quot;changelog&quot;
287
- summary: &quot;Added bug fix entry for date picker iOS issue&quot;
288
-
289
- commit_and_push:
290
- commitMessage: &quot;fix(ui): correct date picker timezone handling on iOS&quot;
291
-
292
- perform_release:
293
- command: &quot;npm run release:patch&quot;
294
- notes: &quot;v1.4.1 - iOS date picker fix&quot;
295
-
296
- complete_task:
297
- commitMessage: &quot;fix(ui): correct date picker timezone handling on iOS&quot;
298
- </code></pre>
299
- <hr>
300
- <h2>Refactoring Template</h2>
301
- <p>Use this template when improving code structure without changing behavior.</p>
302
- <h3>Checklist</h3>
303
- <pre><code class="language-markdown">## Refactoring: [What You&#39;re Refactoring]
304
-
305
- ### Planning
306
- - [ ] Identify code smell or improvement opportunity
307
- - [ ] Define refactoring goal
308
- - [ ] Ensure test coverage exists
309
- - [ ] Plan incremental changes
310
-
311
- ### Implementation
312
- - [ ] Start workflow task
313
- - [ ] Refactor code
314
- - [ ] Verify behavior unchanged
315
- - [ ] Mark as fixed
316
-
317
- ### Testing
318
- - [ ] Update tests for new structure
319
- - [ ] Ensure all existing tests still pass
320
- - [ ] Create tests in workflow
321
- - [ ] Run full test suite
322
- - [ ] Record passing tests
323
-
324
- ### Documentation
325
- - [ ] Update inline documentation
326
- - [ ] Update architecture docs if needed
327
- - [ ] Create documentation in workflow
328
-
329
- ### Release
330
- - [ ] Commit and push changes
331
- - [ ] Perform release (minor/patch)
332
- - [ ] Complete task
333
- </code></pre>
334
- <h3>Workflow Commands</h3>
335
- <pre><code># 1. Start
336
- start_task:
337
- description: &quot;Refactor [component/module] to [improvement goal]&quot;
338
- type: &quot;refactor&quot;
339
-
340
- # 2. Refactor
341
- # ... your refactoring ...
342
-
343
- # 3. Mark as fixed
344
- mark_bug_fixed:
345
- summary: &quot;[Brief description of refactoring]&quot;
346
-
347
- # 4. Update tests
348
- # ... update test structure ...
349
- create_tests
350
-
351
- # 5. Run tests
352
- run_tests:
353
- passed: true
354
- testCommand: &quot;npm test -- --coverage&quot;
355
- details: &quot;[All tests pass, coverage maintained/improved]&quot;
356
-
357
- # 6. Document
358
- create_documentation:
359
- documentationType: &quot;inline-comments&quot;
360
- summary: &quot;[Updated documentation]&quot;
361
-
362
- # 7. Commit
363
- commit_and_push:
364
- commitMessage: &quot;refactor([scope]): [description]&quot;
365
-
366
- # 8. Release
367
- perform_release:
368
- command: &quot;npm run release:minor&quot;
369
- notes: &quot;v[X.Y.Z] - Internal improvements&quot;
370
-
371
- # 9. Complete
372
- complete_task:
373
- commitMessage: &quot;refactor([scope]): [description]&quot;
374
- </code></pre>
375
- <h3>Example</h3>
376
- <p><strong>Refactoring:</strong> Extract authentication logic to custom hooks</p>
377
- <pre><code>start_task:
378
- description: &quot;Refactor authentication logic into reusable custom hooks&quot;
379
- type: &quot;refactor&quot;
380
-
381
- mark_bug_fixed:
382
- summary: &quot;Extracted useAuth and usePermissions hooks from component logic&quot;
383
-
384
- create_tests
385
-
386
- run_tests:
387
- passed: true
388
- testCommand: &quot;npm test -- --coverage&quot;
389
- details: &quot;All 145 tests pass, coverage improved from 89% to 92%&quot;
390
-
391
- create_documentation:
392
- documentationType: &quot;inline-comments&quot;
393
- summary: &quot;Added JSDoc for custom hooks and usage examples&quot;
394
-
395
- commit_and_push:
396
- commitMessage: &quot;refactor(auth): extract authentication logic to custom hooks&quot;
397
-
398
- perform_release:
399
- command: &quot;npm run release:minor&quot;
400
- notes: &quot;v1.6.0 - Authentication refactoring (improved maintainability)&quot;
401
-
402
- complete_task:
403
- commitMessage: &quot;refactor(auth): extract authentication logic to custom hooks&quot;
404
- </code></pre>
405
- <hr>
406
- <h2>Hotfix Template</h2>
407
- <p>Use this for urgent production fixes that need immediate deployment.</p>
408
- <h3>Checklist</h3>
409
- <pre><code class="language-markdown">## Hotfix: [Critical Issue]
410
-
411
- ### Urgent Actions
412
- - [ ] Identify production issue
413
- - [ ] Create hotfix branch if using git-flow
414
- - [ ] Start workflow task
415
-
416
- ### Fix
417
- - [ ] Implement minimal fix
418
- - [ ] Test fix locally
419
- - [ ] Mark as fixed
420
-
421
- ### Testing
422
- - [ ] Create focused regression test
423
- - [ ] Run relevant test suite
424
- - [ ] Manual verification in staging
425
- - [ ] Record passing tests
426
-
427
- ### Documentation
428
- - [ ] Update CHANGELOG with hotfix note
429
- - [ ] Document in workflow
430
-
431
- ### Release
432
- - [ ] Commit and push
433
- - [ ] Perform PATCH release
434
- - [ ] Deploy to production immediately
435
- - [ ] Complete task
436
- - [ ] Notify team
437
- </code></pre>
438
- <h3>Workflow Commands</h3>
439
- <pre><code># 1. Start immediately
440
- start_task:
441
- description: &quot;HOTFIX: [critical issue description]&quot;
442
- type: &quot;bugfix&quot;
443
-
444
- # 2. Minimal fix
445
- # ... implement fix ...
446
-
447
- # 3. Mark as fixed
448
- mark_bug_fixed:
449
- summary: &quot;[Brief description of hotfix]&quot;
450
-
451
- # 4. Focused test
452
- create_tests
453
-
454
- # 5. Run tests
455
- run_tests:
456
- passed: true
457
- testCommand: &quot;npm test -- [relevant-tests]&quot;
458
- details: &quot;[Critical path tests pass]&quot;
459
-
460
- # 6. Document urgency
461
- create_documentation:
462
- documentationType: &quot;changelog&quot;
463
- summary: &quot;HOTFIX: [issue] - [fix description]&quot;
464
-
465
- # 7. Commit
466
- commit_and_push:
467
- commitMessage: &quot;fix([scope])!: HOTFIX - [description]&quot;
468
-
469
- # 8. Emergency release
470
- perform_release:
471
- command: &quot;npm run release:patch&quot;
472
- notes: &quot;v[X.Y.Z] - HOTFIX: [issue]&quot;
473
-
474
- # 9. Complete
475
- complete_task:
476
- commitMessage: &quot;fix([scope])!: HOTFIX - [description]&quot;
477
- </code></pre>
478
- <h3>Example</h3>
479
- <p><strong>Hotfix:</strong> Payment processing fails on production</p>
480
- <pre><code>start_task:
481
- description: &quot;HOTFIX: Payment gateway timeout causing checkout failures&quot;
482
- type: &quot;bugfix&quot;
483
-
484
- mark_bug_fixed:
485
- summary: &quot;Increased payment API timeout from 5s to 30s and added retry logic&quot;
486
-
487
- create_tests
488
-
489
- run_tests:
490
- passed: true
491
- testCommand: &quot;npm test -- payment&quot;
492
- details: &quot;Payment flow tests pass with timeout scenarios&quot;
493
-
494
- create_documentation:
495
- documentationType: &quot;changelog&quot;
496
- summary: &quot;HOTFIX: Resolved payment timeout failures with increased timeout and retry&quot;
497
-
498
- commit_and_push:
499
- commitMessage: &quot;fix(payment)!: HOTFIX - increase timeout and add retry logic&quot;
500
-
501
- perform_release:
502
- command: &quot;npm run release:patch&quot;
503
- notes: &quot;v1.4.2 - HOTFIX: Payment processing timeout&quot;
504
-
505
- complete_task:
506
- commitMessage: &quot;fix(payment)!: HOTFIX - increase timeout and add retry logic&quot;
507
- </code></pre>
508
- <hr>
509
- <h2>Documentation Update Template</h2>
510
- <p>Use this when updating documentation without code changes.</p>
511
- <h3>Workflow Commands</h3>
512
- <pre><code># 1. Start
513
- start_task:
514
- description: &quot;Update documentation for [topic]&quot;
515
- type: &quot;other&quot;
516
-
517
- # 2. Update docs
518
- # ... write documentation ...
519
-
520
- # 3. Mark as complete
521
- mark_bug_fixed:
522
- summary: &quot;Updated [documentation type] with [additions]&quot;
523
-
524
- # 4. Skip tests (documentation only)
525
- skip_tests:
526
- reason: &quot;Documentation-only change, no code modified&quot;
527
-
528
- # 5. Document
529
- create_documentation:
530
- documentationType: &quot;README&quot;
531
- summary: &quot;[What documentation was added/updated]&quot;
532
-
533
- # 6. Commit
534
- commit_and_push:
535
- commitMessage: &quot;docs([scope]): [description]&quot;
536
-
537
- # 7. Release
538
- perform_release:
539
- command: &quot;npm run release:patch&quot;
540
- notes: &quot;v[X.Y.Z] - Documentation updates&quot;
541
-
542
- # 8. Complete
543
- complete_task:
544
- commitMessage: &quot;docs([scope]): [description]&quot;
545
- </code></pre>
546
- <h3>Example</h3>
547
- <pre><code>start_task:
548
- description: &quot;Add migration guide for v2.0 breaking changes&quot;
549
- type: &quot;other&quot;
550
-
551
- mark_bug_fixed:
552
- summary: &quot;Created comprehensive v2.0 migration guide with examples&quot;
553
-
554
- skip_tests:
555
- reason: &quot;Documentation-only update, no code changes&quot;
556
-
557
- create_documentation:
558
- documentationType: &quot;API-docs&quot;
559
- summary: &quot;Added MIGRATION_V2.md with breaking changes and upgrade steps&quot;
560
-
561
- commit_and_push:
562
- commitMessage: &quot;docs(migration): add v2.0 migration guide&quot;
563
-
564
- perform_release:
565
- command: &quot;npm run release:patch&quot;
566
- notes: &quot;v1.4.3 - v2.0 migration guide&quot;
567
-
568
- complete_task:
569
- commitMessage: &quot;docs(migration): add v2.0 migration guide&quot;
570
- </code></pre>
571
- <hr>
572
- <h2>Release Preparation Template</h2>
573
- <p>Use this when preparing a major/minor release with multiple features.</p>
574
- <h3>Checklist</h3>
575
- <pre><code class="language-markdown">## Release Preparation: v[X.Y.Z]
576
-
577
- ### Pre-Release
578
- - [ ] Review all merged features
579
- - [ ] Update version numbers
580
- - [ ] Update CHANGELOG
581
- - [ ] Run full test suite
582
- - [ ] Check documentation completeness
583
-
584
- ### Workflow
585
- - [ ] Start workflow task
586
- - [ ] Mark preparation as complete
587
- - [ ] Verify tests
588
- - [ ] Create documentation
589
- - [ ] Commit and push
590
- - [ ] Perform release
591
- - [ ] Complete task
592
-
593
- ### Post-Release
594
- - [ ] Tag release in git
595
- - [ ] Create GitHub release notes
596
- - [ ] Publish to npm/registry
597
- - [ ] Notify users
598
- </code></pre>
599
- <h3>Workflow Commands</h3>
600
- <pre><code>start_task:
601
- description: &quot;Prepare release v[X.Y.Z] with [feature list]&quot;
602
- type: &quot;other&quot;
603
-
604
- mark_bug_fixed:
605
- summary: &quot;Release preparation complete: CHANGELOG updated, version bumped to [X.Y.Z]&quot;
606
-
607
- create_tests
608
-
609
- run_tests:
610
- passed: true
611
- testCommand: &quot;npm test -- --coverage&quot;
612
- details: &quot;Full test suite: [X tests pass], coverage [Y%]&quot;
613
-
614
- create_documentation:
615
- documentationType: &quot;changelog&quot;
616
- summary: &quot;Updated CHANGELOG with all v[X.Y.Z] features and fixes&quot;
617
-
618
- commit_and_push:
619
- commitMessage: &quot;chore(release): prepare v[X.Y.Z]&quot;
620
-
621
- perform_release:
622
- command: &quot;npm run release:minor&quot;
623
- notes: &quot;v[X.Y.Z] - [Release highlights]&quot;
624
-
625
- complete_task:
626
- commitMessage: &quot;chore(release): prepare v[X.Y.Z]&quot;
627
- </code></pre>
628
- <hr>
629
- <h2>Using Templates in Antigravity</h2>
630
- <h3>Quick Template Application</h3>
631
- <ol>
632
- <li><strong>Choose your template</strong> based on task type</li>
633
- <li><strong>Copy the workflow commands</strong> section</li>
634
- <li><strong>Customize</strong> brackets [...] with your specific details</li>
635
- <li><strong>Execute</strong> commands in Antigravity</li>
636
- </ol>
637
- <h3>Template Variables</h3>
638
- <p>Replace these placeholders in templates:</p>
639
- <ul>
640
- <li><code>[Feature Name]</code> - Your feature description</li>
641
- <li><code>[Bug Description]</code> - Bug summary</li>
642
- <li><code>[scope]</code> - Conventional commit scope (e.g., auth, ui, api)</li>
643
- <li><code>[description]</code> - Commit description</li>
644
- <li><code>[X.Y.Z]</code> - Version number</li>
645
- <li><code>[X tests]</code> - Number of tests</li>
646
- <li><code>[Y%]</code> - Coverage percentage</li>
647
- </ul>
648
- <h3>Automation with Workflows</h3>
649
- <p>Save these as Antigravity workflow files in <code>.agent/workflows/</code>:</p>
650
- <ul>
651
- <li><code>dev-workflow-feature.md</code></li>
652
- <li><code>dev-workflow-bugfix.md</code></li>
653
- <li><code>dev-workflow-refactor.md</code></li>
654
- <li><code>dev-workflow-hotfix.md</code></li>
655
- </ul>
656
- <p>Then use slash commands like <code>/dev-workflow-feature</code> to load templates!</p>
657
- <hr>
658
- <h2>Next Steps</h2>
659
- <ul>
660
- <li>See <a href="./EXAMPLES.md">EXAMPLES.md</a> for real-world usage scenarios</li>
661
- <li>Check <a href="./TROUBLESHOOTING.md">TROUBLESHOOTING.md</a> for common issues</li>
662
- <li>Return to <a href="./GETTING-STARTED.md">GETTING-STARTED.md</a> for setup</li>
663
- </ul>
664
- <hr>
665
- <p><strong>Consistent workflows lead to consistent quality!</strong> ⚡</p>
666
-
667
- </article>
668
- </div>
669
- </main>
670
- </div>
671
-
672
- <script>
673
- lucide.createIcons();
674
- </script>
675
- </body>
676
- </html>