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.

add-router - Create tRPC Router with CRUD Operations

Create a new tRPC router with CRUD procedures, OpenAPI meta, and tests

Tags

Updated: 2026-03-10

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • create router file
  • register router
  • generate CRUD procedures
  • add OpenAPI metadata
  • create test file

Inputs

  • resource name
  • procedure types
  • auth level
  • ownership requirement

Outputs

  • router file
  • registered router
  • test file
  • updated router index
  • type definitions

Requirements

  • x4-mono project
  • Bun runtime
  • database schema
  • database table
  • Zod schemas

Source

  • Spec: SKILL.md
tRPC
CRUD
OpenAPI
code-generation
testing
create router file
register router
generate CRUD procedures
add OpenAPI metadata
resource name
procedure types
auth level
router file
registered router
test file