framework:make:urls

Generate show, edit, and API URLs for Symfony entities via CQRS.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the repetitive boilerplate code required for URL generation in Symfony applications, saving developers hours of manual coding while enforcing clean architectural patterns.

Core Features & Use Cases

  • Automated Code Generation: Instantly creates three complete PHP classes for URL management.
  • CQRS Implementation: Enforces separation of concerns with Message, Handler, and URL classes.
  • Use Case: When building a new e-commerce platform, use this Skill to automatically generate URL classes for Product, Category, and Order entities, ensuring consistent URL generation across your entire application.

Quick Start

Use skill framework:make:urls and provide the entity name when prompted.

Frequently Asked Questions about framework:make:urls

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

FAQPage Schema
How do I generate URLs for Symfony entities automatically?

This Skill generates URLs for Symfony domain objects by creating three PHP classes—a Urls class, UrlsMessage, and UrlsMessageHandler—that encapsulate show, edit, and api URLs using a CQRS pattern. Provide the entity name to instantly produce clean, reusable URL generation code.

What is CQRS and why use it for URL generation?

CQRS separates read and write concerns using commands and handlers. This Skill applies CQRS to URL generation by delegating the task to a message handler, keeping your entity logic separate from URL construction and making the codebase maintainable and testable.

Can I use this Skill with my existing Symfony repository?

Yes. The Skill requires an existing entity, its repository interface, Symfony Messenger configuration, and UrlGeneratorInterface access. Ensure your repository pattern is already in place before running the Skill.

What files does this Skill create?

The Skill generates three PHP classes: a Urls class holding show, edit, and api URLs; a UrlsMessage command object; and a UrlsMessageHandler that constructs absolute URLs using Symfony's UrlGeneratorInterface.

How do I avoid repetitive URL generation code in Symfony applications?

Use this Skill to automatically generate consistent URL classes for each entity. Instead of manually writing show, edit, and api URL methods across your codebase, the Skill produces encapsulated, reusable Urls objects following clean architectural patterns.

Does this Skill work with multiple entities in one application?

Yes. Run the Skill separately for each entity—such as Product, Category, and Order—to generate dedicated Urls classes for each, ensuring consistent URL generation patterns across your entire application.