generate-test

Generate and execute BDD front-end test code from source, Figma, and requirements.

13|4|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ggombee/code-forge --skill generate-test-ggombee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-test
Source: https://github.com/ggombee/code-forge/tree/main/skills/generate-test
Command: npx skills add https://github.com/ggombee/code-forge --skill generate-test-ggombee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and execution of front-end test code, streamlining the process of testing for developers and saving valuable time.

Core Features & Use Cases

  • Automatic Test Code Generation: Analyze source code, Figma design, and requirements to generate BDD-based test code.
  • Test Execution: Execute the generated test code automatically.
  • Support for Figma and Requirements URLs: Enhance testing with design and requirements links from Figma.
  • TDD Mode: Generate failing tests to ensure that the implementation is covered by tests.

Quick Start

Generate test code for a component by specifying its file path: /generate-test src/pages/product/components/ProductCard/index.tsx

Frequently Asked Questions about generate-test

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

FAQPage Schema
How do I generate front-end test code from a Figma design?

To generate front-end test code from a Figma design, provide the Figma URL and requirements alongside your source code. The tool analyzes these inputs to automatically generate BDD-based test scenarios and execute them.

Can I use BDD test scenarios for TDD mode generation?

Yes, you can use BDD test scenarios for TDD mode generation. The tool supports a TDD mode that automatically generates failing tests first, ensuring your implementation is fully covered by tests before execution.

How do I automate test execution for React components?

You can automate test execution for React components by specifying the component file path, such as through a command targeting your source code. The tool then generates the necessary BDD tests and executes them automatically.

What do I need to integrate Figma requirements into test automation?

To integrate Figma requirements into test automation, you need to provide the specific Figma design URLs and requirement links. The tool uses this design context to accurately generate and execute the front-end test code.