test-add

Generate unit tests for specified code files, functions, or modules using existing patterns.

2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/gaebalai/claude-code-kit-ko --skill test-add
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-add
Source: https://github.com/gaebalai/claude-code-kit-ko/tree/main/.claude/skills/test-add
Command: npx skills add https://github.com/gaebalai/claude-code-kit-ko --skill test-add

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of writing unit tests for your code, ensuring better code quality and preventing regressions.

Core Features & Use Cases

  • Automated Test Generation: Creates unit tests based on existing code patterns and best practices.
  • Comprehensive Coverage: Designs tests for normal flows, edge cases, and error conditions.
  • Use Case: You've just implemented a new utility function in src/utils/helpers.ts. Use this Skill to automatically generate a suite of unit tests for it, ensuring it behaves as expected under various conditions.

Quick Start

Use the test-add skill to add unit tests for the function calculateTotal in the file src/calculator.js.

Frequently Asked Questions about test-add

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

FAQPage Schema
How do I generate unit tests for an existing code file?

This Skill automates unit test generation by analyzing your code logic and identifying test cases for normal, boundary, and exceptional conditions. It writes tests using the appropriate framework while adhering to existing project testing patterns.

Can I automatically create tests for edge cases and error conditions in my code?

Yes, you can automatically create tests for edge cases because the Skill designs comprehensive coverage for normal flows, boundary conditions, and error exceptions. It analyzes your code logic to ensure functions behave as expected under various conditions.

Does the generated unit test code match my current project testing framework?

Yes, the generated unit tests match your current framework because the Skill adheres to existing project testing patterns. It analyzes your codebase to write tests using the appropriate testing framework already established in your repository.

What is the best way to add automated tests to a utility function?

The best way to add automated tests is using this Skill to generate a comprehensive unit test suite for your utility function. It analyzes the code logic and writes tests covering normal flows, edge cases, and error conditions to prevent regressions.

When should I not use automated test generation for my code?

You should not use automated test generation when your code logic lacks clear patterns or when no existing testing framework is established in your project. The Skill relies on analyzing existing project testing patterns to generate appropriate tests.