abi-codegen
OfficialConvert JSON ABIs to typed TypeScript exports.
Authorsablier-labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill streamlines the process of turning JSON ABIs into strongly typed TypeScript exports, enabling safer and faster contract integration within the Sablier SDK.
Core Features & Use Cases
- Automatic ABI to TS conversion: Reads JSON ABI files and generates corresponding TypeScript constants with precise typing.
- Consistent naming and typing: Uses camelCase export names with an Abi suffix and preserves the JSON data structure via as const.
- Use Case: Add a new contract ABI under src/evm/abi/{protocol}/{version}, run the conversion script, and commit the generated TS in src/evm/releases/{protocol}/{version}/abi/.
Quick Start
bun .claude/skills/abi-codegen/scripts/codegen.ts src/evm/abi/lockup/v3.0/SablierLockup.json
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: abi-codegen Download link: https://github.com/sablier-labs/sdk/archive/main.zip#abi-codegen 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 223,000+ vetted skills library on demand.