@torus-engineering/tas-kit 1.10.0 → 1.11.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 (63) hide show
  1. package/.claude/commands/ado-create.md +17 -17
  2. package/.claude/commands/ado-delete.md +11 -11
  3. package/.claude/commands/ado-get.md +12 -12
  4. package/.claude/commands/ado-status.md +12 -12
  5. package/.claude/commands/ado-update.md +15 -15
  6. package/.claude/commands/tas-adr.md +33 -33
  7. package/.claude/commands/tas-apitest-plan.md +173 -173
  8. package/.claude/commands/tas-apitest.md +143 -143
  9. package/.claude/commands/tas-brainstorm.md +14 -14
  10. package/.claude/commands/tas-bug.md +113 -113
  11. package/.claude/commands/tas-design.md +37 -37
  12. package/.claude/commands/tas-dev.md +128 -128
  13. package/.claude/commands/tas-e2e-mobile.md +155 -155
  14. package/.claude/commands/tas-e2e-web.md +163 -163
  15. package/.claude/commands/tas-e2e.md +102 -102
  16. package/.claude/commands/tas-epic.md +35 -35
  17. package/.claude/commands/tas-feature.md +47 -47
  18. package/.claude/commands/tas-fix.md +51 -51
  19. package/.claude/commands/tas-functest-mobile.md +144 -144
  20. package/.claude/commands/tas-functest-web.md +192 -192
  21. package/.claude/commands/tas-functest.md +76 -76
  22. package/.claude/commands/tas-init.md +14 -14
  23. package/.claude/commands/tas-plan.md +198 -200
  24. package/.claude/commands/tas-prd.md +37 -37
  25. package/.claude/commands/tas-review.md +111 -111
  26. package/.claude/commands/tas-sad.md +43 -43
  27. package/.claude/commands/tas-security.md +87 -87
  28. package/.claude/commands/tas-spec.md +20 -20
  29. package/.claude/commands/tas-status.md +13 -13
  30. package/.claude/commands/tas-story.md +91 -91
  31. package/.claude/commands/tas-verify.md +51 -51
  32. package/.claude/rules/common/post-review-agent.md +49 -49
  33. package/.claude/rules/common/project-status.md +14 -14
  34. package/.claude/rules/common/stack-detection.md +6 -6
  35. package/.claude/rules/common/token-logging.md +27 -27
  36. package/.claude/rules/csharp/api-testing.md +171 -171
  37. package/.claude/skills/ado-integration/SKILL.md +36 -36
  38. package/.claude/skills/tas-conventions/SKILL.md +32 -32
  39. package/.claude/skills/tas-implementation-complete/SKILL.md +100 -99
  40. package/.claude/skills/tas-tdd/SKILL.md +123 -123
  41. package/.claude/skills/token-logger/SKILL.md +19 -19
  42. package/.tas/README.md +334 -334
  43. package/.tas/checklists/code-review.md +13 -13
  44. package/.tas/checklists/security.md +3 -3
  45. package/.tas/checklists/story-done.md +11 -11
  46. package/.tas/project-status-example.yaml +3 -3
  47. package/.tas/tas-example.yaml +126 -126
  48. package/.tas/templates/ADR.md +16 -16
  49. package/.tas/templates/API-Test-Spec.md +3 -3
  50. package/.tas/templates/Bug.md +12 -12
  51. package/.tas/templates/Design-Spec.md +8 -8
  52. package/.tas/templates/E2E-Execution-Report.md +1 -1
  53. package/.tas/templates/Epic.md +1 -1
  54. package/.tas/templates/Feature.md +10 -10
  55. package/.tas/templates/Func-Test-Spec.md +3 -3
  56. package/.tas/templates/SAD.md +106 -106
  57. package/.tas/templates/Security-Report.md +3 -3
  58. package/.tas/templates/Story.md +9 -9
  59. package/.tas/tools/tas-ado-readme.md +169 -169
  60. package/.tas/tools/tas-ado.py +1 -1
  61. package/CLAUDE-Example.md +29 -53
  62. package/README.md +334 -334
  63. package/package.json +1 -1
