bf-create-tests

Generate test templates for batched tasks before implementation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write tests for a batch of tasks before implementation to establish contracts and guide development. All tests should fail initially since there is no implementation yet, ensuring the task scope is clarified upfront and preventing regression.

Core Features & Use Cases

  • Detects project progress and task state, selecting which tasks require test coverage.
  • Generates comprehensive tests covering happy paths, edge cases, and failure modes before coding.
  • Adapts to the project's chosen test framework and conventions, outputting ready-to-run test templates.

Quick Start

Instruct the AI to generate a complete test suite for the next batch of tasks before implementation.

Frequently Asked Questions about bf-create-tests

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

FAQPage Schema
How do I generate tests for a batch of tasks before implementation?

To generate tests before implementation, you can instruct the AI to read your project progress files, select the target tasks, and output ready-to-run test templates covering happy paths, edge cases, and failure modes.

What is a brownfield workflow test generation strategy?

A brownfield workflow test generation strategy establishes clear contracts by writing tests for existing project tasks before coding begins, ensuring all tests fail initially to clarify scope and prevent future regression.

Does this test generation approach adapt to my existing test framework?

Yes, this test generation approach detects your project's chosen test framework and conventions, automatically adapting the output structure to provide ready-to-run test templates without implementing production code.

How do I ensure my generated tests cover edge cases and failure modes?

To ensure generated tests cover edge cases and failure modes, the system automatically creates comprehensive test suites that target these specific scenarios alongside happy paths for your selected tasks.

Can I use this to generate test templates without writing production code?

Yes, you can use this to generate test templates without writing production code, as it specifically outputs test files designed to fail initially, locking in quality and guiding development without implementing the logic.

When should I not use pre-implementation test generation?

You should not use pre-implementation test generation for greenfield projects lacking progress files, as this approach specifically requires reading existing brownfield project state and selecting tasks from your current workflow.