A comprehensive guide and implementation toolkit for building consistent, developer-friendly REST APIs using industry-standard patterns.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install api-design
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install api-design using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a robust framework for designing production-ready REST APIs. By leveraging Openclaw Skills, developers can ensure their API contracts are consistent, intuitive, and scalable. It covers everything from URL structure conventions to complex error handling and versioning strategies, helping teams avoid common pitfalls and technical debt in their interface design.
Using this specific skill within the Openclaw Skills ecosystem allows an AI agent to act as a senior architect, reviewing existing endpoints or generating new ones that adhere to strict semantic standards. Whether you are building public-facing services or internal microservices, these patterns provide the necessary blueprint for professional API development.
Integration with Openclaw Skills requires adding the design patterns to your agent configuration. To initialize the environment for a new API project using these standards:
# Initialize a project with standard API patterns
mcp-install api-design-patterns
# Or reference the patterns in your prompt context
openclaw use api-design
Ensure your development environment (TypeScript, Python, or Go) is set up to implement the provided schemas and middleware. Following these steps ensures your API aligns with the quality expected of Openclaw Skills.
The skill organizes API metadata and response structures into standardized formats for consistency across all Openclaw Skills implementations:
| Component | Format/Requirement |
|---|---|
| URL Naming | Plural nouns, lowercase, kebab-case (e.g., /api/v1/team-members). |
| Success Body | Wrapped in a data object; includes meta and links for collections. |
| Error Body | Standardized error object with code, message, and optional details array. |
| Pagination | Supports page/per_page (Offset) or cursor/limit (Cursor). |
| Sorting | Prefix with - for descending order (e.g., ?sort=-created_at). |
| Versioning | URL path versioning recommended (e.g., /api/v1/resource). |
Loading
An isolated, agent-native sandbox providing code execution, browser automation, and 50+ pre-installed tools via CLI or HTTP.

A specialized content writing system for AI agents to manage daily B2B thought leadership workflows across Sales, HR, Fintech, and Ops Tech industries.

A comprehensive framework for building high-authority personal brands on LinkedIn tailored to specific professional roles and industry constraints.

A comprehensive strategic framework for building high-conversion, industry-specific newsletters across various startup growth stages.

A robust command-line interface for programmatically interacting with Obsidian vaults via Inter-Process Communication.

A specialized AI tool designed to excavate and preserve oral history from older generations through structured interviews and automated script generation.








































