gear-gstd-api-map

Map Gear/Vara gstd APIs for messaging, execution, gas reservations, and child programs.

17|23|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/gear-foundation/vara-skills --skill gear-gstd-api-map
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gear-gstd-api-map
Source: https://github.com/gear-foundation/vara-skills/tree/main/skills/gear-gstd-api-map
Command: npx skills add https://github.com/gear-foundation/vara-skills --skill gear-gstd-api-map

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Gear and Vara Sails builders often struggle to select the correct gstd API for common tasks like messaging, execution, gas reservations, async reply flows, and child program creation, and may waste time sifting through low-level syscall documentation to confirm behavior when they only need to validate edge cases.

Core Features & Use Cases

  • Structured API Selection Workflow: Guides builders to start from their intent, choose the appropriate gstd module (msg, exec, prog, reservations) instead of raw syscalls, and only drop to gcore or gsys for confirmation of limits, gas shapes, or low-level behavior.
  • Quick Reference Table: Maps key gstd APIs to their common use cases for fast lookup during design and implementation.
  • Scenario Guidance: Includes pressure scenarios for common build tasks like timed reply flows, delayed scheduled work with gas guarantees, and factory-style child program creation.
  • Use Case: A builder designing a Sails app that needs to send delayed messages with guaranteed gas availability can use this skill to quickly identify the correct reservation and delayed send APIs without diving into raw syscall docs.

Quick Start

Use the gear-gstd-api-map skill to select the correct gstd API for your Gear program's messaging, execution, or child program creation needs, and trace to lower-level behavior only when confirming edge cases.

Frequently Asked Questions about gear-gstd-api-map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I select the right gstd API for messaging and async reply flows in Gear?

To select the right gstd API for messaging, start from your intent and choose the appropriate high-level gstd module like msg or exec, rather than raw syscalls. This structured selection workflow ensures you use the correct API for async reply flows without unnecessary low-level digging.

What is the best way to handle gas reservations for delayed messages in a Sails application?

The best way to handle gas reservations for delayed messages is to identify the correct high-level gstd reservations and delayed send APIs. You can quickly map these APIs to their use cases using a quick reference table, ensuring guaranteed gas availability without sifting through raw syscall documentation.

When do I need to reference gcore or gsys instead of the standard gstd APIs?

You only need to reference gcore or gsys instead of standard gstd APIs when confirming low-level limits, gas shapes, or syscall behavior. For standard program creation, messaging, and execution tasks, you should prioritize high-level gstd APIs and drop to lower levels solely for edge case validation.

Can I use gstd APIs for factory-style child program creation on Vara?

Yes, you can use gstd APIs for factory-style child program creation on Vara. The prog module provides the necessary high-level functions to handle this build task, allowing you to design and implement child program creation scenarios without directly interacting with low-level syscalls.

Does the gstd API map cover scheduled work with gas guarantees?

The gstd API map covers scheduled work with gas guarantees by providing scenario guidance for delayed scheduled work. It helps you quickly identify the correct reservation and delayed send APIs needed to ensure gas availability for timed execution flows in Gear applications.