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.
- package/.agent/ide-integration/README.md +298 -0
- package/.agent/ide-integration/aider-commands.md +40 -0
- package/.agent/ide-integration/cline-config.json +108 -0
- package/.agent/ide-integration/cursor-rules.md +63 -0
- package/.agent/ide-integration/github-copilot-instructions.md +75 -0
- package/.agent/ide-integration/vscode-commands.json +190 -0
- package/.agent/ide-integration/windsurf-cascade.md +125 -0
- package/.agent/knowledge-base/README.md +202 -0
- package/.agent/knowledge-base/architecture/.gitkeep +1 -0
- package/.agent/knowledge-base/bugs/.gitkeep +1 -0
- package/.agent/knowledge-base/features/.gitkeep +1 -0
- package/.agent/knowledge-base/index.md +202 -0
- package/.agent/knowledge-base/performance/.gitkeep +1 -0
- package/.agent/knowledge-base/platform-specific/.gitkeep +1 -0
- package/.agent/knowledge-base/security/.gitkeep +1 -0
- package/.agent/legacy/roles/designer.md +311 -0
- package/.agent/legacy/roles/dev.md +177 -0
- package/.agent/legacy/roles/devops.md +146 -0
- package/.agent/legacy/roles/orchestrator.md +339 -0
- package/.agent/legacy/roles/pm.md +120 -0
- package/.agent/legacy/roles/po.md +89 -0
- package/.agent/legacy/roles/qa.md +108 -0
- package/.agent/legacy/roles/reporter.md +70 -0
- package/.agent/legacy/roles/sa.md +118 -0
- package/.agent/legacy/roles/seca.md +112 -0
- package/.agent/legacy/roles/stakeholder.md +111 -0
- package/.agent/legacy/roles/tester.md +129 -0
- package/.agent/rules/artifacts.md +58 -0
- package/.agent/rules/git-workflow.md +65 -0
- package/.agent/rules/global.md +154 -0
- package/.agent/rules/global.md.bak +154 -0
- package/.agent/rules/knowledge-base.md +45 -0
- package/.agent/templates/Design-Verification-Report-Template.md +67 -0
- package/.agent/templates/DevOps-Plan-Template.md +90 -0
- package/.agent/templates/Development-Log-Template.md +51 -0
- package/.agent/templates/Final-Approval-Report-Template.md +82 -0
- package/.agent/templates/Final-Project-Report-Template.md +280 -0
- package/.agent/templates/Knowledge-Entry-Template.md +164 -0
- package/.agent/templates/Master-Documentation-Template.md +269 -0
- package/.agent/templates/Phase-Report-Template.md +70 -0
- package/.agent/templates/Product-Backlog-Template.md +84 -0
- package/.agent/templates/Project-Plan-Template.md +79 -0
- package/.agent/templates/Security-Review-Report-Template.md +80 -0
- package/.agent/templates/System-Design-Spec-Template.md +170 -0
- package/.agent/templates/Test-Report-Template.md +97 -0
- package/.agent/templates/UIUX-Design-Spec-Template.md +280 -0
- package/.agent/templates/definition-of-done.md +151 -0
- package/.agent/templates/incident-response.md +111 -0
- package/.agent/usage.md +653 -0
- package/.agent/workflows/auto.md +35 -0
- package/.agent/workflows/brain.md +56 -0
- package/.agent/workflows/dev.md +30 -0
- package/.agent/workflows/devops.md +28 -0
- package/.agent/workflows/kb-search.md +22 -0
- package/.agent/workflows/pm.md +42 -0
- package/.agent/workflows/po.md +21 -0
- package/.agent/workflows/qa.md +31 -0
- package/.agent/workflows/reporter.md +21 -0
- package/.agent/workflows/sa.md +51 -0
- package/.agent/workflows/seca.md +21 -0
- package/.agent/workflows/stakeholder.md +26 -0
- package/.agent/workflows/tester.md +21 -0
- package/.agent/workflows/uiux.md +38 -0
- package/.cursorrules +49 -0
- package/.env.template +10 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +47 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +33 -0
- package/.github/ISSUE_TEMPLATE/security_alert.yml +28 -0
- package/.github/ISSUE_TEMPLATE/task_implementation.yml +37 -0
- package/.github/copilot-instructions.md +60 -0
- package/CHANGELOG.md +13 -0
- package/README.md +136 -0
- package/bin/cli.js +104 -0
- package/bin/commands/create.js +96 -0
- package/bin/commands/help.js +69 -0
- package/bin/commands/ide.js +116 -0
- package/bin/commands/init-kb.js +74 -0
- package/bin/commands/install.js +68 -0
- package/bin/commands/list.js +35 -0
- package/bin/graph_brain.py +86 -0
- package/bin/sync_github.py +75 -0
- package/bin/utils/args-parser.js +33 -0
- package/bin/utils/colors.js +21 -0
- package/bin/verify_neo4j.py +25 -0
- package/docs/OUTLINE.md +23 -0
- package/docs/architecture/brain.md +36 -0
- package/docs/architecture/neo4j-learning-queries.md +49 -0
- package/docs/guides/CLI-EXAMPLES.md +649 -0
- package/docs/guides/INTEGRATION-GUIDE.md +709 -0
- package/docs/guides/MCP-GUIDE.md +53 -0
- package/docs/guides/QUICK-START.md +104 -0
- package/docs/reports/comparison-leann-neo4j.md +49 -0
- package/docs/setup/github-management.md +37 -0
- package/docs/sprints/sprint-github-issues.md +36 -0
- package/docs/sprints/sprint-leann-integration.md +41 -0
- package/docs/sprints/sprint-neo4j-brain.md +38 -0
- package/package.json +16 -0
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
# Integration Guide - Add to Existing Projects
|
|
2
|
+
|
|
3
|
+
Complete guide to integrate TeamLifecycle SDLC into your existing projects.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## ✅ Yes, You Can Integrate!
|
|
8
|
+
|
|
9
|
+
TeamLifecycle works perfectly with existing projects. You can add it to:
|
|
10
|
+
- ✅ Existing codebases (any language/framework)
|
|
11
|
+
- ✅ Legacy projects
|
|
12
|
+
- ✅ Open source projects
|
|
13
|
+
- ✅ Team projects
|
|
14
|
+
- ✅ Monorepos
|
|
15
|
+
- ✅ Microservices
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🚀 Quick Integration (3 Steps)
|
|
20
|
+
|
|
21
|
+
### Step 1: Navigate to Your Project
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
cd /path/to/your-existing-project
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Step 2: Install Instructions
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
agentic-sdlc install
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Output:**
|
|
34
|
+
```
|
|
35
|
+
🚀 Installing Template Instructions
|
|
36
|
+
|
|
37
|
+
→ Validating environment...
|
|
38
|
+
→ Checking for existing installation...
|
|
39
|
+
→ Copying template files...
|
|
40
|
+
✓ Installation complete!
|
|
41
|
+
|
|
42
|
+
Location: /path/to/your-project/.agent
|
|
43
|
+
|
|
44
|
+
Next Steps:
|
|
45
|
+
• Setup IDE: agentic-sdlc ide cursor
|
|
46
|
+
• Review: .agent/usage.md
|
|
47
|
+
• Start: /pm Build your project
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Step 3: Setup IDE
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
agentic-sdlc ide cursor
|
|
54
|
+
# or
|
|
55
|
+
agentic-sdlc ide all
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**That's it!** You can now use `/pm`, `/dev`, `/auto` commands in your IDE.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 📁 What Gets Added to Your Project
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
your-existing-project/
|
|
66
|
+
├── .agent # NEW - Instructions folder
|
|
67
|
+
│ └── instructions/
|
|
68
|
+
│ ├── roles/ # 12 AI roles
|
|
69
|
+
│ ├── templates/ # 16 templates
|
|
70
|
+
│ ├── knowledge-base/ # Learning system
|
|
71
|
+
│ └── ide-integration/ # IDE configs
|
|
72
|
+
├── .cursorrules # NEW - Cursor config (if setup)
|
|
73
|
+
├── .github/
|
|
74
|
+
│ └── copilot-instructions.md # NEW - Copilot config (if setup)
|
|
75
|
+
├── docs/ # NEW - Documentation (created on use)
|
|
76
|
+
│ ├── sprints/
|
|
77
|
+
│ └── global/
|
|
78
|
+
├── src/ # EXISTING - Your code (untouched)
|
|
79
|
+
├── package.json # EXISTING - Your config (untouched)
|
|
80
|
+
└── ... # EXISTING - Everything else (untouched)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Important:** Your existing code is **NOT modified**. Only new files are added.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 🎯 Integration Scenarios
|
|
88
|
+
|
|
89
|
+
### Scenario 1: Solo Developer - Existing Side Project
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
# You have a personal project
|
|
93
|
+
cd ~/projects/my-blog
|
|
94
|
+
|
|
95
|
+
# Add TeamLifecycle
|
|
96
|
+
agentic-sdlc install
|
|
97
|
+
agentic-sdlc ide cursor
|
|
98
|
+
|
|
99
|
+
# Start improving
|
|
100
|
+
# In IDE: /pm Review current architecture and suggest improvements
|
|
101
|
+
# In IDE: /dev Refactor authentication module
|
|
102
|
+
# In IDE: /tester Add E2E tests for blog posts
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
### Scenario 2: Team Project - Add to Existing Repo
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Clone team repo
|
|
111
|
+
git clone https://github.com/team/project.git
|
|
112
|
+
cd project
|
|
113
|
+
|
|
114
|
+
# Add TeamLifecycle
|
|
115
|
+
agentic-sdlc install
|
|
116
|
+
agentic-sdlc ide all
|
|
117
|
+
agentic-sdlc init-kb
|
|
118
|
+
|
|
119
|
+
# Commit changes
|
|
120
|
+
git add .agent .cursorrules .github/copilot-instructions.md
|
|
121
|
+
git commit -m "Add TeamLifecycle SDLC system"
|
|
122
|
+
git push
|
|
123
|
+
|
|
124
|
+
# Team members pull and start using
|
|
125
|
+
# git pull
|
|
126
|
+
# Open IDE and use /pm, /dev, etc.
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
### Scenario 3: Legacy Project - Modernization
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# Old project needs refactoring
|
|
135
|
+
cd ~/old-projects/legacy-app
|
|
136
|
+
|
|
137
|
+
# Add TeamLifecycle
|
|
138
|
+
agentic-sdlc install
|
|
139
|
+
agentic-sdlc ide cursor
|
|
140
|
+
agentic-sdlc init-kb
|
|
141
|
+
|
|
142
|
+
# Start modernization
|
|
143
|
+
# In IDE: /pm Analyze current codebase and create modernization plan
|
|
144
|
+
# In IDE: /sa Design new architecture for microservices migration
|
|
145
|
+
# In IDE: /dev Refactor module X to use modern patterns
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
### Scenario 4: Open Source Project
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
# Your open source project
|
|
154
|
+
cd ~/oss/my-library
|
|
155
|
+
|
|
156
|
+
# Add TeamLifecycle
|
|
157
|
+
agentic-sdlc install
|
|
158
|
+
agentic-sdlc ide copilot
|
|
159
|
+
|
|
160
|
+
# Add to .gitignore (optional - keep instructions private)
|
|
161
|
+
echo ".agent" >> .gitignore
|
|
162
|
+
|
|
163
|
+
# Or commit for contributors
|
|
164
|
+
git add .agent .github/copilot-instructions.md
|
|
165
|
+
git commit -m "Add AI-powered SDLC workflow"
|
|
166
|
+
|
|
167
|
+
# Contributors can now use consistent workflow
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
### Scenario 5: Monorepo
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
# Monorepo structure
|
|
176
|
+
cd ~/projects/monorepo
|
|
177
|
+
|
|
178
|
+
# Install at root
|
|
179
|
+
agentic-sdlc install
|
|
180
|
+
agentic-sdlc ide all
|
|
181
|
+
|
|
182
|
+
# Or install per package
|
|
183
|
+
cd packages/frontend
|
|
184
|
+
agentic-sdlc install
|
|
185
|
+
cd ../backend
|
|
186
|
+
agentic-sdlc install
|
|
187
|
+
|
|
188
|
+
# Use from anywhere in monorepo
|
|
189
|
+
# In IDE: /pm Review frontend architecture
|
|
190
|
+
# In IDE: /dev Implement new API endpoint in backend
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## 🔧 Advanced Integration
|
|
196
|
+
|
|
197
|
+
### Option 1: Selective Installation
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
# Install only what you need
|
|
201
|
+
cd your-project
|
|
202
|
+
|
|
203
|
+
# Install instructions
|
|
204
|
+
agentic-sdlc install
|
|
205
|
+
|
|
206
|
+
# Setup only specific IDE
|
|
207
|
+
agentic-sdlc ide cursor
|
|
208
|
+
|
|
209
|
+
# Skip knowledge base (add later if needed)
|
|
210
|
+
# agentic-sdlc init-kb
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
### Option 2: Custom Configuration
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
# Install
|
|
219
|
+
agentic-sdlc install
|
|
220
|
+
|
|
221
|
+
# Customize roles
|
|
222
|
+
nano .agent/roles/dev.md
|
|
223
|
+
|
|
224
|
+
# Customize templates
|
|
225
|
+
nano .agent/templates/Development-Log-Template.md
|
|
226
|
+
|
|
227
|
+
# Commit customizations
|
|
228
|
+
git add .agent
|
|
229
|
+
git commit -m "Customize TeamLifecycle for our workflow"
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
### Option 3: Gradual Adoption
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
# Week 1: Install and learn
|
|
238
|
+
agentic-sdlc install
|
|
239
|
+
agentic-sdlc ide cursor
|
|
240
|
+
# Use for documentation only: /reporter, /pm
|
|
241
|
+
|
|
242
|
+
# Week 2: Add development
|
|
243
|
+
# Use for coding: /dev, /sa
|
|
244
|
+
|
|
245
|
+
# Week 3: Add testing
|
|
246
|
+
agentic-sdlc init-kb
|
|
247
|
+
# Use for testing: /tester, /qa
|
|
248
|
+
|
|
249
|
+
# Week 4: Full workflow
|
|
250
|
+
# Use automation: /auto
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
## 🔄 Integration with Existing Tools
|
|
256
|
+
|
|
257
|
+
### Git Integration
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
# Add to .gitignore (if you want to keep instructions private)
|
|
261
|
+
echo ".agent" >> .gitignore
|
|
262
|
+
echo ".cursorrules" >> .gitignore
|
|
263
|
+
|
|
264
|
+
# Or commit (recommended for teams)
|
|
265
|
+
git add .agent .cursorrules .github/copilot-instructions.md
|
|
266
|
+
git commit -m "Add TeamLifecycle SDLC"
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
### CI/CD Integration
|
|
272
|
+
|
|
273
|
+
```yaml
|
|
274
|
+
# .github/workflows/teamlifecycle.yml
|
|
275
|
+
name: TeamLifecycle Integration
|
|
276
|
+
|
|
277
|
+
on: [push, pull_request]
|
|
278
|
+
|
|
279
|
+
jobs:
|
|
280
|
+
validate:
|
|
281
|
+
runs-on: ubuntu-latest
|
|
282
|
+
steps:
|
|
283
|
+
- uses: actions/checkout@v3
|
|
284
|
+
|
|
285
|
+
- name: Install TeamLifecycle
|
|
286
|
+
run: |
|
|
287
|
+
npm install -g agentic-sdlc
|
|
288
|
+
agentic-sdlc install --quiet
|
|
289
|
+
|
|
290
|
+
- name: Validate Documentation
|
|
291
|
+
run: |
|
|
292
|
+
# Check if docs exist
|
|
293
|
+
test -d docs/sprints || echo "No sprints yet"
|
|
294
|
+
|
|
295
|
+
- name: Run Tests
|
|
296
|
+
run: npm test
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
### Docker Integration
|
|
302
|
+
|
|
303
|
+
```dockerfile
|
|
304
|
+
# Dockerfile
|
|
305
|
+
FROM node:20-alpine
|
|
306
|
+
|
|
307
|
+
WORKDIR /app
|
|
308
|
+
|
|
309
|
+
# Copy project files
|
|
310
|
+
COPY package*.json ./
|
|
311
|
+
RUN npm ci
|
|
312
|
+
|
|
313
|
+
# Install TeamLifecycle (optional - for development)
|
|
314
|
+
RUN npm install -g agentic-sdlc
|
|
315
|
+
|
|
316
|
+
COPY . .
|
|
317
|
+
|
|
318
|
+
# Your existing build steps
|
|
319
|
+
RUN npm run build
|
|
320
|
+
|
|
321
|
+
CMD ["npm", "start"]
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
326
|
+
### VS Code Workspace
|
|
327
|
+
|
|
328
|
+
```json
|
|
329
|
+
// .vscode/settings.json
|
|
330
|
+
{
|
|
331
|
+
"files.associations": {
|
|
332
|
+
".cursorrules": "markdown",
|
|
333
|
+
".agent**/*.md": "markdown"
|
|
334
|
+
},
|
|
335
|
+
"files.exclude": {
|
|
336
|
+
".agent/knowledge-base/bugs/**": false
|
|
337
|
+
},
|
|
338
|
+
"search.exclude": {
|
|
339
|
+
".agent/ide-integration/**": true
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
## 📊 Before & After Comparison
|
|
347
|
+
|
|
348
|
+
### Before Integration
|
|
349
|
+
|
|
350
|
+
```
|
|
351
|
+
your-project/
|
|
352
|
+
├── src/
|
|
353
|
+
├── tests/
|
|
354
|
+
├── package.json
|
|
355
|
+
└── README.md
|
|
356
|
+
|
|
357
|
+
# Development process:
|
|
358
|
+
1. Write code
|
|
359
|
+
2. Manual testing
|
|
360
|
+
3. Hope for the best
|
|
361
|
+
4. Fix bugs later
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
### After Integration
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
your-project/
|
|
368
|
+
├── .agent/ # NEW - AI-powered SDLC
|
|
369
|
+
├── docs/sprints/ # NEW - Organized documentation
|
|
370
|
+
├── src/ # EXISTING - Your code
|
|
371
|
+
├── tests/ # EXISTING - Your tests
|
|
372
|
+
├── package.json # EXISTING
|
|
373
|
+
└── README.md # EXISTING
|
|
374
|
+
|
|
375
|
+
# Development process:
|
|
376
|
+
1. /pm Plan feature
|
|
377
|
+
2. /sa Design architecture
|
|
378
|
+
3. /dev Implement with guidance
|
|
379
|
+
4. /tester Automated testing
|
|
380
|
+
5. /reporter Documentation
|
|
381
|
+
6. Knowledge base learns
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
## 🎓 Learning Path for Existing Projects
|
|
387
|
+
|
|
388
|
+
### Day 1: Installation & Exploration
|
|
389
|
+
```bash
|
|
390
|
+
cd your-project
|
|
391
|
+
agentic-sdlc install
|
|
392
|
+
agentic-sdlc ide cursor
|
|
393
|
+
|
|
394
|
+
# Explore
|
|
395
|
+
cat .agent/usage.md
|
|
396
|
+
cat .agent/global.md
|
|
397
|
+
|
|
398
|
+
# Try simple command
|
|
399
|
+
# In IDE: /pm Analyze current project structure
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
### Day 2: Documentation
|
|
405
|
+
```bash
|
|
406
|
+
# Generate documentation for existing code
|
|
407
|
+
# In IDE: /reporter Create documentation for current codebase
|
|
408
|
+
# In IDE: /sa Document current architecture
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
---
|
|
412
|
+
|
|
413
|
+
### Day 3: Code Review
|
|
414
|
+
```bash
|
|
415
|
+
# Review existing code
|
|
416
|
+
# In IDE: /qa Review code quality in src/
|
|
417
|
+
# In IDE: /seca Security audit of authentication module
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
### Day 4: Improvements
|
|
423
|
+
```bash
|
|
424
|
+
# Start making improvements
|
|
425
|
+
# In IDE: /dev Refactor user service
|
|
426
|
+
# In IDE: /tester Add unit tests for utils
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
---
|
|
430
|
+
|
|
431
|
+
### Day 5: Knowledge Base
|
|
432
|
+
```bash
|
|
433
|
+
agentic-sdlc init-kb
|
|
434
|
+
|
|
435
|
+
# Document existing issues
|
|
436
|
+
# In IDE: /kb-add Solution for database connection pooling issue
|
|
437
|
+
# In IDE: /kb-add React state management pattern we use
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
## ⚠️ Common Issues & Solutions
|
|
443
|
+
|
|
444
|
+
### Issue 1: .agent Already Exists
|
|
445
|
+
|
|
446
|
+
```bash
|
|
447
|
+
# If you have existing .agent folder
|
|
448
|
+
agentic-sdlc install --force
|
|
449
|
+
|
|
450
|
+
# Or backup first
|
|
451
|
+
mv .agent .agent.backup
|
|
452
|
+
agentic-sdlc install
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
---
|
|
456
|
+
|
|
457
|
+
### Issue 2: Conflicts with Existing IDE Config
|
|
458
|
+
|
|
459
|
+
```bash
|
|
460
|
+
# Backup existing config
|
|
461
|
+
cp .cursorrules .cursorrules.backup
|
|
462
|
+
|
|
463
|
+
# Install
|
|
464
|
+
agentic-sdlc ide cursor --force
|
|
465
|
+
|
|
466
|
+
# Merge if needed
|
|
467
|
+
cat .cursorrules.backup >> .cursorrules
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
---
|
|
471
|
+
|
|
472
|
+
### Issue 3: Large Existing Codebase
|
|
473
|
+
|
|
474
|
+
```bash
|
|
475
|
+
# Install normally
|
|
476
|
+
agentic-sdlc install
|
|
477
|
+
|
|
478
|
+
# Use gradually
|
|
479
|
+
# Start with documentation: /reporter, /pm
|
|
480
|
+
# Then add development: /dev
|
|
481
|
+
# Finally add testing: /tester
|
|
482
|
+
|
|
483
|
+
# Don't try to refactor everything at once
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
### Issue 4: Team Resistance
|
|
489
|
+
|
|
490
|
+
```bash
|
|
491
|
+
# Install for yourself first
|
|
492
|
+
agentic-sdlc install
|
|
493
|
+
agentic-sdlc ide cursor
|
|
494
|
+
|
|
495
|
+
# Show results to team
|
|
496
|
+
# Generate impressive documentation
|
|
497
|
+
# Demonstrate faster development
|
|
498
|
+
|
|
499
|
+
# Then roll out to team
|
|
500
|
+
git add .agent
|
|
501
|
+
git commit -m "Add optional AI-powered SDLC tools"
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
## 🔒 Security Considerations
|
|
507
|
+
|
|
508
|
+
### Private Projects
|
|
509
|
+
|
|
510
|
+
```bash
|
|
511
|
+
# Keep instructions private
|
|
512
|
+
echo ".agent" >> .gitignore
|
|
513
|
+
echo ".cursorrules" >> .gitignore
|
|
514
|
+
echo ".github/copilot-instructions.md" >> .gitignore
|
|
515
|
+
|
|
516
|
+
# Install locally only
|
|
517
|
+
agentic-sdlc install
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
---
|
|
521
|
+
|
|
522
|
+
### Public Projects
|
|
523
|
+
|
|
524
|
+
```bash
|
|
525
|
+
# Safe to commit (no secrets)
|
|
526
|
+
git add .agent .cursorrules .github/copilot-instructions.md
|
|
527
|
+
git commit -m "Add TeamLifecycle SDLC"
|
|
528
|
+
|
|
529
|
+
# Instructions contain no sensitive data
|
|
530
|
+
# Only workflow definitions and templates
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
---
|
|
534
|
+
|
|
535
|
+
### Sensitive Data
|
|
536
|
+
|
|
537
|
+
```bash
|
|
538
|
+
# Never commit sensitive data to knowledge base
|
|
539
|
+
# Add to .gitignore
|
|
540
|
+
echo ".agent/knowledge-base/bugs/critical/*" >> .gitignore
|
|
541
|
+
|
|
542
|
+
# Or use separate private repo for knowledge base
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
---
|
|
546
|
+
|
|
547
|
+
## 📈 Measuring Success
|
|
548
|
+
|
|
549
|
+
### Before Integration
|
|
550
|
+
- Manual documentation
|
|
551
|
+
- Inconsistent code quality
|
|
552
|
+
- No structured workflow
|
|
553
|
+
- Knowledge in developers' heads
|
|
554
|
+
|
|
555
|
+
### After Integration (1 month)
|
|
556
|
+
- ✅ Automated documentation generation
|
|
557
|
+
- ✅ Consistent code reviews
|
|
558
|
+
- ✅ Structured SDLC workflow
|
|
559
|
+
- ✅ Knowledge base with 20+ entries
|
|
560
|
+
- ✅ 50% faster onboarding
|
|
561
|
+
- ✅ 30% fewer bugs
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
## 🎯 Best Practices
|
|
566
|
+
|
|
567
|
+
### 1. Start Small
|
|
568
|
+
```bash
|
|
569
|
+
# Don't refactor everything at once
|
|
570
|
+
# Start with new features
|
|
571
|
+
# In IDE: /pm Plan new feature X
|
|
572
|
+
# In IDE: /dev Implement feature X
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
---
|
|
576
|
+
|
|
577
|
+
### 2. Document Existing Code
|
|
578
|
+
```bash
|
|
579
|
+
# Before making changes, document what exists
|
|
580
|
+
# In IDE: /sa Document current architecture
|
|
581
|
+
# In IDE: /reporter Create API documentation
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
---
|
|
585
|
+
|
|
586
|
+
### 3. Build Knowledge Base
|
|
587
|
+
```bash
|
|
588
|
+
agentic-sdlc init-kb
|
|
589
|
+
|
|
590
|
+
# Document existing patterns
|
|
591
|
+
# In IDE: /kb-add Our authentication pattern
|
|
592
|
+
# In IDE: /kb-add Database migration strategy
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
---
|
|
596
|
+
|
|
597
|
+
### 4. Team Training
|
|
598
|
+
```bash
|
|
599
|
+
# Create team guide
|
|
600
|
+
# In IDE: /reporter Create onboarding guide for TeamLifecycle
|
|
601
|
+
|
|
602
|
+
# Share examples
|
|
603
|
+
# In IDE: /pm Example: How to add new feature
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
---
|
|
607
|
+
|
|
608
|
+
### 5. Gradual Rollout
|
|
609
|
+
```bash
|
|
610
|
+
# Week 1: You only
|
|
611
|
+
# Week 2: Your team
|
|
612
|
+
# Week 3: Other teams
|
|
613
|
+
# Week 4: Whole organization
|
|
614
|
+
```
|
|
615
|
+
|
|
616
|
+
---
|
|
617
|
+
|
|
618
|
+
## 🚀 Success Stories
|
|
619
|
+
|
|
620
|
+
### Example 1: E-commerce Platform (5 years old)
|
|
621
|
+
```bash
|
|
622
|
+
cd ecommerce-platform
|
|
623
|
+
agentic-sdlc install
|
|
624
|
+
agentic-sdlc ide all
|
|
625
|
+
agentic-sdlc init-kb
|
|
626
|
+
|
|
627
|
+
# Results after 2 months:
|
|
628
|
+
# - Documented entire legacy codebase
|
|
629
|
+
# - Refactored 3 major modules
|
|
630
|
+
# - Added 500+ tests
|
|
631
|
+
# - Knowledge base: 45 entries
|
|
632
|
+
# - Team velocity: +40%
|
|
633
|
+
```
|
|
634
|
+
|
|
635
|
+
---
|
|
636
|
+
|
|
637
|
+
### Example 2: Startup MVP (6 months old)
|
|
638
|
+
```bash
|
|
639
|
+
cd startup-mvp
|
|
640
|
+
agentic-sdlc install
|
|
641
|
+
agentic-sdlc ide cursor
|
|
642
|
+
|
|
643
|
+
# Results after 2 weeks:
|
|
644
|
+
# - Proper documentation
|
|
645
|
+
# - Security audit completed
|
|
646
|
+
# - Technical debt documented
|
|
647
|
+
# - Investor-ready documentation
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
---
|
|
651
|
+
|
|
652
|
+
### Example 3: Open Source Library (3 years old)
|
|
653
|
+
```bash
|
|
654
|
+
cd oss-library
|
|
655
|
+
agentic-sdlc install
|
|
656
|
+
agentic-sdlc ide copilot
|
|
657
|
+
|
|
658
|
+
# Results after 1 month:
|
|
659
|
+
# - Contributors use consistent workflow
|
|
660
|
+
# - Documentation always up-to-date
|
|
661
|
+
# - Code quality improved
|
|
662
|
+
# - 10 new contributors onboarded easily
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
---
|
|
666
|
+
|
|
667
|
+
## 📞 Support
|
|
668
|
+
|
|
669
|
+
### Questions?
|
|
670
|
+
- Read: `.agent/usage.md`
|
|
671
|
+
- Examples: `CLI-EXAMPLES.md`
|
|
672
|
+
- Issues: https://github.com/yourusername/agentic-sdlc/issues
|
|
673
|
+
|
|
674
|
+
### Need Help?
|
|
675
|
+
```bash
|
|
676
|
+
# Check installation
|
|
677
|
+
agentic-sdlc list
|
|
678
|
+
|
|
679
|
+
# Reinstall if needed
|
|
680
|
+
agentic-sdlc install --force
|
|
681
|
+
|
|
682
|
+
# Setup IDE again
|
|
683
|
+
agentic-sdlc ide cursor --force
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
---
|
|
687
|
+
|
|
688
|
+
## ✅ Integration Checklist
|
|
689
|
+
|
|
690
|
+
- [ ] Navigate to existing project
|
|
691
|
+
- [ ] Run `agentic-sdlc install`
|
|
692
|
+
- [ ] Run `agentic-sdlc ide <your-ide>`
|
|
693
|
+
- [ ] Test with simple command: `/pm Analyze project`
|
|
694
|
+
- [ ] Review generated documentation
|
|
695
|
+
- [ ] Initialize knowledge base (optional)
|
|
696
|
+
- [ ] Commit changes to git (optional)
|
|
697
|
+
- [ ] Share with team (optional)
|
|
698
|
+
- [ ] Start using in daily workflow
|
|
699
|
+
|
|
700
|
+
---
|
|
701
|
+
|
|
702
|
+
**Ready to integrate? Let's go! 🚀**
|
|
703
|
+
|
|
704
|
+
```bash
|
|
705
|
+
cd your-project
|
|
706
|
+
agentic-sdlc install
|
|
707
|
+
agentic-sdlc ide cursor
|
|
708
|
+
# In IDE: /pm Let's improve this project!
|
|
709
|
+
```
|