AgentSkillsCN

review-tests-all

审查整个代码库中的所有测试文件,确保注释与文件头格式正确,检查测试覆盖率,并更新 extension-checklist.md 以实现框架间的对称性。

SKILL.md
--- frontmatter
name: review-tests-all
description: Review ALL test files in the entire codebase for correct comment/header format, check test coverage, and update extension-checklist.md for framework symmetry
disable-model-invocation: true
context: fork
agent: Explore

Review Tests (All Files)

This skill is identical to review-tests-new except it reviews ALL test files instead of only new/modified ones.

Reference

See .claude/skills/review-tests-new/SKILL.md for the complete rules and requirements. All rules apply here.

Key Differences from review-tests-new

Aspectreview-tests-newreview-tests-all
ScopeOnly new/modified test files (from git diff)ALL test files in codebase
How to find filesgit diff --name-onlyGlob patterns (see below)
Use caseQuick feedback on recent changesComprehensive codebase audit
PerformanceFastMay take significant time

Test File Locations

Find ALL test files using these patterns:

  • intent-frameworks/**/tests/**/*.rs
  • intent-frameworks/**/test/**/*.js
  • intent-frameworks/**/tests/**/*.move
  • coordinator/tests/**/*.rs
  • integrated-gmp/tests/**/*.rs
  • solver/tests/**/*.rs
  • frontend/src/**/*.test.ts
  • frontend/src/**/*.test.tsx

Steps

  1. Find all test files using the glob patterns above
  2. For each test file, apply all checks from review-tests-new:
    • Task 1: Test file format (Rules 10-11)
    • Task 2: Test code quality (Rules 1-9)
    • Task 3: Test coverage
    • Task 4: Extension checklist updates
  3. Report with summary statistics (total files checked, total violations found)

Output Format

Same as review-tests-new, but include:

  • Summary statistics (total files, violations per category)
  • Overall symmetry score across MVM/EVM/SVM

Performance Note

Since this reviews ALL test files, it may take significant time and generate a large report. Consider using /review-tests-new for faster feedback on recent changes.