framework:make:contracts

Generate Elegant Objects contract interfaces for Symfony projects.

9|2|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/atournayre/claude-marketplace --skill framework-make-contracts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framework:make:contracts
Source: https://github.com/atournayre/claude-marketplace/tree/main/framework/skills/make-contracts
Command: npx skills add https://github.com/atournayre/claude-marketplace --skill framework-make-contracts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual creation of complex interface contracts for Symfony applications following Elegant Objects and Domain-Driven Design principles, saving developers hours of boilerplate coding.

Core Features & Use Cases

  • Contract Generation: Automatically creates all essential interfaces for output objects, business exceptions, URL handling, and data classes.
  • Foundation Building: Establishes the architectural foundation that all other framework skills depend on.
  • Use Case: When starting a new Symfony project, use this Skill to instantly generate all necessary contract interfaces, ensuring consistent architecture from day one without manual coding.

Quick Start

Use skill framework:make:contracts to generate all Elegant Object contract interfaces for your Symfony project.

Frequently Asked Questions about framework:make:contracts

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

FAQPage Schema
How do I generate contract interfaces for a Symfony Elegant Objects architecture?

Use the framework:make:contracts Skill to automatically generate all essential contract interfaces for your Symfony project. It creates the src/Contracts directory structure with OutInterface, InvalideInterface, HasUrlsInterface, OutDataInterface, InvalideDataInterface, UrlsDataInterface, StoryInterface, and DoctrineMigrationInterface templates, eliminating manual boilerplate coding.

What interfaces does the contract generation create for Elegant Objects?

The Skill generates eight core interfaces: OutInterface and InvalideInterface for output objects, HasUrlsInterface for URL handling, OutDataInterface and InvalideDataInterface for data classes, UrlsDataInterface for URL data, StoryInterface for business logic, and DoctrineMigrationInterface for database migrations, plus Story and Doctrine subdirectories.

Can I use this Skill on an existing Symfony project or only new projects?

The Skill applies to new projects as the foundational scaffold. It creates the standard src/Contracts layout with no dependencies beyond the Skill invocation, making it ideal for establishing architectural consistency from project initialization.

What does the contract generation Skill copy into my project?

Contract generation copies templates from framework/skills/make-contracts/templates/Contracts into your project, creating the complete directory structure and file set needed for Elegant Objects and Domain-Driven Design compliance without external dependencies.

Why use contract interfaces for Symfony Elegant Objects development?

Contracts enforce architectural consistency and eliminate hours of repetitive interface creation. They establish the foundational layer that other framework Skills depend on, ensuring all output objects, exceptions, and data classes follow Elegant Objects and Domain-Driven Design principles from day one.