@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.
- package/.tas/README.md +70 -70
- package/{.claude → .tas/_platform/claude-code}/settings.json +0 -12
- package/{.claude → .tas/_platform}/hooks/code-quality.js +1 -1
- package/{.claude → .tas/_platform}/hooks/session-end.js +20 -25
- package/.tas/commands/ado-create.md +28 -0
- package/.tas/commands/ado-delete.md +22 -0
- package/.tas/commands/ado-get.md +20 -0
- package/.tas/commands/ado-status.md +18 -0
- package/.tas/commands/ado-update.md +27 -0
- package/.tas/commands/tas-adr.md +33 -0
- package/.tas/commands/tas-apitest-plan.md +173 -0
- package/.tas/commands/tas-apitest.md +143 -0
- package/.tas/commands/tas-brainstorm.md +19 -0
- package/.tas/commands/tas-bug.md +113 -0
- package/.tas/commands/tas-design.md +37 -0
- package/.tas/commands/tas-dev.md +125 -0
- package/{.claude → .tas}/commands/tas-e2e-mobile.md +155 -155
- package/{.claude → .tas}/commands/tas-e2e-web.md +163 -163
- package/.tas/commands/tas-e2e.md +102 -0
- package/.tas/commands/tas-epic.md +35 -0
- package/.tas/commands/tas-feature.md +47 -0
- package/.tas/commands/tas-fix.md +51 -0
- package/.tas/commands/tas-functest-mobile.md +144 -0
- package/{.claude → .tas}/commands/tas-functest-web.md +192 -192
- package/.tas/commands/tas-functest.md +76 -0
- package/.tas/commands/tas-init.md +17 -0
- package/.tas/commands/tas-plan.md +198 -0
- package/.tas/commands/tas-prd.md +37 -0
- package/.tas/commands/tas-review.md +113 -0
- package/.tas/commands/tas-sad.md +43 -0
- package/.tas/commands/tas-security.md +87 -0
- package/.tas/commands/tas-spec.md +50 -0
- package/.tas/commands/tas-status.md +16 -0
- package/.tas/commands/tas-story.md +91 -0
- package/.tas/platforms.json +5 -0
- package/.tas/project-status-example.yaml +17 -17
- package/.tas/rules/ado-integration.md +65 -0
- package/{.claude/skills/api-design/SKILL.md → .tas/rules/common/api-design.md} +517 -530
- package/{.claude → .tas}/rules/common/code-review.md +30 -6
- package/.tas/rules/common/post-implementation-review.md +51 -0
- package/{.claude → .tas}/rules/common/project-status.md +80 -80
- package/.tas/rules/common/stack-detection.md +29 -0
- package/.tas/rules/common/story-done.md +30 -0
- package/.tas/rules/common/tdd.md +89 -0
- package/{.claude → .tas}/rules/common/testing.md +3 -8
- package/.tas/rules/common/token-logging.md +36 -0
- package/{.claude → .tas}/rules/csharp/api-testing.md +20 -20
- package/{.claude → .tas}/rules/csharp/coding-style.md +0 -2
- package/{.claude → .tas}/rules/csharp/security.md +10 -0
- package/{.claude → .tas}/rules/python/coding-style.md +0 -2
- package/{.claude → .tas}/rules/typescript/coding-style.md +0 -2
- package/.tas/rules/typescript/patterns.md +142 -0
- package/.tas/rules/typescript/security.md +88 -0
- package/{.claude → .tas}/rules/typescript/testing.md +0 -4
- package/{.claude → .tas}/rules/web/coding-style.md +0 -2
- package/.tas/tas-example.yaml +10 -11
- package/.tas/templates/ADR.md +47 -47
- package/.tas/templates/AGENTS.md +37 -0
- package/.tas/templates/API-Test-Spec.md +3 -3
- package/.tas/templates/Bug.md +67 -67
- package/.tas/templates/Design-Spec.md +36 -36
- package/.tas/templates/E2E-Execution-Report.md +1 -1
- package/.tas/templates/Epic.md +46 -46
- package/.tas/templates/Feature.md +10 -10
- package/.tas/templates/Func-Test-Spec.md +3 -3
- package/.tas/templates/SAD.md +106 -106
- package/.tas/templates/Security-Report.md +27 -27
- package/.tas/templates/Story.md +9 -9
- package/.tas/tools/tas-ado-readme.md +68 -68
- package/.tas/tools/tas-ado.py +621 -621
- package/README.md +78 -78
- package/bin/cli.js +91 -73
- package/lib/adapters/antigravity.js +137 -0
- package/lib/adapters/claude-code.js +35 -0
- package/lib/adapters/codex.js +163 -0
- package/lib/adapters/cursor.js +80 -0
- package/lib/adapters/index.js +20 -0
- package/lib/adapters/utils.js +81 -0
- package/lib/deleted-files.json +99 -0
- package/lib/install.js +403 -327
- package/package.json +4 -3
- package/.claude/agents/code-reviewer.md +0 -41
- package/.claude/agents/e2e-runner.md +0 -61
- package/.claude/agents/planner.md +0 -82
- package/.claude/agents/tdd-guide.md +0 -84
- package/.claude/commands/ado-create.md +0 -27
- package/.claude/commands/ado-delete.md +0 -21
- package/.claude/commands/ado-get.md +0 -20
- package/.claude/commands/ado-status.md +0 -18
- package/.claude/commands/ado-update.md +0 -26
- package/.claude/commands/tas-adr.md +0 -33
- package/.claude/commands/tas-apitest-plan.md +0 -173
- package/.claude/commands/tas-apitest.md +0 -143
- package/.claude/commands/tas-brainstorm.md +0 -19
- package/.claude/commands/tas-bug.md +0 -113
- package/.claude/commands/tas-design.md +0 -37
- package/.claude/commands/tas-dev.md +0 -128
- package/.claude/commands/tas-e2e.md +0 -102
- package/.claude/commands/tas-epic.md +0 -35
- package/.claude/commands/tas-feature.md +0 -47
- package/.claude/commands/tas-fix.md +0 -51
- package/.claude/commands/tas-functest-mobile.md +0 -144
- package/.claude/commands/tas-functest.md +0 -76
- package/.claude/commands/tas-init.md +0 -17
- package/.claude/commands/tas-plan.md +0 -200
- package/.claude/commands/tas-prd.md +0 -37
- package/.claude/commands/tas-review.md +0 -111
- package/.claude/commands/tas-sad.md +0 -43
- package/.claude/commands/tas-security.md +0 -87
- package/.claude/commands/tas-spec.md +0 -50
- package/.claude/commands/tas-status.md +0 -16
- package/.claude/commands/tas-story.md +0 -91
- package/.claude/commands/tas-verify.md +0 -51
- package/.claude/rules/common/post-review-agent.md +0 -49
- package/.claude/rules/common/stack-detection.md +0 -29
- package/.claude/rules/common/token-logging.md +0 -27
- package/.claude/rules/typescript/patterns.md +0 -62
- package/.claude/rules/typescript/security.md +0 -28
- package/.claude/settings.local.json +0 -38
- package/.claude/skills/ado-integration/SKILL.md +0 -75
- package/.claude/skills/ai-regression-testing/SKILL.md +0 -364
- package/.claude/skills/architecture-decision-records/SKILL.md +0 -184
- package/.claude/skills/benchmark/SKILL.md +0 -98
- package/.claude/skills/browser-qa/SKILL.md +0 -92
- package/.claude/skills/canary-watch/SKILL.md +0 -104
- package/.claude/skills/js-backend-patterns/SKILL.md +0 -603
- package/.claude/skills/tas-conventions/SKILL.md +0 -65
- package/.claude/skills/tas-implementation-complete/SKILL.md +0 -99
- package/.claude/skills/tas-tdd/SKILL.md +0 -123
- package/.claude/skills/token-logger/SKILL.md +0 -19
- package/.tas/checklists/code-review.md +0 -29
- package/.tas/checklists/security.md +0 -21
- package/.tas/checklists/story-done.md +0 -23
- package/CLAUDE-Example.md +0 -61
- /package/{.claude → .tas}/agents/architect.md +0 -0
- /package/{.claude → .tas}/agents/aws-reviewer.md +0 -0
- /package/{.claude → .tas}/agents/build-resolver.md +0 -0
- /package/{.claude → .tas}/agents/code-explorer.md +0 -0
- /package/{.claude → .tas}/agents/csharp-reviewer.md +0 -0
- /package/{.claude → .tas}/agents/database-reviewer.md +0 -0
- /package/{.claude → .tas}/agents/doc-updater.md +0 -0
- /package/{.claude → .tas}/agents/python-reviewer.md +0 -0
- /package/{.claude → .tas}/agents/security-reviewer.md +0 -0
- /package/{.claude → .tas}/agents/typescript-reviewer.md +0 -0
- /package/{.claude → .tas}/rules/.gitkeep +0 -0
- /package/{.claude → .tas}/rules/common/hooks.md +0 -0
- /package/{.claude → .tas}/rules/common/patterns.md +0 -0
- /package/{.claude → .tas}/rules/common/security.md +0 -0
- /package/{.claude → .tas}/rules/csharp/hooks.md +0 -0
- /package/{.claude → .tas}/rules/csharp/patterns.md +0 -0
- /package/{.claude → .tas}/rules/csharp/testing.md +0 -0
- /package/{.claude → .tas}/rules/python/hooks.md +0 -0
- /package/{.claude → .tas}/rules/python/patterns.md +0 -0
- /package/{.claude → .tas}/rules/python/security.md +0 -0
- /package/{.claude → .tas}/rules/python/testing.md +0 -0
- /package/{.claude → .tas}/rules/typescript/hooks.md +0 -0
- /package/{.claude → .tas}/rules/web/design-quality.md +0 -0
- /package/{.claude → .tas}/rules/web/hooks.md +0 -0
- /package/{.claude → .tas}/rules/web/patterns.md +0 -0
- /package/{.claude → .tas}/rules/web/performance.md +0 -0
- /package/{.claude → .tas}/rules/web/security.md +0 -0
- /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
|