generate-tests

Generate Arrange-Act-Assert tests for modules and functions following FIRST principles.

3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ArtemioPadilla/agent-triforce --skill generate-tests-artemiopadilla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-tests
Source: https://github.com/ArtemioPadilla/agent-triforce/tree/main/.claude/skills/generate-tests
Command: npx skills add https://github.com/ArtemioPadilla/agent-triforce --skill generate-tests-artemiopadilla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of structured, repeatable tests for codebases to improve coverage and reliability.

Core Features & Use Cases

  • Generates tests for public functions/classes in a project according to FIRST principles (Fast, Isolated, Repeatable, Self-validating, Timely).
  • Detects testing framework from existing project configuration (pytest/ Vitest/Jest) and matches style.
  • Produces Arrange-Act-Assert tests covering boundary cases, edge cases, and typical use scenarios to bootstrap test suites.

Quick Start

Provide a target module or function path and the skill will generate tests for it.

Frequently Asked Questions about generate-tests

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

FAQPage Schema
How do I auto-generate test suites following FIRST principles for my code?

You can auto-generate FIRST principles tests by analyzing your target project to detect the testing framework and conventions, then outputting Arrange-Act-Assert style tests for public functions and classes.

Can I generate Vitest or pytest tests that match my existing project configuration?

Yes, the test generation process detects your existing testing framework, such as Vitest, pytest, or Jest, from your project configuration and matches your current testing style.

How do I bootstrap test suites with Arrange-Act-Assert patterns for edge cases?

To bootstrap test suites, the skill produces Arrange-Act-Assert tests that specifically cover boundary cases, edge cases, and typical use scenarios for your target modules.

What are FIRST principles in testing and how do they apply to generated tests?

FIRST principles require tests to be Fast, Isolated, Repeatable, Self-validating, and Timely, ensuring the generated test suites provide reliable feedback and do not depend on external state.

Does framework detection work for projects without an existing test setup?

Framework detection analyzes existing project configuration to identify testing frameworks like Vitest, pytest, or Jest, requiring an established configuration to match the correct testing style.

What is the best way to start generating tests for a specific module path?

The best way to start is to provide a target module or function path, which triggers the analysis of your project conventions and outputs structured tests for that specific code.