agents-templated 2.2.11 → 2.2.12
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/README.md +2 -3
- package/agents/commands/README.md +2 -8
- package/agents/commands/arch-check.md +58 -33
- package/agents/commands/audit.md +58 -38
- package/agents/commands/debug-track.md +58 -33
- package/agents/commands/docs.md +58 -34
- package/agents/commands/fix.md +58 -34
- package/agents/commands/learn-loop.md +58 -33
- package/agents/commands/perf.md +58 -34
- package/agents/commands/plan.md +58 -34
- package/agents/commands/pr.md +58 -35
- package/agents/commands/problem-map.md +58 -33
- package/agents/commands/release-ready.md +58 -33
- package/agents/commands/release.md +58 -39
- package/agents/commands/risk-review.md +58 -33
- package/agents/commands/scope-shape.md +58 -33
- package/agents/commands/task.md +58 -35
- package/agents/commands/test.md +58 -34
- package/agents/commands/ux-bar.md +58 -33
- package/lib/workflow.js +8 -21
- package/package.json +1 -1
- package/templates/CLAUDE.md +3 -0
- package/templates/README.md +2 -3
- package/templates/agents/commands/README.md +2 -8
- package/templates/agents/commands/arch-check.md +58 -33
- package/templates/agents/commands/audit.md +58 -38
- package/templates/agents/commands/debug-track.md +58 -33
- package/templates/agents/commands/docs.md +58 -34
- package/templates/agents/commands/fix.md +58 -34
- package/templates/agents/commands/learn-loop.md +58 -33
- package/templates/agents/commands/perf.md +58 -34
- package/templates/agents/commands/plan.md +58 -34
- package/templates/agents/commands/pr.md +58 -35
- package/templates/agents/commands/problem-map.md +58 -33
- package/templates/agents/commands/release-ready.md +58 -33
- package/templates/agents/commands/release.md +58 -39
- package/templates/agents/commands/risk-review.md +58 -33
- package/templates/agents/commands/scope-shape.md +58 -33
- package/templates/agents/commands/task.md +58 -35
- package/templates/agents/commands/test.md +58 -34
- package/templates/agents/commands/ux-bar.md +58 -33
- package/templates/agents/skills/README.md +9 -0
- package/templates/agents/skills/debug-skill/SKILL.md +39 -0
- package/templates/agents/skills/feature-forge/SKILL.md +39 -0
- package/templates/agents/skills/secure-code-guardian/SKILL.md +39 -0
- package/agents/commands/docs-sync.md +0 -33
- package/agents/commands/perf-scan.md +0 -33
- package/agents/commands/quality-gate.md +0 -33
- package/agents/commands/refactor.md +0 -34
- package/agents/commands/scaffold.md +0 -34
- package/templates/agents/commands/docs-sync.md +0 -33
- package/templates/agents/commands/perf-scan.md +0 -33
- package/templates/agents/commands/quality-gate.md +0 -33
- package/templates/agents/commands/refactor.md +0 -34
- package/templates/agents/commands/scaffold.md +0 -34
|
@@ -1,33 +1,58 @@
|
|
|
1
|
-
# /scope-shape
|
|
2
|
-
|
|
3
|
-
## A. Intent
|
|
4
|
-
Constrain scope to the smallest high-
|
|
5
|
-
|
|
6
|
-
## B. When to Use
|
|
7
|
-
Use after problem framing and before
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
1
|
+
# /scope-shape
|
|
2
|
+
|
|
3
|
+
## A. Intent
|
|
4
|
+
Constrain delivery scope to the smallest high-value reversible release.
|
|
5
|
+
|
|
6
|
+
## B. When to Use
|
|
7
|
+
- Use after problem framing and before architectural design.
|
|
8
|
+
- Do not use when requirements are already contractually frozen.
|
|
9
|
+
|
|
10
|
+
## C. Context Assumptions
|
|
11
|
+
- Problem map exists.
|
|
12
|
+
- Candidate feature list exists.
|
|
13
|
+
- Delivery constraints are known.
|
|
14
|
+
|
|
15
|
+
## D. Required Inputs
|
|
16
|
+
| Input | Type | Example |
|
|
17
|
+
|---------------------|------------|----------------------------------|
|
|
18
|
+
| `scope_goal` | string | "ship MVP in 2 weeks" |
|
|
19
|
+
| `candidate_items` | string[] | ["email login", "social login", "tutorial"] |
|
|
20
|
+
| `constraint_artifact` | artifact | timeline doc, staffing snapshot |
|
|
21
|
+
|
|
22
|
+
## E. Pre-Execution Guards <- fail fast, check ALL before running
|
|
23
|
+
- [ ] scope goal is explicit
|
|
24
|
+
- [ ] candidate items are ranked
|
|
25
|
+
- [ ] out-of-scope list can be produced
|
|
26
|
+
|
|
27
|
+
## F. Execution Flow
|
|
28
|
+
1. Rank candidate items by value and effort.
|
|
29
|
+
2. Draft in-scope and out-of-scope sets.
|
|
30
|
+
3. Check scope against constraints.
|
|
31
|
+
4. Decision point ->
|
|
32
|
+
- condition A -> scope exceeds constraints -> trim to MVP
|
|
33
|
+
- condition B -> feasible scope -> continue.
|
|
34
|
+
5. Build scope rationale and tradeoffs.
|
|
35
|
+
6. Emit scope decision package.
|
|
36
|
+
|
|
37
|
+
## G. Output Schema
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"scope_id": "string",
|
|
42
|
+
"scope_in": ["array","of","strings"],
|
|
43
|
+
"confidence": "low | medium | high",
|
|
44
|
+
"scope_out": "string | null"
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## H. Output Target
|
|
49
|
+
- Default delivery: stdout
|
|
50
|
+
- Override flag: --output=<target>
|
|
51
|
+
|
|
52
|
+
## I. Stop Conditions <- abort with error message, never emit partial output
|
|
53
|
+
- scope cannot satisfy constraints
|
|
54
|
+
- no explicit out-of-scope definition is produced
|
|
55
|
+
|
|
56
|
+
## J. Safety Constraints
|
|
57
|
+
- Hard block: hard block on hidden scope creep
|
|
58
|
+
- Warn only: warn when deferred items carry significant risk
|
package/agents/commands/task.md
CHANGED
|
@@ -1,35 +1,58 @@
|
|
|
1
|
-
# /task
|
|
2
|
-
|
|
3
|
-
## A. Intent
|
|
4
|
-
Convert
|
|
5
|
-
|
|
6
|
-
## B. When to Use
|
|
7
|
-
Use
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## E.
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
# /task
|
|
2
|
+
|
|
3
|
+
## A. Intent
|
|
4
|
+
Convert approved plans into deterministic, execution-ready task batches.
|
|
5
|
+
|
|
6
|
+
## B. When to Use
|
|
7
|
+
- Use when a plan exists and work must be distributed to implementers.
|
|
8
|
+
- Do not use before planning is complete.
|
|
9
|
+
|
|
10
|
+
## C. Context Assumptions
|
|
11
|
+
- An approved plan exists.
|
|
12
|
+
- Owners and execution context are known.
|
|
13
|
+
- Dependencies can be sequenced.
|
|
14
|
+
|
|
15
|
+
## D. Required Inputs
|
|
16
|
+
| Input | Type | Example |
|
|
17
|
+
|---------------------|------------|----------------------------------|
|
|
18
|
+
| `plan_id` | string | "plan-2026-04-03" |
|
|
19
|
+
| `task_scope` | string[] | ["api", "ui", "tests"] |
|
|
20
|
+
| `source_artifacts` | artifact | plan file path or issue board URL |
|
|
21
|
+
|
|
22
|
+
## E. Pre-Execution Guards <- fail fast, check ALL before running
|
|
23
|
+
- [ ] plan exists and is approved
|
|
24
|
+
- [ ] task scope maps to explicit plan items
|
|
25
|
+
- [ ] dependency order is resolvable
|
|
26
|
+
|
|
27
|
+
## F. Execution Flow
|
|
28
|
+
1. Read plan outputs and dependency graph.
|
|
29
|
+
2. Split work into atomic tasks.
|
|
30
|
+
3. Assign execution order and ownership metadata.
|
|
31
|
+
4. Decision point ->
|
|
32
|
+
- condition A -> blocking dependency found -> move item to blocked queue
|
|
33
|
+
- condition B -> no blockers -> keep in active queue.
|
|
34
|
+
5. Build task package with acceptance checks.
|
|
35
|
+
6. Emit task list and execution order.
|
|
36
|
+
|
|
37
|
+
## G. Output Schema
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"task_batch_id": "string",
|
|
42
|
+
"tasks": ["array","of","strings"],
|
|
43
|
+
"priority": "low | medium | high",
|
|
44
|
+
"blocker": "string | null"
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## H. Output Target
|
|
49
|
+
- Default delivery: stdout
|
|
50
|
+
- Override flag: --output=<target>
|
|
51
|
+
|
|
52
|
+
## I. Stop Conditions <- abort with error message, never emit partial output
|
|
53
|
+
- plan_id is missing or invalid
|
|
54
|
+
- critical dependency cannot be resolved
|
|
55
|
+
|
|
56
|
+
## J. Safety Constraints
|
|
57
|
+
- Hard block: no task emission without traceability to a plan item
|
|
58
|
+
- Warn only: warn when owner assignment is temporary
|
package/agents/commands/test.md
CHANGED
|
@@ -1,34 +1,58 @@
|
|
|
1
|
-
# /test
|
|
2
|
-
|
|
3
|
-
## A. Intent
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## B. When to Use
|
|
7
|
-
Use
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- Test
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## E.
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
# /test
|
|
2
|
+
|
|
3
|
+
## A. Intent
|
|
4
|
+
Run deterministic validation and gate release readiness based on test evidence.
|
|
5
|
+
|
|
6
|
+
## B. When to Use
|
|
7
|
+
- Use when validating behavior after implementation or before merge/release.
|
|
8
|
+
- This command now includes quality-gate behavior; do not use /quality-gate.
|
|
9
|
+
|
|
10
|
+
## C. Context Assumptions
|
|
11
|
+
- Test targets are defined.
|
|
12
|
+
- Required environments are available.
|
|
13
|
+
- Pass/fail criteria are explicit.
|
|
14
|
+
|
|
15
|
+
## D. Required Inputs
|
|
16
|
+
| Input | Type | Example |
|
|
17
|
+
|---------------------|------------|----------------------------------|
|
|
18
|
+
| `test_scope` | string | "api regression" |
|
|
19
|
+
| `test_suites` | string[] | ["unit", "integration", "critical-flow"] |
|
|
20
|
+
| `evidence_artifact` | artifact | test report path or CI run URL |
|
|
21
|
+
|
|
22
|
+
## E. Pre-Execution Guards <- fail fast, check ALL before running
|
|
23
|
+
- [ ] test scope is non-empty
|
|
24
|
+
- [ ] critical test suites are executable
|
|
25
|
+
- [ ] pass criteria are declared
|
|
26
|
+
|
|
27
|
+
## F. Execution Flow
|
|
28
|
+
1. Collect test targets and runtime config.
|
|
29
|
+
2. Execute suites in deterministic order.
|
|
30
|
+
3. Aggregate results and failures.
|
|
31
|
+
4. Decision point ->
|
|
32
|
+
- condition A -> critical failures present -> gate = blocked
|
|
33
|
+
- condition B -> no critical failures -> gate = pass.
|
|
34
|
+
5. Build validation evidence and remediation list.
|
|
35
|
+
6. Emit test and gate report.
|
|
36
|
+
|
|
37
|
+
## G. Output Schema
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"test_run_id": "string",
|
|
42
|
+
"results": ["array","of","strings"],
|
|
43
|
+
"gate_status": "low | medium | high",
|
|
44
|
+
"blocker": "string | null"
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## H. Output Target
|
|
49
|
+
- Default delivery: stdout
|
|
50
|
+
- Override flag: --output=<target>
|
|
51
|
+
|
|
52
|
+
## I. Stop Conditions <- abort with error message, never emit partial output
|
|
53
|
+
- critical test suite cannot run
|
|
54
|
+
- result schema cannot be produced
|
|
55
|
+
|
|
56
|
+
## J. Safety Constraints
|
|
57
|
+
- Hard block: hard block when critical flow tests fail
|
|
58
|
+
- Warn only: warn when flaky tests are excluded with justification
|
|
@@ -1,33 +1,58 @@
|
|
|
1
|
-
# /ux-bar
|
|
2
|
-
|
|
3
|
-
## A. Intent
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## B. When to Use
|
|
7
|
-
Use when
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
1
|
+
# /ux-bar
|
|
2
|
+
|
|
3
|
+
## A. Intent
|
|
4
|
+
Assess UX quality bar and guarantee core interaction states are defined before build.
|
|
5
|
+
|
|
6
|
+
## B. When to Use
|
|
7
|
+
- Use when UX quality and accessibility need pre-implementation validation.
|
|
8
|
+
- Do not use as a replacement for visual design exploration.
|
|
9
|
+
|
|
10
|
+
## C. Context Assumptions
|
|
11
|
+
- Scope and architecture are available.
|
|
12
|
+
- Primary user flows are identified.
|
|
13
|
+
- Design references exist.
|
|
14
|
+
|
|
15
|
+
## D. Required Inputs
|
|
16
|
+
| Input | Type | Example |
|
|
17
|
+
|---------------------|------------|----------------------------------|
|
|
18
|
+
| `ux_goal` | string | "reduce checkout friction" |
|
|
19
|
+
| `flows` | string[] | ["cart", "payment", "confirmation"] |
|
|
20
|
+
| `design_artifact` | artifact | wireframes, Figma link, screenshots |
|
|
21
|
+
|
|
22
|
+
## E. Pre-Execution Guards <- fail fast, check ALL before running
|
|
23
|
+
- [ ] critical flows are enumerated
|
|
24
|
+
- [ ] interaction states include loading/error/empty
|
|
25
|
+
- [ ] accessibility checks are defined
|
|
26
|
+
|
|
27
|
+
## F. Execution Flow
|
|
28
|
+
1. Review flows and interaction states.
|
|
29
|
+
2. Evaluate accessibility and usability risks.
|
|
30
|
+
3. Score UX gaps by severity.
|
|
31
|
+
4. Decision point ->
|
|
32
|
+
- condition A -> critical UX gap -> block readiness
|
|
33
|
+
- condition B -> manageable gaps -> continue.
|
|
34
|
+
5. Build prioritized improvement list.
|
|
35
|
+
6. Emit UX quality package.
|
|
36
|
+
|
|
37
|
+
## G. Output Schema
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"ux_review_id": "string",
|
|
42
|
+
"ux_gaps": ["array","of","strings"],
|
|
43
|
+
"severity": "low | medium | high",
|
|
44
|
+
"blocker": "string | null"
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## H. Output Target
|
|
49
|
+
- Default delivery: stdout
|
|
50
|
+
- Override flag: --output=<target>
|
|
51
|
+
|
|
52
|
+
## I. Stop Conditions <- abort with error message, never emit partial output
|
|
53
|
+
- critical flow lacks defined interaction states
|
|
54
|
+
- accessibility baseline is not addressed
|
|
55
|
+
|
|
56
|
+
## J. Safety Constraints
|
|
57
|
+
- Hard block: hard block on unaddressed critical accessibility failures
|
|
58
|
+
- Warn only: warn when medium UX issues are deferred
|
package/lib/workflow.js
CHANGED
|
@@ -48,20 +48,12 @@ const WORKFLOW_COMMANDS = [
|
|
|
48
48
|
description: 'Run a production-risk review on active changes.'
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
cli: '
|
|
52
|
-
slash: '/
|
|
53
|
-
purpose: '
|
|
54
|
-
specialist: 'Quality Gatekeeper',
|
|
55
|
-
contract: 'test.md',
|
|
56
|
-
description: 'Validate behavior, capture regressions, and enforce quality gates.'
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
cli: 'perf-scan',
|
|
60
|
-
slash: '/perf-scan',
|
|
61
|
-
purpose: 'performance-regression-check',
|
|
51
|
+
cli: 'perf',
|
|
52
|
+
slash: '/perf',
|
|
53
|
+
purpose: 'performance-optimization-and-regression-check',
|
|
62
54
|
specialist: 'Performance Analyst',
|
|
63
55
|
contract: 'perf.md',
|
|
64
|
-
description: '
|
|
56
|
+
description: 'Optimize performance and validate baseline-vs-candidate regression safety.'
|
|
65
57
|
},
|
|
66
58
|
{
|
|
67
59
|
cli: 'release-ready',
|
|
@@ -72,12 +64,12 @@ const WORKFLOW_COMMANDS = [
|
|
|
72
64
|
description: 'Prepare release branch, tests, and release checklist artifacts.'
|
|
73
65
|
},
|
|
74
66
|
{
|
|
75
|
-
cli: 'docs
|
|
76
|
-
slash: '/docs
|
|
77
|
-
purpose: 'documentation-synchronization',
|
|
67
|
+
cli: 'docs',
|
|
68
|
+
slash: '/docs',
|
|
69
|
+
purpose: 'documentation-update-and-synchronization',
|
|
78
70
|
specialist: 'Documentation Engineer',
|
|
79
71
|
contract: 'docs.md',
|
|
80
|
-
description: 'Update README and architecture docs to match shipped behavior.'
|
|
72
|
+
description: 'Update and synchronize README and architecture docs to match shipped behavior.'
|
|
81
73
|
},
|
|
82
74
|
{
|
|
83
75
|
cli: 'learn-loop',
|
|
@@ -94,9 +86,7 @@ const CONTRACT_FILES = [
|
|
|
94
86
|
'README.md',
|
|
95
87
|
'plan.md',
|
|
96
88
|
'task.md',
|
|
97
|
-
'scaffold.md',
|
|
98
89
|
'fix.md',
|
|
99
|
-
'refactor.md',
|
|
100
90
|
'audit.md',
|
|
101
91
|
'perf.md',
|
|
102
92
|
'test.md',
|
|
@@ -112,10 +102,7 @@ const SPECIALIST_CONTRACT_FILES = [
|
|
|
112
102
|
'ux-bar.md',
|
|
113
103
|
'debug-track.md',
|
|
114
104
|
'risk-review.md',
|
|
115
|
-
'quality-gate.md',
|
|
116
|
-
'perf-scan.md',
|
|
117
105
|
'release-ready.md',
|
|
118
|
-
'docs-sync.md',
|
|
119
106
|
'learn-loop.md'
|
|
120
107
|
];
|
|
121
108
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agents-templated",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12",
|
|
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
|
@@ -32,6 +32,9 @@ All policy, routing, and skill governance lives here — edit this file directly
|
|
|
32
32
|
|-------|------|------------------|
|
|
33
33
|
| app-hardening | `.github/skills/app-hardening/SKILL.md` | Hardening, anti-tamper, integrity controls |
|
|
34
34
|
| bug-triage | `.github/skills/bug-triage/SKILL.md` | Something is broken, failing, or crashing |
|
|
35
|
+
| debug-skill | `.github/skills/debug-skill/SKILL.md` | Breakpoint-first debugging, execution tracing, state inspection |
|
|
36
|
+
| secure-code-guardian | `.github/skills/secure-code-guardian/SKILL.md` | Secure-by-default coding for auth, secrets, and user input |
|
|
37
|
+
| feature-forge | `.github/skills/feature-forge/SKILL.md` | Turn feature ideas into execution-ready requirements and acceptance criteria |
|
|
35
38
|
| error-patterns | `.github/skills/error-patterns/SKILL.md` | Debugging with persistent lessons memory and automatic fix recording |
|
|
36
39
|
| feature-delivery | `.github/skills/feature-delivery/SKILL.md` | Build/add/implement feature work |
|
|
37
40
|
| find-skills | `.github/skills/find-skills/SKILL.md` | User asks to discover a skill |
|
package/templates/README.md
CHANGED
|
@@ -237,10 +237,9 @@ These commands provide deterministic specialist guidance aligned to the sprint l
|
|
|
237
237
|
| `ux-bar` | Design Quality Lead | Raise UX quality before implementation |
|
|
238
238
|
| `debug-track` | Root-Cause Investigator | Reproduce and isolate root cause |
|
|
239
239
|
| `risk-review` | Release Risk Reviewer | Surface production-risk issues before merge |
|
|
240
|
-
| `
|
|
241
|
-
| `perf-scan` | Performance Analyst | Capture performance baseline and deltas |
|
|
240
|
+
| `perf` | Performance Analyst | Optimize performance and guard against regressions |
|
|
242
241
|
| `release-ready` | Release Coordinator | Prepare release artifacts and final checks |
|
|
243
|
-
| `docs
|
|
242
|
+
| `docs` | Documentation Engineer | Sync docs with shipped behavior |
|
|
244
243
|
| `learn-loop` | Iteration Lead | Capture lessons and next-cycle actions |
|
|
245
244
|
|
|
246
245
|
Each command maps to deterministic contract files in `agents/commands/` and uses the schema in `agents/commands/SCHEMA.md`.
|
|
@@ -7,9 +7,7 @@ This directory is the modular source of truth for slash-command execution contra
|
|
|
7
7
|
- Command contracts:
|
|
8
8
|
- `plan.md`
|
|
9
9
|
- `task.md`
|
|
10
|
-
- `scaffold.md`
|
|
11
10
|
- `fix.md`
|
|
12
|
-
- `refactor.md`
|
|
13
11
|
- `audit.md`
|
|
14
12
|
- `perf.md`
|
|
15
13
|
- `test.md`
|
|
@@ -22,10 +20,7 @@ This directory is the modular source of truth for slash-command execution contra
|
|
|
22
20
|
- `ux-bar.md`
|
|
23
21
|
- `debug-track.md`
|
|
24
22
|
- `risk-review.md`
|
|
25
|
-
- `quality-gate.md`
|
|
26
|
-
- `perf-scan.md`
|
|
27
23
|
- `release-ready.md`
|
|
28
|
-
- `docs-sync.md`
|
|
29
24
|
- `learn-loop.md`
|
|
30
25
|
|
|
31
26
|
Execution requirements:
|
|
@@ -58,10 +53,9 @@ Use these lifecycle commands as the recommended specialist sequence:
|
|
|
58
53
|
- `ux-bar` -> `plan.md`
|
|
59
54
|
- `debug-track` -> `fix.md`
|
|
60
55
|
- `risk-review` -> `audit.md`
|
|
61
|
-
- `
|
|
62
|
-
- `perf-scan` -> `perf.md`
|
|
56
|
+
- `perf` -> `perf.md`
|
|
63
57
|
- `release-ready` -> `release.md`
|
|
64
|
-
- `docs
|
|
58
|
+
- `docs` -> `docs.md`
|
|
65
59
|
- `learn-loop` -> `task.md`
|
|
66
60
|
|
|
67
61
|
The CLI command `agents-templated workflow` prints this lifecycle in order:
|
|
@@ -1,33 +1,58 @@
|
|
|
1
|
-
# /arch-check
|
|
2
|
-
|
|
3
|
-
## A. Intent
|
|
4
|
-
Validate architecture
|
|
5
|
-
|
|
6
|
-
## B. When to Use
|
|
7
|
-
Use after scope lock and before implementation starts.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
1
|
+
# /arch-check
|
|
2
|
+
|
|
3
|
+
## A. Intent
|
|
4
|
+
Validate architecture readiness and implementation constraints before build begins.
|
|
5
|
+
|
|
6
|
+
## B. When to Use
|
|
7
|
+
- Use after scope lock and before implementation starts.
|
|
8
|
+
- Do not use for post-release retrospectives.
|
|
9
|
+
|
|
10
|
+
## C. Context Assumptions
|
|
11
|
+
- Scope is frozen for current increment.
|
|
12
|
+
- Architecture options are documented.
|
|
13
|
+
- Test strategy can be defined.
|
|
14
|
+
|
|
15
|
+
## D. Required Inputs
|
|
16
|
+
| Input | Type | Example |
|
|
17
|
+
|---------------------|------------|----------------------------------|
|
|
18
|
+
| `architecture_goal` | string | "multi-tenant API isolation" |
|
|
19
|
+
| `design_options` | string[] | ["shared schema", "schema-per-tenant"] |
|
|
20
|
+
| `design_artifact` | artifact | ADR doc, sequence diagram |
|
|
21
|
+
|
|
22
|
+
## E. Pre-Execution Guards <- fail fast, check ALL before running
|
|
23
|
+
- [ ] design options are comparable
|
|
24
|
+
- [ ] key edge cases are identified
|
|
25
|
+
- [ ] test strategy exists for selected design
|
|
26
|
+
|
|
27
|
+
## F. Execution Flow
|
|
28
|
+
1. Review architecture options and constraints.
|
|
29
|
+
2. Evaluate edge cases and failure modes.
|
|
30
|
+
3. Validate selected option against requirements.
|
|
31
|
+
4. Decision point ->
|
|
32
|
+
- condition A -> critical gap found -> block readiness
|
|
33
|
+
- condition B -> no critical gaps -> continue.
|
|
34
|
+
5. Build architecture decision and test implications.
|
|
35
|
+
6. Emit architecture readiness report.
|
|
36
|
+
|
|
37
|
+
## G. Output Schema
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"architecture_id": "string",
|
|
42
|
+
"decisions": ["array","of","strings"],
|
|
43
|
+
"risk_level": "low | medium | high",
|
|
44
|
+
"blocker": "string | null"
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## H. Output Target
|
|
49
|
+
- Default delivery: stdout
|
|
50
|
+
- Override flag: --output=<target>
|
|
51
|
+
|
|
52
|
+
## I. Stop Conditions <- abort with error message, never emit partial output
|
|
53
|
+
- selected architecture lacks testable validation path
|
|
54
|
+
- critical edge case has no mitigation
|
|
55
|
+
|
|
56
|
+
## J. Safety Constraints
|
|
57
|
+
- Hard block: hard block on architecture with unresolved critical failure modes
|
|
58
|
+
- Warn only: warn when non-critical tradeoffs are accepted
|