php:make-story

Generate Story Foundry classes for PHP test fixtures.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/atournayre/claude-personas --skill php-make-story
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: php:make-story
Source: https://github.com/atournayre/claude-personas/tree/main/php/skills/make-story
Command: npx skills add https://github.com/atournayre/claude-personas --skill php-make-story

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of test fixtures using Story Foundry, streamlining the process of generating realistic data for your application's tests.

Core Features & Use Cases

  • Fixture Generation: Creates Story classes for entities, simplifying test data setup.
  • Automated Factory Creation: Ensures necessary factories are present or creates them.
  • AppStory Integration: Manages a central AppStory for all fixtures.
  • Use Case: When developing a new Product entity, use this Skill to quickly generate a ProductStory class, allowing you to easily create product fixtures for your unit and integration tests.

Quick Start

Use the php:make-story skill to generate a story for the Product entity.

Frequently Asked Questions about php:make-story

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

FAQPage Schema
How do I generate test fixtures for PHP entities using Story Foundry?▼

To generate test fixtures with Story Foundry, the Skill creates entity-specific Story classes and a central AppStory for fixture management, requiring existing PHP entity definitions to function properly.

What is a Story class in Story Foundry for PHP testing?▼

A Story class in Story Foundry is a generated fixture builder for PHP applications that simplifies test data setup by providing a structured way to create realistic entity instances for unit and integration tests.

Do I need to manually create factories before generating Story Foundry classes?▼

No, you do not need to manually create factories beforehand. The Skill checks for necessary factories and optionally creates them along with contract interfaces during the Story class generation process.

Can I use Story Foundry to manage all test fixtures from a single location?▼

Yes, you can manage all test fixtures from a single location by utilizing the AppStory integration. The Skill generates a central AppStory class to handle and organize all entity-specific fixture stories.

What PHP entity definitions are required to start generating Story Foundry fixtures?▼

You need existing PHP entity definitions, such as a Product entity, to start generating Story Foundry fixtures. The Skill uses these definitions to create corresponding Story classes for your test data setup.

What is the best way to automate test data creation for PHP applications?▼

Automating test data creation for PHP applications is best handled by generating Story Foundry classes. This approach streamlines fixture creation by building entity-specific stories and managing them through a central AppStory.