kiln-coverage

Community

Gate code changes with 80% test coverage.

Authoryoshisada
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Verify that the codebase meets the 80% test coverage requirement from the constitution.

Core Features & Use Cases

  • Automated coverage enforcement: checks line and branch coverage for changed files against an 80% threshold.
  • On-demand tool provisioning: installs a coverage tool (e.g., @vitest/coverage-v8, c8, istanbul) if missing.
  • Targeted evaluation: runs tests with coverage, parses reports, and reports per-file and overall results for the changed files only.
  • Output-driven decisions: emits a pass when both line and branch coverage meet or exceed 80%, otherwise fails and lists uncovered files.
  • Changed-file focus: uses git diff main...HEAD --name-only to identify touched files; handles cases with no tests gracefully.

Quick Start

Run the kiln-coverage workflow on the current branch to assess 80% coverage for changed files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kiln-coverage
Download link: https://github.com/yoshisada/ai-repo-template/archive/main.zip#kiln-coverage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.