tpmjs-tool-creator
Installation
SKILL.md
TPMJS Tool Creator
Create production-ready tools for the TPMJS registry using the blocks CLI. Tools are npm packages following the AI SDK v6 pattern, validated by blocks, and automatically synced to tpmjs.com.
Workflow
- Define the tool block in
packages/tools/official/blocks.yml - Create the tool package directory
- Implement the tool using AI SDK v6
tool()+jsonSchema() - Validate with
pnpm blocks run <tool-name> - Build and publish to npm
Step 1: Define in blocks.yml
Add to the blocks: section of packages/tools/official/blocks.yml: