From rodlc-toolkit
Validate implementation against plan — go/no-go gate before wrapping up
npx claudepluginhub rodlc/claude-workshop-plugins --plugin rodlc-toolkitThis skill uses the workspace's default tool permissions.
<verify-command>
Enforces C++ Core Guidelines for writing, reviewing, and refactoring modern C++ code (C++17+), promoting RAII, immutability, type safety, and idiomatic practices.
Provides patterns for shared UI in Compose Multiplatform across Android, iOS, Desktop, and Web: state management with ViewModels/StateFlow, navigation, theming, and performance.
Implements Playwright E2E testing patterns: Page Object Model, test organization, configuration, reporters, artifacts, and CI/CD integration for stable suites.
Purpose: Validate implementation against the active plan. Decides: AUTO-RECAP, FIX PLAN, or MANUAL REVIEW.
Check system-reminder for plan file path (same pattern as /recap).
If no active plan found:
→ Output: ⚠ No plan found. Run /verify after an implementation session.
→ Stop.
Read the plan file. Extract:
For each deliverable, generate and run automated tests:
| Livrable type | Test method | Pass condition |
|---|---|---|
| Fichier créé | Read | File exists + non-empty |
| Fichier modifié | Read | Contains expected content/sections |
| Contenu spécifique | Grep | Pattern found (≥1 match) |
| Absence de pattern | Grep | 0 matches |
| MCP Memory créé/modifié | search_by_tag or retrieve_memory | Content matches expected |
| MCP Memory supprimé | search_by_tag | 0 results |
| Frontmatter YAML | Read lines 1-3 | --- + required fields present |
| Skill/command runtime | (skip) | Mark ⏳ — not statically testable |
Run all tests. Record each result: ✓ pass / ✗ fail / ⏳ pending.
Tests: ✓ {pass} / ✗ {fail} / ⏳ {pending}
fail = 0 AND pending ≤ 2 → ► AUTO-RECAP
fail > 0 → ► FIX PLAN
pending > 2 → ► MANUAL REVIEW
Display compact test table:
╔══════════════════════════════════════════════╗
║ VERIFY ✓ {n} passed ⏳ {n} pending ║
╠══════════════════════════════════════════════╣
║ ✓ {livrable} ║
║ ⏳ {livrable} — runtime, not tested ║
╚══════════════════════════════════════════════╝
Output the summary table and inform the user all checks passed — ready to wrap up the session.
Display full test table with failure details:
╔══════════════════════════════════════════════╗
║ VERIFY ✓ {n} ✗ {n} ⏳ {n} ║
╠══════════════════════════════════════════════╣
║ ✓ {livrable} ║
║ ✗ {livrable} — {reason: missing/wrong/...} ║
║ ⏳ {livrable} — runtime, not tested ║
╚══════════════════════════════════════════════╝
Enter plan mode if not already active (call EnterPlanMode). Then write a Fix Plan section into the plan file:
── Fix Plan ──────────────────────────────────
1. [action] — [reason: what failed and why]
2. [action] — [reason: what failed and why]
── Verification ──────────────────────────────
Re-run after fix:
- [test command / Read path / Grep pattern]
Call ExitPlanMode for user review.
Call AskUserQuestion with:
Act on user choice:
/verify never modifies the codebase — read-only except for writing Fix Plan to plan file[impl done] → /verify → AUTO-RECAP → wrap up session
→ FIX PLAN → [fix] → /verify (retry)