LogoClawIndex
CasesSkillsAbout
LogoClawIndex

generate-endpoint - Generate REST API endpoint with validation and tests

Generates API endpoint handlers with validation, error handling, types, and tests matching project's backend framework

Tags

Updated: 2026-03-19

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • detect backend framework
  • analyze endpoint patterns
  • generate type definitions
  • generate validation schemas
  • generate route handlers
  • generate API tests
  • register routes
  • create middleware
  • handle errors

Inputs

  • resource name
  • HTTP method
  • project source files

Outputs

  • endpoint handler files
  • type definition files
  • validation schemas
  • test files
  • route registration code

Requirements

  • project source code access
  • backend framework installed

Source

  • Spec: SKILL.md

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
backend
REST
code generation
validation
testing
detect backend framework
analyze endpoint patterns
generate type definitions
generate validation schemas
resource name
HTTP method
project source files
endpoint handler files
type definition files
validation schemas