agentic-sdlc 1.0.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 (98) hide show
  1. package/.agent/ide-integration/README.md +298 -0
  2. package/.agent/ide-integration/aider-commands.md +40 -0
  3. package/.agent/ide-integration/cline-config.json +108 -0
  4. package/.agent/ide-integration/cursor-rules.md +63 -0
  5. package/.agent/ide-integration/github-copilot-instructions.md +75 -0
  6. package/.agent/ide-integration/vscode-commands.json +190 -0
  7. package/.agent/ide-integration/windsurf-cascade.md +125 -0
  8. package/.agent/knowledge-base/README.md +202 -0
  9. package/.agent/knowledge-base/architecture/.gitkeep +1 -0
  10. package/.agent/knowledge-base/bugs/.gitkeep +1 -0
  11. package/.agent/knowledge-base/features/.gitkeep +1 -0
  12. package/.agent/knowledge-base/index.md +202 -0
  13. package/.agent/knowledge-base/performance/.gitkeep +1 -0
  14. package/.agent/knowledge-base/platform-specific/.gitkeep +1 -0
  15. package/.agent/knowledge-base/security/.gitkeep +1 -0
  16. package/.agent/legacy/roles/designer.md +311 -0
  17. package/.agent/legacy/roles/dev.md +177 -0
  18. package/.agent/legacy/roles/devops.md +146 -0
  19. package/.agent/legacy/roles/orchestrator.md +339 -0
  20. package/.agent/legacy/roles/pm.md +120 -0
  21. package/.agent/legacy/roles/po.md +89 -0
  22. package/.agent/legacy/roles/qa.md +108 -0
  23. package/.agent/legacy/roles/reporter.md +70 -0
  24. package/.agent/legacy/roles/sa.md +118 -0
  25. package/.agent/legacy/roles/seca.md +112 -0
  26. package/.agent/legacy/roles/stakeholder.md +111 -0
  27. package/.agent/legacy/roles/tester.md +129 -0
  28. package/.agent/rules/artifacts.md +58 -0
  29. package/.agent/rules/git-workflow.md +65 -0
  30. package/.agent/rules/global.md +154 -0
  31. package/.agent/rules/global.md.bak +154 -0
  32. package/.agent/rules/knowledge-base.md +45 -0
  33. package/.agent/templates/Design-Verification-Report-Template.md +67 -0
  34. package/.agent/templates/DevOps-Plan-Template.md +90 -0
  35. package/.agent/templates/Development-Log-Template.md +51 -0
  36. package/.agent/templates/Final-Approval-Report-Template.md +82 -0
  37. package/.agent/templates/Final-Project-Report-Template.md +280 -0
  38. package/.agent/templates/Knowledge-Entry-Template.md +164 -0
  39. package/.agent/templates/Master-Documentation-Template.md +269 -0
  40. package/.agent/templates/Phase-Report-Template.md +70 -0
  41. package/.agent/templates/Product-Backlog-Template.md +84 -0
  42. package/.agent/templates/Project-Plan-Template.md +79 -0
  43. package/.agent/templates/Security-Review-Report-Template.md +80 -0
  44. package/.agent/templates/System-Design-Spec-Template.md +170 -0
  45. package/.agent/templates/Test-Report-Template.md +97 -0
  46. package/.agent/templates/UIUX-Design-Spec-Template.md +280 -0
  47. package/.agent/templates/definition-of-done.md +151 -0
  48. package/.agent/templates/incident-response.md +111 -0
  49. package/.agent/usage.md +653 -0
  50. package/.agent/workflows/auto.md +35 -0
  51. package/.agent/workflows/brain.md +56 -0
  52. package/.agent/workflows/dev.md +30 -0
  53. package/.agent/workflows/devops.md +28 -0
  54. package/.agent/workflows/kb-search.md +22 -0
  55. package/.agent/workflows/pm.md +42 -0
  56. package/.agent/workflows/po.md +21 -0
  57. package/.agent/workflows/qa.md +31 -0
  58. package/.agent/workflows/reporter.md +21 -0
  59. package/.agent/workflows/sa.md +51 -0
  60. package/.agent/workflows/seca.md +21 -0
  61. package/.agent/workflows/stakeholder.md +26 -0
  62. package/.agent/workflows/tester.md +21 -0
  63. package/.agent/workflows/uiux.md +38 -0
  64. package/.cursorrules +49 -0
  65. package/.env.template +10 -0
  66. package/.github/ISSUE_TEMPLATE/bug_report.yml +47 -0
  67. package/.github/ISSUE_TEMPLATE/config.yml +8 -0
  68. package/.github/ISSUE_TEMPLATE/feature_request.yml +33 -0
  69. package/.github/ISSUE_TEMPLATE/security_alert.yml +28 -0
  70. package/.github/ISSUE_TEMPLATE/task_implementation.yml +37 -0
  71. package/.github/copilot-instructions.md +60 -0
  72. package/CHANGELOG.md +13 -0
  73. package/README.md +136 -0
  74. package/bin/cli.js +104 -0
  75. package/bin/commands/create.js +96 -0
  76. package/bin/commands/help.js +69 -0
  77. package/bin/commands/ide.js +116 -0
  78. package/bin/commands/init-kb.js +74 -0
  79. package/bin/commands/install.js +68 -0
  80. package/bin/commands/list.js +35 -0
  81. package/bin/graph_brain.py +86 -0
  82. package/bin/sync_github.py +75 -0
  83. package/bin/utils/args-parser.js +33 -0
  84. package/bin/utils/colors.js +21 -0
  85. package/bin/verify_neo4j.py +25 -0
  86. package/docs/OUTLINE.md +23 -0
  87. package/docs/architecture/brain.md +36 -0
  88. package/docs/architecture/neo4j-learning-queries.md +49 -0
  89. package/docs/guides/CLI-EXAMPLES.md +649 -0
  90. package/docs/guides/INTEGRATION-GUIDE.md +709 -0
  91. package/docs/guides/MCP-GUIDE.md +53 -0
  92. package/docs/guides/QUICK-START.md +104 -0
  93. package/docs/reports/comparison-leann-neo4j.md +49 -0
  94. package/docs/setup/github-management.md +37 -0
  95. package/docs/sprints/sprint-github-issues.md +36 -0
  96. package/docs/sprints/sprint-leann-integration.md +41 -0
  97. package/docs/sprints/sprint-neo4j-brain.md +38 -0
  98. package/package.json +16 -0
