gf-write-tests

Generate and validate tests for task batches before coding.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/ricky-yosh/agent-workflows --skill gf-write-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gf-write-tests
Source: https://github.com/ricky-yosh/agent-workflows/tree/main/skills/greenfield/gf-write-tests
Command: npx skills add https://github.com/ricky-yosh/agent-workflows --skill gf-write-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing tests for a batch of tasks before implementing code helps teams lock in expectations and prevent regression.

Core Features & Use Cases

  • Detects the project's test framework and language.
  • Generates tests that cover happy paths, edge cases, and failure modes.
  • Adheres to existing project conventions and requires no implementation code.

Quick Start

Tell the skill which tasks to test and it will generate corresponding test files following your project's conventions.

Frequently Asked Questions about gf-write-tests

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

FAQPage Schema
How do I generate tests before implementing features in a greenfield project?

You can generate tests before implementing features by defining a batch of tasks for the skill to process. It reads your project's test configuration and existing conventions to produce spec-compliant test files without writing any implementation code.

Can I automatically generate test files that match my existing testing framework conventions?

Yes, the skill detects your project's testing framework and language automatically. It analyzes existing tests and source files to ensure newly generated tests adhere strictly to your current project conventions.

What is the best way to ensure comprehensive test coverage for a batch of new tasks?

The best way to ensure comprehensive test coverage is generating tests for a batch of tasks upfront. This approach covers happy paths, edge cases, and failure modes, locking in expectations to prevent regression before coding begins.

Does test generation work without writing any source code for the features?

Yes, test generation works without requiring implementation code. The skill reads relevant source files and test configurations to validate and produce tests, ensuring expectations are locked in prior to feature development.

How do I validate tests for multiple tasks before starting the actual coding?

You validate tests for multiple tasks by providing the batch to the skill. It generates and validates the test files against your project specifications, ensuring all test cases are compliant before you start coding.