Install
openclaw skills install @wardlu/test-scope-routingRoute validation by changed boundaries and risk, choosing the smallest sufficient checks for code, docs, UI, data, auth, sync, build, security, and release work. Use when deciding test commands, reducing unnecessary full-suite runs, auditing test layering, or documenting what was and was not verified.
openclaw skills install @wardlu/test-scope-routingChoose validation from the changed surface and risk. Keep the local feedback loop small, while reserving complete regression and release gates for merge, release, and high-risk boundaries.
For compact routing examples, read references/usage-examples.md when needed.
Before selecting commands:
AGENTS.md, CLAUDE.md, CONTRIBUTING.md, and test-scope documentation.package.json, Makefiles, task runners, test configuration, CI workflows, and release workflows.verify, fast, or full has a standard meaning.Treat project documentation as the authority for exact commands and boundaries. This skill supplies the routing method, not project-specific command names.
For behavior changes, record before implementation:
If a requirement is materially ambiguous, resolve the spec or decision first. For a behavior change, add a focused failing test when practical, then implement the smallest change.
Use semantic tiers. Projects may rename or combine them, but the responsibilities must remain distinct.
| Tier | Responsibility | Typical scope |
|---|---|---|
| L0 static | Syntax, formatting, repository policy, static assets, and documentation constraints | Docs, copy, low-risk CSS, static configuration |
| L1 fast | Deterministic local logic and state behavior | Utilities, models, reducers, controllers, rule calculations |
| L2 targeted UI | User-visible rendering and interaction in the affected journey | Navigation, forms, settings, offline UI, PWA, accessibility-sensitive flows |
| L3 integration | External boundaries and data correctness | Database schema/RLS, functions, auth, sync, export, deletion, network errors |
| L4 full | Merge, release, or high-risk system boundary | Full build, security, dependency, complete E2E, database, release, and production checks |
Route by the union of touched boundaries:
Do not run every tier merely because a command is convenient. Do add tiers when the change crosses a boundary. If no targeted check exists, report the gap as unverified instead of hiding it behind an unrelated full suite.
Before composing or recommending shortcuts:
verify means full regression. Confirm whether it excludes database, functions, E2E, or production probes.fast as only a label; verify whether it runs all unit tests or only impacted tests.In the task or PR, record:
Do not describe a change as fully verified from an exit code, HTTP 200, empty output, pending CI check, or unit coverage percentage alone. State the actual boundary covered and the boundary that remains unverified.