@torus-engineering/tas-kit 1.10.0 → 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 (162) hide show
  1. package/.tas/README.md +70 -70
  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/.tas/commands/ado-create.md +28 -0
  6. package/.tas/commands/ado-delete.md +22 -0
  7. package/.tas/commands/ado-get.md +20 -0
  8. package/.tas/commands/ado-status.md +18 -0
  9. package/.tas/commands/ado-update.md +27 -0
  10. package/.tas/commands/tas-adr.md +33 -0
  11. package/.tas/commands/tas-apitest-plan.md +173 -0
  12. package/.tas/commands/tas-apitest.md +143 -0
  13. package/.tas/commands/tas-brainstorm.md +19 -0
  14. package/.tas/commands/tas-bug.md +113 -0
  15. package/.tas/commands/tas-design.md +37 -0
  16. package/.tas/commands/tas-dev.md +125 -0
  17. package/{.claude → .tas}/commands/tas-e2e-mobile.md +155 -155
  18. package/{.claude → .tas}/commands/tas-e2e-web.md +163 -163
  19. package/.tas/commands/tas-e2e.md +102 -0
  20. package/.tas/commands/tas-epic.md +35 -0
  21. package/.tas/commands/tas-feature.md +47 -0
  22. package/.tas/commands/tas-fix.md +51 -0
  23. package/.tas/commands/tas-functest-mobile.md +144 -0
  24. package/{.claude → .tas}/commands/tas-functest-web.md +192 -192
  25. package/.tas/commands/tas-functest.md +76 -0
  26. package/.tas/commands/tas-init.md +17 -0
  27. package/.tas/commands/tas-plan.md +198 -0
  28. package/.tas/commands/tas-prd.md +37 -0
  29. package/.tas/commands/tas-review.md +113 -0
  30. package/.tas/commands/tas-sad.md +43 -0
  31. package/.tas/commands/tas-security.md +87 -0
  32. package/.tas/commands/tas-spec.md +50 -0
  33. package/.tas/commands/tas-status.md +16 -0
  34. package/.tas/commands/tas-story.md +91 -0
  35. package/.tas/platforms.json +5 -0
  36. package/.tas/project-status-example.yaml +17 -17
  37. package/.tas/rules/ado-integration.md +65 -0
  38. package/{.claude/skills/api-design/SKILL.md → .tas/rules/common/api-design.md} +517 -530
  39. package/{.claude → .tas}/rules/common/code-review.md +30 -6
  40. package/.tas/rules/common/post-implementation-review.md +51 -0
  41. package/{.claude → .tas}/rules/common/project-status.md +80 -80
  42. package/.tas/rules/common/stack-detection.md +29 -0
  43. package/.tas/rules/common/story-done.md +30 -0
  44. package/.tas/rules/common/tdd.md +89 -0
  45. package/{.claude → .tas}/rules/common/testing.md +3 -8
  46. package/.tas/rules/common/token-logging.md +36 -0
  47. package/{.claude → .tas}/rules/csharp/api-testing.md +20 -20
  48. package/{.claude → .tas}/rules/csharp/coding-style.md +0 -2
  49. package/{.claude → .tas}/rules/csharp/security.md +10 -0
  50. package/{.claude → .tas}/rules/python/coding-style.md +0 -2
  51. package/{.claude → .tas}/rules/typescript/coding-style.md +0 -2
  52. package/.tas/rules/typescript/patterns.md +142 -0
  53. package/.tas/rules/typescript/security.md +88 -0
  54. package/{.claude → .tas}/rules/typescript/testing.md +0 -4
  55. package/{.claude → .tas}/rules/web/coding-style.md +0 -2
  56. package/.tas/tas-example.yaml +10 -11
  57. package/.tas/templates/ADR.md +47 -47
  58. package/.tas/templates/AGENTS.md +37 -0
  59. package/.tas/templates/API-Test-Spec.md +3 -3
  60. package/.tas/templates/Bug.md +67 -67
  61. package/.tas/templates/Design-Spec.md +36 -36
  62. package/.tas/templates/E2E-Execution-Report.md +1 -1
  63. package/.tas/templates/Epic.md +46 -46
  64. package/.tas/templates/Feature.md +10 -10
  65. package/.tas/templates/Func-Test-Spec.md +3 -3
  66. package/.tas/templates/SAD.md +106 -106
  67. package/.tas/templates/Security-Report.md +27 -27
  68. package/.tas/templates/Story.md +9 -9
  69. package/.tas/tools/tas-ado-readme.md +68 -68
  70. package/.tas/tools/tas-ado.py +621 -621
  71. package/README.md +78 -78
  72. package/bin/cli.js +91 -73
  73. package/lib/adapters/antigravity.js +137 -0
  74. package/lib/adapters/claude-code.js +35 -0
  75. package/lib/adapters/codex.js +163 -0
  76. package/lib/adapters/cursor.js +80 -0
  77. package/lib/adapters/index.js +20 -0
  78. package/lib/adapters/utils.js +81 -0
  79. package/lib/deleted-files.json +99 -0
  80. package/lib/install.js +403 -327
  81. package/package.json +4 -3
  82. package/.claude/agents/code-reviewer.md +0 -41
  83. package/.claude/agents/e2e-runner.md +0 -61
  84. package/.claude/agents/planner.md +0 -82
  85. package/.claude/agents/tdd-guide.md +0 -84
  86. package/.claude/commands/ado-create.md +0 -27
  87. package/.claude/commands/ado-delete.md +0 -21
  88. package/.claude/commands/ado-get.md +0 -20
  89. package/.claude/commands/ado-status.md +0 -18
  90. package/.claude/commands/ado-update.md +0 -26
  91. package/.claude/commands/tas-adr.md +0 -33
  92. package/.claude/commands/tas-apitest-plan.md +0 -173
  93. package/.claude/commands/tas-apitest.md +0 -143
  94. package/.claude/commands/tas-brainstorm.md +0 -19
  95. package/.claude/commands/tas-bug.md +0 -113
  96. package/.claude/commands/tas-design.md +0 -37
  97. package/.claude/commands/tas-dev.md +0 -128
  98. package/.claude/commands/tas-e2e.md +0 -102
  99. package/.claude/commands/tas-epic.md +0 -35
  100. package/.claude/commands/tas-feature.md +0 -47
  101. package/.claude/commands/tas-fix.md +0 -51
  102. package/.claude/commands/tas-functest-mobile.md +0 -144
  103. package/.claude/commands/tas-functest.md +0 -76
  104. package/.claude/commands/tas-init.md +0 -17
  105. package/.claude/commands/tas-plan.md +0 -200
  106. package/.claude/commands/tas-prd.md +0 -37
  107. package/.claude/commands/tas-review.md +0 -111
  108. package/.claude/commands/tas-sad.md +0 -43
  109. package/.claude/commands/tas-security.md +0 -87
  110. package/.claude/commands/tas-spec.md +0 -50
  111. package/.claude/commands/tas-status.md +0 -16
  112. package/.claude/commands/tas-story.md +0 -91
  113. package/.claude/commands/tas-verify.md +0 -51
  114. package/.claude/rules/common/post-review-agent.md +0 -49
  115. package/.claude/rules/common/stack-detection.md +0 -29
  116. package/.claude/rules/common/token-logging.md +0 -27
  117. package/.claude/rules/typescript/patterns.md +0 -62
  118. package/.claude/rules/typescript/security.md +0 -28
  119. package/.claude/settings.local.json +0 -38
  120. package/.claude/skills/ado-integration/SKILL.md +0 -75
  121. package/.claude/skills/ai-regression-testing/SKILL.md +0 -364
  122. package/.claude/skills/architecture-decision-records/SKILL.md +0 -184
  123. package/.claude/skills/benchmark/SKILL.md +0 -98
  124. package/.claude/skills/browser-qa/SKILL.md +0 -92
  125. package/.claude/skills/canary-watch/SKILL.md +0 -104
  126. package/.claude/skills/js-backend-patterns/SKILL.md +0 -603
  127. package/.claude/skills/tas-conventions/SKILL.md +0 -65
  128. package/.claude/skills/tas-implementation-complete/SKILL.md +0 -99
  129. package/.claude/skills/tas-tdd/SKILL.md +0 -123
  130. package/.claude/skills/token-logger/SKILL.md +0 -19
  131. package/.tas/checklists/code-review.md +0 -29
  132. package/.tas/checklists/security.md +0 -21
  133. package/.tas/checklists/story-done.md +0 -23
  134. package/CLAUDE-Example.md +0 -61
  135. /package/{.claude → .tas}/agents/architect.md +0 -0
  136. /package/{.claude → .tas}/agents/aws-reviewer.md +0 -0
  137. /package/{.claude → .tas}/agents/build-resolver.md +0 -0
  138. /package/{.claude → .tas}/agents/code-explorer.md +0 -0
  139. /package/{.claude → .tas}/agents/csharp-reviewer.md +0 -0
  140. /package/{.claude → .tas}/agents/database-reviewer.md +0 -0
  141. /package/{.claude → .tas}/agents/doc-updater.md +0 -0
  142. /package/{.claude → .tas}/agents/python-reviewer.md +0 -0
  143. /package/{.claude → .tas}/agents/security-reviewer.md +0 -0
  144. /package/{.claude → .tas}/agents/typescript-reviewer.md +0 -0
  145. /package/{.claude → .tas}/rules/.gitkeep +0 -0
  146. /package/{.claude → .tas}/rules/common/hooks.md +0 -0
  147. /package/{.claude → .tas}/rules/common/patterns.md +0 -0
  148. /package/{.claude → .tas}/rules/common/security.md +0 -0
  149. /package/{.claude → .tas}/rules/csharp/hooks.md +0 -0
  150. /package/{.claude → .tas}/rules/csharp/patterns.md +0 -0
  151. /package/{.claude → .tas}/rules/csharp/testing.md +0 -0
  152. /package/{.claude → .tas}/rules/python/hooks.md +0 -0
  153. /package/{.claude → .tas}/rules/python/patterns.md +0 -0
  154. /package/{.claude → .tas}/rules/python/security.md +0 -0
  155. /package/{.claude → .tas}/rules/python/testing.md +0 -0
  156. /package/{.claude → .tas}/rules/typescript/hooks.md +0 -0
  157. /package/{.claude → .tas}/rules/web/design-quality.md +0 -0
  158. /package/{.claude → .tas}/rules/web/hooks.md +0 -0
  159. /package/{.claude → .tas}/rules/web/patterns.md +0 -0
  160. /package/{.claude → .tas}/rules/web/performance.md +0 -0
  161. /package/{.claude → .tas}/rules/web/security.md +0 -0
  162. /package/{.claude → .tas}/rules/web/testing.md +0 -0
