What problem does it solve?
This Skill simplifies the creation of API endpoints, protocol handlers, and interfaces for Egg.js applications, enabling developers to expose functionality efficiently.
Core Features & Use Cases
- HTTP Controllers: Define RESTful APIs, webhooks, and server-sent event endpoints.
- MCP Controllers: Integrate Large Language Models (LLMs) for conversational interfaces and tool execution.
- Schedules: Implement cron jobs and recurring tasks for background processing.
- Use Case: Develop a backend API for a web application, exposing endpoints for user management, data retrieval, and real-time updates using HTTP Controllers, while also setting up a daily data aggregation task with Schedules.
Quick Start
Use the egg-controller skill to create a new HTTP endpoint that accepts a GET request at '/users/:id' and returns the user's details.