write-tests

Generates unit and integration tests for specified code, skipping non-testable files and integrating with investigate for failures.

399|31|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/tobihagemann/turbo --skill write-tests-tobihagemann
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-tests
Source: https://github.com/tobihagemann/turbo/tree/main/skills/write-tests
Command: npx skills add https://github.com/tobihagemann/turbo --skill write-tests-tobihagemann

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of incomplete test coverage by automatically generating missing unit or integration tests for your codebase, ensuring better software quality and reliability.

Core Features & Use Cases

  • Automated Test Generation: Writes new tests based on existing project conventions and identified code needing coverage.
  • Intelligent Skipping: Avoids testing non-code files and code that is already adequately tested.
  • Use Case: After implementing a new feature, use this skill to quickly generate the necessary tests to verify its functionality and prevent regressions.

Quick Start

Use the write-tests skill to add missing tests for the recently modified files.

Frequently Asked Questions about write-tests

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

FAQPage Schema
How do I generate missing unit tests for my codebase?

Generate missing unit tests by targeting specified code, checking for existing tests, and adhering to project conventions. It skips non-testable files and writes new tests to verify functionality and prevent regressions.

What is the best way to automate writing integration tests for new features?

Automate writing integration tests by using the skill after implementing new features. It analyzes your codebase, identifies missing integration tests, and generates them based on established project conventions to prevent future regressions.

Can I skip files that do not need test coverage during automated test generation?

Yes, you can skip files during test generation. The skill intelligently avoids testing non-code files and skips code that is already adequately tested before writing new unit or integration tests.

Does the skill execute generated tests and help resolve failures?

Yes, the skill executes generated tests and integrates with the investigate skill for failure resolution. If a newly generated unit or integration test fails, it triggers the investigation process to help resolve the issue.