routes

Generate Laravel route configurations for CatchAdmin modules with CRUD and auxiliary routes.

928|137|Updated Jan 6, 2020
One-click install
npx skills add https://github.com/JaguarJack/catch-admin --skill routes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: routes
Source: https://github.com/JaguarJack/catch-admin/tree/main/.claude/skills/06-routes
Command: npx skills add https://github.com/JaguarJack/catch-admin --skill routes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly generate standardized route configurations for CatchAdmin modules, reducing boilerplate and ensuring consistency across the API layer.

Core Features & Use Cases

  • CRUD Route Generation: Create apiResource routes and typical REST endpoints for a given module.
  • Auxiliary Routes: Include enable/toggle, export, import, and restore routes following the template.
  • Use Case: When adding a new Module, copy the template into modules/{Module}/routes/route.php and adjust placeholders to wire up Laravel controllers.

Quick Start

Create a new module, place the Route template in modules/{Module}/routes/route.php, replace {Module}, {Model}, and {resources} with your actual names, and register the routes within your Laravel application.

Frequently Asked Questions about routes

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

FAQPage Schema
How do I generate Laravel routes for CatchAdmin modules?

Generate Laravel routes by placing the route template in modules/{Module}/routes/route.php, replacing {Module}, {Model}, and {resources} placeholders with your actual names, then registering the routes in your Laravel application. This creates standardized CRUD and auxiliary routes following CatchAdmin conventions.

What routes does CatchAdmin route generation include?

CatchAdmin route generation includes apiResource routes for standard REST endpoints, plus auxiliary routes for enable/toggle, export, import, and restore operations. All routes follow a template-based approach aligned with Laravel conventions and CRUD resource patterns.

Can I use route generation for new CatchAdmin modules?

Yes, route generation is designed for adding new modules. Copy the route template into your module's routes directory, adjust the placeholders for your specific module and model names, and wire up your Laravel controllers. This ensures consistent API routing across modules.

Do I need external tools to generate CatchAdmin module routes?

No, route generation requires no external tools beyond Laravel conventions. It uses a template-based approach that works directly within your Laravel application structure, reducing boilerplate while maintaining consistency.

What problem does standardized route templating solve for Laravel development?

Standardized route templating eliminates repetitive boilerplate configuration across multiple modules, reduces inconsistency in API endpoint definitions, and accelerates module development by providing pre-defined patterns for CRUD and auxiliary operations.