/vara-skills:sails-ethexe-architecturefrom vara-skills
Designs or reviews architecture for Sails ethexe apps with dual-transport, payable methods, Solidity interface generation, and Ethereum-style events. Not for standard Gear/Vara Sails apps.
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.
Turn an approved spec into an ethexe-specific architecture artifact before implementation, covering transport strategy, payable design, event model, Solidity interface generation, and the constraints the ethexe feature imposes.
If the app does NOT need ethexe, use ../sails-architecture/SKILL.md instead.
../../references/sails-ethexe-patterns.md — ethexe diff table, transport rules, type requirements, gated syscalls../../references/sails-header-wire-format.md — interface ID stability, entry ID derivation../../references/sails-idl-v2-syntax.md — IDL v2 annotations../../assets/architecture-template.md../../references/vara-domain-overview.md../../references/sails-program-and-service-architecture.md../../references/gear-messaging-and-replies.mdWrite the result to docs/plans/YYYY-MM-DD-<topic>-architecture.md.
The architecture must name the transport per service and per method:
| Pattern | When to use |
|---|---|
Dual transport (default #[export]) | Methods callable from both Gear programs and EVM |
Scale-only (#[export(scale)]) | Internal program-to-program calls, no EVM exposure needed |
Ethabi-only (#[export(ethabi)]) | Methods only meaningful from EVM side |
Payable (#[export(ethabi, payable)]) | Methods that accept value — requires ethabi |
Document the transport choice per method in the architecture artifact. Dual transport is the default but not always desirable — scale-only methods reduce the ABI surface.
Decide between:
emit_event() — standard Gear event (visible to Gear tooling, explorers)emit_eth_event() — Ethereum-style event (visible to EVM tooling, indexed topics)For emit_eth_event():
#[indexed]? (max 3 per variant, these become topics)sails-sol-gen will produce in the Solidity interface?sails-sol-gen generates Solidity contract interfaces from the IDL. Architecture must consider:
payable and indexed annotations in the IDL correct for the generated interface?Three syscalls are unavailable under ethexe:
Syscall::signal_from() — no signal handlingSyscall::signal_code() — no signal handlingSyscall::system_reserve_gas() — no system gas reservationIf the design depends on signals or system gas reservation, it cannot run under ethexe.
Ethexe apps use a separate workspace (rs/ethexe/ in the Sails repo). The architecture must name:
sails-rs = { ..., features = ["ethexe"] } for deps, build-deps, and dev-depsfeatures = ["ethexe", "wasm-builder"]#[indexed] fields chosen and within the 3-field limit?#[indexed] fields per event variant.../sails-ethexe-implementer/SKILL.md after architecture approval.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./gear-gstd-api-mapUse when a builder needs to choose the right gstd API for messaging, execution, reservations, async reply flows, or program creation, and trace that API to gcore or gsys when behavior must be confirmed. Do not use for Vara.eth or ethexe-first work, non-Gear repositories, or broad runtime-maintenance tasks./gear-message-executionUse when a builder needs to design or debug Gear message flow, replies, delayed execution, reservations, or waitlist behavior inside a standard Gear/Vara Sails app. Do not use for Vara.eth or ethexe-first work, non-Sails repositories, or broad protocol research./gtest-tdd-loopUse when Gear or Vara behavior changes need a deterministic local gtest loop before the work can be considered complete. Do not use for deploy-only work, live-node-only smoke checks, or features without a local test target.Other plugins' skills for the same job