home / skills / shotaiuchi / dotclaude / wf6-verify
This skill verifies implementation quality by running config-driven checks, evaluating prerequisites, tests, builds, lint, and success criteria.
npx playbooks add skill shotaiuchi/dotclaude --skill wf6-verifyReview the files below or copy the command above to add this skill to your agents.
---
name: wf6-verify
description: 実装を検証
argument-hint: ""
---
**Always respond in Japanese.**
# /wf6-verify
Verify implementation quality.
## Usage
```
/wf6-verify
```
## Processing
### 1. Check Prerequisites
Get active work from state.json. Verify all plan steps are completed (`plan.current_step >= plan.total_steps`). Warn if incomplete.
### 2. Run Verification
Execute each check, using commands from `.wf/config.json` (`verify.test`, `verify.build`, `verify.lint`) with auto-detection fallback based on project files:
| Check | Config Key | Fallback Detection |
|-------|-----------|-------------------|
| Tests | `verify.test` | package.json→npm test, pytest.ini/pyproject.toml→pytest, go.mod→go test |
| Build | `verify.build` | package.json→npm run build, go.mod→go build, Cargo.toml→cargo build |
| Lint | `verify.lint` | .eslintrc→npm run lint, .prettierrc→format:check, pyproject.toml→black --check, .golangci.yml→golangci-lint |
### 3. Check Success Criteria
Compare against Success Criteria from `01_KICKOFF.md`. Mark each as OK or incomplete.
### 4. Verification Summary
Display: implementation progress, test results, build status, lint status, success criteria completion, overall PASS/FAIL.
### 5. Update state.json
- On PASS: Set `current: "wf6-verify"`, `next: "wf7-pr"`
- On FAIL: Set `current: "wf6-verify"`, `next: "wf6-verify"` (re-run after fixes)
### 6. Completion Message
- PASS: Show results, inform that `/wf7-pr` is next step
- FAIL: List failed items, suggest fixes, instruct to re-run `/wf6-verify`
## Handling Failure
If verification fails: list failed items, suggest fixes, instruct to re-run `/wf6-verify`.
## Notes
- Warning for incomplete Success Criteria
- Verification can be re-run multiple times
- PR creation is handled by `/wf7-pr` after verification passes
This skill verifies implementation quality by running automated checks and comparing results to project success criteria. It inspects tests, builds, and linting using configured commands or sensible fallbacks based on project files. The skill summarizes results and updates the workflow state to guide the next step.
It reads active work from state.json and confirms plan completion before starting. It runs verification commands from .wf/config.json or auto-detects appropriate commands (tests, build, lint) from common project files. Results are evaluated against Success Criteria from 01_KICKOFF.md, a summary is produced, and state.json is updated with the next workflow step.
What happens if the plan is incomplete in state.json?
The skill warns about incomplete plan steps and will flag verification accordingly; complete plan steps before expecting a PASS.
How are commands selected if .wf/config.json is missing?
The skill auto-detects commands from common files (package.json, pyproject.toml, go.mod, Cargo.toml, .eslintrc, etc.) and runs appropriate test/build/lint commands.
What does the skill do after a PASS?
It sets state.json current to wf6-verify and next to wf7-pr, and informs you that /wf7-pr is the next step.
What should I do after a FAIL?
Review the listed failed items, apply suggested fixes (tests, build errors, lint issues, or unmet success criteria), then re-run /wf6-verify.