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
package/.agent/usage.md
ADDED
|
@@ -0,0 +1,653 @@
|
|
|
1
|
+
# 📚 TeamLifecycle Instructions - Usage Guide
|
|
2
|
+
|
|
3
|
+
> **Version:** 1.0
|
|
4
|
+
> **Last Updated:** 2026-01-01
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🎯 Overview
|
|
9
|
+
|
|
10
|
+
This instruction set simulates a **complete Software Development Lifecycle (SDLC)** with specialized roles. When you invoke a role using `@tag`, the AI will act as that role and perform tasks according to the defined workflow.
|
|
11
|
+
|
|
12
|
+
**Supports all project types:**
|
|
13
|
+
- 🌐 Web Applications (SPA, SSR, PWA)
|
|
14
|
+
- 📱 Mobile Apps (iOS, Android, Cross-platform)
|
|
15
|
+
- 🖥️ Desktop Applications (Windows, macOS, Linux)
|
|
16
|
+
- 🔌 Embedded Systems & IoT
|
|
17
|
+
- ⚙️ CLI Tools & Utilities
|
|
18
|
+
- 📚 Libraries & SDKs
|
|
19
|
+
- 🔗 APIs & Backend Services
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 📁 Directory Structure
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
.agent/
|
|
27
|
+
├── global.md # Global rules (mandatory)
|
|
28
|
+
├── usage.md # This usage guide
|
|
29
|
+
├── roles/ # Team roles
|
|
30
|
+
│ ├── pm.md # Project Manager
|
|
31
|
+
│ ├── po.md # Product Owner
|
|
32
|
+
│ ├── sa.md # System Analyst
|
|
33
|
+
│ ├── designer.md # UI/UX Designer
|
|
34
|
+
│ ├── qa.md # Quality Assurance
|
|
35
|
+
│ ├── seca.md # Security Analyst
|
|
36
|
+
│ ├── dev.md # Developer
|
|
37
|
+
│ ├── devops.md # DevOps Engineer
|
|
38
|
+
│ ├── tester.md # Tester
|
|
39
|
+
│ ├── reporter.md # Reporter
|
|
40
|
+
│ └── stakeholder.md # Stakeholder
|
|
41
|
+
├── templates/ # Document templates
|
|
42
|
+
│ ├── Project-Plan-Template.md
|
|
43
|
+
│ ├── Product-Backlog-Template.md
|
|
44
|
+
│ ├── System-Design-Spec-Template.md
|
|
45
|
+
│ ├── UIUX-Design-Spec-Template.md
|
|
46
|
+
│ ├── Design-Verification-Report-Template.md
|
|
47
|
+
│ ├── Security-Review-Report-Template.md
|
|
48
|
+
│ ├── Development-Log-Template.md
|
|
49
|
+
│ ├── DevOps-Plan-Template.md
|
|
50
|
+
│ ├── Test-Report-Template.md
|
|
51
|
+
│ ├── Phase-Report-Template.md
|
|
52
|
+
│ ├── Master-Documentation-Template.md
|
|
53
|
+
│ ├── Final-Project-Report-Template.md
|
|
54
|
+
│ ├── Final-Approval-Report-Template.md
|
|
55
|
+
│ ├── Knowledge-Entry-Template.md
|
|
56
|
+
│ ├── definition-of-done.md
|
|
57
|
+
│ └── incident-response.md
|
|
58
|
+
└── knowledge-base/ # Project memory
|
|
59
|
+
├── README.md # Knowledge base guide
|
|
60
|
+
├── index.md # Searchable index
|
|
61
|
+
├── bugs/ # Bug patterns
|
|
62
|
+
├── features/ # Complex features
|
|
63
|
+
├── architecture/ # Architecture decisions
|
|
64
|
+
├── security/ # Security issues
|
|
65
|
+
├── performance/ # Optimizations
|
|
66
|
+
└── platform-specific/ # Platform issues
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 🚀 Getting Started
|
|
72
|
+
|
|
73
|
+
### Execution Modes
|
|
74
|
+
|
|
75
|
+
The system supports 3 execution modes:
|
|
76
|
+
|
|
77
|
+
#### Mode 1: Manual (Default)
|
|
78
|
+
You tag each role manually at each step. Full control, step-by-step.
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
@PM - I want to build a wedding website...
|
|
82
|
+
[Review plan]
|
|
83
|
+
"Approved"
|
|
84
|
+
@SA - Begin backend design
|
|
85
|
+
[Review design]
|
|
86
|
+
@QA - Review design
|
|
87
|
+
...
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Mode 2: Semi-Auto
|
|
91
|
+
Orchestrator auto-executes within phases, waits at phase boundaries.
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
@PM - I want to build a wedding website --mode=semi-auto
|
|
95
|
+
[Review plan]
|
|
96
|
+
"Approved"
|
|
97
|
+
→ Auto-executes: SA + UIUX + PO → QA + SecA
|
|
98
|
+
[Review design phase results]
|
|
99
|
+
@ORCHESTRATOR - Continue to development
|
|
100
|
+
→ Auto-executes: DEV + DevOps
|
|
101
|
+
...
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
#### Mode 3: Full-Auto (Recommended for Speed)
|
|
105
|
+
Orchestrator executes entire workflow, only stops at critical gates.
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
@PM - I want to build a wedding website --mode=full-auto
|
|
109
|
+
[Review plan]
|
|
110
|
+
"Approved"
|
|
111
|
+
→ Auto-executes entire workflow
|
|
112
|
+
→ Stops only at: Critical bugs, Final approval
|
|
113
|
+
|
|
114
|
+
[30-60 minutes later]
|
|
115
|
+
"⚠️ Decision required: 2 high-priority bugs found"
|
|
116
|
+
[Make decision]
|
|
117
|
+
→ Continues automatically
|
|
118
|
+
"✅ Project complete, ready for stakeholder review"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
### Step 1: Start a Project
|
|
124
|
+
|
|
125
|
+
**Manual Mode:**
|
|
126
|
+
```
|
|
127
|
+
@PM - I want to build a wedding website with:
|
|
128
|
+
- Couple introduction page
|
|
129
|
+
- Countdown timer
|
|
130
|
+
- Photo gallery
|
|
131
|
+
- RSVP form
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Full-Auto Mode:**
|
|
135
|
+
```
|
|
136
|
+
@PM - I want to build a wedding website with:
|
|
137
|
+
- Couple introduction page
|
|
138
|
+
- Countdown timer
|
|
139
|
+
- Photo gallery
|
|
140
|
+
- RSVP form
|
|
141
|
+
--mode=full-auto
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
PM will create `Project-Plan-Sprint-1-v1.md` and wait for your approval.
|
|
145
|
+
|
|
146
|
+
### Step 2: Approval
|
|
147
|
+
|
|
148
|
+
After reviewing the plan, respond with:
|
|
149
|
+
- ✅ **"Approved"** - Proceed to next phase
|
|
150
|
+
- 🔄 **Provide feedback** - PM will revise and create a new version
|
|
151
|
+
|
|
152
|
+
### Step 3: Workflow Execution
|
|
153
|
+
|
|
154
|
+
**Manual Mode:** You tag each role as needed
|
|
155
|
+
|
|
156
|
+
**Semi-Auto/Full-Auto Mode:** Orchestrator handles the flow
|
|
157
|
+
|
|
158
|
+
```
|
|
159
|
+
Approved → Design (SA+UIUX+PO) → Review (QA+SecA) → Development (DEV+DevOps)
|
|
160
|
+
→ Testing (TESTER) → Reporting (REPORTER) → Final Review (STAKEHOLDER)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## 🤖 Orchestrator Commands
|
|
166
|
+
|
|
167
|
+
### Check Status
|
|
168
|
+
```
|
|
169
|
+
@ORCHESTRATOR - Status
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Pause/Resume
|
|
173
|
+
```
|
|
174
|
+
@ORCHESTRATOR - Pause
|
|
175
|
+
@ORCHESTRATOR - Resume
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Change Mode
|
|
179
|
+
```
|
|
180
|
+
@ORCHESTRATOR - Switch to semi-auto mode
|
|
181
|
+
@ORCHESTRATOR - Switch to manual mode
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
### Skip to Phase (use with caution)
|
|
185
|
+
```
|
|
186
|
+
@ORCHESTRATOR - Skip to testing phase
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## 📋 Roles & Tags
|
|
192
|
+
|
|
193
|
+
| Role | Tag | Responsibility | Works On |
|
|
194
|
+
|------|-----|----------------|----------|
|
|
195
|
+
| **Orchestrator** | `@ORCHESTRATOR` | Workflow automation, auto-execute phases | All project types |
|
|
196
|
+
| **Project Manager** | `@PM` | Planning, scope management, team coordination | All project types |
|
|
197
|
+
| **Product Owner** | `@PO` | Backlog management, feature prioritization, business value | All project types |
|
|
198
|
+
| **System Analyst** | `@SA` | System architecture, data models, interfaces (API/CLI/Protocol) | All project types |
|
|
199
|
+
| **UI/UX Designer** | `@UIUX` | Interface design, user experience (GUI/CLI/API DX) | GUI, CLI, API projects |
|
|
200
|
+
| **QA Analyst** | `@QA` | Design review, quality assurance, testability | All project types |
|
|
201
|
+
| **Security Analyst** | `@SECA` | Security assessment, vulnerability analysis | All project types |
|
|
202
|
+
| **Developer** | `@DEV` | Code implementation across all platforms | All project types |
|
|
203
|
+
| **DevOps** | `@DEVOPS` | CI/CD, deployment (cloud/stores/packages), infrastructure | All project types |
|
|
204
|
+
| **Tester** | `@TESTER` | Functional testing, bug detection, platform testing | All project types |
|
|
205
|
+
| **Reporter** | `@REPORTER` | Progress reports, comprehensive documentation | All project types |
|
|
206
|
+
| **Stakeholder** | `@STAKEHOLDER` | Final approval, business acceptance | All project types |
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## 🏷️ Important Tags
|
|
211
|
+
|
|
212
|
+
### Phase Tags
|
|
213
|
+
| Tag | Description | Used By |
|
|
214
|
+
|-----|-------------|---------|
|
|
215
|
+
| `#orchestrator` | Workflow automation | ORCHESTRATOR |
|
|
216
|
+
| `#automation` | Automated execution | ORCHESTRATOR |
|
|
217
|
+
| `#planning` | Planning phase | PM |
|
|
218
|
+
| `#product-owner` | Product ownership activities | PO |
|
|
219
|
+
| `#backlog` | Backlog management | PO |
|
|
220
|
+
| `#designing` | Design phase (system architecture) | SA |
|
|
221
|
+
| `#uiux-design` | UI/UX design phase | UIUX |
|
|
222
|
+
| `#verify-design` | Design verification | QA |
|
|
223
|
+
| `#security-review` | Security review | SecA |
|
|
224
|
+
| `#development` | Development phase | DEV |
|
|
225
|
+
| `#devops` | DevOps activities | DevOps |
|
|
226
|
+
| `#testing` | Testing phase | TESTER |
|
|
227
|
+
| `#reporting` | Reporting phase | REPORTER |
|
|
228
|
+
| `#stakeholder-review` | Stakeholder review | STAKEHOLDER |
|
|
229
|
+
|
|
230
|
+
### Bug Priority Tags
|
|
231
|
+
| Tag | Severity |
|
|
232
|
+
|-----|----------|
|
|
233
|
+
| `#fixbug-critical` | Breaks core functionality |
|
|
234
|
+
| `#fixbug-high` | Major feature broken |
|
|
235
|
+
| `#fixbug-medium` | Works but incorrect behavior |
|
|
236
|
+
| `#fixbug-low` | Cosmetic issues |
|
|
237
|
+
|
|
238
|
+
### Special Tags
|
|
239
|
+
| Tag | Description | Used By |
|
|
240
|
+
|-----|-------------|---------|
|
|
241
|
+
| `#searching` | Research/web search activity | All roles |
|
|
242
|
+
| `#blocked` | Blocked, needs support | All roles |
|
|
243
|
+
| `#hotfix` | Emergency fix | DEV, DevOps |
|
|
244
|
+
| `#rollback` | Needs rollback | DevOps |
|
|
245
|
+
| `#deployed-staging` | Deployed to staging | DevOps |
|
|
246
|
+
| `#deployed-production` | Deployed to production | DevOps |
|
|
247
|
+
| `#incident` | Incident response | All roles |
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 📄 Generated Artifacts
|
|
252
|
+
|
|
253
|
+
Artifacts are organized by Sprint and type in the `docs/` folder:
|
|
254
|
+
|
|
255
|
+
### Sprint-Based Structure
|
|
256
|
+
```
|
|
257
|
+
docs/
|
|
258
|
+
├── sprints/
|
|
259
|
+
│ ├── sprint-1/
|
|
260
|
+
│ │ ├── plans/ # Project plans, backlogs
|
|
261
|
+
│ │ ├── designs/ # System & UI/UX designs
|
|
262
|
+
│ │ ├── reviews/ # QA & Security reviews
|
|
263
|
+
│ │ ├── logs/ # Development & DevOps logs
|
|
264
|
+
│ │ ├── tests/ # Test reports
|
|
265
|
+
│ │ └── reports/ # Phase reports
|
|
266
|
+
│ └── sprint-2/
|
|
267
|
+
│ └── ...
|
|
268
|
+
└── global/
|
|
269
|
+
├── Master-Documentation.md
|
|
270
|
+
└── reports/
|
|
271
|
+
├── Final-Project-Report.md
|
|
272
|
+
└── Final-Approval-Report.md
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
### Artifact Types by Category
|
|
276
|
+
|
|
277
|
+
| Category | Artifacts | Owner | Location |
|
|
278
|
+
|----------|-----------|-------|----------|
|
|
279
|
+
| **Plans** | Project-Plan-Sprint-[N]-v*.md<br>Product-Backlog-Sprint-[N]-v*.md | PM, PO | `docs/sprints/sprint-[N]/plans/` |
|
|
280
|
+
| **Designs** | System-Design-Spec-Sprint-[N]-v*.md<br>UIUX-Design-Spec-Sprint-[N]-v*.md | SA, UIUX | `docs/sprints/sprint-[N]/designs/` |
|
|
281
|
+
| **Reviews** | Design-Verification-Report-Sprint-[N]-v*.md<br>Security-Review-Report-Sprint-[N]-v*.md | QA, SecA | `docs/sprints/sprint-[N]/reviews/` |
|
|
282
|
+
| **Logs** | Development-Log-Sprint-[N]-v*.md<br>DevOps-Plan-and-Log-Sprint-[N]-v*.md | DEV, DevOps | `docs/sprints/sprint-[N]/logs/` |
|
|
283
|
+
| **Tests** | Test-Report-Sprint-[N]-v*.md | TESTER | `docs/sprints/sprint-[N]/tests/` |
|
|
284
|
+
| **Reports** | Phase-Report-Sprint-[N]-v*.md | REPORTER | `docs/sprints/sprint-[N]/reports/` |
|
|
285
|
+
| **Global** | Master-Documentation.md<br>Final-Project-Report.md<br>Final-Approval-Report.md | REPORTER, STAKEHOLDER | `docs/global/` and `docs/global/reports/` |
|
|
286
|
+
|
|
287
|
+
> ⚠️ **CRITICAL:** All artifacts are in `docs/`, NEVER in `.agent/` (reserved for instructions only)
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## 💡 Usage Examples
|
|
292
|
+
|
|
293
|
+
### Quick Start with Full-Auto Mode
|
|
294
|
+
|
|
295
|
+
```
|
|
296
|
+
@PM - Build a todo app with:
|
|
297
|
+
- User authentication
|
|
298
|
+
- Task CRUD operations
|
|
299
|
+
- Priority levels
|
|
300
|
+
- Due dates
|
|
301
|
+
Platform: Web (React + Node.js)
|
|
302
|
+
--mode=full-auto
|
|
303
|
+
|
|
304
|
+
[Review plan]
|
|
305
|
+
"Approved"
|
|
306
|
+
|
|
307
|
+
[Wait 30-60 minutes - Orchestrator handles everything]
|
|
308
|
+
|
|
309
|
+
[Only interrupted for critical decisions]
|
|
310
|
+
"⚠️ Decision required: High-priority bug found"
|
|
311
|
+
"1" (to fix)
|
|
312
|
+
|
|
313
|
+
[Final notification]
|
|
314
|
+
"✅ Project complete - ready for stakeholder review"
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### Starting Different Project Types
|
|
318
|
+
|
|
319
|
+
#### Web Application
|
|
320
|
+
```
|
|
321
|
+
@PM - I want to build a wedding website with:
|
|
322
|
+
- Couple introduction page
|
|
323
|
+
- Countdown timer
|
|
324
|
+
- Photo gallery
|
|
325
|
+
- RSVP form
|
|
326
|
+
Platform: Web (responsive)
|
|
327
|
+
Tech preference: React/Next.js
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
#### Mobile App
|
|
331
|
+
```
|
|
332
|
+
@PM - I need a fitness tracking mobile app with:
|
|
333
|
+
- Workout logging
|
|
334
|
+
- Progress charts
|
|
335
|
+
- Goal setting
|
|
336
|
+
- Push notifications
|
|
337
|
+
Platform: iOS and Android
|
|
338
|
+
Tech preference: React Native or Flutter
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
#### CLI Tool
|
|
342
|
+
```
|
|
343
|
+
@PM - Build a CLI tool for:
|
|
344
|
+
- File conversion (JSON to YAML)
|
|
345
|
+
- Batch processing
|
|
346
|
+
- Configuration validation
|
|
347
|
+
Platform: Cross-platform CLI
|
|
348
|
+
Tech preference: Node.js or Go
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
#### Desktop Application
|
|
352
|
+
```
|
|
353
|
+
@PM - Create a desktop note-taking app with:
|
|
354
|
+
- Rich text editor
|
|
355
|
+
- Local storage
|
|
356
|
+
- Search functionality
|
|
357
|
+
- Export to PDF
|
|
358
|
+
Platform: Windows and macOS
|
|
359
|
+
Tech preference: Electron
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
#### API/Backend Service
|
|
363
|
+
```
|
|
364
|
+
@PM - Develop a REST API for:
|
|
365
|
+
- User authentication
|
|
366
|
+
- CRUD operations for tasks
|
|
367
|
+
- Real-time notifications
|
|
368
|
+
- Rate limiting
|
|
369
|
+
Platform: Backend API
|
|
370
|
+
Tech preference: Node.js/Express or Python/FastAPI
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
### Role-Specific Requests
|
|
374
|
+
|
|
375
|
+
#### Request system design
|
|
376
|
+
```
|
|
377
|
+
@SA - Design the architecture for a real-time chat system
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
#### Request UI/UX design
|
|
381
|
+
```
|
|
382
|
+
@UIUX - Design a mobile-first dashboard with dark mode support
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
#### Request bug fix
|
|
386
|
+
```
|
|
387
|
+
@DEV - Fix BUG-001: Countdown not displaying correctly on mobile
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
#### Request security review
|
|
391
|
+
```
|
|
392
|
+
@SECA - Review authentication flow for OAuth vulnerabilities
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
#### Check progress
|
|
396
|
+
```
|
|
397
|
+
@REPORTER - Summarize current project progress
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
#### Request deployment
|
|
401
|
+
```
|
|
402
|
+
@DEVOPS - Deploy current version to staging environment
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
#### Request testing
|
|
406
|
+
```
|
|
407
|
+
@TESTER - Test the new payment integration on iOS and Android
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
## 🔧 Platform-Specific Workflows
|
|
413
|
+
|
|
414
|
+
### Web Application Workflow
|
|
415
|
+
1. **@PM** - Define features and target browsers
|
|
416
|
+
2. **@SA** - Design API architecture and data flow
|
|
417
|
+
3. **@UIUX** - Create responsive designs (mobile-first)
|
|
418
|
+
4. **@QA** - Review for cross-browser compatibility
|
|
419
|
+
5. **@SECA** - Check for XSS, CSRF, security headers
|
|
420
|
+
6. **@DEV** - Implement frontend and backend
|
|
421
|
+
7. **@DEVOPS** - Setup CI/CD, deploy to cloud
|
|
422
|
+
8. **@TESTER** - Test across browsers and devices
|
|
423
|
+
|
|
424
|
+
### Mobile App Workflow
|
|
425
|
+
1. **@PM** - Define features and target platforms (iOS/Android)
|
|
426
|
+
2. **@SA** - Design app architecture and offline support
|
|
427
|
+
3. **@UIUX** - Create platform-specific designs (iOS HIG, Material Design)
|
|
428
|
+
4. **@QA** - Review for platform guidelines compliance
|
|
429
|
+
5. **@SECA** - Check for data storage security, API security
|
|
430
|
+
6. **@DEV** - Implement using native or cross-platform framework
|
|
431
|
+
7. **@DEVOPS** - Setup app store deployment pipeline
|
|
432
|
+
8. **@TESTER** - Test on multiple devices and OS versions
|
|
433
|
+
|
|
434
|
+
### CLI Tool Workflow
|
|
435
|
+
1. **@PM** - Define commands and use cases
|
|
436
|
+
2. **@SA** - Design command structure and configuration
|
|
437
|
+
3. **@UIUX** - Design CLI UX (prompts, output formatting, help text)
|
|
438
|
+
4. **@QA** - Review for usability and error handling
|
|
439
|
+
5. **@SECA** - Check for command injection, file access security
|
|
440
|
+
6. **@DEV** - Implement CLI logic
|
|
441
|
+
7. **@DEVOPS** - Setup package registry publishing (npm, PyPI, etc.)
|
|
442
|
+
8. **@TESTER** - Test commands and edge cases
|
|
443
|
+
|
|
444
|
+
### Desktop App Workflow
|
|
445
|
+
1. **@PM** - Define features and target OS
|
|
446
|
+
2. **@SA** - Design app architecture and local storage
|
|
447
|
+
3. **@UIUX** - Create OS-native designs
|
|
448
|
+
4. **@QA** - Review for OS guidelines compliance
|
|
449
|
+
5. **@SECA** - Check for privilege escalation, auto-update security
|
|
450
|
+
6. **@DEV** - Implement using Electron, Qt, or native frameworks
|
|
451
|
+
7. **@DEVOPS** - Setup installer/package creation
|
|
452
|
+
8. **@TESTER** - Test on target operating systems
|
|
453
|
+
|
|
454
|
+
### API/Backend Workflow
|
|
455
|
+
1. **@PM** - Define API requirements and consumers
|
|
456
|
+
2. **@SA** - Design API endpoints, data models, authentication
|
|
457
|
+
3. **@UIUX** - Design API documentation and developer experience
|
|
458
|
+
4. **@QA** - Review for API design best practices
|
|
459
|
+
5. **@SECA** - Check for authentication, rate limiting, input validation
|
|
460
|
+
6. **@DEV** - Implement API endpoints
|
|
461
|
+
7. **@DEVOPS** - Setup API gateway, monitoring, scaling
|
|
462
|
+
8. **@TESTER** - Test API endpoints, load testing
|
|
463
|
+
|
|
464
|
+
### ✅ DO:
|
|
465
|
+
- Start with `@PM` for new projects
|
|
466
|
+
- Provide clear approval before phase transitions
|
|
467
|
+
- Use correct tags to invoke roles
|
|
468
|
+
- Review generated artifacts
|
|
469
|
+
- **Create and save the required report file after completing any task**
|
|
470
|
+
- **Search knowledge base before starting complex work**
|
|
471
|
+
- **Document difficult bugs/features in knowledge base (3+ attempts)**
|
|
472
|
+
|
|
473
|
+
### ❌ DON'T:
|
|
474
|
+
- Skip phases (e.g., coding before design approval)
|
|
475
|
+
- Add features not in approved plan
|
|
476
|
+
- Bypass security review
|
|
477
|
+
- Ignore knowledge base when facing similar issues
|
|
478
|
+
|
|
479
|
+
---
|
|
480
|
+
|
|
481
|
+
## 🔄 Changing Scope
|
|
482
|
+
|
|
483
|
+
1. Invoke `@PM` with change request
|
|
484
|
+
2. PM creates new plan version
|
|
485
|
+
3. Wait for re-approval
|
|
486
|
+
4. Continue workflow
|
|
487
|
+
|
|
488
|
+
---
|
|
489
|
+
|
|
490
|
+
## 📚 Available Templates
|
|
491
|
+
|
|
492
|
+
All templates are located in `.agent/templates/`:
|
|
493
|
+
|
|
494
|
+
### Planning Templates
|
|
495
|
+
- `Project-Plan-Template.md` - Initial project planning
|
|
496
|
+
- `Product-Backlog-Template.md` - Feature backlog management
|
|
497
|
+
|
|
498
|
+
### Design Templates
|
|
499
|
+
- `System-Design-Spec-Template.md` - System/backend architecture (all platforms)
|
|
500
|
+
- `UIUX-Design-Spec-Template.md` - UI/UX design (GUI, CLI, API DX)
|
|
501
|
+
|
|
502
|
+
### Review Templates
|
|
503
|
+
- `Design-Verification-Report-Template.md` - QA design review
|
|
504
|
+
- `Security-Review-Report-Template.md` - Security assessment
|
|
505
|
+
|
|
506
|
+
### Development Templates
|
|
507
|
+
- `Development-Log-Template.md` - Development progress tracking
|
|
508
|
+
- `DevOps-Plan-Template.md` - Infrastructure and deployment
|
|
509
|
+
|
|
510
|
+
### Testing Templates
|
|
511
|
+
- `Test-Report-Template.md` - Testing results and bugs
|
|
512
|
+
|
|
513
|
+
### Reporting Templates
|
|
514
|
+
- `Phase-Report-Template.md` - Sprint/phase summaries
|
|
515
|
+
- `Master-Documentation-Template.md` - Complete project documentation
|
|
516
|
+
- `Final-Project-Report-Template.md` - Final project summary
|
|
517
|
+
- `Final-Approval-Report-Template.md` - Stakeholder approval
|
|
518
|
+
|
|
519
|
+
### Reference Templates
|
|
520
|
+
- `definition-of-done.md` - Quality checklist
|
|
521
|
+
- `incident-response.md` - Emergency procedures
|
|
522
|
+
- `Knowledge-Entry-Template.md` - Knowledge base entry
|
|
523
|
+
|
|
524
|
+
---
|
|
525
|
+
|
|
526
|
+
## 🧠 Knowledge Base
|
|
527
|
+
|
|
528
|
+
### What is Knowledge Base?
|
|
529
|
+
A memory system that stores lessons learned, bug patterns, and difficult features for future reference.
|
|
530
|
+
|
|
531
|
+
### When to Use
|
|
532
|
+
**Create Entry When:**
|
|
533
|
+
- Bug required 3+ attempts to fix
|
|
534
|
+
- Feature was particularly challenging
|
|
535
|
+
- Solution was non-obvious
|
|
536
|
+
- Issue likely to recur
|
|
537
|
+
|
|
538
|
+
**Search Before:**
|
|
539
|
+
- Starting complex features
|
|
540
|
+
- Fixing unfamiliar bugs
|
|
541
|
+
- Making architecture decisions
|
|
542
|
+
- Dealing with platform-specific issues
|
|
543
|
+
|
|
544
|
+
### How to Use
|
|
545
|
+
1. **Search:** Check `.agent/knowledge-base/index.md`
|
|
546
|
+
2. **Browse:** Navigate by category (bugs, features, architecture, etc.)
|
|
547
|
+
3. **Create:** Use `Knowledge-Entry-Template.md` when needed
|
|
548
|
+
4. **Update:** Keep index.md current
|
|
549
|
+
|
|
550
|
+
### Structure
|
|
551
|
+
```
|
|
552
|
+
knowledge-base/
|
|
553
|
+
├── index.md # Searchable index
|
|
554
|
+
├── README.md # Usage guide
|
|
555
|
+
├── bugs/ # Bug patterns
|
|
556
|
+
│ ├── critical/
|
|
557
|
+
│ ├── high/
|
|
558
|
+
│ ├── medium/
|
|
559
|
+
│ └── low/
|
|
560
|
+
├── features/ # Complex features
|
|
561
|
+
│ ├── authentication/
|
|
562
|
+
│ ├── performance/
|
|
563
|
+
│ ├── integration/
|
|
564
|
+
│ └── ui-ux/
|
|
565
|
+
├── architecture/ # Architecture decisions
|
|
566
|
+
├── security/ # Security issues
|
|
567
|
+
├── performance/ # Optimizations
|
|
568
|
+
└── platform-specific/ # Platform issues
|
|
569
|
+
├── web/
|
|
570
|
+
├── mobile/
|
|
571
|
+
├── desktop/
|
|
572
|
+
├── cli/
|
|
573
|
+
└── embedded/
|
|
574
|
+
```
|
|
575
|
+
|
|
576
|
+
---
|
|
577
|
+
|
|
578
|
+
## 📞 Need Help?
|
|
579
|
+
|
|
580
|
+
If unsure which role to invoke:
|
|
581
|
+
```
|
|
582
|
+
@PM - I need help with [describe issue], who should I contact?
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
PM will direct you to the right person.
|
|
586
|
+
|
|
587
|
+
---
|
|
588
|
+
|
|
589
|
+
#instructions #usage-guide
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
# Git & Task Workflow
|
|
593
|
+
---
|
|
594
|
+
description: Unified Git and Task Workflow
|
|
595
|
+
---
|
|
596
|
+
|
|
597
|
+
# Git & Task Management Workflow
|
|
598
|
+
|
|
599
|
+
**Requirement:** All tasks must be tracked with Jira-like precision and committed atomically.
|
|
600
|
+
|
|
601
|
+
## A. Task Board Logic
|
|
602
|
+
- All `Product-Backlog` items (User Stories) must be broken down into **Tasks** in the `Development-Log`.
|
|
603
|
+
- **Status Columns:** `Todo` | `In Progress` | `Review` | `Done`.
|
|
604
|
+
- **Assignal:** Every task must have an owner (e.g., `@DEV`, `@SA`).
|
|
605
|
+
- **Tracing:** Every completed task must link to a **Git Commit Hash**.
|
|
606
|
+
|
|
607
|
+
## B. Atomic Commit Rule
|
|
608
|
+
- ⚠️ **DO NOT** commit all changes at once at the end of a sprint.
|
|
609
|
+
- **Workflow:**
|
|
610
|
+
1. Pick a task from `Development-Log` (Mark as `In Progress`)
|
|
611
|
+
2. Implement the code
|
|
612
|
+
3. Verify locally
|
|
613
|
+
4. **COMMIT IMMEDIATELY:** `git commit -m "[Task-ID] <Description>"`
|
|
614
|
+
5. Update `Development-Log` (Mark as `Done` and add Commit Hash)
|
|
615
|
+
- This ensures a clean, traceable history and prevents "big bang" integration issues.
|
|
616
|
+
|
|
617
|
+
## C. Definition of Done (DoD)
|
|
618
|
+
A feature/task is "Done" when ALL of the following are true:
|
|
619
|
+
|
|
620
|
+
### For Development Tasks:
|
|
621
|
+
- [ ] Code implemented according to approved design specs
|
|
622
|
+
- [ ] Code follows project coding standards
|
|
623
|
+
- [ ] Local testing passed
|
|
624
|
+
- [ ] Evidence captured (screenshots/logs)
|
|
625
|
+
- [ ] Tagged with `#development`
|
|
626
|
+
- [ ] **Git Commit created and linked in Log**
|
|
627
|
+
- [ ] Handoff to TESTER completed
|
|
628
|
+
|
|
629
|
+
### For Testing:
|
|
630
|
+
- [ ] All test cases executed
|
|
631
|
+
- [ ] No critical/high bugs open
|
|
632
|
+
- [ ] Evidence documented in Test-Report
|
|
633
|
+
- [ ] Tagged with `#testing`
|
|
634
|
+
|
|
635
|
+
### For Deployment:
|
|
636
|
+
- [ ] CI/CD pipeline passing
|
|
637
|
+
- [ ] Staging environment verified
|
|
638
|
+
- [ ] Security checklist completed
|
|
639
|
+
- [ ] Tagged with `#deployed-staging` or `#deployed-production`
|
|
640
|
+
|
|
641
|
+
### For Project Completion:
|
|
642
|
+
- [ ] All Must-Have features verified
|
|
643
|
+
- [ ] STAKEHOLDER approved
|
|
644
|
+
- [ ] Final documentation complete
|
|
645
|
+
- [ ] User notified
|
|
646
|
+
|
|
647
|
+
## D. Automated Changelog Updates
|
|
648
|
+
- **Requirement:** Every commit MUST be followed by an update to CHANGELOG.md.
|
|
649
|
+
- **Format:**
|
|
650
|
+
`markdown
|
|
651
|
+
- [YYYY-MM-DD] [Commit-Hash] [Type]: [Description] (@Author)
|
|
652
|
+
``r
|
|
653
|
+
- **Types:** Feature, Fix, Refactor, Docs, Chore, Test.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Orchestrator Role - Workflow Automation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Orchestrator (Auto) Role
|
|
6
|
+
|
|
7
|
+
You are the Orchestrator in the TeamLifecycle workflow.
|
|
8
|
+
**IMPORTANT:** You must strictly adhering to the Global Rules defined in `d:\dev\template-intructions\.agent\rules\global.md`. Read this file FIRST.
|
|
9
|
+
|
|
10
|
+
## Role Description
|
|
11
|
+
Your responsibility is to **automatically execute the entire SDLC workflow** from start to finish when the user enables auto-execution mode. You act as the conductor, triggering each role in sequence and managing the flow without requiring manual user intervention at each step.
|
|
12
|
+
|
|
13
|
+
## Key Duties
|
|
14
|
+
1. Monitor Workflow State: Track phase, identify next role, detect gates.
|
|
15
|
+
2. Auto-Execute Phases: Trigger next roles, execute parallel roles (SA+UIUX+PO).
|
|
16
|
+
3. Handle Approvals: Auto-proceed for internal reviews if clear; wait for User at critical gates (Project Plan, Final Stakeholder).
|
|
17
|
+
4. Report Progress: Updates after each phase.
|
|
18
|
+
|
|
19
|
+
## Workflow Execution Summary
|
|
20
|
+
- **Setup:** @PM initializes Project Brain (LEANN) and GitHub Issue Templates.
|
|
21
|
+
- **Planning:** @PM -> User Approval -> Proceed.
|
|
22
|
+
- **Design:** @SA+@UIUX+@PO -> @QA+@SECA -> Auto-approve if no critical issues -> Proceed.
|
|
23
|
+
- **Development:** @DEV+@DEVOPS -> Monitor -> Proceed.
|
|
24
|
+
- **Testing:** @TESTER -> Critical bugs? Wait. No bugs? Proceed.
|
|
25
|
+
- **Final:** @REPORTER -> @STAKEHOLDER -> User Approval -> Complete.
|
|
26
|
+
|
|
27
|
+
## Strict Rules
|
|
28
|
+
- ❌ NEVER skip approval gates (Project Plan, Final Approval)
|
|
29
|
+
- ❌ NEVER proceed if critical bugs exist
|
|
30
|
+
- ✅ ALWAYS provide status updates
|
|
31
|
+
- ⚠️ **CRITICAL:** Create `Orchestration-Log-Sprint-[N].md` in `docs/sprints/sprint-[N]/logs/`
|
|
32
|
+
|
|
33
|
+
## Activation
|
|
34
|
+
Ideally used via `/auto [requirements]` which maps to `@PM [requirements] --mode=full-auto`.
|
|
35
|
+
If invoked as `@ORCHESTRATOR`, assume the role of managing the running process.
|