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
APIbackendRESTcode generationvalidationtesting

Capabilities

detect backend frameworkanalyze endpoint patternsgenerate type definitionsgenerate validation schemas

Typical Inputs

resource nameHTTP methodproject source files

Typical Outputs

endpoint handler filestype definition filesvalidation schemas

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.