test

Run automated unit and E2E tests based on git status changes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jest, playwright, fs, path, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Skill automates and streamlines the testing workflow, enabling quick identification and execution of unit and end-to-end tests without manual intervention.

Core Features & Use Cases

  • Test Identification and Routing: Automatically detect changed files and direct to appropriate sub-skills like /generate-test, /e2e.
  • Single Command Execution: Provides a straightforward command like /test for all test-related tasks, reducing manual steps.
  • Configurable Settings: Allows users to force a specific type of test (e.g., unit or E2E) and provides options to setup and initialize test environments.

Quick Start

Run a suite of tests based on git changes using: /test

Frequently Asked Questions about test

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

FAQPage Schema
How do I automate running unit and E2E tests based on changed files?

You can automate testing by analyzing git status to detect changed files and triggering sub-skills for unit or E2E tests. This provides a single command interface to run relevant tests without manual selection.

Do I need Jest and Playwright to run automated tests?

Yes, you need testing frameworks like Jest for unit tests and Playwright for E2E tests. These dependencies are required to execute the automated test workflows triggered by the skill.

How does test discovery work for recently modified code?

Test discovery works by analyzing the git status of changed files and routing them to appropriate sub-skills. It automatically identifies whether changes require unit tests or E2E tests based on the modifications.

Can I force a specific type of test instead of automatic detection?

Yes, configurable settings allow you to force a specific type of test, such as unit or E2E. You can bypass automatic git status detection and manually trigger the desired test environment.

What is the best way to initialize test environments for CI integration?

The skill provides options to setup and initialize test environments using a single command. This streamlines CI integration by preparing the necessary configurations for Jest and Playwright before execution.

Can I run tests on a specific subset of code?

Yes, the skill can work on .policy-defined subsets of code. This allows you to restrict test execution to specific directories or files defined by your policy configurations.