backend-api-patterns
CommunityBackend API patterns for scalable services.
Authorduyet
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill standardizes backend API design and implementation to help teams build robust, scalable services with consistent interfaces.
Core Features & Use Cases
- Consistent API envelope: Defines a unified success/error structure with metadata.
- Repository & Service layers: Promotes clean separation of concerns and testability.
- Authentication patterns: Includes JWT-based flows and middleware for authorization.
- Use Case: Architect a new microservice by applying a shared API pattern library to ensure maintainability and security.
Quick Start
- Create a standard ApiResponse wrapper in your codebase and return it from all endpoints.
- Implement a generic Repository<T> interface and a concrete data access layer.
- Add a service layer to encapsulate business logic and wire in auth middleware for protected routes.
Dependency Matrix
Required Modules
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: backend-api-patterns Download link: https://github.com/duyet/duyetbot-agent/archive/main.zip#backend-api-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.