Ask me what skills you need
What are you building?
Tell me what you're working on and I'll find the best agent skills for you.
Use when schemas have changed and example JSON files need regeneration and validation
Regenerate all JSON schema artifacts, examples, and hashes after modifying Zod source schemas.
Never edit generated files manually. All JSON schemas, examples, and hashes under schemas/ipfs/ are generated from the Zod source schemas. If the output is wrong, fix the Zod source.
Run each step in order. Each step depends on the previous one.
Compile TypeScript to JavaScript so the generation scripts can import the schemas:
pnpm build
Expected outcome: dist/ directory is created with ESM and CJS output.
If it fails: Fix TypeScript compilation errors first (see debug skill).
Convert Zod schemas to JSON Schema format:
pnpm generate-schemas
This runs pnpm build as a prerequisite (via pregenerate-ipfs-schemas), then executes node scripts/generate-ipfs-schemas.js.
Expected outcome: JSON schema files appear or update under schemas/ipfs/{type}/.
If it fails:
.meta() -- missing metadata causes empty descriptionssrc/index.tsnpx skills add carrot-foundation/schemas --skill update-examplesHow clear and easy to understand the SKILL.md instructions are, rated from 1 to 5.
Very clear and well structured, with almost no room for misunderstanding.
How directly an agent can act on the SKILL.md instructions, rated from 1 to 5.
Mostly actionable with clear steps; only a few small gaps remain.