custom-endpoints

Add custom non-CRUD endpoints to Spiderly controllers with DI wiring.

61|24|Updated Sep 14, 2024
One-click install
npx skills add https://github.com/filiptrivan/spiderly --skill custom-endpoints
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: custom-endpoints
Source: https://github.com/filiptrivan/spiderly/tree/main/claude-plugins/skills/custom-endpoints
Command: npx skills add https://github.com/filiptrivan/spiderly --skill custom-endpoints

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add custom (non-CRUD) API endpoints to a Spiderly project to extend its capabilities beyond generated CRUD patterns.

Core Features & Use Cases

  • Extend generated base controllers with new custom methods for domain logic.
  • Create fully custom controllers for storefronts, webhooks, or specialized integrations.
  • Reuse and compose custom services by injecting domain logic into controllers.

Quick Start

Create a new controller that extends the generated base controller and implement your custom actions, then wire it into your DI container.

Frequently Asked Questions about custom-endpoints

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

FAQPage Schema
How do I add custom API endpoints to a Spiderly project?

To add custom API endpoints to a Spiderly project, extend the generated base controllers with new methods or create fully custom controllers for specialized domain logic, then wire them into your DI container.

Can I create webhook endpoints in Spiderly?

Yes, you can create webhook endpoints in Spiderly by building fully custom controllers that extend the generated base controllers, allowing you to handle specialized integrations and storefront scheduling patterns.

How do I reuse domain logic in custom Spiderly controllers?

You reuse domain logic in custom Spiderly controllers by using dependency injection to inject custom services, ensuring consistent behavior while extending the generated CRUD patterns.

What conventions must custom Spiderly endpoints follow?

Custom Spiderly endpoints must follow Spiderly conventions by ensuring proper dependency injection wiring, applying appropriate authorization attributes, and aligning return types with the framework's standards.

When do I need custom non-CRUD endpoints in Spiderly?

You need custom non-CRUD endpoints in Spiderly when your application requires functionality beyond standard generated CRUD patterns, such as handling specialized storefront integrations or processing external webhook payloads.