npx skills add steipete/openclaw --skill openclaw-testing
openclaw/openclaw
openclaw-testing
Choose proportional OpenClaw tests and checks, diagnose failures, and route environment-sensitive or release proof to its owner.
Installation
npx skills add openclaw/openclaw --skill openclaw-testing
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsPre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure…
567.7K installsConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: sem…
566.3K installsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compar…
510K installsPostgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsAlso in this package
Other skills from openclaw/openclaw · top by installs.
npx skills add openclaw/openclaw
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md6,738 B -
docs
SUMMARY.md152 B
History
- First seen on skills.sh
- First recorded snapshot · 356 installs
SKILL.md
OpenClaw Testing
Prove the changed contract with the smallest meaningful check, complete required checks, then finish. Broaden or repeat only for new changes, failures, or unresolved risks. Do not add tests that merely mirror reversible, low-impact implementation changes; use $test-audit when authoring or reviewing tests.
For ordinary local tests, start at docs/reference/test.md#routine-local-order and #core-commands; read docs/ci.md when CI scope or runner behavior matters. Follow the touched subtree's AGENTS.md.
Select The Proof
Trusted development tests, changed checks, typecheck/lint, and builds run locally, including broader suites when the contract warrants them. Remote compute is for isolation, clean installation, packaging, Docker, live services, desktop/platform behavior, or an explicit operator request.
| Change or question | Starting point |
|---|---|
| Runtime defect | Reproduce narrowly; rerun that proof after the repair, plus relevant siblings |
| Trusted source diff | pnpm changed:lanes --json, pnpm check:changed, focused tests |
| Public SDK/plugin contract | Changed checks plus representative consumer tests; no automatic all-plugin sweep |
| Build output, lazy imports, package boundaries | Include pnpm build |
| Workflow | git diff --check and pnpm check:workflows |
| Documentation only | Relevant docs/link/format sanity and git diff --check; no runtime tests |
For specialized proof, load only the selected route:
- Remote leases and credentials: [
$crabbox](../crabbox/SKILL.md), with the
OpenClaw bootstrap binding below.
- Package installation, plugin package trust, Docker/live lane selection or
reruns: [Package And Docker Proof](references/package-and-docker.md).
- Release candidates, full-validation dispatch, evidence identity or recovery:
[$release-openclaw-ci](../release-openclaw-ci/SKILL.md). A narrow green rerun does not itself authorize publication. Do not substitute moving main for the recorded candidate or Tooling SHA.
- Plugin release matrix: [
$release-openclaw-plugin-testing](../release-openclaw-plugin-testing/SKILL.md). - New or changed Docker lanes: [
$openclaw-docker-e2e-authoring](../openclaw-docker-e2e-authoring/SKILL.md). - Channel/UI behavior: the relevant channel proof skill or
[$control-ui-e2e](../control-ui-e2e/SKILL.md); mock-Gateway boundary proof is valid when it covers the changed path. State concrete live-proof gaps.
Source And State Boundaries
Untrusted contributor/fork tooling must never execute locally, including its wrapper or config. Use secretless fork CI or sanitized direct AWS under $crabbox; never credential-hydrated Testbox. Credentialed execution requires maintainer approval after review, and never hydrates an untrusted lease.
For untrusted OpenClaw AWS proof, supply the clean trusted main copy of scripts/crabbox-untrusted-bootstrap.sh as Crabbox's <trusted-bootstrap-script>. Bind the fresh lease and --fresh-pr checkout to the reviewed full head SHA. The trusted bootstrap verifies that SHA, the IMDSv2 no-role boundary, and the package-manager pin before installing into an isolated HOME. Keep CRABBOXENVALLOW=CI, --no-hydrate, no instance role, and no Tailscale. A moved head needs a fresh lease; missing no-role proof or no remote PR means secretless CI. Read the Crabbox untrusted procedure before allocation.
For trusted remote proof, use node scripts/crabbox-wrapper.mjs with the resolved provider; do not silently switch providers or bypass sync/security exclusions. Save and reuse task-owned leases, verify the materialized candidate, keep evidence outside the synced checkout, and stop owned leases at handoff.
Use isolated state and a free port. Never restart, edit, or test against an operator Gateway or real data without explicit per-task approval. Do not kill unrelated processes or reconcile a shared dependency install while jobs use it.
Local Commands
pnpm changed:lanes --json
pnpm check:changed
pnpm test <path-or-filter>
pnpm test:changed
check:changed selects formatting, typecheck, lint, and guard work and may run targeted owner Vitest tests. Inspect its plan with node scripts/check-changed.mjs --dry-run -- <paths...>; it is not the full test suite. test:changed chooses direct tests, mapped/sibling tests, and import dependents; shared harness/config edits can need explicit targets or the broad fallback OPENCLAWTESTCHANGED_BROAD=1 pnpm test:changed. pnpm verify runs the full check and then test when that scope is justified.
Use repository wrappers rather than raw Vitest so project routing and setup remain correct. If dependencies are ready in a linked worktree, these bypass pnpm dependency reconciliation:
node scripts/check-changed.mjs
node scripts/run-vitest.mjs <path-or-filter>
Concurrent test/check commands must not share a Vitest filesystem module cache: serialize them, group tests in one invocation, or give each command a distinct OPENCLAWVITESTFSMODULECACHEPATH. Checks can schedule Vitest too. For worker-sensitive failures, OPENCLAWVITESTMAXWORKERS=1 pnpm test <path> provides a focused serial probe; do not make a forced environment the repair.
CI Failures
gh run list --branch <branch> --limit 10 --json databaseId,headSha,status,conclusion,url
gh run view <run-id> --json status,conclusion,headSha,url,jobs
gh run view <run-id> --job <failed-job-id> --log
Bind the diagnosis to the exact SHA and job. Check whether cancellation means a newer same-branch run superseded it. Fetch relevant failed logs once and reuse them; prefer exact run/job state over a stale PR rollup. Separate product, harness, infrastructure, and credential failures before choosing a retry.
For prompt snapshot drift that passes on macOS, reproduce in CI's Linux/Node environment before regenerating; a local pass cannot override failing CI bytes. Fix related failures and rerun the affected proof. Route unrelated failures with evidence rather than broadening this task automatically.