con un clic
kiro-validate-impl
// Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.
// Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.
Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.
Implement approved tasks using TDD with native subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.
Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.
Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.
Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage.
Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.
| name | kiro-validate-impl |
| description | Validate feature-level integration after all tasks are implemented. Checks cross-task consistency, full test suite, and overall spec coverage. |
<background_information> Individual tasks are usually reviewed during implementation. Your job is to catch problems that only become visible when looking across all tasks together.
Boundary terminology continuity:
discovery identifies Boundary Candidates
design fixes Boundary Commitments
tasks constrain execution with _Boundary:_
feature validation checks for cross-task Boundary Violations
Success Criteria:
[x] in tasks.mdWhat This Skill Does NOT Do: This skill is not a full replacement for task-local review during /kiro-impl. This skill does NOT re-check every individual task acceptance criterion, every per-file reality check, or every single-task spec detail unless a concrete integration finding forces it.
This skill's main question is: when the completed tasks are viewed together, do they still respect the designed boundary seams and dependency direction? </background_information>
## Execution StepsIf no arguments provided ($1 empty):
/kiro-impl <feature> [tasks] commands{{KIRO_DIR}}/specs/ for features with completed tasks [x]If feature provided ($1 present, $2 empty):
[x] in {{KIRO_DIR}}/specs/$1/tasks.mdIf both feature and tasks provided ($1 and $2 present):
user-auth 1.1,1.2)The following validation dimensions are independent and can be dispatched as sub-agents. The agent should decide the optimal decomposition based on feature scope — split, merge, or skip sub-agents as appropriate. Each sub-agent returns a structured findings summary to keep the main context clean for GO/NO-GO synthesis.
Typical validation dimensions (adjust as appropriate):
If multi-agent is not available, run checks sequentially in main context.
After all checks complete, synthesize findings for GO/NO-GO/MANUAL_VERIFY_REQUIRED assessment.
If the implementation run explicitly skipped task-local review (for example --review off), tighten scrutiny on obvious task-level gaps that surface during integration validation and call out that reduced review coverage in the report.
For each detected feature:
{{KIRO_DIR}}/specs/<feature>/spec.json for metadata{{KIRO_DIR}}/specs/<feature>/requirements.md for requirements{{KIRO_DIR}}/specs/<feature>/design.md for design structure{{KIRO_DIR}}/specs/<feature>/tasks.md for task list and Implementation Notesproduct.md, tech.md, structure.mdDiscover canonical validation commands:
package.json, pyproject.toml, go.mod, Cargo.toml, app manifests), task runners (Makefile, justfile), CI/workflow files, existing e2e/integration configs, then README*TEST_COMMANDS, BUILD_COMMANDS, and SMOKE_COMMANDSSMOKE_COMMANDS, choose the lightest trustworthy runtime-liveness check for the app shape (for example: root URL load, Electron launch, CLI --help, service health endpoint, mobile simulator/e2e harness if one already exists)A. Full Test Suite
MANUAL_VERIFY_REQUIREDB. Residual TBD/TODO/FIXME
grep -rn "TBD\|TODO\|FIXME\|HACK\|XXX" <files-in-feature-boundary>C. Residual Hardcoded Secrets
grep -rn "password\s*=\|api_key\s*=\|secret\s*=\|token\s*=" <files-in-feature-boundary> (case-insensitive)D. Runtime Liveness (Smoke Boot)
--help; start a service and hit its health endpoint.MANUAL_VERIFY_REQUIREDE. Cross-Task Integration
F. Requirements Coverage Gaps
requirements.md; do NOT invent REQ-* aliasesG. Design End-to-End Alignment
design.mdG.5 Boundary Audit
Boundary Commitments, Out of Boundary, Allowed Dependencies, and Revalidation TriggersH. Blocked Tasks & Implementation Notes
_Blocked:_ — report why and assess impact on feature completeness## Implementation Notes in tasks.md for cross-cutting insights that need attentionBefore returning GO, apply the kiro-verify-completion protocol to the feature-level claim. Tests alone are insufficient: include full-suite, runtime liveness, coverage, integration, design-alignment, and blocked-task status in the evidence.
Classify concrete failures by ownership before writing remediation:
LOCAL if the defect belongs to the feature being validatedUPSTREAM if the root cause belongs to a dependency, foundation, shared platform, or earlier specUNCLEAR if ownership cannot be established from the available evidenceIf ownership is UPSTREAM, do not collapse the issue into local remediation for this feature. Name the owning upstream spec and explain which dependent specs should be revalidated after that upstream fix lands.
Provide summary in the language specified in spec.json:
## Validation Report
- DECISION: GO | NO-GO | MANUAL_VERIFY_REQUIRED
- MECHANICAL_RESULTS:
- Tests: PASS | FAIL (command and exit code)
- TBD/TODO grep: CLEAN | <count> matches
- Secrets grep: CLEAN | <count> matches
- Smoke boot: PASS | FAIL | MANUAL_REQUIRED
- INTEGRATION:
- Cross-task contracts: <status>
- Shared state consistency: <status>
- Boundary audit: <status>
- COVERAGE:
- Requirements mapped: <X/Y sections covered>
- Coverage gaps: <list of uncovered requirement sections>
- DESIGN:
- Architecture drift: <findings>
- Dependency direction: <violations if any>
- File Structure Plan vs actual: <match/mismatch>
- OWNERSHIP: LOCAL | UPSTREAM | UNCLEAR
- UPSTREAM_SPEC: <feature-name | N/A>
- BLOCKED_TASKS: <list and impact assessment>
- REMEDIATION: <if NO-GO: specific, actionable steps to fix each issue>
If NO-GO, REMEDIATION is mandatory — identify the exact issue and what needs to change.
GO only when all integration checks passed; return NO-GO for concrete failures and MANUAL_VERIFY_REQUIRED when mandatory validation could not be completedGO if the feature only works by smearing responsibilities across boundaries, even when tests pass
/kiro-impl in history and no [x] tasks, report "No implementations detected"MANUAL_VERIFY_REQUIRED and explain which validation command is missing; do not return GOIf GO Decision:
If NO-GO Decision:
/kiro-impl <feature> [tasks] for targeted fixes/kiro-validate-impl [feature]Session Interrupted:
If MANUAL_VERIFY_REQUIRED: