function-creator

Generate secure Convex API endpoints with validation and authentication.

7|1|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/robertguss/web-app-starter-kit --skill function-creator-robertguss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: function-creator
Source: https://github.com/robertguss/web-app-starter-kit/tree/main/.claude/skills/function-creator
Command: npx skills add https://github.com/robertguss/web-app-starter-kit --skill function-creator-robertguss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate secure, type-safe Convex functions (queries, mutations, and actions) with built-in validation, authentication checks, and error handling to streamline backend API development.

Core Features & Use Cases

  • Auto-generates Convex function templates for queries, mutations, and actions with argument and return validation
  • Enforces authentication and authorization checks within generated handlers
  • Provides guidance for using node-enabled actions and separating queries/mutations from actions
  • Use cases include adding new API endpoints, refactoring existing endpoints, and ensuring consistent security practices

Quick Start

Use function-creator to generate a secure, validated Convex function skeleton for a new endpoint.

Frequently Asked Questions about function-creator

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

FAQPage Schema
How do I generate type-safe Convex API endpoints with built-in authentication?

You can generate type-safe Convex API endpoints by using a function generator that automatically enforces argument validation, return type validation, and authentication checks within query, mutation, and action handlers.

What is the best way to structure queries, mutations, and actions in a Convex backend?

The best way to structure Convex backend functions is to strictly separate queries and mutations from actions, while applying consistent argument validation and authorization checks across all user flows.

Can I use Node.js dependencies within Convex actions for backend processing?

Yes, you can use Node.js dependencies within Convex actions by generating node-enabled action templates that maintain strict validation and error handling for backend processing tasks.

Does function-creator support both argument and return type validation for mutations?

Yes, function-creator supports both argument and return type validation for mutations, ensuring that all generated Convex API endpoints enforce strict type safety and error handling.

How do I add error handling to Convex queries and mutations?

You add error handling to Convex queries and mutations by generating secure function skeletons that automatically integrate validation and authorization checks to streamline backend API development.

When should I use a generated Convex function skeleton instead of writing endpoints manually?

You should use a generated Convex function skeleton when adding new API endpoints or refactoring existing ones, ensuring consistent security practices, strict validation, and proper separation of queries, mutations, and actions.