What problem does it solve?
This Skill helps maintain consistency and adherence to the Ensi API Design Guide principles, ensuring that API endpoints in Ensi projects are well-structured, easy to use, and follow best practices.
Core Features & Use Cases
- API Design Principles: Enforces REST architectural style, JSON data transfer, and consistent naming conventions.
- URL Structure: Ensures proper pluralization, kebab-case, and versioning in URL paths.
- Field Formats: Validates integer IDs, ISO-8601 datetime fields, and kopeck prices.
- Response Format: Standardizes response structure with data, errors, and meta fields.
- API Architecture: Provides guidelines for Back Services and Gateway Services architecture.
- HTTP Status Codes: Recommends specific status codes for different scenarios.
- API Versioning: Outlines breaking changes strategy and versioning rules.
- API Documentation: Requires OpenAPI 3.0 specification and accessible documentation.
- Use Case: When designing or reviewing REST API endpoints in Ensi services, this Skill ensures adherence to the Ensi API Design Guide.
Quick Start
Apply the ensi-api-design skill to design a new API endpoint following the Ensi API Design Guide principles.