function-creator

Generate typed Convex API endpoints with validation and auth guards.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/tradewinds-center/rabbithole --skill function-creator-tradewinds-center
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: function-creator
Source: https://github.com/tradewinds-center/rabbithole/tree/main/.claude/plugins/convex/skills/function-creator
Command: npx skills add https://github.com/tradewinds-center/rabbithole --skill function-creator-tradewinds-center

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex API endpoint creation often requires repetitive setup for input validation, authentication, authorization, and consistent error handling. This Skill provides a structured approach to generate secure, typed Convex functions following established best practices.

Core Features & Use Cases

  • Generate queries, mutations, and actions with validated args and returns
  • Enforce authentication and authorization checks
  • Keep code generation aligned with Convex best practices and reusable patterns
  • Use case: Backend developers can rapidly scaffold endpoints with robust validation and access control.

Quick Start

Describe the endpoint by name, arguments, and returns and this Skill will generate the Convex function code

Frequently Asked Questions about function-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate typed Convex API endpoints with authentication and validation?

You generate typed Convex API endpoints by describing the endpoint name, arguments, and returns, which produces code with argument validation, return type validation, and authentication guards for queries, mutations, and actions.

What is the best way to add authorization checks to Convex mutations and queries?

The best way to add authorization checks is to scaffold endpoints using structured patterns that enforce access control and consistent error handling across read, write, and external actions within your backend workflow.

Does this approach support generating Convex actions with Node.js for external API calls?

Yes, this approach supports generating Convex actions with Node.js usage, ensuring proper separation of concerns when executing external actions alongside standard validated queries and mutations.

Can I enforce return type validation on Convex backend functions?

Yes, you can enforce return type validation on Convex backend functions. The generation process applies type safety to both incoming arguments and outgoing return values for robust API consistency.

How do I structure Convex endpoints to separate read, write, and external actions?

You structure Convex endpoints by generating distinct queries, mutations, and actions. This enforces a clear separation of concerns, applying Node.js usage for external actions and validation for read/write operations.

Why do my Convex API endpoints lack consistent error handling and access control?

Convex API endpoints often lack consistent error handling and access control due to repetitive manual setup. Generating functions with established best practices ensures uniform authorization and validation patterns across endpoints.