openclaw-testing
Skill573 starsChanged 34 days agoMITView on GitHub
Choose proportional OpenClaw tests and checks, diagnose failures, and route environment-sensitive or release proof to its owner.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- shanselman/openclaw-windows-hubtheir own version, first seen Nov 2, 2026
- openclaw/openclaw-windows-nodetheir own version, first seen Nov 1, 2026
- OpenClawAndroid/openclaw-android-assistantword for word, first seen Oct 17, 2026
- bighamx/openclaw-android-node-apktheir own version, first seen Oct 9, 2026
- molt-bot/clawdbotword for word, first seen Oct 8, 2026
- steipete/warelaytheir own version, first seen Oct 8, 2026
Used with
Projects with it also use openclaw-performance, plugin-sdk-impact and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
clawdbotSkillopenclaw-performance
Performance work in OpenClaw: a slow or heavy flow (latency, CPU, memory, SQL, RPC, renders), writing or reviewing a perf PR, or adding a cache. Count the work, delete waste first, cache last.
Also in 7 projects that use this
clawdbotSkillplugin-sdk-impact
Count Plugin SDK consumers across live ClawHub releases and bundled OpenClaw plugins before deprecation, removal, or behavior changes; supports public release-date filters.
Also in 7 projects that use this
- +1 more from clawdbot
Other versions13 projects use a version of this.
Word for word · 2
- molt-bot/clawdbot★ 391k100% same
- OpenClawAndroid/openclaw-android-assistant★ 556100% same
Edited · 0
None found.
Wrote their own version · 11
- moltbot/clawdbot★ 394ksame name
- steipete/warelay★ 394ksame name
- steipete/clawdis★ 394ksame name
- moltbot/moltbot★ 394ksame name
- clawdbot/clawdbot★ 394ksame name
- openclaw/openclaw★ 394ksame name
- openclaw/openclaw-windows-node★ 2.2ksame name
- shanselman/openclaw-windows-hub★ 2.2ksame name
- bighamx/openclaw-android-node-apk★ 57same name
- clawsouls/soulclaw★ 9same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository107 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- extensions/AGENTS.mdAGENTS.md
- openclaw-android/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- test/AGENTS.mdAGENTS.md
- ui/AGENTS.mdAGENTS.md
- agent-transcriptSkill
- auto-qaSkill
- autoreviewSkill
- channel-message-flowsSkill
- clawdtributorSkill
- claw-scoreSkill
- clawsweeperSkill
- codex-app-paritySkill
- control-ui-e2eSkill
- crabboxSkill
- deslopSkill
- discord-clawdSkill
- discord-e2eSkill
- discord-user-postSkill
- discrawlSkill
- gitcrawlSkill
- graincrawlSkill
- notcrawlSkill
- openclaw-changelog-updateSkill
- openclaw-ci-limitsSkill
- openclaw-debuggingSkill
- openclaw-docker-e2e-authoringSkill
- openclaw-ghsa-maintainerSkill
- openclaw-live-updaterSkill
- openclaw-parallels-smokeSkill
- openclaw-pr-maintainerSkill
- openclaw-qa-testingSkill
- openclaw-refactor-docsSkill
- openclaw-release-validationSkill
- openclaw-repair-sweepSkill
- openclaw-secret-scanning-maintainerSkill
- openclaw-test-heap-leaksSkill
- openclaw-test-performanceSkill
- openclaw-updateSkill
- parallels-discord-roundtripSkill
- proof-videoSkill
- prototype-openclaw-tuiSkill
- release-openclaw-announcementSkill
- release-openclaw-ciSkill
- release-openclaw-macSkill
- release-openclaw-maintainerSkill
- release-openclaw-plugin-testingSkill
- security-triageSkill
- slack-e2eSkill
- slacrawlSkill
- tag-duplicate-prs-issuesSkill
- technical-documentationSkill
- telegram-e2e-userbotSkill
- test-auditSkill
- update-team-serverSkill
- verify-releaseSkill
- 1passwordSkill
- apple-notesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
Use isolated state and a free port.
- Distinctive: line 90
Use repository wrappers rather than raw Vitest so project routing and setup remain correct.
- Distinctive: line 125
Treat test failures as defects and make a bounded, best-effort attempt to reproduce them (same shard order first), identify their cause, …
- Distinctive: line 129
If reasonable investigation cannot establish or complete a safe fix, record the original failure, attempted reproductions, evidence, and …
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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, with the OpenClaw bootstrap binding below. - Package installation, plugin package trust, Docker/live lane selection or reruns: Package And Docker Proof.
- Release candidates, full-validation dispatch, evidence identity or recovery:
$release-openclaw-ci. A narrow green rerun does not itself authorize publication. Do not substitute movingmainfor the recorded candidate or Tooling SHA. - Plugin release matrix:
$release-openclaw-plugin-testing. - New or changed Docker lanes:
$openclaw-docker-e2e-authoring. - Channel/UI behavior: the relevant channel proof skill or
$control-ui-e2e; 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 CRABBOX_ENV_ALLOW=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:changedcheck: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 OPENCLAW_TEST_CHANGED_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
OPENCLAW_VITEST_FS_MODULE_CACHE_PATH. Checks can schedule Vitest too.
For worker-sensitive failures, OPENCLAW_VITEST_MAX_WORKERS=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> --logBind 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.
Test failure policy
Treat test failures as defects and make a bounded, best-effort attempt to reproduce them (same shard order first), identify their cause, and fix the owning fixture, shared state, ordering, or product. When a safe fix is established, add a regression and document the cause; cite another owner's fix when applicable. If reasonable investigation cannot establish or complete a safe fix, record the original failure, attempted reproductions, evidence, and remaining uncertainty in the PR, then continue under the normal CI and review gates. The unresolved failure alone must not block landing or trigger an extra approval request. Never claim a passing replay proves a fix. Do not rerun, re-push, or refresh merely to get green, or conceal failures with retries, longer timeouts, weaker assertions, broader mocks, or altered baselines.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

