بنقرة واحدة
cmd-test-coverage
Analyze test coverage, identify gaps, and generate missing tests to reach 80%+ coverage.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Analyze test coverage, identify gaps, and generate missing tests to reach 80%+ coverage.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Scan installed skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files.
Audit all installed OpenClaw skills for quality: content overlap, freshness, and uniqueness. Supports Quick Scan (changed only) and Full Stocktake modes.
Cluster MEMORY.md entries by theme and optionally generate SKILL.md drafts.
Export MEMORY.md to a timestamped markdown file for sharing or backup.
Import memory entries from a markdown export file, merging with MEMORY.md without duplicating.
Show current workspace memory: MEMORY.md contents, pending recalls, and index status.
استنادا إلى تصنيف SOC المهني
| name | cmd_test_coverage |
| description | Analyze test coverage, identify gaps, and generate missing tests to reach 80%+ coverage. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> |
The first argument is the project path. Before doing anything else:
Analyze test coverage, identify gaps, and generate missing tests to reach 80%+ coverage.
| Indicator | Coverage Command |
|---|---|
jest.config.* or package.json jest | npx jest --coverage --coverageReporters=json-summary |
vitest.config.* | npx vitest run --coverage |
pytest.ini / pyproject.toml pytest | pytest --cov=src --cov-report=json |
Cargo.toml | cargo llvm-cov --json |
pom.xml with JaCoCo | mvn test jacoco:report |
go.mod | go test -coverprofile=coverage.out ./... |
For each under-covered file, generate tests following this priority:
foo.ts → foo.test.ts (or project convention)test_create_user_with_duplicate_email_returns_409Show before/after comparison:
Coverage Report
──────────────────────────────
File Before After
src/services/auth.ts 45% 88%
src/utils/validation.ts 32% 82%
──────────────────────────────
Overall: 67% 84% PASS: