npx claudepluginhub josstei/maestro-orchestrate --plugin maestroThis skill uses the workspace's default tool permissions.
Activate this skill when validating phase outputs during orchestration execution or when running standalone validation checks. This skill provides the pipeline, heuristics, and interpretation rules for verifying that changes meet quality standards.
Runs lint, type-check, tests, and build for Node.js, Python, Rust, Go, Java projects after code changes to verify nothing is broken.
Runs multi-agent verification loop post-implementation, dispatching specialized agents for review with autonomous subagent fixes and retries until unanimous approval.
Runs full validator workflow: executes agent-validate checks via Bash, extracts and reports failures from logs using Task, applies fixes before commit/push/PR. For 'run validator' requests.
Share bugs, ideas, or general feedback.
Activate this skill when validating phase outputs during orchestration execution or when running standalone validation checks. This skill provides the pipeline, heuristics, and interpretation rules for verifying that changes meet quality standards.
Execute validation steps in this order. Stop on the first blocking failure unless the user explicitly requests continuing.
Verify the project compiles without errors.
| Project Type | Command |
|---|---|
| Node.js (TypeScript) | npx tsc --noEmit |
| Node.js (JavaScript) | N/A (skip) |
| Rust | cargo build |
| Go | go build ./... |
| Python | python -m py_compile [files] |
| Java (Maven) | mvn compile |
| Java (Gradle) | ./gradlew compileJava |
Verify code meets style and quality standards.
| Project Type | Command |
|---|---|
| Node.js | npx eslint . && npx prettier --check . |
| Rust | cargo clippy && cargo fmt --check |
| Go | go vet ./... && gofmt -l . |
| Python | ruff check . && ruff format --check . |
| Java | mvn checkstyle:check or ./gradlew checkstyleMain |
Run unit tests to verify behavior preservation.
| Project Type | Command |
|---|---|
| Node.js (Jest) | npx jest |
| Node.js (Vitest) | npx vitest run |
| Rust | cargo test |
| Go | go test ./... |
| Python (pytest) | python -m pytest tests/ |
| Java (Maven) | mvn test |
| Java (Gradle) | ./gradlew test |
Run integration tests if available and applicable.
Detect integration test presence by looking for:
tests/integration/, test/integration/, or **/integration_test* directories/filesintegration in the nametest:integration)For changes that cannot be automatically validated, present a checklist to the user.
Detect the project type by checking for the presence of these files in the project root:
| Indicator File | Project Type |
|---|---|
package.json | Node.js (check for typescript dep for TS) |
Cargo.toml | Rust |
go.mod | Go |
pyproject.toml or setup.py | Python |
pom.xml | Java (Maven) |
build.gradle or build.gradle.kts | Java (Gradle) |
Gemfile | Ruby |
*.csproj or *.sln | .NET |
When multiple indicators are present, validate each project type independently.
All executed validation steps completed with exit code 0. No errors or warnings that indicate broken functionality.
Any of the following constitute a blocking failure:
The following are recorded but do not block progression:
The validation strictness is controlled by MAESTRO_VALIDATION_STRICTNESS (default: normal).
| Mode | Behavior |
|---|---|
strict | Warnings are treated as blocking failures. All lint warnings, deprecation notices, and coverage decreases block phase progression. |
normal | Only errors block. Warnings are recorded but do not prevent phase completion. This is the default behavior described in the Pass/Fail/Warn sections above. |
lenient | Nothing blocks automatically. All failures and warnings are recorded in session state and reported to the user, but phase progression continues. The user reviews the accumulated report at completion. |
When evaluating each validation step:
strict: Fail (Blocking) AND Warn (Non-Blocking) both stop progressionnormal: Only Fail (Blocking) stops progressionlenient: Record everything, stop nothing — append all results to session state and continueRun validation after:
completedSkip validation when:
architect, code-reviewer reports)Record skipped with rationale in the phase validation result.
For changes that cannot be automatically validated, present this checklist template:
### Manual Verification Required
The following changes require manual verification:
- [ ] [Description of what to verify]
- [ ] [Visual/UI changes look correct]
- [ ] [Integration with external service works]
- [ ] [Environment-specific behavior confirmed]
Please confirm these items are verified before I mark this phase as complete.
Use manual verification for:
When full pipeline validation is unnecessary, use targeted validation based on the type of changes in the completed phase:
skipped with rationale).Determine the change type automatically from the completing agent's Task Report:
When validation fails, provide a structured diagnosis to help the orchestrator decide next steps.
git stash push --include-untracked -m "maestro-causality-check"[validation command] (capture exit code as validation_exit)git stash pop (run regardless of validation_exit)validation_exit is non-zero in the clean snapshot, classify the failure as pre-existing.git stash pop fails, mark the diagnosis as inconclusive until restoration conflicts are resolved.### Validation Diagnosis
- **Failure Type**: [type error | lint error | test failure | build error]
- **Failing Files**: [list of files from current phase involved in the failure]
- **Root Cause**: [brief description of why validation failed]
- **Pre-existing**: [yes | no — was this failure present before this phase's changes?]
- **Resolution Path**: [re-delegate to same agent | escalate to user | requires cross-phase fix]
- **Recommended Action**: [specific next step with context to include in re-delegation or escalation]