Generate tests coverage
Skill radumarias/xorio-claude-plugin/skills/generate-tests-coverage
Scan the entire project for under-tested code and generate tests to fill coverage gaps. Prioritizes critical business logic.From its SKILL.md
npx -y skills add radumarias/xorio-claude-plugin --skill generate-tests-coverageAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.0 KB, as published. Nobody here has run it
Generate Tests for Coverage Gaps
Scan the entire project for under-tested code and generate tests to fill coverage gaps, prioritizing critical business logic.
Workflow
Step 1: Detect All Languages and Frameworks
Scan the project root to detect all languages and frameworks present:
Languages:
.rsfiles orCargo.toml→ Rust.ts/.tsxfiles orpackage.json→ TypeScript.pyfiles orpyproject.toml/setup.py→ Python
Frameworks:
Cargo.tomlcontainsegui→ eguipackage.jsoncontainsreact→ Reactpackage.jsoncontainsvue→ Vue.jspackage.jsoncontainsthree→ Three.jspackage.jsoncontainsspark→ SparkJSDockerfileordocker-compose.ymlexists → Docker- AWS SDK deps, CDK, CloudFormation, or SAM templates → AWS
Step 2: Load All Matching Standards
Read all matching standards files from ${CLAUDE_PLUGIN_ROOT}/skills/tests/references/:
- One
test-standards-{language}.mdper detected language - One
test-standards-{framework}.mdper detected framework
Step 3: Parallel Analysis
Launch test-analyzer agents in parallel, split by source directories for speed. Each gets its language's standards. Example splits:
crates/→ Rust analyzer with Rust + egui standardstools/renderer/→ TypeScript analyzer with TS + Three.js standardssrc/→ whichever language is present there
Also launch the test-docs-advisor agent in parallel for a full project documentation review.
Step 4: Present Comprehensive Gap Analysis
Aggregate results from all analyzers and present:
- Project test health summary — overall coverage assessment per language/module
- Critical gaps — highest risk items across the project
- High/Medium/Low gaps — remaining items by priority
- Documentation suggestions from the docs advisor
Ask the user which gaps to fill. Suggest starting with Critical items.
Step 5: Generate Tests
Launch test-generator agents — parallelize across independent modules:
- One agent per language/crate/package if they're independent
- Each gets only its language + framework standards
- Each gets its subset of the gap list
Step 6: Validate All
Run all relevant validation commands:
- Rust:
cargo test,cargo clippy --all-targets --all-features,cargo fmt --check - TypeScript:
npm test,npx tsc --noEmit - Python:
pytest,mypy,ruff - Docker:
hadolint,docker build - AWS:
cdk synth,sam validate,cfn-lint(if applicable)
Step 7: Report
Provide a comprehensive report:
- Tests generated per module (file paths and test names)
- Validation results per language
- Remaining gaps not addressed (for future runs)
- Documentation improvements suggested