fastedge-docs

Answers FastEdge platform, SDK, and CDN app questions using curated reference documentation.

1|Updated Jul 23, 2026
One-click install
npx skills add https://github.com/G-Core/fastedge-plugin --skill fastedge-docs-g-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fastedge-docs
Source: https://github.com/G-Core/fastedge-plugin/tree/main/plugins/gcore-fastedge/skills/fastedge-docs
Command: npx skills add https://github.com/G-Core/fastedge-plugin --skill fastedge-docs-g-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Developers building WebAssembly apps on Gcore FastEdge need accurate answers about SDK APIs, runtime constraints, error codes, and CDN proxy-wasm patterns without digging through scattered repositories and documentation sources. ## Core Features & Use Cases - SDK Reference Lookup: Provides JavaScript, Rust, and AssemblyScript SDK API details including KV store, secrets, cache, and dictionary host services. - Platform Guidance: Explains error codes 530-533, resource limits, CDN integration, and operational behaviors like the 30-minute debug logging toggle. - Runtime Constraint Awareness: Documents StarlingMonkey JS runtime limitations, AssemblyScript compile-time pitfalls, and proxy-wasm hook state isolation rules. - Use Case: When you ask how to implement rate limiting in a FastEdge JS app, the Skill reads the cache and SDK references and returns working code using Cache.incr with TTL-based expiry. ## Quick Start Ask how to use the FastEdge KV store or why your edge app returns a 531 error.

Frequently Asked Questions about fastedge-docs

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

FAQPage Schema
How do I use the KV store in a FastEdge JavaScript app?

Open a named store with the static factory KvStore.open("my-store") and call store.get("key"), which synchronously returns an ArrayBuffer or null. KV stores are read-only from app code; provision them in the Gcore portal and populate them via the management API.

What do FastEdge error codes 530, 531, 532, and 533 mean?

530 indicates app initialization failed, 531 is a runtime error from an unhandled exception, 532 means the timeout was exceeded, and 533 signals the memory limit was exceeded. Each has specific debugging strategies documented in the platform error-codes reference.

Does the FastEdge JavaScript runtime support Node.js APIs?

No. The StarlingMonkey runtime is a strict WinterCG-style environment with no Node.js compatibility layer. node:crypto, node:fs, process, require, WebSocket, and DOM APIs are unavailable; use fetch, streams, and crypto.subtle instead.

How do I cache values in a FastEdge JS app?

Use the fastedge::cache module, a POP-local cache with TTL and atomic counters, since the Web Cache API is not available. Cache.getOrSet provides atomic get-or-populate semantics, and Cache.incr supports rate limiting counters.

Why doesn't state persist between proxy-wasm hooks on FastEdge CDN apps?

FastEdge creates a fresh context instance for each lifecycle hook invocation, and different hooks may run on different servers. Pass data between hooks using set_property and get_property instead of instance fields.

Can I use standard SAML libraries like samlify on FastEdge?

No. Mainstream Node.js SAML libraries depend on xml-crypto's synchronous Node crypto API, which StarlingMonkey lacks. Use WebCrypto-native packages like xmldsigjs, @xmldom/xmldom, and @peculiar/x509 instead.