add-test-coverage

Community

Plan and implement tests for HEAD changes.

Authorthoreinstein
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of validating code changes by analyzing the most recent commit (HEAD), identifying modified files, and planning test coverage to ensure changes are properly exercised.

Core Features & Use Cases

  • Change analysis: Detects diffs, classifies altered files by layer (Backend Go, Frontend JS/TS, APIs, Config/Infra, Tests) and notes the intended test scope.
  • Test plan generation: Produces a concrete testing plan for unit, integration, and end-to-end tests based on the changes, including suggested fixtures and mocks.
  • Test scaffolding: Generates or updates test stubs and guidance to implement coverage quickly for the HEAD changes.

Quick Start

Run the add-test-coverage workflow to produce a test plan and scaffolding for the latest HEAD commit. The workflow will analyze the diff, categorize changes, and output executable test templates and guidance to implement coverage.

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: add-test-coverage
Download link: https://github.com/thoreinstein/opencode-config/archive/main.zip#add-test-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.