What problem does it solve?
This Skill ensures that API contracts and component interfaces are clearly defined before any technology or protocol is selected, preventing integration failures and rework.
Core Features & Use Cases
- Standardized API Design: Enforces organizational naming standards and best practices for API fields, data types, and error codes.
- Protocol-Agnostic Contracts: Defines operations, inputs, outputs, and errors without specifying HTTP verbs, URLs, or serialization formats.
- BFF Contract Definition: For specific project topologies, designs optimized data contracts for Backend-for-Frontend (BFF) layers.
- Use Case: Before building a new microservice, use this Skill to document its public API, ensuring all other services know exactly what data and operations are available, and how to interact with them, without committing to a specific communication protocol yet.
Quick Start
Use the bee:pre-dev-api-design skill to define the API contract for the new user service, focusing on user creation and retrieval operations.