test-writer

Generate framework-specific test templates with mocks and fixtures for existing codebases.

24|3|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/nguyenthienthanh/aura-frog --skill test-writer-nguyenthienthanh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-writer
Source: https://github.com/nguyenthienthanh/aura-frog/tree/main/aura-frog/skills/test-writer
Command: npx skills add https://github.com/nguyenthienthanh/aura-frog --skill test-writer-nguyenthienthanh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlined test authoring with a focus on test-driven development across multiple ecosystems, improving test coverage and quality.

Core Features & Use Cases

  • TDD-First Approach: failing tests drive implementation.
  • Framework Templates: Jest, Cypress, Detox, PHPUnit, PyTest, Go testing templates.
  • Test Strategy: unit, integration, and E2E scope guidance.

Quick Start

Write a failing unit test for a new function, then implement the function to pass the test.

Frequently Asked Questions about test-writer

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

FAQPage Schema
How do I write tests for existing code using test-driven development?

Test-driven development for existing code starts by writing failing tests that specify desired behavior, then implementing or refactoring code to pass them. This Skill guides you through analyzing target code, planning test strategy across unit, integration, and E2E scopes, and generating framework-specific templates for Jest, PyTest, PHPUnit, Cypress, and other ecosystems.

Can I write tests in Jest, PyTest, and other frameworks with the same approach?

Yes. This Skill supports framework-specific test templates and mocks across JavaScript/TypeScript (Jest), React Native, Python (PyTest), PHP (PHPUnit), Go, and other languages, applying consistent TDD principles regardless of your tech stack while respecting each framework's conventions.

What's the best way to improve test coverage on a legacy codebase?

Start by analyzing the existing codebase to identify untested paths, then write tests incrementally using TDD—failing tests first, implementation second. This Skill provides strategy guidance for unit, integration, and E2E scenarios, plus framework templates and fixtures to accelerate coverage gains across your tech stack.

How do I plan a test strategy for unit, integration, and end-to-end tests?

Test strategy planning clarifies scope at each level: unit tests validate isolated functions, integration tests verify component interactions, and E2E tests confirm user workflows. This Skill guides scope selection and provides templates for each level across Jest, Cypress, Detox, PyTest, PHPUnit, and Go frameworks.

Do I need to know a testing framework before writing tests with TDD?

Framework knowledge helps but isn't required. This Skill generates framework-specific templates and mocks for Jest, PyTest, PHPUnit, Cypress, Detox, and Go, reducing setup friction. The TDD workflow—write failing test, implement code, refactor—remains consistent across ecosystems.

What limitations exist when applying TDD to existing codebases?

TDD works best when code is modular and testable; tightly coupled legacy code may require refactoring first to isolate units. This Skill supports analysis and strategy planning to identify which code sections yield to test-first development and which need architectural adjustment before testing begins.