specky-sdd 3.10.2 → 3.11.1
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/.apm/agents/specky-design-architect.agent.md +8 -28
- package/.apm/agents/specky-implementer.agent.md +15 -27
- package/.apm/agents/specky-onboarding.agent.md +8 -49
- package/.apm/agents/specky-orchestrator.agent.md +12 -37
- package/.apm/agents/specky-quality-reviewer.agent.md +9 -30
- package/.apm/agents/specky-release-engineer.agent.md +8 -30
- package/.apm/agents/specky-requirements-engineer.agent.md +1 -1
- package/.apm/agents/specky-research-analyst.agent.md +1 -1
- package/.apm/agents/specky-sdd-clarify.agent.md +1 -1
- package/.apm/agents/specky-sdd-init.agent.md +8 -19
- package/.apm/agents/specky-spec-engineer.agent.md +8 -30
- package/.apm/agents/specky-task-planner.agent.md +7 -26
- package/.apm/agents/specky-test-verifier.agent.md +7 -17
- package/.apm/hooks/scripts/specky-artifact-validator.sh +14 -10
- package/.apm/hooks/scripts/specky-auto-checkpoint.sh +9 -4
- package/.apm/hooks/scripts/specky-branch-validator.sh +29 -116
- package/.apm/hooks/scripts/specky-cognitive-debt-alert.sh +6 -3
- package/.apm/hooks/scripts/specky-contract-context.bash +24 -0
- package/.apm/hooks/scripts/specky-contract-context.mjs +219 -0
- package/.apm/hooks/scripts/specky-drift-monitor.sh +6 -3
- package/.apm/hooks/scripts/specky-ears-validator.sh +5 -2
- package/.apm/hooks/scripts/specky-lgtm-gate.sh +12 -10
- package/.apm/hooks/scripts/specky-metrics-dashboard.sh +5 -2
- package/.apm/hooks/scripts/specky-phase-gate.sh +18 -9
- package/.apm/hooks/scripts/specky-pipeline-guard.sh +19 -26
- package/.apm/hooks/scripts/specky-release-gate.sh +38 -46
- package/.apm/hooks/scripts/specky-security-scan.sh +53 -36
- package/.apm/hooks/scripts/specky-session-banner.sh +22 -74
- package/.apm/hooks/scripts/specky-spec-quality.sh +7 -4
- package/.apm/hooks/scripts/specky-spec-sync.sh +12 -11
- package/.apm/hooks/scripts/specky-task-tracer.sh +5 -2
- package/.apm/hooks/specky-run.sh +3 -0
- package/.apm/instructions/claude-instructions.instructions.md +3 -3
- package/.apm/instructions/copilot-instructions.instructions.md +3 -3
- package/.apm/instructions/cursor-instructions.instructions.md +3 -3
- package/.apm/instructions/opencode-instructions.instructions.md +2 -2
- package/.apm/prompts/specky-brownfield.prompt.md +8 -5
- package/.apm/prompts/specky-greenfield.prompt.md +7 -5
- package/.apm/prompts/specky-implement.prompt.md +1 -1
- package/.apm/prompts/specky-orchestrate.prompt.md +1 -1
- package/.apm/skills/specky-design-architect/SKILL.md +39 -16
- package/.apm/skills/specky-implementer/SKILL.md +46 -158
- package/.apm/skills/specky-onboarding/SKILL.md +50 -156
- package/.apm/skills/specky-orchestrator/SKILL.md +28 -26
- package/.apm/skills/specky-quality-reviewer/SKILL.md +38 -23
- package/.apm/skills/specky-release-engineer/SKILL.md +38 -270
- package/.apm/skills/specky-research-analyst/SKILL.md +1 -1
- package/.apm/skills/specky-sdd-init/SKILL.md +61 -23
- package/.apm/skills/specky-sdd-pipeline/SKILL.md +36 -216
- package/.apm/skills/specky-spec-engineer/SKILL.md +40 -17
- package/.apm/skills/specky-task-planner/SKILL.md +31 -12
- package/.apm/skills/specky-test-verifier/SKILL.md +23 -202
- package/CHANGELOG.md +39 -0
- package/README.md +49 -47
- package/SECURITY.md +5 -1
- package/apm-policy.yml +2 -0
- package/apm.lock.yaml +55 -53
- package/apm.yml +3 -3
- package/config.yml +32 -53
- package/dist/cli/commands/doctor.d.ts.map +1 -1
- package/dist/cli/commands/doctor.js +106 -20
- package/dist/cli/commands/doctor.js.map +1 -1
- package/dist/cli/commands/init.d.ts +2 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +105 -7
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/migrate-contracts.d.ts +15 -0
- package/dist/cli/commands/migrate-contracts.d.ts.map +1 -0
- package/dist/cli/commands/migrate-contracts.js +311 -0
- package/dist/cli/commands/migrate-contracts.js.map +1 -0
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +63 -48
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/index.js +82 -27
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/lib/apm/policy.d.ts +1 -0
- package/dist/cli/lib/apm/policy.d.ts.map +1 -1
- package/dist/cli/lib/apm/policy.js +15 -0
- package/dist/cli/lib/apm/policy.js.map +1 -1
- package/dist/cli/lib/asset-copier.d.ts +1 -0
- package/dist/cli/lib/asset-copier.d.ts.map +1 -1
- package/dist/cli/lib/asset-copier.js +4 -4
- package/dist/cli/lib/asset-copier.js.map +1 -1
- package/dist/cli/lib/cursor-plugin-writer.d.ts.map +1 -1
- package/dist/cli/lib/cursor-plugin-writer.js +34 -9
- package/dist/cli/lib/cursor-plugin-writer.js.map +1 -1
- package/dist/cli/lib/harness/compilers/claude.js +3 -3
- package/dist/cli/lib/harness/compilers/claude.js.map +1 -1
- package/dist/cli/lib/harness/compilers/common.d.ts +10 -1
- package/dist/cli/lib/harness/compilers/common.d.ts.map +1 -1
- package/dist/cli/lib/harness/compilers/common.js +71 -8
- package/dist/cli/lib/harness/compilers/common.js.map +1 -1
- package/dist/cli/lib/harness/compilers/copilot.js +3 -3
- package/dist/cli/lib/harness/compilers/copilot.js.map +1 -1
- package/dist/cli/lib/harness/compilers/cursor.js +3 -3
- package/dist/cli/lib/harness/compilers/cursor.js.map +1 -1
- package/dist/cli/lib/harness/compilers/opencode.js +3 -3
- package/dist/cli/lib/harness/compilers/opencode.js.map +1 -1
- package/dist/cli/lib/harness/tool-map.d.ts +8 -1
- package/dist/cli/lib/harness/tool-map.d.ts.map +1 -1
- package/dist/cli/lib/harness/tool-map.js +74 -0
- package/dist/cli/lib/harness/tool-map.js.map +1 -1
- package/dist/cli/lib/harness/types.d.ts +11 -1
- package/dist/cli/lib/harness/types.d.ts.map +1 -1
- package/dist/cli/lib/mcp-writer.d.ts +2 -1
- package/dist/cli/lib/mcp-writer.d.ts.map +1 -1
- package/dist/cli/lib/mcp-writer.js +13 -5
- package/dist/cli/lib/mcp-writer.js.map +1 -1
- package/dist/cli/lib/settings-merger.d.ts +15 -0
- package/dist/cli/lib/settings-merger.d.ts.map +1 -1
- package/dist/cli/lib/settings-merger.js +66 -1
- package/dist/cli/lib/settings-merger.js.map +1 -1
- package/dist/config.d.ts +110 -42
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +129 -140
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/contracts/pipeline-profiles.d.ts +61 -0
- package/dist/contracts/pipeline-profiles.d.ts.map +1 -0
- package/dist/contracts/pipeline-profiles.js +303 -0
- package/dist/contracts/pipeline-profiles.js.map +1 -0
- package/dist/contracts/tool-contracts.d.ts +449 -0
- package/dist/contracts/tool-contracts.d.ts.map +1 -0
- package/dist/contracts/tool-contracts.js +83 -0
- package/dist/contracts/tool-contracts.js.map +1 -0
- package/dist/contracts/use-case.d.ts +736 -0
- package/dist/contracts/use-case.d.ts.map +1 -0
- package/dist/contracts/use-case.js +352 -0
- package/dist/contracts/use-case.js.map +1 -0
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/schemas/common.d.ts +3 -3
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/common.js +1 -4
- package/dist/schemas/common.js.map +1 -1
- package/dist/schemas/context.d.ts +2 -2
- package/dist/schemas/environment.d.ts +6 -17
- package/dist/schemas/environment.d.ts.map +1 -1
- package/dist/schemas/environment.js +1 -28
- package/dist/schemas/environment.js.map +1 -1
- package/dist/schemas/feature-content.d.ts +116 -0
- package/dist/schemas/feature-content.d.ts.map +1 -0
- package/dist/schemas/feature-content.js +65 -0
- package/dist/schemas/feature-content.js.map +1 -0
- package/dist/schemas/infrastructure.d.ts +6 -28
- package/dist/schemas/infrastructure.d.ts.map +1 -1
- package/dist/schemas/infrastructure.js +1 -30
- package/dist/schemas/infrastructure.js.map +1 -1
- package/dist/schemas/input.d.ts +412 -8
- package/dist/schemas/input.d.ts.map +1 -1
- package/dist/schemas/input.js +6 -7
- package/dist/schemas/input.js.map +1 -1
- package/dist/schemas/integration.d.ts +22 -28
- package/dist/schemas/integration.d.ts.map +1 -1
- package/dist/schemas/integration.js +11 -47
- package/dist/schemas/integration.js.map +1 -1
- package/dist/schemas/metrics.d.ts +3 -2
- package/dist/schemas/metrics.d.ts.map +1 -1
- package/dist/schemas/metrics.js +2 -1
- package/dist/schemas/metrics.js.map +1 -1
- package/dist/schemas/pbt.d.ts +2 -7
- package/dist/schemas/pbt.d.ts.map +1 -1
- package/dist/schemas/pbt.js +1 -9
- package/dist/schemas/pbt.js.map +1 -1
- package/dist/schemas/pipeline.d.ts +282 -35
- package/dist/schemas/pipeline.d.ts.map +1 -1
- package/dist/schemas/pipeline.js +29 -15
- package/dist/schemas/pipeline.js.map +1 -1
- package/dist/schemas/quality.d.ts +15 -19
- package/dist/schemas/quality.d.ts.map +1 -1
- package/dist/schemas/quality.js +6 -3
- package/dist/schemas/quality.js.map +1 -1
- package/dist/schemas/routing.d.ts +2 -2
- package/dist/schemas/routing.d.ts.map +1 -1
- package/dist/schemas/routing.js +2 -4
- package/dist/schemas/routing.js.map +1 -1
- package/dist/schemas/testing.d.ts +4 -13
- package/dist/schemas/testing.d.ts.map +1 -1
- package/dist/schemas/testing.js +2 -10
- package/dist/schemas/testing.js.map +1 -1
- package/dist/schemas/transcript.d.ts +648 -10
- package/dist/schemas/transcript.d.ts.map +1 -1
- package/dist/schemas/transcript.js +25 -12
- package/dist/schemas/transcript.js.map +1 -1
- package/dist/schemas/utility.d.ts +28 -15
- package/dist/schemas/utility.d.ts.map +1 -1
- package/dist/schemas/utility.js +23 -14
- package/dist/schemas/utility.js.map +1 -1
- package/dist/schemas/visualization.d.ts +66 -15
- package/dist/schemas/visualization.d.ts.map +1 -1
- package/dist/schemas/visualization.js +36 -12
- package/dist/schemas/visualization.js.map +1 -1
- package/dist/services/codebase-scanner.d.ts +1 -1
- package/dist/services/codebase-scanner.d.ts.map +1 -1
- package/dist/services/codebase-scanner.js +2 -2
- package/dist/services/codebase-scanner.js.map +1 -1
- package/dist/services/compliance-engine.d.ts +3 -2
- package/dist/services/compliance-engine.d.ts.map +1 -1
- package/dist/services/compliance-engine.js +34 -21
- package/dist/services/compliance-engine.js.map +1 -1
- package/dist/services/diagram-generator.d.ts +4 -96
- package/dist/services/diagram-generator.d.ts.map +1 -1
- package/dist/services/diagram-generator.js +18 -1051
- package/dist/services/diagram-generator.js.map +1 -1
- package/dist/services/doc-generator.d.ts +19 -52
- package/dist/services/doc-generator.d.ts.map +1 -1
- package/dist/services/doc-generator.js +389 -524
- package/dist/services/doc-generator.js.map +1 -1
- package/dist/services/execution-context.d.ts +32 -0
- package/dist/services/execution-context.d.ts.map +1 -0
- package/dist/services/execution-context.js +120 -0
- package/dist/services/execution-context.js.map +1 -0
- package/dist/services/file-manager.d.ts +16 -4
- package/dist/services/file-manager.d.ts.map +1 -1
- package/dist/services/file-manager.js +81 -5
- package/dist/services/file-manager.js.map +1 -1
- package/dist/services/iac-generator.d.ts +9 -10
- package/dist/services/iac-generator.d.ts.map +1 -1
- package/dist/services/iac-generator.js +36 -99
- package/dist/services/iac-generator.js.map +1 -1
- package/dist/services/methodology.js +1 -1
- package/dist/services/methodology.js.map +1 -1
- package/dist/services/metrics-generator.d.ts +1 -1
- package/dist/services/metrics-generator.d.ts.map +1 -1
- package/dist/services/metrics-generator.js +2 -2
- package/dist/services/metrics-generator.js.map +1 -1
- package/dist/services/pbt-generator.d.ts +10 -31
- package/dist/services/pbt-generator.d.ts.map +1 -1
- package/dist/services/pbt-generator.js +43 -515
- package/dist/services/pbt-generator.js.map +1 -1
- package/dist/services/state-machine.d.ts +22 -16
- package/dist/services/state-machine.d.ts.map +1 -1
- package/dist/services/state-machine.js +176 -179
- package/dist/services/state-machine.js.map +1 -1
- package/dist/services/template-engine.d.ts +11 -5
- package/dist/services/template-engine.d.ts.map +1 -1
- package/dist/services/template-engine.js +48 -21
- package/dist/services/template-engine.js.map +1 -1
- package/dist/services/test-generator.d.ts +11 -7
- package/dist/services/test-generator.d.ts.map +1 -1
- package/dist/services/test-generator.js +45 -54
- package/dist/services/test-generator.js.map +1 -1
- package/dist/templates/design.md +6 -0
- package/dist/tools/analysis.d.ts.map +1 -1
- package/dist/tools/analysis.js +8 -9
- package/dist/tools/analysis.js.map +1 -1
- package/dist/tools/checkpoint.d.ts.map +1 -1
- package/dist/tools/checkpoint.js +43 -46
- package/dist/tools/checkpoint.js.map +1 -1
- package/dist/tools/context.d.ts.map +1 -1
- package/dist/tools/context.js +5 -7
- package/dist/tools/context.js.map +1 -1
- package/dist/tools/documentation.d.ts +1 -4
- package/dist/tools/documentation.d.ts.map +1 -1
- package/dist/tools/documentation.js +112 -193
- package/dist/tools/documentation.js.map +1 -1
- package/dist/tools/environment.d.ts +1 -1
- package/dist/tools/environment.d.ts.map +1 -1
- package/dist/tools/environment.js +58 -99
- package/dist/tools/environment.js.map +1 -1
- package/dist/tools/infrastructure.d.ts.map +1 -1
- package/dist/tools/infrastructure.js +36 -38
- package/dist/tools/infrastructure.js.map +1 -1
- package/dist/tools/input.d.ts.map +1 -1
- package/dist/tools/input.js +18 -11
- package/dist/tools/input.js.map +1 -1
- package/dist/tools/integration.d.ts.map +1 -1
- package/dist/tools/integration.js +64 -65
- package/dist/tools/integration.js.map +1 -1
- package/dist/tools/metrics.d.ts.map +1 -1
- package/dist/tools/metrics.js +18 -30
- package/dist/tools/metrics.js.map +1 -1
- package/dist/tools/pbt.d.ts.map +1 -1
- package/dist/tools/pbt.js +10 -12
- package/dist/tools/pbt.js.map +1 -1
- package/dist/tools/pipeline.d.ts.map +1 -1
- package/dist/tools/pipeline.js +156 -274
- package/dist/tools/pipeline.js.map +1 -1
- package/dist/tools/quality.d.ts.map +1 -1
- package/dist/tools/quality.js +58 -45
- package/dist/tools/quality.js.map +1 -1
- package/dist/tools/response-builder.d.ts.map +1 -1
- package/dist/tools/response-builder.js +12 -10
- package/dist/tools/response-builder.js.map +1 -1
- package/dist/tools/testing.d.ts.map +1 -1
- package/dist/tools/testing.js +28 -29
- package/dist/tools/testing.js.map +1 -1
- package/dist/tools/tool-enforcement.d.ts +2 -0
- package/dist/tools/tool-enforcement.d.ts.map +1 -1
- package/dist/tools/tool-enforcement.js +84 -59
- package/dist/tools/tool-enforcement.js.map +1 -1
- package/dist/tools/transcript.d.ts.map +1 -1
- package/dist/tools/transcript.js +304 -374
- package/dist/tools/transcript.js.map +1 -1
- package/dist/tools/turnkey.d.ts +1 -31
- package/dist/tools/turnkey.d.ts.map +1 -1
- package/dist/tools/turnkey.js +104 -488
- package/dist/tools/turnkey.js.map +1 -1
- package/dist/tools/utility.d.ts.map +1 -1
- package/dist/tools/utility.js +115 -134
- package/dist/tools/utility.js.map +1 -1
- package/dist/tools/visualization.d.ts +1 -25
- package/dist/tools/visualization.d.ts.map +1 -1
- package/dist/tools/visualization.js +187 -562
- package/dist/tools/visualization.js.map +1 -1
- package/dist/types.d.ts +21 -11
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/artifact-metadata.d.ts +8 -0
- package/dist/utils/artifact-metadata.d.ts.map +1 -0
- package/dist/utils/artifact-metadata.js +10 -0
- package/dist/utils/artifact-metadata.js.map +1 -0
- package/dist/utils/requirement-partition.d.ts +8 -0
- package/dist/utils/requirement-partition.d.ts.map +1 -0
- package/dist/utils/requirement-partition.js +15 -0
- package/dist/utils/requirement-partition.js.map +1 -0
- package/package.json +11 -2
- package/templates/design.md +6 -0
- package/dist/utils/design-stubs.d.ts +0 -32
- package/dist/utils/design-stubs.d.ts.map +0 -1
- package/dist/utils/design-stubs.js +0 -103
- package/dist/utils/design-stubs.js.map +0 -1
|
@@ -3,7 +3,7 @@ name: specky-design-architect
|
|
|
3
3
|
description: Phase 4 agent that writes DESIGN.md with system architecture, API contracts, data models, and Mermaid diagrams. All design decisions trace to specification requirements.
|
|
4
4
|
|
|
5
5
|
color: blue
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "mcp.specky.sdd_write_design", "mcp.specky.sdd_generate_all_diagrams", "mcp.specky.sdd_generate_diagram"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,31 +24,11 @@ Diagram generation can run standalone.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You produce a complete design for one selected feature.
|
|
28
28
|
|
|
29
|
-
**First
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- Component architecture (Mermaid C4 diagrams)
|
|
36
|
-
- API interface definitions (endpoints, request/response schemas)
|
|
37
|
-
- Data model (entities, relationships, constraints)
|
|
38
|
-
- Integration points (external services, message queues)
|
|
39
|
-
- Deployment topology
|
|
40
|
-
4. Call sdd_generate_all_diagrams — auto-generate:
|
|
41
|
-
- C4 context and container diagrams
|
|
42
|
-
- Sequence diagrams for key flows
|
|
43
|
-
- Entity-relationship diagrams
|
|
44
|
-
- Data flow diagrams
|
|
45
|
-
- Dependency graphs
|
|
46
|
-
5. Every design decision traces to a REQ-ID
|
|
47
|
-
6. Present DESIGN.md for developer review
|
|
48
|
-
|
|
49
|
-
**Hard rules:**
|
|
50
|
-
- API contracts must cover every functional requirement in SPECIFICATION.md
|
|
51
|
-
- Data model must support all REQ-IDs
|
|
52
|
-
- Every external integration must have error handling strategy
|
|
53
|
-
- Diagrams must use Mermaid syntax (renderable in Markdown)
|
|
54
|
-
- Branch must be spec/NNN-*
|
|
29
|
+
1. **First read** the `specky-design-architect` skill for the exact common design fields and workload-specific discriminated payload.
|
|
30
|
+
2. Read the signed contract, Constitution, and Specification.
|
|
31
|
+
3. Collect complete C4, component, code, data, security, infrastructure, error, cross-cutting, ADR, and workload evidence; do not derive generic stubs.
|
|
32
|
+
4. Call `sdd_write_design` exactly once the payload is complete.
|
|
33
|
+
5. Supply explicit grounded Mermaid code for only the diagram types listed in `required_diagrams`; never request a generic “all types” set.
|
|
34
|
+
6. Present DESIGN.md, source references, and diagram evidence for approval.
|
|
@@ -1,47 +1,35 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: specky-implementer
|
|
3
|
-
description: Use this agent to
|
|
3
|
+
description: Use this agent to orchestrate contracted implementation planning, executable tests, and enabled infrastructure/development capabilities.
|
|
4
4
|
|
|
5
5
|
color: blue
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.command.git", "mcp.specky.sdd_implement", "mcp.specky.sdd_checklist", "mcp.specky.sdd_generate_tests", "mcp.specky.sdd_generate_pbt", "mcp.specky.sdd_generate_iac", "mcp.specky.sdd_generate_dockerfile", "mcp.specky.sdd_generate_devcontainer", "mcp.specky.sdd_setup_local_env", "mcp.specky.sdd_setup_codespaces", "mcp.github.create_or_update_file"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
10
10
|
Context: Tasks and design are complete, ready to implement
|
|
11
11
|
user: "Generate the implementation plan for feature 001"
|
|
12
|
-
assistant: "I'll create an ordered plan
|
|
12
|
+
assistant: "I'll create an ordered plan and assemble the executable TDD bindings enabled by the feature contract."
|
|
13
13
|
<commentary>
|
|
14
14
|
Transitioning from spec to code is exactly this agent's purpose.
|
|
15
15
|
</commentary>
|
|
16
16
|
</example>
|
|
17
17
|
|
|
18
18
|
<example>
|
|
19
|
-
Context: User needs test
|
|
20
|
-
user: "Create
|
|
21
|
-
assistant: "I'll
|
|
19
|
+
Context: User needs executable test generation
|
|
20
|
+
user: "Create requirement-bound tests"
|
|
21
|
+
assistant: "I'll validate and assemble the persisted executable bindings for every requirement."
|
|
22
22
|
<commentary>
|
|
23
|
-
|
|
23
|
+
Executable TDD binding assembly with traceability is a core implementer task.
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You orchestrate implementation evidence for one feature.
|
|
28
28
|
|
|
29
|
-
**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
5. Call sdd_checklist for security + testing + relevant NFR domains
|
|
37
|
-
6. Detect test framework, call sdd_generate_tests — every stub has REQ-XXX traceability
|
|
38
|
-
7. If EARS invariants exist, call sdd_generate_pbt for property-based tests
|
|
39
|
-
8. If deployment architecture exists, generate IaC and Docker configs
|
|
40
|
-
9. Deliver implementation handoff summary
|
|
41
|
-
|
|
42
|
-
**Hard rules:**
|
|
43
|
-
- Never enable extended thinking (arXiv:2502.08235: +43% cost, -30% quality)
|
|
44
|
-
- Never generate tests without REQ-ID traceability
|
|
45
|
-
- Never skip the security checklist
|
|
46
|
-
- Never write production code — scaffold only
|
|
47
|
-
- Never implement on develop, stage, or main — only on spec/NNN-* branches
|
|
29
|
+
1. **First read** the `specky-implementer` skill for exact capability-bound tool contracts.
|
|
30
|
+
2. Read signed state, Design, Tasks, and the computed analysis gate.
|
|
31
|
+
3. Call `sdd_implement` with explicit task IDs and checkpoint decision.
|
|
32
|
+
4. Generate tests or properties only from persisted executable TDD bindings.
|
|
33
|
+
5. Generate IaC, Docker, devcontainer, local environment, or Codespaces payloads only when the matching capability is enabled; all provider, resource, stack, service, image, port, and machine choices come from state.
|
|
34
|
+
6. Validate generated IaC before any external apply operation.
|
|
35
|
+
7. Present files and evidence; do not claim external resources or PRs were created unless the routed tool confirms it.
|
|
@@ -3,7 +3,7 @@ name: specky-onboarding
|
|
|
3
3
|
description: Default entry point and interactive wizard for Specky SDD. Detects project context, explains the plugin, guides through project type selection, work mode, and branch setup. Triggered when user says "specky" without specifics.
|
|
4
4
|
|
|
5
5
|
color: green
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.command.git", "mcp.specky.sdd_get_status", "mcp.specky.sdd_scan_codebase", "mcp.specky.sdd_check_ecosystem", "mcp.specky.sdd_context_status", "mcp.specky.sdd_auto_pipeline", "mcp.specky.sdd_batch_import", "mcp.specky.sdd_create_branch", "mcp.specky.sdd_discover", "mcp.specky.sdd_figma_to_spec", "mcp.specky.sdd_import_document", "mcp.specky.sdd_import_transcript"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,52 +24,11 @@ Context detection finds existing work and offers to resume.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You are the Specky
|
|
27
|
+
You are the default Specky entry point.
|
|
28
28
|
|
|
29
|
-
**First
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- Check if transcripts exist (*.vtt, *.srt in workspace) → offer sdd_auto_pipeline
|
|
36
|
-
- Check if codebase exists (src/, package.json, etc.) → suggest brownfield
|
|
37
|
-
- If empty → suggest greenfield
|
|
38
|
-
- Call sdd_check_ecosystem to show recommended MCP integrations
|
|
39
|
-
|
|
40
|
-
**Step 2 — Ask Project Type:**
|
|
41
|
-
- **Greenfield** — New project from scratch → /specky-greenfield
|
|
42
|
-
- **Brownfield** — Add features to existing code → /specky-brownfield
|
|
43
|
-
- **Modernization** — Migrate/upgrade existing system → /specky-migration
|
|
44
|
-
- **API Design** — Design an API specification → /specky-api
|
|
45
|
-
|
|
46
|
-
**Step 3 — Ask Input Source:**
|
|
47
|
-
- Directory with documents → sdd_import_document, sdd_batch_import
|
|
48
|
-
- Meeting transcript (VTT/SRT) → sdd_import_transcript, sdd_auto_pipeline
|
|
49
|
-
- Figma design → sdd_figma_to_spec
|
|
50
|
-
- Nothing (start from scratch) → sdd_discover
|
|
51
|
-
|
|
52
|
-
**Step 4 — Ask Work Mode:**
|
|
53
|
-
- **Full Pipeline** → Route to @specky-orchestrator (all 10 phases automated)
|
|
54
|
-
- **Agent-by-agent** → Show agent catalog, let user pick (e.g., @specky-sdd-init)
|
|
55
|
-
- **Direct MCP tools** → Show tool reference by category, user calls directly
|
|
56
|
-
|
|
57
|
-
**Step 5 — Branch Setup:**
|
|
58
|
-
- Auto-create `spec/NNN-feature` from develop → call sdd_create_branch
|
|
59
|
-
- Manual → show git commands
|
|
60
|
-
- Skip → proceed without branching
|
|
61
|
-
|
|
62
|
-
**After wizard completes:** Route to the selected mode/agent/tool.
|
|
63
|
-
|
|
64
|
-
**If user asks "what can Specky do?":** Show the full reference:
|
|
65
|
-
- 13 agents with purpose and phase
|
|
66
|
-
- 22 prompts grouped by use case
|
|
67
|
-
- 14 skills with trigger conditions
|
|
68
|
-
- 58 MCP tools by category
|
|
69
|
-
- 16 hook scripts (12 advisory + 4 blocking)
|
|
70
|
-
|
|
71
|
-
**Hard rules:**
|
|
72
|
-
- Always detect existing context first (never assume empty project)
|
|
73
|
-
- Always explain what each work mode provides
|
|
74
|
-
- Never skip directly to tool calls — orient the user first
|
|
75
|
-
- If .specs/ exists, offer resume before starting new work
|
|
29
|
+
1. **First read** the `specky-onboarding` skill for the contract-selection wizard and current tool catalog.
|
|
30
|
+
2. Validate `.specky/config.yml`; detect signed per-feature v5 states and report migration needs for root/legacy state.
|
|
31
|
+
3. Ask separately for lifecycle, workload, execution mode, explicit feature number, and capabilities with complete parameter objects.
|
|
32
|
+
4. Collect lifecycle evidence: codebase baseline for brownfield; source and target for migration.
|
|
33
|
+
5. Route to the orchestrator or selected lean agent. Do not auto-create branches, infer tools from files, or synthesize transcript/spec/design/task content.
|
|
34
|
+
6. Explain external MCP dependencies before routing and distinguish payload generation from confirmed remote execution.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: specky-orchestrator
|
|
3
|
-
description: Master agent that coordinates the
|
|
3
|
+
description: Master agent that coordinates the selected feature's signed phase graph, routes lean agents, validates evidence, and enforces configured gates.
|
|
4
4
|
|
|
5
5
|
color: purple
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.command.git", "agent.delegate", "mcp.specky.sdd_get_status", "mcp.specky.sdd_checkpoint", "mcp.specky.sdd_advance_phase", "mcp.specky.sdd_validate_ears", "mcp.specky.sdd_model_routing", "mcp.specky.sdd_context_status"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
10
10
|
Context: User wants to run the full pipeline
|
|
11
11
|
user: "Run the complete specky pipeline for user authentication"
|
|
12
|
-
assistant: "I'll
|
|
12
|
+
assistant: "I'll resolve the feature contract and coordinate its persisted phase graph."
|
|
13
13
|
<commentary>
|
|
14
14
|
Full pipeline orchestration is this agent's core purpose.
|
|
15
15
|
</commentary>
|
|
@@ -24,38 +24,13 @@ Resume support via .sdd-state.json state detection.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You coordinate one explicitly selected feature.
|
|
28
28
|
|
|
29
|
-
**First
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
3. Check prerequisite artifacts exist for current phase
|
|
38
|
-
4. Route to the correct phase agent:
|
|
39
|
-
- Phase 0 → @specky-sdd-init
|
|
40
|
-
- Phase 1 → @specky-research-analyst
|
|
41
|
-
- Phase 2 → @specky-spec-engineer
|
|
42
|
-
- Phase 3 → @specky-sdd-clarify
|
|
43
|
-
- Phase 4 → @specky-design-architect
|
|
44
|
-
- Phase 5 → @specky-task-planner
|
|
45
|
-
- Phase 6 → @specky-quality-reviewer
|
|
46
|
-
- Phase 7 → @specky-implementer
|
|
47
|
-
- Phase 8 → @specky-test-verifier
|
|
48
|
-
- Phase 9 → @specky-release-engineer
|
|
49
|
-
5. After agent completes: verify output artifact was created
|
|
50
|
-
6. If LGTM phase (2, 4, 5): pause and ask human "LGTM?" before advancing
|
|
51
|
-
7. Call sdd_checkpoint → snapshot the approved phase before transition
|
|
52
|
-
8. Call sdd_advance_phase → transition the state machine to the next phase
|
|
53
|
-
9. Route to next phase agent or stop if pipeline complete
|
|
54
|
-
|
|
55
|
-
**Hard rules:**
|
|
56
|
-
- Never skip phases — the state machine enforces sequential advancement
|
|
57
|
-
- Never advance without required artifacts (PHASE_REQUIRED_FILES)
|
|
58
|
-
- Always pause at LGTM gates (Phases 2, 4, 5) for human review
|
|
59
|
-
- Always checkpoint before advancing to next phase
|
|
60
|
-
- Never modify artifacts — you coordinate, not author
|
|
61
|
-
- Report model routing hint per phase using capability classes (fast, balanced, reasoning-focused). Let the user pick any available model.
|
|
29
|
+
1. **First read** the `specky-orchestrator` skill for phase routing and current tool contracts.
|
|
30
|
+
2. Call `sdd_get_status` with `view: "feature"`, explicit `spec_dir`, and `feature_number`.
|
|
31
|
+
3. Follow the persisted `contract.phases`; do not impose a ten-phase sequence on rapid or emergency contracts.
|
|
32
|
+
4. Delegate the current phase to its lean agent, which must load its companion skill first.
|
|
33
|
+
5. Enforce required artifacts, explicit diagram/story/test evidence, and the server-computed gate.
|
|
34
|
+
6. Request LGTM only when workspace config requires it for the current gate.
|
|
35
|
+
7. Create checkpoints only when policy requires them, then call `sdd_advance_phase` with explicit identity and LGTM value.
|
|
36
|
+
8. Do not author artifacts or infer missing contract values.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: specky-quality-reviewer
|
|
3
|
-
description: Phase 6 agent that runs completeness
|
|
3
|
+
description: Phase 6 agent that runs completeness, cross-artifact, sync, and configured compliance evidence checks. Reports APPROVE, CHANGES_NEEDED, or BLOCK.
|
|
4
4
|
|
|
5
5
|
color: red
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "mcp.specky.sdd_run_analysis", "mcp.specky.sdd_cross_analyze", "mcp.specky.sdd_compliance_check", "mcp.specky.sdd_check_sync", "mcp.specky.sdd_metrics"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,32 +24,11 @@ Compliance checking can run standalone.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You review one feature against its persisted contract.
|
|
28
28
|
|
|
29
|
-
**First
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- Missing acceptance criteria coverage
|
|
36
|
-
- Unresolved open questions
|
|
37
|
-
3. Call sdd_cross_analyze — spec-design-tasks alignment:
|
|
38
|
-
- Every REQ-ID in SPEC has corresponding task in TASKS.md
|
|
39
|
-
- Every API in DESIGN.md traces to a requirement
|
|
40
|
-
- Every test stub traces to a REQ-ID
|
|
41
|
-
4. Call sdd_check_sync — spec-code drift detection
|
|
42
|
-
5. Call sdd_compliance_check if compliance framework specified (SOC2, HIPAA, GDPR, PCI-DSS, ISO 27001, FedRAMP)
|
|
43
|
-
6. Write ANALYSIS.md with gate_decision:
|
|
44
|
-
- **APPROVE** — all checks pass, pipeline can proceed to implementation
|
|
45
|
-
- **CONDITIONAL** — minor issues found, list specific fixes required
|
|
46
|
-
- **REJECT** — critical issues, pipeline blocked until resolved
|
|
47
|
-
7. Write COMPLIANCE.md if compliance check ran
|
|
48
|
-
8. Call sdd_metrics — collect quality metrics for dashboard
|
|
49
|
-
|
|
50
|
-
**Hard rules:**
|
|
51
|
-
- Gate decision must be evidence-based with specific findings
|
|
52
|
-
- REJECT blocks the pipeline completely — must fix and re-review
|
|
53
|
-
- CONDITIONAL requires listed fixes before APPROVE
|
|
54
|
-
- Never approve if pass rate < 90% or critical drift detected
|
|
55
|
-
- Branch must be spec/NNN-* unless re-running post-merge analysis on develop
|
|
29
|
+
1. **First read** the `specky-quality-reviewer` skill for exact tools, evidence schemas, and actual gate values.
|
|
30
|
+
2. Read the signed state and every artifact required by the contracted phase graph.
|
|
31
|
+
3. Run analysis and cross-analysis with explicit feature identity and overwrite intent.
|
|
32
|
+
4. Run compliance only when enabled; submit evidence keyed by every configured control ID. Keyword presence is not evidence.
|
|
33
|
+
5. Run sync checks only against explicit code paths.
|
|
34
|
+
6. Report the server-computed `APPROVE`, `CHANGES_NEEDED`, or `BLOCK` decision without translating it to another vocabulary.
|
|
@@ -3,7 +3,7 @@ name: specky-release-engineer
|
|
|
3
3
|
description: Use this agent to prepare features for release — run blocking gates, generate documentation, create PR, and export work items.
|
|
4
4
|
|
|
5
5
|
color: green
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.command.git", "workspace.command.release-gates", "mcp.specky.sdd_create_pr", "mcp.specky.sdd_generate_all_docs", "mcp.specky.sdd_generate_docs", "mcp.specky.sdd_generate_api_docs", "mcp.specky.sdd_generate_runbook", "mcp.specky.sdd_generate_onboarding", "mcp.specky.sdd_export_work_items", "mcp.github.create_pull_request", "mcp.github.create_issue"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,33 +24,11 @@ PR creation requires passing blocking gates first.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You package one verified feature for delivery.
|
|
28
28
|
|
|
29
|
-
**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
3. Verify ANALYSIS.md gate = APPROVE and VERIFICATION.md pass rate ≥90%
|
|
36
|
-
4. Run blocking gates:
|
|
37
|
-
- specky-security-scan.sh (BLOCKING: exit 2 = cannot release)
|
|
38
|
-
- specky-release-gate.sh (BLOCKING: exit 2 = cannot release)
|
|
39
|
-
5. If either fails: explain what failed, suggest fix. Do NOT proceed.
|
|
40
|
-
6. Call sdd_generate_all_docs — parallel documentation generation
|
|
41
|
-
7. Call sdd_create_pr — PR payload with spec summary and correct target branch
|
|
42
|
-
8. Optionally call sdd_export_work_items — update external trackers
|
|
43
|
-
9. Deliver release summary with branch, target, and merge instructions
|
|
44
|
-
|
|
45
|
-
**Branching rules:**
|
|
46
|
-
- `spec/NNN-feature-name` → `develop` (after Phase 8 verification passes)
|
|
47
|
-
- `develop` → `stage` (after integration and Phase 6 analysis approval)
|
|
48
|
-
- `stage` → `main` (after all blocking gates pass)
|
|
49
|
-
- Never merge a spec branch directly to `main` or `stage`
|
|
50
|
-
- Delete spec branch after successful merge to develop
|
|
51
|
-
|
|
52
|
-
**Hard rules:**
|
|
53
|
-
- Never skip blocking gates
|
|
54
|
-
- Never create PR if gates fail
|
|
55
|
-
- Never modify specifications — you package, not author
|
|
56
|
-
- Never merge spec branch directly to main — always through develop → stage
|
|
29
|
+
1. **First read** the `specky-release-engineer` skill for exact release, documentation, and work-item contracts.
|
|
30
|
+
2. Require signed state, an `APPROVE` analysis gate, verification evidence, and enabled `release` capability.
|
|
31
|
+
3. Apply branch prefix, base branch, draft, and checkpoint policy from `capability_config.release`; never impose Gitflow names.
|
|
32
|
+
4. Generate only documentation types required for the workload and only from complete source artifacts.
|
|
33
|
+
5. Generate PR and work-item payloads from their persisted capabilities, then route them only to configured/authenticated external MCP servers.
|
|
34
|
+
6. Report payloads and external tool results accurately; do not merge or claim publication without confirmed execution.
|
|
@@ -3,7 +3,7 @@ name: specky-requirements-engineer
|
|
|
3
3
|
description: Use this agent to analyze raw input and produce validated FRD and NFRD documents ready for sdd_init.
|
|
4
4
|
|
|
5
5
|
color: magenta
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.edit", "mcp.specky.sdd_init", "mcp.specky.sdd_discover", "mcp.specky.sdd_import_document", "mcp.specky.sdd_import_transcript", "mcp.specky.sdd_batch_import", "mcp.specky.sdd_validate_ears"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -3,7 +3,7 @@ name: specky-research-analyst
|
|
|
3
3
|
description: Use this agent to gather technical context before specification. Scans codebases, imports documents, and produces RESEARCH.md.
|
|
4
4
|
|
|
5
5
|
color: cyan
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "web.fetch", "mcp.specky.sdd_scan_codebase", "mcp.specky.sdd_discover", "mcp.specky.sdd_research", "mcp.specky.sdd_import_document", "mcp.specky.sdd_import_transcript", "mcp.specky.sdd_check_ecosystem"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -3,7 +3,7 @@ name: specky-sdd-clarify
|
|
|
3
3
|
description: Use this agent to find and resolve ambiguities in requirements, validate EARS patterns, and produce a clarification log.
|
|
4
4
|
|
|
5
5
|
color: yellow
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "mcp.specky.sdd_clarify", "mcp.specky.sdd_validate_ears", "mcp.specky.sdd_turnkey_spec"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -3,7 +3,7 @@ name: specky-sdd-init
|
|
|
3
3
|
description: Use this agent to initialize the SDD pipeline for a new feature. Creates the .specs/ directory structure and CONSTITUTION.md.
|
|
4
4
|
|
|
5
5
|
color: green
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.command.git", "mcp.specky.sdd_init", "mcp.specky.sdd_scan_codebase", "mcp.specky.sdd_create_branch"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,22 +24,11 @@ Brownfield setup needs sdd_init plus sdd_scan_codebase.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You initialize one explicitly identified, contracted feature.
|
|
28
28
|
|
|
29
|
-
**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
6. For brownfield projects, call `sdd_scan_codebase` to detect the tech stack
|
|
36
|
-
7. Present CONSTITUTION.md to the developer for review
|
|
37
|
-
8. Suggest handoff to `@specky-research-analyst`
|
|
38
|
-
|
|
39
|
-
**Hard rules:**
|
|
40
|
-
- Never assign your own sequence number (NNN) — let sdd_init handle it
|
|
41
|
-
- Never write more than Phase 0 artifacts (CONSTITUTION.md, .sdd-state.json)
|
|
42
|
-
- Never proceed without developer confirmation of the constitution
|
|
43
|
-
- Always scan codebase for brownfield projects
|
|
44
|
-
- Always create spec branch from `develop`, never from `main` or `stage`
|
|
45
|
-
- Branch naming: `spec/NNN-feature-name` (matches `.specs/NNN-feature-name/`)
|
|
29
|
+
1. **First read** the `specky-sdd-init` skill. It is the authoritative source for inputs, lifecycle rules, capability configuration, and validation.
|
|
30
|
+
2. Gather every required value; do not infer a feature number, lifecycle, workload, execution mode, capability, or capability parameter.
|
|
31
|
+
3. For brownfield, obtain `sdd_scan_codebase` evidence before discovery. For migration, collect named source and target evidence.
|
|
32
|
+
4. Call `sdd_init` exactly as documented by the skill.
|
|
33
|
+
5. Create a branch only when the persisted `release` capability enables branch operations.
|
|
34
|
+
6. Present the signed feature state and CONSTITUTION.md for review, then hand off to the next contracted phase.
|
|
@@ -3,7 +3,7 @@ name: specky-spec-engineer
|
|
|
3
3
|
description: Phase 2 agent that writes SPECIFICATION.md using EARS notation. Every requirement gets a unique REQ-ID, one of the 6 EARS patterns, and measurable acceptance criteria.
|
|
4
4
|
|
|
5
5
|
color: magenta
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "mcp.specky.sdd_write_spec", "mcp.specky.sdd_turnkey_spec", "mcp.specky.sdd_validate_ears", "mcp.specky.sdd_figma_to_spec"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,33 +24,11 @@ Incremental spec refinement is also this agent's job.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You produce the specification for one selected feature.
|
|
28
28
|
|
|
29
|
-
**First
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
4. Call sdd_validate_ears — ensure all requirements pass validation
|
|
36
|
-
5. If Figma input available: call sdd_figma_to_spec for visual flows
|
|
37
|
-
6. Every requirement gets:
|
|
38
|
-
- Unique REQ-ID: `REQ-DOMAIN-NNN` (e.g., REQ-AUTH-001)
|
|
39
|
-
- EARS pattern: Ubiquitous, Event-driven, State-driven, Optional, Unwanted, or Complex
|
|
40
|
-
- Measurable acceptance criteria
|
|
41
|
-
7. Present SPECIFICATION.md for developer review
|
|
42
|
-
|
|
43
|
-
**EARS Patterns:**
|
|
44
|
-
- **Ubiquitous:** The system shall [action].
|
|
45
|
-
- **Event-driven:** When [event], the system shall [action].
|
|
46
|
-
- **State-driven:** While [state], the system shall [action].
|
|
47
|
-
- **Optional:** Where [condition], the system shall [action].
|
|
48
|
-
- **Unwanted:** If [condition], then the system shall [action].
|
|
49
|
-
- **Complex:** While [state], when [event], the system shall [action].
|
|
50
|
-
|
|
51
|
-
**Hard rules:**
|
|
52
|
-
- EARS notation mandatory for every requirement
|
|
53
|
-
- Every requirement needs measurable acceptance criteria
|
|
54
|
-
- REQ-IDs must be unique and UPPERCASE (REQ-AUTH-001, not REQ-auth-001)
|
|
55
|
-
- Never skip validation — always call sdd_validate_ears after writing
|
|
56
|
-
- Branch must be spec/NNN-*
|
|
29
|
+
1. **First read** the `specky-spec-engineer` skill for exact schemas, EARS rules, traceability, and lifecycle/workload requirements.
|
|
30
|
+
2. Read the feature state, Constitution, and completed discovery evidence.
|
|
31
|
+
3. Collect explicit requirements and acceptance criteria; never invent baseline requirements.
|
|
32
|
+
4. Call `sdd_write_spec`, then `sdd_validate_ears`, using explicit `spec_dir`, `feature_number`, and overwrite intent.
|
|
33
|
+
5. Use Figma only when the feature contract enables `figma` and the extraction inputs match its capability parameters.
|
|
34
|
+
6. Present the artifact and validation evidence for approval.
|
|
@@ -3,7 +3,7 @@ name: specky-task-planner
|
|
|
3
3
|
description: Phase 5 agent that writes TASKS.md with dependency-resolved task sequences, REQ-ID traceability, complexity estimates, and parallel markers. Also generates CHECKLIST.md.
|
|
4
4
|
|
|
5
5
|
color: orange
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "mcp.specky.sdd_write_tasks", "mcp.specky.sdd_checklist"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,29 +24,10 @@ Checklist generation can run standalone.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You produce an explicit task graph for one selected feature.
|
|
28
28
|
|
|
29
|
-
**First
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
3. Call sdd_write_tasks — produce TASKS.md with:
|
|
35
|
-
- Dependency-resolved task sequence
|
|
36
|
-
- [P] markers for parallelizable tasks
|
|
37
|
-
- TASK-NNN identifiers
|
|
38
|
-
- REQ-ID traceability on every task
|
|
39
|
-
- Complexity estimates (S/M/L/XL)
|
|
40
|
-
- Pre-implementation gates
|
|
41
|
-
4. Call sdd_checklist — produce CHECKLIST.md with:
|
|
42
|
-
- Security checklist (OWASP Top 10)
|
|
43
|
-
- Testing checklist (unit, integration, e2e)
|
|
44
|
-
- Domain-specific NFR checks
|
|
45
|
-
5. Present TASKS.md + CHECKLIST.md for developer review
|
|
46
|
-
|
|
47
|
-
**Hard rules:**
|
|
48
|
-
- Every task MUST trace to at least one REQ-ID
|
|
49
|
-
- Every task MUST have a complexity estimate (S/M/L/XL)
|
|
50
|
-
- Parallelizable tasks MUST be marked with [P]
|
|
51
|
-
- Dependencies must be explicitly listed
|
|
52
|
-
- Branch must be spec/NNN-*
|
|
29
|
+
1. **First read** the `specky-task-planner` skill for exact task and gate schemas.
|
|
30
|
+
2. Read the signed contract, Specification, and Design.
|
|
31
|
+
3. Collect task IDs, descriptions, S/M/L effort, dependencies, parallel decisions, requirement traces, and pre-implementation gates. Empty arrays must be intentional.
|
|
32
|
+
4. Call `sdd_write_tasks` with explicit overwrite intent.
|
|
33
|
+
5. Call only checklist domains required by the feature and provide the resulting evidence for review.
|
|
@@ -3,7 +3,7 @@ name: specky-test-verifier
|
|
|
3
3
|
description: Use this agent to verify test coverage, detect phantom completions, and check spec-code drift.
|
|
4
4
|
|
|
5
5
|
color: yellow
|
|
6
|
-
|
|
6
|
+
capabilities: ["workspace.read", "workspace.command.test", "mcp.specky.sdd_verify_tests", "mcp.specky.sdd_verify_tasks", "mcp.specky.sdd_check_sync", "mcp.specky.sdd_validate_ears", "mcp.specky.sdd_get_status"]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
<example>
|
|
@@ -24,20 +24,10 @@ Phantom detection prevents false confidence in test results.
|
|
|
24
24
|
</commentary>
|
|
25
25
|
</example>
|
|
26
26
|
|
|
27
|
-
You
|
|
27
|
+
You verify one feature using executable evidence.
|
|
28
28
|
|
|
29
|
-
**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
5. Call sdd_validate_ears — re-validate EARS integrity
|
|
35
|
-
6. Present VERIFICATION.md with gate decision
|
|
36
|
-
|
|
37
|
-
**Gate criteria (ALL must pass):**
|
|
38
|
-
- Test pass rate ≥90%
|
|
39
|
-
- All P0 requirements have passing tests
|
|
40
|
-
- Zero phantom completions (tasks done but tests failing)
|
|
41
|
-
- Spec-code drift ≤20%
|
|
42
|
-
|
|
43
|
-
**Output:** VERIFICATION.md with pass/fail decision and evidence.
|
|
29
|
+
1. **First read** the `specky-test-verifier` skill for the persisted TDD threshold and exact result schemas.
|
|
30
|
+
2. Run the configured test framework and collect machine-readable results.
|
|
31
|
+
3. Call `sdd_verify_tests`, `sdd_verify_tasks`, and `sdd_check_sync` with explicit feature identity and code paths.
|
|
32
|
+
4. Compare coverage to the threshold persisted in `capability_config.tdd`; do not substitute a global percentage.
|
|
33
|
+
5. Present VERIFICATION.md, uncovered requirement IDs, phantom task evidence, and drift findings.
|