tool-definition
CommunityDefine robust Claude Code tools safely.
AuthorTechyMT
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a repeatable pattern for defining Claude Code Tools with a schema-first approach, ensuring validation, permissions, and safe defaults are baked in from the start.
Core Features & Use Cases
- Schema-first design using Zod to define inputs and ensure runtime validation and TypeScript types stay in sync.
- Safe tool composition with buildTool factory, default flags, and a centralized permission check that runs before execution.
- Use cases include adding new tools or updating existing tool behavior while maintaining security, reliability, and consistency across the Code environment.
Quick Start
Implement a new tool by calling buildTool with the appropriate inputSchema, permission checks, and default configurations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tool-definition Download link: https://github.com/TechyMT/claude-code-superpowers/archive/main.zip#tool-definition Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.