@@ -0,0 +1,649 @@
1
+ # CLI Usage Examples
2
+
3
+ Complete guide with examples for `agentic-sdlc` CLI tool.
4
+
5
+ ---
6
+
7
+ ## 📦 Installation
8
+
9
+ ```bash
10
+ # Install globally
11
+ npm install -g agentic-sdlc
12
+
13
+ # Or use with npx (no installation needed)
14
+ npx agentic-sdlc <command>
15
+ ```
16
+
17
+ ---
18
+
19
+ ## 🚀 Quick Start
20
+
21
+ ### 1. Create New Project (Recommended)
22
+
23
+ ```bash
24
+ # Create a new project with everything set up
25
+ agentic-sdlc create my-awesome-project
26
+
27
+ # Navigate to project
28
+ cd my-awesome-project
29
+
30
+ # Setup IDE integration
31
+ agentic-sdlc ide cursor
32
+
33
+ # Start building
34
+ # Open IDE and type: /pm Build a todo app
35
+ ```
36
+
37
+ **Output:**
38
+ ```
39
+ 🚀 Creating Project: my-awesome-project
40
+
41
+ → Creating project directory...
42
+ → Installing instructions...
43
+ → Setting up project structure...
44
+ ✓ Project created successfully!
45
+
46
+ Location: /path/to/my-awesome-project
47
+
48
+ Next Steps:
49
+ cd my-awesome-project
50
+ agentic-sdlc ide cursor
51
+ • Review .agent/usage.md
52
+ • Initialize git repository
53
+ • Start: /pm Build your project
54
+
55
+ ℹ Completed in 0.85s
56
+ ```
57
+
58
+ ---
59
+
60
+ ### 2. Install in Existing Project
61
+
62
+ ```bash
63
+ # Navigate to your existing project
64
+ cd my-existing-project
65
+
66
+ # Install instructions
67
+ agentic-sdlc install
68
+
69
+ # Setup IDE
70
+ agentic-sdlc ide cursor
71
+ ```
72
+
73
+ **Output:**
74
+ ```
75
+ 🚀 Installing Template Instructions
76
+
77
+ → Validating environment...
78
+ → Checking for existing installation...
79
+ → Copying template files...
80
+ ✓ Installation complete!
81
+
82
+ Location: /path/to/my-existing-project/.agent
83
+
84
+ Next Steps:
85
+ • Setup IDE: agentic-sdlc ide cursor
86
+ • Review: .agent/usage.md
87
+ • Start: /pm Build your project
88
+
89
+ ℹ Completed in 0.42s
90
+ ```
91
+
92
+ ---
93
+
94
+ ## 🔧 IDE Integration
95
+
96
+ ### Setup Single IDE
97
+
98
+ ```bash
99
+ # Cursor IDE
100
+ agentic-sdlc ide cursor
101
+
102
+ # GitHub Copilot
103
+ agentic-sdlc ide copilot
104
+
105
+ # Windsurf Cascade
106
+ agentic-sdlc ide windsurf
107
+
108
+ # Cline Extension
109
+ agentic-sdlc ide cline
110
+
111
+ # Aider CLI
112
+ agentic-sdlc ide aider
113
+ ```
114
+
115
+ **Example Output (Cursor):**
116
+ ```
117
+ 🔧 Setting up CURSOR Integration
118
+
119
+ → Installing Cursor IDE...
120
+ ✓ Cursor IDE installed
121
+
122
+ Location: /path/to/project/.cursorrules
123
+
124
+ Next Steps:
125
+ • Restart Cursor IDE
126
+ • Type / in chat to see commands
127
+ • Try: /pm Build a todo app
128
+
129
+ ℹ Completed in 0.15s
130
+ ```
131
+
132
+ ---
133
+
134
+ ### Setup All IDEs at Once
135
+
136
+ ```bash
137
+ agentic-sdlc ide all
138
+ ```
139
+
140
+ **Output:**
141
+ ```
142
+ 🔧 Setting up ALL Integration
143
+
144
+ → Installing Cursor IDE...
145
+ ✓ Cursor IDE installed
146
+ → Installing GitHub Copilot...
147
+ ✓ GitHub Copilot installed
148
+ → Installing Windsurf Cascade...
149
+ ✓ Windsurf Cascade installed
150
+ → Installing Cline Extension...
151
+ ✓ Cline Extension installed
152
+ → Installing Aider CLI...
153
+ ✓ Aider CLI installed
154
+ ✓ All IDE integrations installed!
155
+
156
+ Next Steps:
157
+ • Restart your IDE
158
+ • Type / in chat to see available commands
159
+ • Try: /pm Build a todo app
160
+
161
+ ℹ Completed in 0.68s
162
+ ```
163
+
164
+ ---
165
+
166
+ ## 🧠 Knowledge Base
167
+
168
+ ### Initialize Knowledge Base
169
+
170
+ ```bash
171
+ agentic-sdlc init-kb
172
+ ```
173
+
174
+ **Output:**
175
+ ```
176
+ 🧠 Initializing Knowledge Base
177
+
178
+ → Creating directory structure...
179
+ ✓ Knowledge base initialized!
180
+
181
+ Location: /path/to/project/.agent/knowledge-base
182
+
183
+ Next Steps:
184
+ • Read: .agent/knowledge-base/README.md
185
+ • Use template: Knowledge-Entry-Template.md
186
+ • Search: Check index.md
187
+
188
+ ℹ Completed in 0.23s
189
+ ```
190
+
191
+ ---
192
+
193
+ ## 📋 List Available Resources
194
+
195
+ ```bash
196
+ agentic-sdlc list
197
+ ```
198
+
199
+ **Output:**
200
+ ```
201
+ 📋 Available Templates & Roles
202
+
203
+ Roles (12):
204
+ • orchestrator
205
+ • pm
206
+ • po
207
+ • sa
208
+ • designer
209
+ • qa
210
+ • seca
211
+ • dev
212
+ • devops
213
+ • tester
214
+ • reporter
215
+ • stakeholder
216
+
217
+ Templates (16):
218
+ • Project-Plan-Template
219
+ • Product-Backlog-Template
220
+ • System-Design-Spec-Template
221
+ • UIUX-Design-Spec-Template
222
+ • Design-Verification-Report-Template
223
+ • Security-Review-Report-Template
224
+ • Development-Log-Template
225
+ • DevOps-Plan-Template
226
+ • Test-Report-Template
227
+ • Phase-Report-Template
228
+ • Master-Documentation-Template
229
+ • Final-Project-Report-Template
230
+ • Final-Approval-Report-Template
231
+ • Knowledge-Entry-Template
232
+ • definition-of-done
233
+ • incident-response
234
+
235
+ Total: 12 roles, 16 templates
236
+ ```
237
+
238
+ ---
239
+
240
+ ## 🎯 Real-World Workflows
241
+
242
+ ### Workflow 1: Start Fresh Project
243
+
244
+ ```bash
245
+ # Step 1: Create project
246
+ agentic-sdlc create wedding-website
247
+ cd wedding-website
248
+
249
+ # Step 2: Setup IDE
250
+ agentic-sdlc ide cursor
251
+
252
+ # Step 3: Initialize git
253
+ git init
254
+ git add .
255
+ git commit -m "Initial commit with TeamLifecycle"
256
+
257
+ # Step 4: Start building (in IDE)
258
+ # Type: /pm Build a wedding website with photo gallery and RSVP form
259
+ ```
260
+
261
+ ---
262
+
263
+ ### Workflow 2: Add to Existing Project
264
+
265
+ ```bash
266
+ # Step 1: Navigate to project
267
+ cd my-existing-app
268
+
269
+ # Step 2: Install instructions
270
+ agentic-sdlc install
271
+
272
+ # Step 3: Setup IDE (all at once)
273
+ agentic-sdlc ide all
274
+
275
+ # Step 4: Initialize knowledge base
276
+ agentic-sdlc init-kb
277
+
278
+ # Step 5: Commit changes
279
+ git add .
280
+ git commit -m "Add TeamLifecycle SDLC system"
281
+
282
+ # Step 6: Start using (in IDE)
283
+ # Type: /pm Review and improve current architecture
284
+ ```
285
+
286
+ ---
287
+
288
+ ### Workflow 3: Team Setup
289
+
290
+ ```bash
291
+ # Team lead sets up template
292
+ agentic-sdlc create team-project
293
+ cd team-project
294
+
295
+ # Setup all IDE integrations for team
296
+ agentic-sdlc ide all
297
+
298
+ # Initialize knowledge base for shared learning
299
+ agentic-sdlc init-kb
300
+
301
+ # Commit to repo
302
+ git init
303
+ git add .
304
+ git commit -m "Setup TeamLifecycle for team"
305
+ git remote add origin <repo-url>
306
+ git push -u origin main
307
+
308
+ # Team members clone and start
309
+ # git clone <repo-url>
310
+ # cd team-project
311
+ # Open IDE and type: /pm [their task]
312
+ ```
313
+
314
+ ---
315
+
316
+ ## 🔄 Options & Flags
317
+
318
+ ### Force Overwrite
319
+
320
+ ```bash
321
+ # Overwrite existing installation
322
+ agentic-sdlc install --force
323
+
324
+ # Overwrite existing project
325
+ agentic-sdlc create my-project --force
326
+
327
+ # Overwrite IDE config
328
+ agentic-sdlc ide cursor --force
329
+ ```
330
+
331
+ ---
332
+
333
+ ### Quiet Mode
334
+
335
+ ```bash
336
+ # Minimal output
337
+ agentic-sdlc install --quiet
338
+
339
+ # Useful for scripts
340
+ agentic-sdlc ide all -q
341
+ ```
342
+
343
+ ---
344
+
345
+ ### Verbose Mode
346
+
347
+ ```bash
348
+ # Detailed output with file counts
349
+ agentic-sdlc install --verbose
350
+
351
+ # See all operations
352
+ agentic-sdlc create my-project --verbose
353
+ ```
354
+
355
+ ---
356
+
357
+ ### Combined Options
358
+
359
+ ```bash
360
+ # Force + Verbose
361
+ agentic-sdlc install -f --verbose
362
+
363
+ # Quiet + Force (for automation)
364
+ agentic-sdlc ide all -q -f
365
+ ```
366
+
367
+ ---
368
+
369
+ ## 📚 Help & Version
370
+
371
+ ### Show Help
372
+
373
+ ```bash
374
+ agentic-sdlc --help
375
+ agentic-sdlc -h
376
+ agentic-sdlc help
377
+ ```
378
+
379
+ ---
380
+
381
+ ### Show Version
382
+
383
+ ```bash
384
+ agentic-sdlc --version
385
+ agentic-sdlc -v
386
+ agentic-sdlc version
387
+ ```
388
+
389
+ **Output:**
390
+ ```
391
+ agentic-sdlc v1.1.4
392
+ Simulating a complete Software Development Lifecycle (SDLC) with specialized AI Agents.
393
+ ```
394
+
395
+ ---
396
+
397
+ ## 🎨 Using Slash Commands (After Setup)
398
+
399
+ ### In Cursor / Copilot / Windsurf
400
+
401
+ ```bash
402
+ # Start new project
403
+ /pm Build a REST API for task management with authentication
404
+
405
+ # Full automation
406
+ /auto Create a mobile fitness tracking app for iOS and Android
407
+
408
+ # Specific roles
409
+ /sa Design database schema for e-commerce platform
410
+ /uiux Create mobile-first dashboard with dark mode
411
+ /dev Implement OAuth2 authentication flow
412
+ /devops Setup CI/CD pipeline with GitHub Actions
413
+ /tester Run E2E tests for checkout flow
414
+
415
+ # Knowledge base
416
+ /kb-search React hydration error
417
+ /kb-add Solution for Next.js caching issue
418
+ ```
419
+
420
+ ---
421
+
422
+ ## 🐛 Troubleshooting
423
+
424
+ ### Command Not Found
425
+
426
+ ```bash
427
+ # If installed globally but not found
428
+ npm install -g agentic-sdlc
429
+
430
+ # Or use npx
431
+ npx agentic-sdlc install
432
+ ```
433
+
434
+ ---
435
+
436
+ ### Permission Denied
437
+
438
+ ```bash
439
+ # On Unix/Mac, use sudo for global install
440
+ sudo npm install -g agentic-sdlc
441
+
442
+ # Or install without sudo using nvm
443
+ nvm use node
444
+ npm install -g agentic-sdlc
445
+ ```
446
+
447
+ ---
448
+
449
+ ### Already Exists Error
450
+
451
+ ```bash
452
+ # Use --force to overwrite
453
+ agentic-sdlc install --force
454
+ agentic-sdlc create my-project --force
455
+ ```
456
+
457
+ ---
458
+
459
+ ### IDE Commands Not Working
460
+
461
+ ```bash
462
+ # Re-run IDE setup
463
+ agentic-sdlc ide cursor --force
464
+
465
+ # Restart your IDE after setup
466
+
467
+ # Check file was created
468
+ ls -la .cursorrules # For Cursor
469
+ ls -la .github/copilot-instructions.md # For Copilot
470
+ ```
471
+
472
+ ---
473
+
474
+ ## 📊 Project Structure After Setup
475
+
476
+ ```
477
+ my-project/
478
+ ├── .agent/
479
+ │ └── instructions/
480
+ │ ├── global.md
481
+ │ ├── usage.md
482
+ │ ├── roles/ # 12 role definitions
483
+ │ ├── templates/ # 16 templates
484
+ │ ├── knowledge-base/ # Knowledge base system
485
+ │ └── ide-integration/ # IDE configs
486
+ ├── docs/
487
+ │ ├── sprints/
488
+ │ │ └── sprint-1/
489
+ │ │ ├── plans/
490
+ │ │ ├── designs/
491
+ │ │ ├── reviews/
492
+ │ │ ├── logs/
493
+ │ │ ├── tests/
494
+ │ │ └── reports/
495
+ │ └── global/
496
+ │ └── reports/
497
+ ├── .cursorrules # Cursor IDE config
498
+ ├── .github/
499
+ │ └── copilot-instructions.md # Copilot config
500
+ ├── .gitignore
501
+ ├── package.json
502
+ └── README.md
503
+ ```
504
+
505
+ ---
506
+
507
+ ## 🎓 Learning Path
508
+
509
+ ### Day 1: Setup
510
+ ```bash
511
+ agentic-sdlc create learning-project
512
+ cd learning-project
513
+ agentic-sdlc ide cursor
514
+ # Read: .agent/usage.md
515
+ ```
516
+
517
+ ### Day 2: First Project
518
+ ```bash
519
+ # In IDE: /pm Build a simple todo app
520
+ # Follow the workflow, approve plans
521
+ # Let orchestrator handle the rest
522
+ ```
523
+
524
+ ### Day 3: Manual Control
525
+ ```bash
526
+ # In IDE: /pm Build a blog platform --mode=manual
527
+ # Tag each role manually to learn the flow
528
+ # /sa, /uiux, /qa, /dev, etc.
529
+ ```
530
+
531
+ ### Day 4: Knowledge Base
532
+ ```bash
533
+ agentic-sdlc init-kb
534
+ # Document learnings as you encounter challenges
535
+ # /kb-add [topic] when you solve difficult problems
536
+ ```
537
+
538
+ ### Day 5: Team Collaboration
539
+ ```bash
540
+ # Share project with team
541
+ # Everyone uses same slash commands
542
+ # Knowledge base grows with team experience
543
+ ```
544
+
545
+ ---
546
+
547
+ ## 💡 Pro Tips
548
+
549
+ ### 1. Use Aliases
550
+ ```bash
551
+ # Add to ~/.bashrc or ~/.zshrc
552
+ alias ci='agentic-sdlc'
553
+ alias ci-new='agentic-sdlc create'
554
+ alias ci-ide='agentic-sdlc ide'
555
+
556
+ # Usage
557
+ ci install
558
+ ci-new my-project
559
+ ci-ide cursor
560
+ ```
561
+
562
+ ---
563
+
564
+ ### 2. Project Templates
565
+ ```bash
566
+ # Create your own project template
567
+ agentic-sdlc create template-project
568
+ cd template-project
569
+ # Customize .agent/
570
+ # Use as base for future projects
571
+ ```
572
+
573
+ ---
574
+
575
+ ### 3. Automation Scripts
576
+ ```bash
577
+ #!/bin/bash
578
+ # setup-new-project.sh
579
+
580
+ PROJECT_NAME=$1
581
+
582
+ agentic-sdlc create $PROJECT_NAME
583
+ cd $PROJECT_NAME
584
+ agentic-sdlc ide all
585
+ agentic-sdlc init-kb
586
+ git init
587
+ git add .
588
+ git commit -m "Initial setup with TeamLifecycle"
589
+
590
+ echo "✓ Project $PROJECT_NAME ready!"
591
+ ```
592
+
593
+ ---
594
+
595
+ ### 4. CI/CD Integration
596
+ ```yaml
597
+ # .github/workflows/setup.yml
598
+ name: Setup TeamLifecycle
599
+ on: [push]
600
+ jobs:
601
+ setup:
602
+ runs-on: ubuntu-latest
603
+ steps:
604
+ - uses: actions/checkout@v3
605
+ - run: npm install -g agentic-sdlc
606
+ - run: agentic-sdlc install --quiet
607
+ - run: agentic-sdlc ide all --quiet
608
+ ```
609
+
610
+ ---
611
+
612
+ ## 📞 Support
613
+
614
+ - **Documentation:** `.agent/usage.md`
615
+ - **Issues:** https://github.com/yourusername/agentic-sdlc/issues
616
+ - **Examples:** This file!
617
+
618
+ ---
619
+
620
+ ## 🎉 Success Stories
621
+
622
+ ### Example 1: Solo Developer
623
+ ```bash
624
+ agentic-sdlc create saas-platform
625
+ cd saas-platform
626
+ agentic-sdlc ide cursor
627
+ # Used /auto mode, completed MVP in 2 days
628
+ ```
629
+
630
+ ### Example 2: Team of 5
631
+ ```bash
632
+ agentic-sdlc create team-app
633
+ agentic-sdlc ide all
634
+ agentic-sdlc init-kb
635
+ # Shared knowledge base, consistent workflow
636
+ # Reduced onboarding time by 70%
637
+ ```
638
+
639
+ ### Example 3: Open Source Project
640
+ ```bash
641
+ agentic-sdlc install
642
+ agentic-sdlc ide copilot
643
+ # Contributors use same workflow
644
+ # Consistent documentation and quality
645
+ ```
646
+
647
+ ---
648
+
649
+ **Happy Building! 🚀**