test-generation

test-generation

Use when generating tests for new or existing code to improve coverage - provides a structured workflow for analyzing code, creating tests, and validating coverage goals.

7étoiles
2forks
Mis à jour 1/17/2026
SKILL.md
readonlyread-only
name
test-generation
description

Use when generating tests for new or existing code to improve coverage - provides a structured workflow for analyzing code, creating tests, and validating coverage goals.

Test Generation

Overview

Generate tests systematically by analyzing code paths, covering edge cases, and validating coverage targets.

When to Use

  • Creating tests for new features
  • Improving coverage in weak areas
  • Building regression or integration test suites

Avoid when:

  • The task is only running existing tests (use dev-workflows)

Quick Reference

Task Load reference
Test generation workflow skills/test-generation/references/generate-tests.md

Workflow

  1. Identify target scope and test type.
  2. Load the test generation reference.
  3. Analyze code paths and edge cases.
  4. Generate tests and validate coverage.
  5. Summarize results and gaps.

Output

  • Generated tests
  • Coverage report and follow-ups

Common Mistakes

  • Writing tests without understanding code paths
  • Ignoring edge cases or failure modes

You Might Also Like

Related Skills

fix

fix

243Kdev-testing

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

facebook avatarfacebook
Obtenir
peekaboo

peekaboo

179Kdev-testing

Capture and automate macOS UI with the Peekaboo CLI.

openclaw avataropenclaw
Obtenir
frontend-testing

frontend-testing

128Kdev-testing

Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.

langgenius avatarlanggenius
Obtenir
frontend-code-review

frontend-code-review

127Kdev-testing

Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.

langgenius avatarlanggenius
Obtenir
code-reviewer

code-reviewer

92Kdev-testing

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

google-gemini avatargoogle-gemini
Obtenir
session-logs

session-logs

90Kdev-testing

Search and analyze your own session logs (older/parent conversations) using jq.

moltbot avatarmoltbot
Obtenir