/vara-skills:sails-local-smokefrom vara-skills
Validates a Sails app against a local node after gtest passes. Covers deploying .opt.wasm via vara-wallet, recording program IDs, and running typed client checks.
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.
Validate the generated client path against a local node after gtest is already green.
.opt.wasm file (optimized WASM), not the plain .wasm. The .opt.wasm is produced by wasm-opt during the Sails build and is significantly smaller. Uploading the unoptimized .wasm to a node will often fail with CodeTooLarge.vara-wallet for deploying to a local node. It handles account management and program upload without requiring a Gear source checkout or Rust-specific tooling.gclient, the GearApi + GclientEnv path remains valid as a secondary option.SS58 form for standard Vara account flows; do not default to Ethereum 0x addresses for normal local-node work.program id from the deploy step and pass that into the typed client. If the flow uses vouchers, issue one first and use the returned voucher ID. Do not invent either identifier.../../references/sails-gtest-and-local-validation.md../../references/sails-idl-client-pipeline.md../vara-wallet/SKILL.md../../references/sails-cheatsheet.md../../references/voucher-and-signless-flows.md../../references/sails-header-wire-format.md — Sails Header layout for debugging wire payloadsdocs/plans/...-gtest.md note shows a green test loop.$VW config set network local (persists) or export VARA_WS=ws://localhost:9944 (session only) or --network local (per-command). The default is mainnet — always override for local work.$VW wallet import --seed '//Alice' --name alice..opt.wasm artifact and record the program id:
UPLOAD=$($VW --account alice program upload ./target/wasm32-unknown-unknown/release/my_program.opt.wasm --idl ./my_program.idl --args '[]')
PROGRAM_ID=$(echo $UPLOAD | jq -r .programId)
If the constructor does non-trivial work, override gas with --gas-limit.
$VW --account alice transfer $PROGRAM_ID 100.$VW --account alice call $PROGRAM_ID MyService/DoSomething --args '["hello"]' --idl ./my_program.idl
$VW call $PROGRAM_ID MyService/GetState --args '[]' --idl ./my_program.idl
Use this path when the project already has a Rust test harness that uses gclient and GclientEnv.
GearApi::init(WSAddress::dev()) for local node on default port. Do not use GearApi::dev_from_path() — that expects a filesystem path to the node binary, not a WebSocket URL..opt.wasm and record the actual program id returned by the deploy flow. If the constructor does non-trivial work, override gas with an explicit limit.gtest.GclientEnv, wiring in the actual deployed program id.../../references/gtest-cheatsheet.mdgtest is red or missing, stop and go back to ../sails-gtest/SKILL.md..opt.wasm as the default deploy artifact. The plain .wasm is an intermediate build output that may exceed on-chain size limits.vara-wallet, use --network local or config set network local or VARA_WS=ws://localhost:9944. The default endpoint is mainnet.What SKILL.md sets; muted values are Claude Code's defaults
24 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.npx claudepluginhub gear-foundation/vara-skills --plugin vara-skillsOther plugins' skills for the same job