Skip to content

Generates missing tests for uncommitted, untracked, or latest-commit changes, prioritizing critical business logic.

CCM score
44 of 100
skills.sh installs
1.3K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers local git changes by running git status -u, falling back to git show --name-status when everything is committed
  • Routes multi-file or complex changes to coverage-reviewer and developer agents, while simple single-file changes are tested directly
  • Enforces preservation of existing tests by only adding new test cases, never modifying current ones
  • Designed for developers who want test coverage for new logic after implementing features or refactoring code

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill write-tests -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Cover Local Changes with Tests

User Arguments

User can provide a what tests or modules to focus on:

$ARGUMENTS

If nothing is provided, focus on all changes in current git diff that not commited. If everything is commited, then will cover latest commit.

Context

After implementing new features or refactoring existing code, it's critical to ensure all business logic changes are covered by tests. This command orchestrates automated test creation for local changes using coverage analysis and specialized agents.

Goal

Achieve comprehensive test coverage for all critical business logic in local code changes.

Important Constraints

  • Focus on critical business logic - not every line needs 100% coverage
  • Preserve existing tests - only add new tests, don't modify existing ones
  • "Analyse complexity of changes" -
    • if there 2 or more changed files, or one file with complex logic, then Do not write tests yourself - only orchestrate agents!
    • if there is only one changed file, and it's a simple change, then you can write tests yourself.

Workflow Steps

Preparation

Details

Repository
github.com/neolabhq/context-engineering-kit
Category
Testing & QA
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 62

Similar to Write Tests

More Testing & QA