This skill provides a comprehensive blueprint for creating robust tools within the Claude Code ecosystem, ensuring consistency across the agent's capabilities. By leveraging a schema-first design with Zod, it synchronizes runtime validation with TypeScript types to eliminate common integration bugs. The pattern enforces a strict execution lifecycle—validating input, checking permissions, and then executing—which prevents security vulnerabilities and ensures that the LLM receives structured, predictable feedback from every operation.
주요 기능
01Automated error formatting for seamless LLM feedback loops
02Schema-first design using Zod for synchronized types and validation
03Real-time UI streaming support with typed progress callbacks
04Boilerplate reduction using the standardized buildTool factory
055 GitHub stars
06Pre-execution permission gating via the checkPermissions method
사용 사례
01Refactoring unstructured functions into permission-aware tools for AI agents
02Implementing complex tools that require real-time progress updates during execution
03Adding secure new capabilities like file system access or API integrations to Claude Code