patricio0312rev avatar

Tool Function Schema Designer

If you're wiring up function calling for an LLM agent, this walks you through the whole stack: JSON schemas that match OpenAI's format, TypeScript interfaces for type safety, Zod validators to catch bad parameters before execution, and a registry pattern to manage multiple tools cleanly. The examples are practical, showing search functions with filters and sensible defaults. What I like is the error handling setup that distinguishes validation failures from execution errors, so your LLM can actually learn from mistakes. It's thorough without being academic, basically the checklist you'd want when adding tool use to a chatbot or agent system.

skills.sh installs
255
GitHub stars
63
last updated
Aug 21, 2026

Install

$ npx -y skills add patricio0312rev/skills --skill tool-function-schema-designer --agent claude-code

Installs into .claude/skills of the current project.

Files

Tool/Function Schema Designer

Design robust tool schemas that LLMs can reliably invoke.

Function Schema Format

Sponsors

Details

Repository
github.com/patricio0312rev/skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from patricio0312rev/skills

All 138
1quiknode-labs avatarquicknode-skillquiknode-labs/blockchain-skillsQuicknode blockchain infrastructure for 80+ chains: Core RPC API, Streams, Webhooks, Blazar WSS, Solana gRPC, HyperCore gRPC, SQL Explorer, Metaplex DAS API, Bl254skills.sh installs
2dylanfeltus avatarcreative-directiondylanfeltus/skillsImage prompt templates, model selection guidance, and anti-generic patterns for generating visual assets. Use when the user needs AI-generated images for landin249skills.sh installs
3mindfold-ai avatarcc-codex-spec-bootstrapmindfold-ai/marketplaceClaude Code + Codex parallel pipeline for bootstrapping Trellis coding specs. CC analyzes the repo with GitNexus (knowledge graph) + ABCoder (AST), creates Trel249skills.sh installs
4agentlyhq avataraixyzagentlyhq/aixyzBuild, run, and deploy an AI agent using the aixyz framework. Use this skill when creating a new agent, adding tools, wiring up A2A/MCP protocols, configuring x245skills.sh installs
5awslabs avatardeployawslabs/agent-pluginsDeploy applications to AWS. Triggers on phrases like: deploy to AWS, host on AWS, run this on AWS, AWS architecture, estimate AWS cost, generate infrastructure.240skills.sh installs
6davila7 avatarpufferlibdavila7/claude-code-templatesThis skill should be used when working with reinforcement learning tasks including high-performance RL training, custom environment development, vectorized para232skills.sh installs