Agent skill · software engineering · secondsky
bun-test-coverage
Use for test coverage with Bun, --coverage flag, lcov reports, thresholds, and CI integration.
Why this skill is useful
Provides specific commands and configurations for Bun's test coverage that the AI wouldn't reliably generate on its own.
What it needs
Requires bun installed locally. About 2k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.
What this skill does
Bun Test Coverage Bun has built-in code coverage reporting without additional dependencies. Enabling Coverage Configuration in bunfig.toml Coverage Output Coverage Reporters Available Reporters Reporter Output ---------- -------- text Console table (default) lcov coverage/lcov.info for CI tools json coverage/coverage.json Coverage Thresholds Set minimum coverage requirements: Excluding Files CI Integration GitHub Actions Output Directory Programmatic Coverage Common Errors Error Cause Fix ------- ------- ----- Coverage threshold not met Coverage below threshold Increase test coverage No coverage data Files not executed Check test includes file lcov not found Missing reporter Add --coverage-reporter=lcov Best Practices 1. Set realistic thresholds - Start at 60%, increase gradually 2. Exclude generated files - Mock files, type definitions 3. Focus on critical paths - Business logic over boilerplate 4. Run in CI - Prevent coverage regression When to Load References Load references/reporters.md when: Custom reporter configuration CI/CD integration details Codecov/Coveralls setup
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills secondsky/bun-test-coverage