improve-ut

Analyze changed files and update unit tests using project-specific specs.

21|4|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/Jerry-Z07/WindBoard --skill improve-ut-jerry-z07
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: improve-ut
Source: https://github.com/Jerry-Z07/WindBoard/tree/main/.agents/skills/improve-ut
Command: npx skills add https://github.com/Jerry-Z07/WindBoard --skill improve-ut-jerry-z07

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes changed files and improves unit test coverage using project-specific testing conventions from .trellis/spec/ unit-test specs. Determines test scope (unit vs integration vs regression), adds or updates tests following existing patterns, and runs validation. Use when code changes need test coverage, after implementing a feature, after fixing a bug, or when test gaps are identified.

Core Features & Use Cases

  • Inspects modified code to identify testing needs based on unit-test specs
  • Determines scope (unit, integration, regression) and aligns tests to existing patterns
  • Adds or updates tests and runs project validation (lint, typecheck, test)

Quick Start

Run the skill after code changes to automatically propose and strengthen unit tests based on project-specific specs.

Frequently Asked Questions about improve-ut

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve unit test coverage for changed files automatically?

To improve unit test coverage, this skill analyzes modified files and generates or updates unit tests based on project-specific conventions. It validates changes by running lint, typecheck, and tests.

How do I determine test scope for new feature changes?

Determining test scope for feature changes involves reading unit-test specs from .trellis/spec/. The skill uses these specs to classify whether changes need unit, integration, or regression tests.

Can I use project-specific testing conventions to guide test generation?

Yes, you can use project-specific testing conventions to guide test generation. The skill reads unit-test specs from the .trellis/spec/ directory to align new tests with existing patterns.

What is the best way to add tests after fixing a bug?

The best way to add tests after fixing a bug is to inspect the modified code, identify testing gaps, and update tests following existing patterns. The skill then validates via lint, typecheck, and tests.

Does this test coverage tool run validation checks automatically?

Yes, this test coverage tool runs validation checks automatically. After generating or updating tests, it enforces validation by executing lint, typecheck, and test commands.

When do I need to update unit tests for software testing?

You need to update unit tests when implementing features, fixing bugs, or identifying test gaps. The skill analyzes changed files to ensure test coverage matches the modified code scope.