generate-test

Generate PestPHP unit or feature tests from code analysis.

2|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/jftecnologia/laravel-package-skeleton --skill generate-test-jftecnologia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-test
Source: https://github.com/jftecnologia/laravel-package-skeleton/tree/main/.claude/skills/generate-test
Command: npx skills add https://github.com/jftecnologia/laravel-package-skeleton --skill generate-test-jftecnologia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive PestPHP tests for your code, ensuring quality and adherence to project testing guidelines.

Core Features & Use Cases

  • Automated Test Generation: Creates unit and feature tests based on code analysis.
  • Adherence to Guidelines: Follows TESTING.md for patterns and best practices.
  • Use Case: When implementing a new feature, use this Skill to automatically generate all necessary tests, ensuring the code is robust and maintainable.

Quick Start

Use the generate-test skill to create tests for the TracingService class.

Frequently Asked Questions about generate-test

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

FAQPage Schema
How do I generate PestPHP tests for my PHP classes and methods?

You can generate PestPHP tests by specifying target code elements like classes or methods; the Skill analyzes them against your project guidelines to produce appropriate unit or feature test files.

What is automated test code generation and how does it work with PestPHP?

Automated test code generation analyzes your source code structure to create test files. With PestPHP, it produces unit and feature tests by following patterns defined in your project's testing documentation.

Does this automated testing tool require a TESTING.md file to generate tests?

Yes, the test generator checks your project for a TESTING.md file containing testing guidelines, using those defined patterns and best practices to ensure the generated PestPHP tests match your project standards.

Can I use this to generate both unit tests and feature tests for my code?

Yes, you can generate both unit tests and feature tests. The Skill determines the appropriate test type by analyzing your specified code elements against the testing guidelines in your documentation.

What is the best way to integrate test generation into a new feature workflow?

The best way to integrate test generation into feature workflows is invoking the Skill during implementation to automatically generate the necessary PestPHP tests, ensuring your new code is robust and maintainable.

Why are my generated PestPHP tests not matching my project patterns?

Generated PestPHP tests might not match your patterns if the TESTING.md file is missing or lacks specific guidelines. The Skill relies on this document to define the patterns and best practices for test creation.