scaffold

Scaffolds FastEdge HTTP and CDN WebAssembly projects from blueprint reference files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Starting a new FastEdge edge-computing project requires knowing the correct directory structure, build configuration, SDK dependencies, and runtime constraints for WebAssembly targets. This Skill removes that guesswork by generating complete, working project skeletons tailored to the chosen app type, language, and features. ## Core Features & Use Cases - Guided intake: Collects app type (HTTP handler vs CDN Proxy-WASM filter), language (TypeScript, JavaScript, Rust, AssemblyScript), and project name before writing any code, avoiding wrong assumptions. - Blueprint-based generation: Combines a base skeleton with feature blueprints (KV store, A/B testing, JWT auth, geo-routing, header manipulation, outbound fetch) containing real working code extracted from FastEdge SDK examples. - Platform safety checks: Enforces AssemblyScript constraint rules for CDN apps and runs a Rust logging self-check that rewrites stderr macros to stdout so FastEdge log capture works. - Use Case: Ask for a CDN auth filter in Rust with JWT validation, and receive a complete project with Cargo.toml, Proxy-WASM filter code, build commands, and follow-up offers to add tests and debug fixtures. ## Quick Start Ask the agent to scaffold a new FastEdge project, for example by saying you want an HTTP app in TypeScript called my-api with KV store access.

Frequently Asked Questions about scaffold

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

FAQPage Schema
How do I scaffold a new FastEdge project?

Invoke the scaffold skill and provide the app type (HTTP or CDN), language, and project name. The skill reads blueprint reference files, creates the directory structure, writes working code, and prints build, test, and deploy commands.

What languages does FastEdge support for HTTP and CDN apps?

HTTP apps support TypeScript, JavaScript, and Rust. CDN apps, which run as Proxy-WASM filters inside the CDN proxy layer, support AssemblyScript and Rust. The skill always asks for the language rather than assuming a default.

What is the difference between a FastEdge HTTP app and a CDN app?

HTTP apps are standalone serverless functions that receive a request and return a response, like a normal endpoint. CDN apps run as filters inside the Gcore CDN proxy layer, intercepting and modifying traffic in flight before it reaches the origin or client.

Which feature blueprints are available when scaffolding FastEdge apps?

Available blueprints include KV store, A/B testing, outbound fetch, headers and environment variables, and geo-redirect for HTTP apps, plus JWT auth and geo-blocking for CDN Rust apps. If no blueprint matches, the base skeleton is generated and custom logic is added afterward.

Why does my Rust FastEdge app show no logs after deployment?

FastEdge captures stdout only, so eprintln!, eprint!, and stderr-based loggers are silently dropped. The scaffold skill greps generated Rust code for these patterns and rewrites stderr macros to println! before finishing.

Can I scaffold a FastEdge CDN app in AssemblyScript?

Yes, CDN apps support AssemblyScript with TypeScript-like syntax. The skill first loads the AssemblyScript constraints reference covering limitations like no try/catch and no closures over mutable state, then generates the project with npm build scripts.