/vara-skills:sails-idl-clientfrom vara-skills
Wires and repairs the Sails IDL and generated client pipeline for Gear/Vara Rust contracts. Useful during contract interface evolution and frontend integration.
Ships in vara-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Keep Sails builders on the typed pipeline for IDL generation, Rust client generation, and integration wiring.
If a released contract evolves or a new deployed contract version is introduced, keep the generated-client path compatible with the approved cutover plan instead of assuming one regenerated client can replace all consumers immediately.
.idl as the source of truth for the interface.sails-js or sails-cli so the workspace gets lib.ts and typed program or service classes instead of hand-written payload code.GearApi from @gear-js/api for node connectivity.parseIdl from the sails-js and sails-js-parser path only when you explicitly need dynamic runtime control rather than pre-generated files.build.rs before inventing a manual IDL step.[build-dependencies] sails-rs = { version = "...", features = ["build"] }fn main() { sails_rs::build_client::<Program>(); }sails-idl-gen plus sails-client-gen-v2 wiring as a manual fallback for non-standard layouts or explicitly custom generation needs..idl and Rust client artifacts may land in OUT_DIR, the client crate output path, or another repo-defined location.BTreeMap key types: Public IDL-facing map keys should prefer primitive or tuple types (e.g. u64, (u32, u32), ActorId). Custom struct keys (e.g. BTreeMap<Pos, V>) may fail client-side decoding because the generated type may lack the required ordered-key traits. Stick to primitives or tuples unless generated-client support for that custom key type is confirmed..idl as the interface contract for one deployed program version.When a Sails program's IDL is consumed by a frontend in a separate workspace or repo:
OUT_DIR during Rust builds, it will not be available to the frontend at build time.See ../../references/sails-idl-client-pipeline.md for the canonical frontend export pattern.
../../references/sails-idl-v2-syntax.md — IDL v2 grammar, annotations, types, service/program declarations../../references/sails-header-wire-format.md — Sails Header layout, interface/entry ID derivation, wire examples../../references/sails-cheatsheet.md../../references/sails-idl-client-pipeline.md../../assets/task-plan-template.md../../references/contract-interface-evolution.mdbuild.rs or generation wiring when it no longer generates the expected artifactssails-js as a runtime target; it is the JavaScript client library used by generated and dynamic IDL-driven flows.sails-idl-gen + sails-client-gen-v2 as the default dedicated-client path when the repo can use sails-rs build helpers.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gear-foundation/vara-skills --plugin vara-skills24 skills in this plugin
/awesome-sails-vftUse when a builder wants to add a fungible token to a standard Gear/Vara Sails app using awesome-sails building blocks, choose the right VFT-related crates, and wire roles, events, tests, and client integration. Do not use for NFT or RMRK work, abstract tokenomics-only analysis, or non-Sails projects./gear-architecture-plannerUse when an approved Gear or Vara spec must be mapped onto program boundaries, services, message flow, and integration surfaces. Do not use when the feature is still undefined or when the task is already reduced to code edits./gear-builtin-actorsUse when a builder needs to design or debug calls from a standard Gear/Vara Sails program into runtime builtin actors such as BLS12-381, staking, proxy, or ETH bridge, including ActorId derivation, request encoding, reply decoding, and gas or ED budgeting. Do not use for regular program-to-program messaging, Vara.eth or ethexe-only work, non-Sails repositories, or runtime-maintenance tasks inside the Gear repo.Other plugins' skills for the same job