validation
БесплатноБез исполняемых скриптовНе проверенCross-cutting validation methodology for verifying phase outputs and project integrity
от josstei★ 493 звезды на GitHubОб этом скилле
Validation Skill
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.
Validation Pipeline
Execute validation steps in this order. Stop on the first blocking failure unless the user explicitly requests continuing.
Step 1: Build / Compile
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 |
Step 2: Lint / Format
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 |
Step 3: Unit Tests
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 |
Step 4: Integration Tests
Run integration tests if available and applicable.
Detect integration test presence by looking for:
tests/integration/,test/integration/, or**/integration_test*directories/files- Test files with
integrationin the name - Test scripts in package.json (e.g.,
test:integration)
Step 5: Manual Verification
For changes that cannot be automatically validated, present a checklist to the user.
Project Type Detection
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.
Validation Result Interpretation
Pass
All executed validation steps completed with exit code 0. No errors or warnings that indicate broken functionality.
Fail (Blocking)
Any of the following constitute a blocking failure:
- Build/compile errors
- Lint errors (not warnings, unless the project treats warnings as errors)
- Test failures
- Type errors
Warn (Non-Blocking)
The following are recorded but do not block progression:
- Lint warnings (when not configured as errors)
- Deprecation notices
- Coverage decreases (unless coverage threshold is configured)
- Format-only issues (can be auto-fixed)
Validation Modes
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. |
Strictness Application
When evaluating each validation step:
- Run the validation command and capture the exit code and output
- Classify the result as Pass, Fail (Blocking), or Warn (Non-Blocking) using the standard criteria above
- Apply the strictness mode:
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 continue
- If strictness causes a result to be downgraded from blocking to non-blocking, note this in the validation output: "Warning recorded but not blocking (lenient mode)"
Post-Phase Validation
When to Validate
Run validation after:
- Every phase that creates or modifies source code
- Every parallel batch completion (validate the combined result)
- Before marking any phase as
completed
When to Skip Validation
Skip validation when:
- The phase only modified documentation files
- The phase only produced read-only analysis (
architect,code-reviewerreports) - The user explicitly requests skipping validation
Record skipped
Установить validation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл validation?
Cross-cutting validation methodology for verifying phase outputs and project integrity
Как установить скилл validation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл validation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic