npx skills add https://github.com/openclaw/openclaw
steipete/openclaw · Archived
optimizetests
Optimize OpenClaw slow tests, imports, misplaced coverage, and CI wall time without dropping coverage.
Installation
npx skills add steipete/openclaw --skill optimizetests
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane outpu…
2 installsLocal speech-to-text with the Whisper CLI (no API key).
2 installsList, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or s…
2 installsUse xurl for authenticated X API posts, replies, search, DMs, media upload, followers, or raw v…
1 installsSimilar 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 steipete/openclaw · top by installs.
npx skills add steipete/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.md2,049 B -
docs
SUMMARY.md123 B
History
- First seen on skills.sh
- First recorded snapshot · 1 installs
SKILL.md
Optimize Tests
Goal: real OpenClaw test/runtime speedups with coverage intact. Do not add shards, skip assertions, weaken gates, or tune runner flags as the main fix.
Runbook
- Read
docs/help/testing.md,docs/ci.md, and the scopedAGENTS.mdfiles
for any subtree you will edit.
- Establish evidence before edits:
- Full ranking: pnpm test:perf:groups --full-suite --allow-failures --output .artifacts/test-perf/<name>.json - Targeted file: timeout 240 /usr/bin/time -l pnpm test <file> --maxWorkers=1 --reporter=verbose - Import suspicion: add OPENCLAWVITESTIMPORTDURATIONS=1 OPENCLAWVITESTPRINTIMPORT_BREAKDOWN=1
- Attack highest-return hotspots first:
- broad barrels or importActual() in hot tests - per-test vi.resetModules() plus fresh imports - expensive gateway/server/client setup where reset/reuse proves same behavior - core tests asserting extension-owned behavior - duplicated fixture construction or contract assertions
- Prefer production-quality fixes:
- narrow runtime seams over broad mocks - pure helpers for static parsing/metadata - injected deps over module resets - extension-owned tests for bundled plugin/provider/channel behavior
- After each change, rerun the same benchmark and the proving test lane. Record
before/after wall time, Vitest duration, and max RSS when available.
- Run
pnpm check:changed; run broader gates (pnpm check,pnpm test,
pnpm build) when touched surfaces require them.
- Commit scoped changes with
scripts/committer "<conventional message>" <paths...>.
Push when requested. If CI is red, inspect with gh run list/view, fix, push, repeat until current CI is green or a blocker is proven unrelated.
Output
End with the pushed commit(s), before/after timings, gates run, current CI state, and any remaining tail lanes that need separate optimization.