agents-templated 2.2.15 → 2.2.16
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/package.json +1 -1
- package/templates/CLAUDE.md +43 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agents-templated",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.16",
|
|
4
4
|
"description": "Technology-agnostic development template with multi-AI agent support (Cursor, Copilot, VSCode, Gemini), security-first patterns, and comprehensive testing guidelines",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/templates/CLAUDE.md
CHANGED
|
@@ -50,28 +50,51 @@ Skills add capability only. They must not override security, testing, or core co
|
|
|
50
50
|
|
|
51
51
|
| Subagent | Path | Invoke when... |
|
|
52
52
|
|----------|------|----------------|
|
|
53
|
-
| planner | `.claude/agents/planner.md` | Breaking down features into phased plans |
|
|
53
|
+
| planner | `.claude/agents/planner.md` | Breaking down features into phased execution plans |
|
|
54
54
|
| architect | `.claude/agents/architect.md` | System design decisions, ADRs, trade-off analysis |
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
| security-reviewer | `.claude/agents/security-reviewer.md` | Scanning for security vulnerabilities |
|
|
58
|
-
| build-error-resolver | `.claude/agents/build-error-resolver.md` | Fixing build and type errors |
|
|
59
|
-
| e2e-runner | `.claude/agents/e2e-runner.md` | Running Playwright E2E test suites |
|
|
60
|
-
| refactor-cleaner | `.claude/agents/refactor-cleaner.md` | Removing dead code and unused dependencies |
|
|
61
|
-
| doc-updater | `.claude/agents/doc-updater.md` | Syncing docs and READMEs after code changes |
|
|
62
|
-
| performance-profiler | `.claude/agents/performance-profiler.md` | Diagnosing latency, CPU, memory, and build bottlenecks |
|
|
63
|
-
| performance-specialist | `.claude/agents/performance-specialist.md` | Diagnosing bottlenecks or validating performance thresholds with explicit mode |
|
|
64
|
-
| test-data-builder | `.claude/agents/test-data-builder.md` | Building deterministic fixtures, seeds, and mock datasets for downstream validation |
|
|
65
|
-
| dependency-auditor | `.claude/agents/dependency-auditor.md` | Auditing package risk, CVEs, and upgrade hygiene |
|
|
66
|
-
| configuration-validator | `.claude/agents/configuration-validator.md` | Validating env settings, defaults, and deploy readiness |
|
|
55
|
+
| backend-specialist | `.claude/agents/backend-specialist.md` | Implementing backend features, APIs, and server-side logic |
|
|
56
|
+
| frontend-specialist | `.claude/agents/frontend-specialist.md` | Implementing UI, interaction, accessibility, and client-side state |
|
|
67
57
|
| database-migrator | `.claude/agents/database-migrator.md` | Planning safe migrations with validation and rollback gates |
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
72
|
-
|
|
|
73
|
-
|
|
|
74
|
-
|
|
|
58
|
+
| deployment-specialist | `.claude/agents/deployment-specialist.md` | Deployment planning, config validation, rollout, and rollback |
|
|
59
|
+
| performance-specialist | `.claude/agents/performance-specialist.md` | Bottleneck diagnosis (mode=profile) or load threshold validation (mode=load) |
|
|
60
|
+
| qa-specialist | `.claude/agents/qa-specialist.md` | Pre-implementation test planning (mode=design) or post-implementation validation (mode=validation) |
|
|
61
|
+
| e2e-runner | `.claude/agents/e2e-runner.md` | Running end-to-end test suites and reporting flakiness |
|
|
62
|
+
| code-reviewer | `.claude/agents/code-reviewer.md` | Reviewing code for quality, correctness, and severity prioritization |
|
|
63
|
+
| security-reviewer | `.claude/agents/security-reviewer.md` | Security risk gating — invoke when authn/authz, secrets, or new public endpoints are touched |
|
|
64
|
+
| refactor-cleaner | `.claude/agents/refactor-cleaner.md` | Removing dead code and unused dependencies in approved cleanup windows |
|
|
65
|
+
| build-error-resolver | `.claude/agents/build-error-resolver.md` | Fixing compile, type, lint, and import failures only |
|
|
66
|
+
| compatibility-checker | `.claude/agents/compatibility-checker.md` | API contract compatibility and breaking-change verdicts |
|
|
67
|
+
| dependency-auditor | `.claude/agents/dependency-auditor.md` | Auditing package risk, CVEs, and upgrade hygiene |
|
|
68
|
+
| doc-updater | `.claude/agents/doc-updater.md` | Syncing docs and READMEs after accepted behavior changes |
|
|
69
|
+
| test-data-builder | `.claude/agents/test-data-builder.md` | Building deterministic fixtures, seeds, and mock datasets |
|
|
70
|
+
|
|
71
|
+
### Subagent Auto-Routing Rules
|
|
72
|
+
|
|
73
|
+
When a task is received, automatically select and invoke the appropriate subagent(s) without waiting for explicit instruction. Follow these rules:
|
|
74
|
+
|
|
75
|
+
- Always read `.claude/agents/<name>.md` before invoking that subagent to confirm its contract.
|
|
76
|
+
- For multi-step tasks, chain subagents in dependency order — do not invoke all at once.
|
|
77
|
+
- qa-specialist MUST be invoked with explicit mode:
|
|
78
|
+
- mode=design for pre-implementation test planning
|
|
79
|
+
- mode=validation for post-implementation sign-off
|
|
80
|
+
- If mode is unclear, HALT and ask before proceeding.
|
|
81
|
+
- performance-specialist MUST be invoked with explicit mode:
|
|
82
|
+
- mode=profile for bottleneck diagnosis
|
|
83
|
+
- mode=load for threshold validation
|
|
84
|
+
- If mode is unclear, HALT and ask before proceeding.
|
|
85
|
+
- security-reviewer is mandatory when any of these are true:
|
|
86
|
+
- Authentication, authorization, or session logic is touched
|
|
87
|
+
- A new public endpoint is added
|
|
88
|
+
- Secrets, credentials, or environment variables are changed
|
|
89
|
+
- dependency-auditor reports a High or Critical finding
|
|
90
|
+
- deployment-specialist always runs internal phases in order:
|
|
91
|
+
release_readiness → config_validation → rollout_execution
|
|
92
|
+
Never skip or reorder phases.
|
|
93
|
+
- build-error-resolver handles compile/lint/type failures only.
|
|
94
|
+
Do not route feature or architecture decisions through it.
|
|
95
|
+
- refactor-cleaner max retry cap is 2 cycles. If build still fails after 2 cycles, HALT and escalate to the feature owner.
|
|
96
|
+
- Deprecated agent names (tdd-guide, load-tester, performance-profiler, release-ops-specialist, configuration-validator) must redirect to their canonical replacements with a deprecation warning.
|
|
97
|
+
Never invoke deprecated agents directly.
|
|
75
98
|
|
|
76
99
|
Subagents are bounded agents with limited tool access. They inherit all policy from this file and may not override security, testing, or core constraints.
|
|
77
100
|
|