aceternity-ui
100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI…
Use for test coverage with Bun, --coverage flag, lcov reports, thresholds, and CI integration.
$ npx -y skills add secondsky/claude-skills --skill bun-test-coverage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bun-test-coverageContext preview
The summary Claude sees to decide when to auto-load this skill.
Use for test coverage with Bun, --coverage flag, lcov reports, thresholds, and CI integration.
name: bun-test-coverage description: Use for test coverage with Bun, --coverage flag, lcov reports, thresholds, and CI integration. metadata: version: "1.0.0" license: MIT
Bun has built-in code coverage reporting without additional dependencies.
# Enable coverage bun test --coverage # With threshold (fail if below) bun test --coverage --coverage-threshold 80
[test] coverage = true coverageThreshold = 0.8 # 80% minimum coverageDir = "./coverage" # Patterns to ignore coverageSkipTestFiles = true
------------------|---------|---------|------------------- File | % Funcs | % Lines | Uncovered Line #s ------------------|---------|---------|------------------- All files | 85.71 | 89.23 | src/index.ts | 100.00 | 100.00 | src/utils.ts | 75.00 | 82.35 | 23-25, 41-43 src/api.ts | 80.00 | 85.00 | 67, 89-92 ------------------|---------|---------|-------------------
# Default console output bun test --coverage # Generate lcov report bun test --coverage --coverage-reporter=lcov # Multiple reporters bun test --coverage --coverage-reporter=text --coverage-reporter=lcov
| Reporter | Output | |----------|--------| | `text` | Console table (default) | | `lcov` | `coverage/lcov.info` for CI tools | | `json` | `coverage/coverage.json` |
Set minimum coverage requirements:
# Fail if coverage < 80% bun test --coverage --coverage-threshold 80 # Per-metric thresholds in bunfig.toml
[test]
coverage = true
coverageThreshold = {
lines = 80,
functions = 75,
branches = 70
}[test] coverage = true # Skip test files from coverage coverageSkipTestFiles = true # Patterns to exclude coverageIgnore = [ "**/*.test.ts", "**/fixtures/**", "**/mocks/**" ]
- name: Run tests with coverage
run: bun test --coverage --coverage-reporter=lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage/lcov.info# Custom output directory bun test --coverage --coverage-dir=./reports/coverage
import { test, expect } from "bun:test";
// Get coverage data programmatically
const coverage = Bun.coverage;
// Access after tests complete
process.on("exit", () => {
console.log(coverage.getCoverageData());
});| 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` |
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
Load `references/reporters.md` when:
145 production-ready skills for Claude Code CLI 🔌 Platform / Harness Support These plugins ship as Claude Code marketplace plugins (.claude-plugin/ manifests) and Codex CLI plugins (.codex-plugin/ manifests).
Repo: secondsky/claude-skills
100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI…
Secure API authentication with JWT, OAuth 2.0, API keys. Use for authentication systems, third-party integrations, service-to-service communication, or…
Creates comprehensive API changelogs documenting breaking changes, deprecations, and migration strategies for API consumers. Use when managing API versions,…
Verifies API contracts between services using consumer-driven contracts, schema validation, and tools like Pact. Use when testing microservices communication,…
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs,…
Implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use when building production APIs, implementing…