@torus-engineering/tas-kit 1.11.1 → 1.12.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 (123) hide show
  1. package/.tas/README.md +334 -334
  2. package/{.claude → .tas/_platform/claude-code}/settings.json +0 -12
  3. package/{.claude → .tas/_platform}/hooks/code-quality.js +1 -1
  4. package/{.claude → .tas/_platform}/hooks/session-end.js +20 -25
  5. package/{.claude → .tas}/commands/ado-create.md +5 -4
  6. package/{.claude → .tas}/commands/ado-delete.md +5 -4
  7. package/{.claude → .tas}/commands/ado-update.md +5 -4
  8. package/{.claude → .tas}/commands/tas-adr.md +3 -3
  9. package/{.claude → .tas}/commands/tas-apitest-plan.md +2 -2
  10. package/{.claude → .tas}/commands/tas-apitest.md +4 -4
  11. package/{.claude → .tas}/commands/tas-bug.md +6 -6
  12. package/{.claude → .tas}/commands/tas-design.md +3 -3
  13. package/{.claude → .tas}/commands/tas-dev.md +11 -14
  14. package/{.claude → .tas}/commands/tas-epic.md +3 -3
  15. package/{.claude → .tas}/commands/tas-feature.md +4 -4
  16. package/{.claude → .tas}/commands/tas-fix.md +5 -5
  17. package/{.claude → .tas}/commands/tas-init.md +1 -1
  18. package/{.claude → .tas}/commands/tas-plan.md +198 -198
  19. package/{.claude → .tas}/commands/tas-prd.md +3 -3
  20. package/{.claude → .tas}/commands/tas-review.md +17 -15
  21. package/{.claude → .tas}/commands/tas-sad.md +3 -3
  22. package/{.claude → .tas}/commands/tas-security.md +4 -4
  23. package/{.claude → .tas}/commands/tas-story.md +3 -3
  24. package/.tas/platforms.json +5 -0
  25. package/.tas/project-status-example.yaml +17 -17
  26. package/{.claude/skills/ado-integration/SKILL.md → .tas/rules/ado-integration.md} +5 -15
  27. package/{.claude/skills/api-design/SKILL.md → .tas/rules/common/api-design.md} +517 -530
  28. package/{.claude → .tas}/rules/common/code-review.md +30 -6
  29. package/{.claude/rules/common/post-review-agent.md → .tas/rules/common/post-implementation-review.md} +51 -49
  30. package/{.claude → .tas}/rules/common/project-status.md +80 -80
  31. package/{.claude → .tas}/rules/common/stack-detection.md +29 -29
  32. package/.tas/{checklists → rules/common}/story-done.md +12 -5
  33. package/{.claude/skills/tas-tdd/SKILL.md → .tas/rules/common/tdd.md} +4 -38
  34. package/{.claude → .tas}/rules/common/testing.md +3 -8
  35. package/{.claude → .tas}/rules/common/token-logging.md +36 -27
  36. package/{.claude → .tas}/rules/csharp/api-testing.md +171 -171
  37. package/{.claude → .tas}/rules/csharp/coding-style.md +0 -2
  38. package/{.claude → .tas}/rules/csharp/security.md +10 -0
  39. package/{.claude → .tas}/rules/python/coding-style.md +0 -2
  40. package/{.claude → .tas}/rules/typescript/coding-style.md +0 -2
  41. package/.tas/rules/typescript/patterns.md +142 -0
  42. package/.tas/rules/typescript/security.md +88 -0
  43. package/{.claude → .tas}/rules/typescript/testing.md +0 -4
  44. package/{.claude → .tas}/rules/web/coding-style.md +0 -2
  45. package/.tas/tas-example.yaml +125 -126
  46. package/.tas/templates/ADR.md +47 -47
  47. package/.tas/templates/Bug.md +67 -67
  48. package/.tas/templates/Design-Spec.md +36 -36
  49. package/.tas/templates/Epic.md +46 -46
  50. package/.tas/templates/Feature.md +1 -1
  51. package/.tas/templates/Security-Report.md +27 -27
  52. package/.tas/tools/tas-ado-readme.md +169 -169
  53. package/.tas/tools/tas-ado.py +621 -621
  54. package/README.md +334 -334
  55. package/bin/cli.js +91 -73
  56. package/lib/adapters/antigravity.js +137 -0
  57. package/lib/adapters/claude-code.js +35 -0
  58. package/lib/adapters/codex.js +163 -0
  59. package/lib/adapters/cursor.js +80 -0
  60. package/lib/adapters/index.js +20 -0
  61. package/lib/adapters/utils.js +81 -0
  62. package/lib/deleted-files.json +99 -0
  63. package/lib/install.js +403 -327
  64. package/package.json +4 -3
  65. package/.claude/agents/code-reviewer.md +0 -41
  66. package/.claude/agents/e2e-runner.md +0 -61
  67. package/.claude/agents/planner.md +0 -82
  68. package/.claude/agents/tdd-guide.md +0 -84
  69. package/.claude/commands/tas-verify.md +0 -51
  70. package/.claude/rules/typescript/patterns.md +0 -62
  71. package/.claude/rules/typescript/security.md +0 -28
  72. package/.claude/settings.local.json +0 -38
  73. package/.claude/skills/ai-regression-testing/SKILL.md +0 -364
  74. package/.claude/skills/architecture-decision-records/SKILL.md +0 -184
  75. package/.claude/skills/benchmark/SKILL.md +0 -98
  76. package/.claude/skills/browser-qa/SKILL.md +0 -92
  77. package/.claude/skills/canary-watch/SKILL.md +0 -104
  78. package/.claude/skills/js-backend-patterns/SKILL.md +0 -603
  79. package/.claude/skills/tas-conventions/SKILL.md +0 -65
  80. package/.claude/skills/tas-implementation-complete/SKILL.md +0 -100
  81. package/.claude/skills/token-logger/SKILL.md +0 -19
  82. package/.tas/checklists/code-review.md +0 -29
  83. package/.tas/checklists/security.md +0 -21
  84. /package/{.claude → .tas}/agents/architect.md +0 -0
  85. /package/{.claude → .tas}/agents/aws-reviewer.md +0 -0
  86. /package/{.claude → .tas}/agents/build-resolver.md +0 -0
  87. /package/{.claude → .tas}/agents/code-explorer.md +0 -0
  88. /package/{.claude → .tas}/agents/csharp-reviewer.md +0 -0
  89. /package/{.claude → .tas}/agents/database-reviewer.md +0 -0
  90. /package/{.claude → .tas}/agents/doc-updater.md +0 -0
  91. /package/{.claude → .tas}/agents/python-reviewer.md +0 -0
  92. /package/{.claude → .tas}/agents/security-reviewer.md +0 -0
  93. /package/{.claude → .tas}/agents/typescript-reviewer.md +0 -0
  94. /package/{.claude → .tas}/commands/ado-get.md +0 -0
  95. /package/{.claude → .tas}/commands/ado-status.md +0 -0
  96. /package/{.claude → .tas}/commands/tas-brainstorm.md +0 -0
  97. /package/{.claude → .tas}/commands/tas-e2e-mobile.md +0 -0
  98. /package/{.claude → .tas}/commands/tas-e2e-web.md +0 -0
  99. /package/{.claude → .tas}/commands/tas-e2e.md +0 -0
  100. /package/{.claude → .tas}/commands/tas-functest-mobile.md +0 -0
  101. /package/{.claude → .tas}/commands/tas-functest-web.md +0 -0
  102. /package/{.claude → .tas}/commands/tas-functest.md +0 -0
  103. /package/{.claude → .tas}/commands/tas-spec.md +0 -0
  104. /package/{.claude → .tas}/commands/tas-status.md +0 -0
  105. /package/{.claude → .tas}/rules/.gitkeep +0 -0
  106. /package/{.claude → .tas}/rules/common/hooks.md +0 -0
  107. /package/{.claude → .tas}/rules/common/patterns.md +0 -0
  108. /package/{.claude → .tas}/rules/common/security.md +0 -0
  109. /package/{.claude → .tas}/rules/csharp/hooks.md +0 -0
  110. /package/{.claude → .tas}/rules/csharp/patterns.md +0 -0
  111. /package/{.claude → .tas}/rules/csharp/testing.md +0 -0
  112. /package/{.claude → .tas}/rules/python/hooks.md +0 -0
  113. /package/{.claude → .tas}/rules/python/patterns.md +0 -0
  114. /package/{.claude → .tas}/rules/python/security.md +0 -0
  115. /package/{.claude → .tas}/rules/python/testing.md +0 -0
  116. /package/{.claude → .tas}/rules/typescript/hooks.md +0 -0
  117. /package/{.claude → .tas}/rules/web/design-quality.md +0 -0
  118. /package/{.claude → .tas}/rules/web/hooks.md +0 -0
  119. /package/{.claude → .tas}/rules/web/patterns.md +0 -0
  120. /package/{.claude → .tas}/rules/web/performance.md +0 -0
  121. /package/{.claude → .tas}/rules/web/security.md +0 -0
  122. /package/{.claude → .tas}/rules/web/testing.md +0 -0
  123. /package/{CLAUDE-Example.md → .tas/templates/AGENTS.md} +0 -0
package/README.md CHANGED
@@ -1,334 +1,334 @@
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 index — automatically 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.
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 index — automatically 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
+ rules/ Coding standards + workflow rules (code-review, story-done, security...)
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.