LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

api-and-interface-design - API and Interface Design

Guides stable API and interface design for endpoints, module boundaries, and public contracts.

Tags

Updated: 2026-09-23

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Define interface contracts first
  • Validate data at system boundaries
  • Design REST API endpoints
  • Use discriminated unions for variants
  • Separate input and output types

Inputs

  • API requirements
  • Database schema definitions
  • External service responses

Outputs

  • TypeScript interface definitions
  • REST endpoint specifications
  • Structured error response shapes

Requirements

    Source

    • Spec: SKILL.md
    api-design
    interface-design
    rest-api
    typescript
    Define interface contracts first
    Validate data at system boundaries
    Design REST API endpoints
    Use discriminated unions for variants
    API requirements
    Database schema definitions
    External service responses
    TypeScript interface definitions
    REST endpoint specifications
    Structured error response shapes