@@ -1,92 +0,0 @@
1
- ---
2
- name: browser-qa
3
- description: |
4
- Auto-invoke when verifying UI behavior after a frontend feature deploy or PR,
5
- running accessibility audits, or doing pre-ship validation of forms, navigation,
6
- and critical user journeys. Requires browser automation MCP (claude-in-chrome or Playwright).
7
- SKIP if no browser MCP is available — note the dependency gap to user instead.
8
- origin: ECC
9
- allowed-tools: Read, Bash
10
- ---
11
-
12
- # Browser QA — Automated Visual Testing & Interaction
13
-
14
- ## When to Use
15
-
16
- - After deploying a feature to staging/preview
17
- - When you need to verify UI behavior across pages
18
- - Before shipping — confirm layouts, forms, interactions actually work
19
- - When reviewing PRs that touch frontend code
20
- - Accessibility audits and responsive testing
21
-
22
- ## How It Works
23
-
24
- Uses the browser automation MCP (claude-in-chrome, Playwright, or Puppeteer) to interact with live pages like a real user.
25
-
26
- ### Phase 1: Smoke Test
27
- ```
28
- 1. Navigate to target URL
29
- 2. Check for console errors (filter noise: analytics, third-party)
30
- 3. Verify no 4xx/5xx in network requests
31
- 4. Screenshot above-the-fold on desktop + mobile viewport
32
- 5. Check Core Web Vitals: LCP < 2.5s, CLS < 0.1, INP < 200ms
33
- ```
34
-
35
- ### Phase 2: Interaction Test
36
- ```
37
- 1. Click every nav link — verify no dead links
38
- 2. Submit forms with valid data — verify success state
39
- 3. Submit forms with invalid data — verify error state
40
- 4. Test auth flow: login → protected page → logout
41
- 5. Test critical user journeys (checkout, onboarding, search)
42
- ```
43
-
44
- ### Phase 3: Visual Regression
45
- ```
46
- 1. Screenshot key pages at 3 breakpoints (375px, 768px, 1440px)
47
- 2. Compare against baseline screenshots (if stored)
48
- 3. Flag layout shifts > 5px, missing elements, overflow
49
- 4. Check dark mode if applicable
50
- ```
51
-
52
- ### Phase 4: Accessibility
53
- ```
54
- 1. Run axe-core or equivalent on each page
55
- 2. Flag WCAG AA violations (contrast, labels, focus order)
56
- 3. Verify keyboard navigation works end-to-end
57
- 4. Check screen reader landmarks
58
- ```
59
-
60
- ## Output Format
61
-
62
- ```markdown
63
- ## QA Report — [URL] — [timestamp]
64
-
65
- ### Smoke Test
66
- - Console errors: 0 critical, 2 warnings (analytics noise)
67
- - Network: all 200/304, no failures
68
- - Core Web Vitals: LCP 1.2s ✓, CLS 0.02 ✓, INP 89ms ✓
69
-
70
- ### Interactions
71
- - [✓] Nav links: 12/12 working
72
- - [✗] Contact form: missing error state for invalid email
73
- - [✓] Auth flow: login/logout working
74
-
75
- ### Visual
76
- - [✗] Hero section overflows on 375px viewport
77
- - [✓] Dark mode: all pages consistent
78
-
79
- ### Accessibility
80
- - 2 AA violations: missing alt text on hero image, low contrast on footer links
81
-
82
- ### Verdict: SHIP WITH FIXES (2 issues, 0 blockers)
83
- ```
84
-
85
- ## Integration
86
-
87
- Works with any browser MCP:
88
- - `mChild__claude-in-chrome__*` tools (preferred — uses your actual Chrome)
89
- - Playwright via `mcp__browserbase__*`
90
- - Direct Puppeteer scripts
91
-
92
- Pair with `/canary-watch` for post-deploy monitoring.
@@ -1,104 +0,0 @@
1
- ---
2
- name: canary-watch
3
- description: |
4
- Auto-invoke after deploying to production or staging, after merging a risky PR,
5
- after dependency upgrades, or when monitoring a URL for regressions during a launch window.
6
- Requires HTTP access to the target URL or browser MCP.
7
- SKIP if target URL is not accessible — note the gap to user.
8
- origin: ECC
9
- allowed-tools: Read, Bash
10
- ---
11
-
12
- # Canary Watch — Post-Deploy Monitoring
13
-
14
- ## When to Use
15
-
16
- - After deploying to production or staging
17
- - After merging a risky PR
18
- - When you want to verify a fix actually fixed it
19
- - Continuous monitoring during a launch window
20
- - After dependency upgrades
21
-
22
- ## How It Works
23
-
24
- Monitors a deployed URL for regressions. Runs in a loop until stopped or until the watch window expires.
25
-
26
- ### What It Watches
27
-
28
- ```
29
- 1. HTTP Status — is the page returning 200?
30
- 2. Console Errors — new errors that weren't there before?
31
- 3. Network Failures — failed API calls, 5xx responses?
32
- 4. Performance — LCP/CLS/INP regression vs baseline?
33
- 5. Content — did key elements disappear? (h1, nav, footer, CTA)
34
- 6. API Health — are critical endpoints responding within SLA?
35
- ```
36
-
37
- ### Watch Modes
38
-
39
- **Quick check** (default): single pass, report results
40
- ```
41
- /canary-watch https://myapp.com
42
- ```
43
-
44
- **Sustained watch**: check every N minutes for M hours
45
- ```
46
- /canary-watch https://myapp.com --interval 5m --duration 2h
47
- ```
48
-
49
- **Diff mode**: compare staging vs production
50
- ```
51
- /canary-watch --compare https://staging.myapp.com https://myapp.com
52
- ```
53
-
54
- ### Alert Thresholds
55
-
56
- ```yaml
57
- critical: # immediate alert
58
- - HTTP status != 200
59
- - Console error count > 5 (new errors only)
60
- - LCP > 4s
61
- - API endpoint returns 5xx
62
-
63
- warning: # flag in report
64
- - LCP increased > 500ms from baseline
65
- - CLS > 0.1
66
- - New console warnings
67
- - Response time > 2x baseline
68
-
69
- info: # log only
70
- - Minor performance variance
71
- - New network requests (third-party scripts added?)
72
- ```
73
-
74
- ### Notifications
75
-
76
- When a critical threshold is crossed:
77
- - Desktop notification (macOS/Linux)
78
- - Optional: Slack/Discord webhook
79
- - Log to `~/logs/canary-watch.log`
80
-
81
- ## Output
82
-
83
- ```markdown
84
- ## Canary Report — myapp.com — 2026-03-23 03:15 PST
85
-
86
- ### Status: HEALTHY ✓
87
-
88
- | Check | Result | Baseline | Delta |
89
- |-------|--------|----------|-------|
90
- | HTTP | 200 ✓ | 200 | — |
91
- | Console errors | 0 ✓ | 0 | — |
92
- | LCP | 1.8s ✓ | 1.6s | +200ms |
93
- | CLS | 0.01 ✓ | 0.01 | — |
94
- | API /health | 145ms ✓ | 120ms | +25ms |
95
-
96
- ### No regressions detected. Deploy is clean.
97
- ```
98
-
99
- ## Integration
100
-
101
- Pair with:
102
- - `/browser-qa` for pre-deploy verification
103
- - Hooks: add as a PostToolUse hook on `git push` to auto-check after deploys
104
- - CI: run in GitHub Actions after deploy step