package/README.md CHANGED
@@ -1,334 +1,334 @@
1
- # TAS Kit
2
-
3
- **Torus Agentic SDLC Kit** — Bộ công cụ AI-assisted SDLC cho Claude Code, được thiết kế theo triết lý Spec-Driven Development Context-Aware Architecture.
4
-
5
- ---
6
-
7
- ## Mục đích
8
-
9
- TAS Kit giúp các team phát triển phần mềm:
10
- - **Chuẩn hóa quy trình SDLC** với các artifacts rõ ràng (PRD, SAD, ADR, Epic, Feature, Story)
11
- - **Tối ưu hóa token usage** thông qua Context Layer — đầu phase thiết kế, tiết kiệm ở phase code
12
- - **Hỗ trợ nhiều mô hình làm việc**: từ solo developer đến full team với các role PE/SE/DSE
13
- - **Tự động hóa** với Hybrid Autonomous agents hoạt động 24/7
14
-
15
- ---
16
-
17
- ## Triết lý thiết kế
18
-
19
- ### Spec-Driven Development
20
- Tất cả code bắt đầu từ spec. Story.md "context digest" đã hấp thụ toàn bộ thông tin từ PRD, SAD, ADR, Feature. Mỗi session implement chỉ cần đọc CLAUDE.md + Story.md — không cần load lại toàn bộ artifacts.
21
-
22
- ### Human-Led, AI-Powered
23
- - **Con người chủ đạo**: Quyết định architecture, approve design, review code
24
- - **AI hỗ trợ**: Tạo draft, implement theo spec, chạy tests, phát hiện bugs
25
-
26
- ### Dual Mode Operation
27
- - **Hybrid Mode**: Developer AI làm việc cùng nhau trong session
28
- - **Autonomous Mode**: AI tự động develop 24/7, report kết quả khi xong
29
-
30
- ### Lightweight & Context-Aware
31
- - Mỗi skill < 3KB, tổng kit < 50KB
32
- - Context Layer: đầu token phase thiết kế để tiết kiệm gấp nhiều lần ở phase code
33
- - Khi code: PHẢI bắt đầu session mới (không tận dụng session đã load PRD/SAD sẽ phình Window Context)
34
-
35
- ### Role-Based & Template-Driven
36
- - 3 role thực tế của Torus: PE (Product Engineer), SE (Software Engineer), DSE (DevOps Engineer)
37
- - Templates riêng cho PRD, SAD, ADR, Epic, Feature, Story theo chuẩn Torus
38
- - Flow configurable qua file `tas.yaml`
39
-
40
- ### Azure DevOps Compatible
41
- - Output Markdown tương thích Azure DevOps Wiki
42
- - Mermaid diagrams không dùng ký tự `()` (tránh conflict với ADO syntax)
43
-
44
- ---
45
-
46
- ## SDLC Workflow
47
-
48
- :::mermaid
49
- graph TD
50
- subgraph Phase1["Phase 1: Discovery"]
51
- PRD["/tas-prd"]
52
- SAD["/tas-sad"]
53
- ADR["/tas-adr"]
54
- DESIGN["/tas-design"]
55
- PRD -->|Product Engineer| PRD_ARTIFACT["PRD.md"]
56
- PRD_ARTIFACT -->|Software Engineer| SAD
57
- PRD_ARTIFACT -->|Software Engineer| ADR
58
- SAD --> SAD_ARTIFACT["SAD.md"]
59
- ADR --> ADR_ARTIFACT["ADR-XXX.md"]
60
- PRD_ARTIFACT -->|Software Engineer| DESIGN
61
- DESIGN --> DESIGN_ARTIFACT["design-spec.md"]
62
- end
63
-
64
- subgraph Phase2["Phase 2: Planning"]
65
- EPIC["/tas-epic"]
66
- FEATURE["/tas-feature"]
67
- STORY["/tas-story"]
68
- FUNctest["/tas-functest"]
69
- PRD_ARTIFACT -->|Software Engineer| EPIC
70
- EPIC --> EPIC_ARTIFACT["Epic-XXX/"]
71
- EPIC_ARTIFACT -->|Software Engineer| FEATURE
72
- FEATURE --> FEATURE_ARTIFACT["Feature-XXX/"]
73
- SAD_ARTIFACT --> FEATURE
74
- DESIGN_ARTIFACT --> FEATURE
75
- FEATURE_ARTIFACT -->|Software Engineer| STORY
76
- STORY --> STORY_ARTIFACT["Story-XXX.md"]
77
- FEATURE_ARTIFACT -->|Software Engineer| FUNctest
78
- FUNctest --> FUNCTEST_ARTIFACT["Functional-Testing-Spec-FeatureXXX.md"]
79
- end
80
-
81
- subgraph Phase3["Phase 3: Implementation"]
82
- PLAN["/tas-plan"]
83
- DEV["/tas-dev"]
84
- FIX["/tas-fix"]
85
- APItest["/tas-apitest"]
86
- E2E["/tas-e2e"]
87
- FUNCTEST_WEB["/tas-functest-web"]
88
- FUNCTEST_MOBILE["/tas-functest-mobile"]
89
- E2E_WEB["/tas-e2e-web"]
90
- E2E_MOBILE["/tas-e2e-mobile"]
91
- BUG["/tas-bug"]
92
- REVIEW["/tas-review"]
93
- STORY_ARTIFACT -->|Software Engineer| PLAN
94
- PLAN --> PLAN_ARTIFACT["Plan.md"]
95
- PLAN_ARTIFACT -->|AI Agent| DEV
96
- DEV --> CODE["Source Code"]
97
- CODE -->|Bug found| FIX
98
- FIX --> CODE
99
- CODE -->|Software Engineer| REVIEW
100
- REVIEW --> REVIEW_ARTIFACT["Code Review Report"]
101
- STORY_ARTIFACT -->|Software Engineer| APItest
102
- APItest --> APITEST_ARTIFACT["API Testing Script"]
103
- FUNCTEST_ARTIFACT -->|Product Engineer| E2E
104
- E2E --> E2E_ARTIFACT["E2E Test Scenarios"]
105
- FUNCTEST_ARTIFACT -->|Software Engineer| FUNCTEST_WEB
106
- FUNCTEST_WEB --> FUNCTEST_WEB_ARTIFACT["Functional Test Web Script"]
107
- FUNCTEST_ARTIFACT -->|Software Engineer| FUNCTEST_MOBILE
108
- FUNCTEST_MOBILE --> FUNCTEST_MOBILE_ARTIFACT["Functional Test Mobile Script"]
109
- FUNCTEST_ARTIFACT -->|Product Engineer| E2E_WEB
110
- E2E_WEB --> E2E_WEB_ARTIFACT["E2E Web Test Script"]
111
- FUNCTEST_ARTIFACT -->|Product Engineer| E2E_MOBILE
112
- E2E_MOBILE --> E2E_MOBILE_ARTIFACT["E2E Mobile Test Script"]
113
- CODE -->|Bug found| BUG
114
- BUG --> BUG_ARTIFACT["Bug Report"]
115
- end
116
-
117
- subgraph Phase4["Phase 4: Quality & Deploy"]
118
- SECURITY["/tas-security"]
119
- PIPELINE["Pipeline / CLI"]
120
- CODE -->|DevOps Engineer| SECURITY
121
- SECURITY --> SECURITY_ARTIFACT["Security Report"]
122
- APITEST_ARTIFACT -->|Product Engineer| PIPELINE
123
- FUNCTEST_WEB_ARTIFACT --> PIPELINE
124
- FUNCTEST_MOBILE_ARTIFACT --> PIPELINE
125
- E2E_WEB_ARTIFACT --> PIPELINE
126
- E2E_MOBILE_ARTIFACT --> PIPELINE
127
- PIPELINE --> TEST_REPORT["Test Report"]
128
- SECURITY_ARTIFACT -->|DevOps Engineer| DEPLOY["Production"]
129
- TEST_REPORT --> DEPLOY
130
- end
131
-
132
- STATUS["/tas-status"] -.->|Track| PRD_ARTIFACT
133
- STATUS -.->|Track| SAD_ARTIFACT
134
- STATUS -.->|Track| STORY_ARTIFACT
135
- STATUS -.->|Track| DEPLOY
136
-
137
- style PRD_ARTIFACT fill:#e1f5ff
138
- style SAD_ARTIFACT fill:#fff4e1
139
- style DESIGN_ARTIFACT fill:#f3e5f5
140
- style STORY_ARTIFACT fill:#e8f5e9
141
- style CODE fill:#f3e5f5
142
- style TEST_REPORT fill:#c8e6c9
143
- style DEPLOY fill:#c8e6c9
144
- :::
145
-
146
- ### Phase Summary
147
-
148
- | Phase | Role | Commands | Artifacts |
149
- |-------|------|----------|-----------|
150
- | **Phase 1: Discovery** | PE, SE | `/tas-prd`, `/tas-sad`, `/tas-adr`, `/tas-design` | PRD.md, SAD.md, ADR-XXX.md, design-spec.md |
151
- | **Phase 2: Planning** | SE | `/tas-epic`, `/tas-feature`, `/tas-story`, `/tas-functest` | Epic-XXX/, Feature-XXX/, Story-XXX.md, Functional-Testing-Spec-FeatureXXX.md |
152
- | **Phase 3: Implementation** | PE, SE, AI | `/tas-plan`, `/tas-dev`, `/tas-fix`, `/tas-apitest`, `/tas-e2e`, `/tas-functest-web`, `/tas-functest-mobile`, `/tas-e2e-web`, `/tas-e2e-mobile`, `/tas-bug`, `/tas-review` | Plan.md, Source Code, API Testing Script, E2E Test Scenarios, Functional Test Scripts, Bug Report, Code Review Report |
153
- | **Phase 4: Quality & Deploy** | PE, DSE | `/tas-security`, Pipeline/CLI | Security Report, Test Report, Production |
154
-
155
- ### Chi tiết từng Phase
156
-
157
- #### Phase 1: Discovery
158
- - **PE**: Tạo PRD với `/tas-prd`
159
- - **SE**: Tạo SAD với `/tas-sad`, tạo ADR với `/tas-adr`, tạo design-spec với `/tas-design`
160
-
161
- #### Phase 2: Planning
162
- - **SE**: Breakdown Epic với `/tas-epic`, Feature với `/tas-feature`, Story với `/tas-story`
163
- - **SE**: Tạo Functional Testing Spec với `/tas-functest`
164
-
165
- #### Phase 3: Implementation
166
- - **SE**: Tạo Plan với `/tas-plan`, Implement với `/tas-dev`, Fix bug với `/tas-fix`
167
- - **SE**: Review code với `/tas-review`
168
- - **SE**: Tạo API Testing Script với `/tas-apitest`
169
- - **PE**: Tạo E2E Test Scenarios với `/tas-e2e`
170
- - **SE**: Tạo Functional Test Scripts với `/tas-functest-web`, `/tas-functest-mobile`
171
- - **PE**: Tạo E2E Test Scripts với `/tas-e2e-web`, `/tas-e2e-mobile`
172
- - **PE**: Tạo Bug Report với `/tas-bug`
173
-
174
- #### Phase 4: Quality & Deploy
175
- - **DSE**: Security Review với `/tas-security`
176
- - **PE**: Chạy Pipeline/CLI để execute Automation Tests
177
- - **DSE**: Deploy lên Production
178
-
179
- ---
180
-
181
- ## Quick Start
182
-
183
- ```bash
184
- npx @torus-engineering/tas-kit install
185
- ```
186
-
187
- ### Options
188
-
189
- ```bash
190
- npx @torus-engineering/tas-kit install --directory /path/to/my-project
191
- npx @torus-engineering/tas-kit install --yes # skip confirmation prompts
192
- ```
193
-
194
- ---
195
-
196
- ## Thiết lập quan trọng
197
-
198
- ### CLAUDE.md
199
-
200
- File cấu hình quan trọng nhất — Claude đọc file này đầu tiên trong mọi session.
201
-
202
- **Cấu trúc:**
203
- ```markdown
204
- # Project Name
205
-
206
- ## Tech Stack
207
- - Backend: .NET / Node.js / Python
208
- - Frontend: React / Next.js
209
- - Database: PostgreSQL / MySQL
210
- - Infrastructure: AWS / Azure
211
-
212
- ## Conventions
213
- - Coding standards
214
- - Architecture patterns
215
- - Testing requirements
216
- ```
217
-
218
- ### tas.yaml
219
-
220
- Điều khiển flow của TAS Kit theo từng dự án.
221
-
222
- **Cấu trúc:**
223
- ```yaml
224
- project:
225
- name: "My Project"
226
- team: "Team Name"
227
-
228
- azure_devops:
229
- enabled: true
230
- organization: "org"
231
- project: "project"
232
-
233
- flow:
234
- mode: "greenfield" # or "brownfield"
235
- use_tdd: true
236
- auto_review: true
237
- ```
238
-
239
- ### project-status.yaml
240
-
241
- Index tổng hợp trạng thái dự án được cập nhật tự động sau mỗi thay đổi artifact.
242
-
243
- **Cấu trúc:**
244
- ```yaml
245
- last_updated: 2025-01-15
246
-
247
- artifacts:
248
- prd:
249
- file: docs/prd.md
250
- status: Approved
251
- version: "1.0"
252
-
253
- epics:
254
- Epic-001:
255
- status: Active
256
- features:
257
- Feature-001:
258
- stories:
259
- Story-001:
260
- status: In Progress
261
- ```
262
-
263
- ### .env
264
-
265
- Environment variables cho Azure DevOps integration.
266
-
267
- ```bash
268
- AZURE_DEVOPS_PAT=your_pat_here
269
- AZURE_DEVOPS_ORG=your_org
270
- AZURE_DEVOPS_PROJECT=your_project
271
- ```
272
-
273
- ---
274
-
275
- ## What gets installed
276
-
277
- ```
278
- .claude/
279
- commands/ 22 slash commands (/tas-*, /ado-*)
280
- skills/ 3 auto-invoked skills
281
- agents/ 29 specialized subagents
282
- .tas/
283
- templates/ Markdown templates (PRD, SAD, ADR, Epic, Feature, Story...)
284
- checklists/ Code review, story done, security checklists
285
- tools/ ADO integration script (tas-ado.py)
286
- CLAUDE.md Project context template (edit this for your project)
287
- tas.yaml Flow configuration template (edit this for your project)
288
- .env.example Environment variable template
289
- ```
290
-
291
- ---
292
-
293
- ## Commands Reference
294
-
295
- | Command | tả | Role |
296
- |---------|-------|------|
297
- | `/tas-init` | Khởi tạo TAS cho dự án mới | All |
298
- | `/tas-status` | Hiển thị trạng thái hiện tại của dự án | All |
299
- | `/tas-prd` | Tạo/cập nhật Product Requirements Document | PE |
300
- | `/tas-sad` | Tạo/cập nhật Solution Architecture Document | SE |
301
- | `/tas-adr` | Tạo Architecture Decision Record | SE |
302
- | `/tas-design` | Tạo Design Specification | SE |
303
- | `/tas-epic` | Tạo/cập nhật Epic | SE |
304
- | `/tas-feature` | Tạo/cập nhật Feature | SE |
305
- | `/tas-story` | Tạo/cập nhật Story | SE |
306
- | `/tas-functest` | Tạo Functional Testing Specification | SE |
307
- | `/tas-spec` | Lightweight spec (solo / prototype) | SE |
308
- | `/tas-plan` | Lập kế hoạch kỹ thuật implementation | SE |
309
- | `/tas-dev` | Implement story (agentic) | AI |
310
- | `/tas-fix` | Quick fix không cần full story flow | SE |
311
- | `/tas-apitest` | Tạo API Testing Script tự động | SE |
312
- | `/tas-e2e` | Tạo E2E Test Scenarios | PE |
313
- | `/tas-functest-web` | Tạo Functional Test Script cho Web | SE |
314
- | `/tas-functest-mobile` | Tạo Functional Test Script cho Mobile | SE |
315
- | `/tas-e2e-web` | Tạo E2E Test Script cho Web | PE |
316
- | `/tas-e2e-mobile` | Tạo E2E Test Script cho Mobile | PE |
317
- | `/tas-bug` | Tạo Bug Report | PE |
318
- | `/tas-review` | Code Review với checklist | SE |
319
- | `/tas-brainstorm` | Brainstorm giải pháp | All |
320
- | `/tas-security` | Security Review | DSE |
321
- | `/ado-*` | Azure DevOps integration | All |
322
-
323
- ---
324
-
325
- ## Requirements
326
-
327
- - Node.js 18+
328
- - [Claude Code](https://claude.ai/code)
329
-
330
- ---
331
-
332
- ## Documentation
333
-
334
- Xem `.tas/README.md` sau khi install để tài liệu chi tiết.
1
+ # TAS Kit
2
+
3
+ **Torus Agentic SDLC Kit** — AI-assisted SDLC toolkit, designed following Spec-Driven Development philosophy and Context-Aware Architecture.
4
+
5
+ ---
6
+
7
+ ## Purpose
8
+
9
+ TAS Kit helps software development teams:
10
+ - **Standardize SDLC process** with clear artifacts (PRD, SAD, ADR, Epic, Feature, Story)
11
+ - **Optimize token usage** through Context Layer — invest in design phase, save in code phase
12
+ - **Support multiple workflows**: from solo developer to full team with PE/SE/DSE roles
13
+ - **Automate** with Hybrid and Autonomous agents operating 24/7
14
+
15
+ ---
16
+
17
+ ## Design Philosophy
18
+
19
+ ### Spec-Driven Development
20
+ All code starts from spec. Story.md is "context digest" that has absorbed all information from PRD, SAD, ADR, Feature. Each implementation session only needs to read CLAUDE.md + Story.md — no need to reload all artifacts.
21
+
22
+ ### Human-Led, AI-Powered
23
+ - **Human-led**: Architecture decisions, design approval, code review
24
+ - **AI-assisted**: Draft creation, implementation per spec, test execution, bug detection
25
+
26
+ ### Dual Mode Operation
27
+ - **Hybrid Mode**: Developer and AI work together in session
28
+ - **Autonomous Mode**: AI automatically develops 24/7, reports results when done
29
+
30
+ ### Lightweight & Context-Aware
31
+ - Each skill < 3KB, total kit < 50KB
32
+ - Context Layer: invest tokens in design phase to save many times in code phase
33
+ - When coding: MUST start new session (don't reuse old session that loaded PRD/SAD to avoid Window Context bloat)
34
+
35
+ ### Role-Based & Template-Driven
36
+ - 3 actual roles at Torus: PE (Product Engineer), SE (Software Engineer), DSE (DevOps Engineer)
37
+ - Separate templates for PRD, SAD, ADR, Epic, Feature, Story per Torus standards
38
+ - Flow configurable via `tas.yaml` file
39
+
40
+ ### Azure DevOps Compatible
41
+ - Markdown output compatible with Azure DevOps Wiki
42
+ - Mermaid diagrams don't use `()` characters (avoid conflict with ADO syntax)
43
+
44
+ ---
45
+
46
+ ## SDLC Workflow
47
+
48
+ :::mermaid
49
+ graph TD
50
+ subgraph Phase1["Phase 1: Discovery"]
51
+ PRD["/tas-prd"]
52
+ SAD["/tas-sad"]
53
+ ADR["/tas-adr"]
54
+ DESIGN["/tas-design"]
55
+ PRD -->|Product Engineer| PRD_ARTIFACT["PRD.md"]
56
+ PRD_ARTIFACT -->|Software Engineer| SAD
57
+ PRD_ARTIFACT -->|Software Engineer| ADR
58
+ SAD --> SAD_ARTIFACT["SAD.md"]
59
+ ADR --> ADR_ARTIFACT["ADR-XXX.md"]
60
+ PRD_ARTIFACT -->|Product Engineer| DESIGN
61
+ DESIGN --> DESIGN_ARTIFACT["design-spec.md"]
62
+ end
63
+
64
+ subgraph Phase2["Phase 2: Planning"]
65
+ EPIC["/tas-epic"]
66
+ FEATURE["/tas-feature"]
67
+ STORY["/tas-story"]
68
+ PRD_ARTIFACT -->|Product Engineer| EPIC
69
+ EPIC --> EPIC_ARTIFACT["Epic-XXX/"]
70
+ EPIC_ARTIFACT -->|Product Engineer| FEATURE
71
+ FEATURE --> FEATURE_ARTIFACT["Feature-XXX/"]
72
+ SAD_ARTIFACT --> FEATURE
73
+ DESIGN_ARTIFACT --> FEATURE
74
+ FEATURE_ARTIFACT -->|Product Engineer| STORY
75
+ STORY --> STORY_ARTIFACT["Story-XXX.md"]
76
+ end
77
+
78
+ subgraph Phase3["Phase 3: Implementation"]
79
+ PLAN["/tas-plan"]
80
+ DEV["/tas-dev"]
81
+ FIX["/tas-fix"]
82
+ APItest["/tas-apitest"]
83
+ E2E["/tas-e2e"]
84
+ FUNCTEST_WEB["/tas-functest-web"]
85
+ FUNCTEST_MOBILE["/tas-functest-mobile"]
86
+ E2E_WEB["/tas-e2e-web"]
87
+ E2E_MOBILE["/tas-e2e-mobile"]
88
+ BUG["/tas-bug"]
89
+ REVIEW["/tas-review"]
90
+ FUNctest["/tas-functest"]
91
+ STORY_ARTIFACT -->|Software Engineer| PLAN
92
+ PLAN --> STORY_ARTIFACT
93
+ STORY_ARTIFACT -->|AI Agent| DEV
94
+ DEV --> CODE["Source Code"]
95
+ CODE -->|Bug found| FIX
96
+ FIX --> CODE
97
+ CODE -->|Software Engineer| REVIEW
98
+ REVIEW --> REVIEW_ARTIFACT["Code Review Report"]
99
+ STORY_ARTIFACT -->|Software Engineer| APItest
100
+ APItest --> APITEST_ARTIFACT["API Testing Script"]
101
+ FUNCTEST_ARTIFACT -->|Product Engineer| E2E
102
+ E2E --> E2E_ARTIFACT["E2E Test Scenarios"]
103
+ FUNCTEST_ARTIFACT -->|Software Engineer| FUNCTEST_WEB
104
+ FUNCTEST_WEB --> FUNCTEST_WEB_ARTIFACT["Functional Test Web Script"]
105
+ FUNCTEST_ARTIFACT -->|Software Engineer| FUNCTEST_MOBILE
106
+ FUNCTEST_MOBILE --> FUNCTEST_MOBILE_ARTIFACT["Functional Test Mobile Script"]
107
+ FUNCTEST_ARTIFACT -->|Product Engineer| E2E_WEB
108
+ E2E_WEB --> E2E_WEB_ARTIFACT["E2E Web Test Script"]
109
+ FUNCTEST_ARTIFACT -->|Product Engineer| E2E_MOBILE
110
+ E2E_MOBILE --> E2E_MOBILE_ARTIFACT["E2E Mobile Test Script"]
111
+ CODE -->|Bug found| BUG
112
+ BUG --> BUG_ARTIFACT["Bug Report"]
113
+ FEATURE_ARTIFACT -->|Product Engineer| FUNctest
114
+ FUNctest --> FUNCTEST_ARTIFACT["Functional-Testing-Spec-FeatureXXX.md"]
115
+ end
116
+
117
+ subgraph Phase4["Phase 4: Quality & Deploy"]
118
+ SECURITY["/tas-security"]
119
+ PIPELINE["Pipeline / CLI"]
120
+ CODE -->|DevOps Engineer| SECURITY
121
+ SECURITY --> SECURITY_ARTIFACT["Security Report"]
122
+ APITEST_ARTIFACT -->|Product Engineer| PIPELINE
123
+ FUNCTEST_WEB_ARTIFACT --> PIPELINE
124
+ FUNCTEST_MOBILE_ARTIFACT --> PIPELINE
125
+ E2E_WEB_ARTIFACT --> PIPELINE
126
+ E2E_MOBILE_ARTIFACT --> PIPELINE
127
+ PIPELINE --> TEST_REPORT["Test Report"]
128
+ SECURITY_ARTIFACT -->|DevOps Engineer| DEPLOY["Production"]
129
+ TEST_REPORT --> DEPLOY
130
+ end
131
+
132
+ STATUS["/tas-status"] -.->|Track| PRD_ARTIFACT
133
+ STATUS -.->|Track| SAD_ARTIFACT
134
+ STATUS -.->|Track| STORY_ARTIFACT
135
+ STATUS -.->|Track| DEPLOY
136
+
137
+ style PRD_ARTIFACT fill:#e1f5ff
138
+ style SAD_ARTIFACT fill:#fff4e1
139
+ style DESIGN_ARTIFACT fill:#f3e5f5
140
+ style STORY_ARTIFACT fill:#e8f5e9
141
+ style CODE fill:#f3e5f5
142
+ style TEST_REPORT fill:#c8e6c9
143
+ style DEPLOY fill:#c8e6c9
144
+ :::
145
+
146
+ ### Phase Summary
147
+
148
+ | Phase | Role | Commands | Artifacts |
149
+ |-------|------|----------|-----------|
150
+ | **Phase 1: Discovery** | PE, SE | `/tas-prd`, `/tas-sad`, `/tas-adr`, `/tas-design` | PRD.md, SAD.md, ADR-XXX.md, design-spec.md |
151
+ | **Phase 2: Planning** | SE | `/tas-epic`, `/tas-feature`, `/tas-story`, `/tas-functest` | Epic-XXX/, Feature-XXX/, Story-XXX.md, Functional-Testing-Spec-FeatureXXX.md |
152
+ | **Phase 3: Implementation** | PE, SE, AI | `/tas-plan`, `/tas-dev`, `/tas-fix`, `/tas-apitest`, `/tas-e2e`, `/tas-functest-web`, `/tas-functest-mobile`, `/tas-e2e-web`, `/tas-e2e-mobile`, `/tas-bug`, `/tas-review` | Plan.md, Source Code, API Testing Script, E2E Test Scenarios, Functional Test Scripts, Bug Report, Code Review Report |
153
+ | **Phase 4: Quality & Deploy** | PE, DSE | `/tas-security`, Pipeline/CLI | Security Report, Test Report, Production |
154
+
155
+ ### Phase Details
156
+
157
+ #### Phase 1: Discovery
158
+ - **PE**: Create PRD with `/tas-prd`, create design-spec with `/tas-design`
159
+ - **SE**: Create SAD with `/tas-sad`, create ADR with `/tas-adr`
160
+
161
+ #### Phase 2: Planning
162
+ - **PE**: Breakdown Epic with `/tas-epic`, Feature with `/tas-feature`, Story with `/tas-story`
163
+
164
+ #### Phase 3: Implementation
165
+ - **SE**: Create Plan with `/tas-plan`, Implement with `/tas-dev`, Fix bug with `/tas-fix`
166
+ - **SE**: Review code with `/tas-review`
167
+ - **PE**: Create Functional Testing Spec with `/tas-functest`
168
+ - **SE**: Create API Testing Script with `/tas-apitest`
169
+ - **PE**: Create E2E Test Scenarios with `/tas-e2e`
170
+ - **SE**: Create Functional Test Scripts with `/tas-functest-web`, `/tas-functest-mobile`
171
+ - **PE**: Create E2E Test Scripts with `/tas-e2e-web`, `/tas-e2e-mobile`
172
+ - **PE**: Create Bug Report with `/tas-bug`
173
+
174
+ #### Phase 4: Quality & Deploy
175
+ - **DSE**: Security Review with `/tas-security`
176
+ - **PE**: Run Pipeline/CLI to execute Automation Tests
177
+ - **DSE**: Deploy to Production
178
+
179
+ ---
180
+
181
+ ## Quick Start
182
+
183
+ ```bash
184
+ npx @torus-engineering/tas-kit install
185
+ ```
186
+
187
+ ### Options
188
+
189
+ ```bash
190
+ npx @torus-engineering/tas-kit install --directory /path/to/my-project
191
+ npx @torus-engineering/tas-kit install --yes # skip confirmation prompts
192
+ ```
193
+
194
+ ---
195
+
196
+ ## Important Setup
197
+
198
+ ### CLAUDE.md
199
+
200
+ Most important configuration file — Claude reads this file first in every session.
201
+
202
+ **Structure:**
203
+ ```markdown
204
+ # Project Name
205
+
206
+ ## Tech Stack
207
+ - Backend: .NET / Node.js / Python
208
+ - Frontend: React / Next.js
209
+ - Database: PostgreSQL / MySQL
210
+ - Infrastructure: AWS / Azure
211
+
212
+ ## Conventions
213
+ - Coding standards
214
+ - Architecture patterns
215
+ - Testing requirements
216
+ ```
217
+
218
+ ### tas.yaml
219
+
220
+ Controls TAS Kit flow per project.
221
+
222
+ **Structure:**
223
+ ```yaml
224
+ project:
225
+ name: "My Project"
226
+ team: "Team Name"
227
+
228
+ azure_devops:
229
+ enabled: true
230
+ organization: "org"
231
+ project: "project"
232
+
233
+ flow:
234
+ mode: "greenfield" # or "brownfield"
235
+ use_tdd: true
236
+ auto_review: true
237
+ ```
238
+
239
+ ### project-status.yaml
240
+
241
+ Project status indexautomatically updated after each artifact change.
242
+
243
+ **Structure:**
244
+ ```yaml
245
+ last_updated: 2025-01-15
246
+
247
+ artifacts:
248
+ prd:
249
+ file: docs/prd.md
250
+ status: Approved
251
+ version: "1.0"
252
+
253
+ epics:
254
+ Epic-001:
255
+ status: Active
256
+ features:
257
+ Feature-001:
258
+ stories:
259
+ Story-001:
260
+ status: In Progress
261
+ ```
262
+
263
+ ### .env
264
+
265
+ Environment variables for Azure DevOps integration.
266
+
267
+ ```bash
268
+ AZURE_DEVOPS_PAT=your_pat_here
269
+ AZURE_DEVOPS_ORG=your_org
270
+ AZURE_DEVOPS_PROJECT=your_project
271
+ ```
272
+
273
+ ---
274
+
275
+ ## What gets installed
276
+
277
+ ```
278
+ .claude/
279
+ commands/ 22 slash commands (/tas-*, /ado-*)
280
+ skills/ 3 auto-invoked skills
281
+ agents/ 29 specialized subagents
282
+ .tas/
283
+ templates/ Markdown templates (PRD, SAD, ADR, Epic, Feature, Story...)
284
+ checklists/ Code review, story done, security checklists
285
+ tools/ ADO integration script (tas-ado.py)
286
+ CLAUDE.md Project context template (edit this for your project)
287
+ tas.yaml Flow configuration template (edit this for your project)
288
+ .env.example Environment variable template
289
+ ```
290
+
291
+ ---
292
+
293
+ ## Commands Reference
294
+
295
+ | Command | Description | Role |
296
+ |---------|-------------|------|
297
+ | `/tas-init` | Initialize TAS for new project | All |
298
+ | `/tas-status` | Display current project status | All |
299
+ | `/tas-prd` | Create/update Product Requirements Document | PE |
300
+ | `/tas-sad` | Create/update Solution Architecture Document | SE |
301
+ | `/tas-adr` | Create Architecture Decision Record | SE |
302
+ | `/tas-design` | Create Design Specification | SE |
303
+ | `/tas-epic` | Create/update Epic | SE |
304
+ | `/tas-feature` | Create/update Feature | SE |
305
+ | `/tas-story` | Create/update Story | SE |
306
+ | `/tas-functest` | Create Functional Testing Specification | SE |
307
+ | `/tas-spec` | Lightweight spec (solo / prototype) | SE |
308
+ | `/tas-plan` | Create technical implementation plan | SE |
309
+ | `/tas-dev` | Implement story (agentic) | AI |
310
+ | `/tas-fix` | Quick fix without full story flow | SE |
311
+ | `/tas-apitest` | Create API Testing Script automatically | SE |
312
+ | `/tas-e2e` | Create E2E Test Scenarios | PE |
313
+ | `/tas-functest-web` | Create Functional Test Script for Web | SE |
314
+ | `/tas-functest-mobile` | Create Functional Test Script for Mobile | SE |
315
+ | `/tas-e2e-web` | Create E2E Test Script for Web | PE |
316
+ | `/tas-e2e-mobile` | Create E2E Test Script for Mobile | PE |
317
+ | `/tas-bug` | Create Bug Report | PE |
318
+ | `/tas-review` | Code Review with checklist | SE |
319
+ | `/tas-brainstorm` | Brainstorm solutions | All |
320
+ | `/tas-security` | Security Review | DSE |
321
+ | `/ado-*` | Azure DevOps integration | All |
322
+
323
+ ---
324
+
325
+ ## Requirements
326
+
327
+ - Node.js 18+
328
+ - [Claude Code](https://claude.ai/code)
329
+
330
+ ---
331
+
332
+ ## Documentation
333
+
334
+ See `.tas/README.md` after install for detailed documentation.