Agent skill
coverage
Collect and enforce code coverage using Deno
Install this agent skill to your Project
npx add-skill https://github.com/sachitv/avro-typescript/tree/main/.opencode/skill/coverage
Metadata
Additional technical details for this skill
- workflow
- deno
SKILL.md
What I do
- Run
deno task coverageto collect coverage data for the codebase - Can also collect coverage for a specific file using
deno task coverage <filename> - Use
deno task coverage:checkto enforce coverage thresholds defined in.denocoveragerc - Use
deno task serve:coverageto serve an HTML coverage report in the browser
When to use me
Use this when you want to measure or verify test coverage:
- After adding new tests
- Before submitting a pull request (coverage must meet 100% thresholds)
- When debugging which areas of the code are under-tested
- To inspect coverage gaps interactively
Notes
- Coverage thresholds are defined in
.denocoveragerc(100% for lines, branches, and functions) - Every test change must be accompanied by coverage that satisfies these thresholds
- The HTML report is helpful for visualizing failing areas in complex serialization paths
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
lint
Check for style and static analysis warnings using Deno lint
fmt
Format TypeScript sources using Deno formatter
test
Execute the project test suite using Deno
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?