io-grida

Parse and load Grida documents from Raw FlatBuffers or ZIP archives into the canvas runtime.

2.6k|145|Updated Feb 13, 2021
One-click install
npx skills add https://github.com/gridaco/grida --skill io-grida
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: io-grida
Source: https://github.com/gridaco/grida/tree/main/.agents/skills/io-grida
Command: npx skills add https://github.com/gridaco/grida --skill io-grida

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Grida's .grida format is a compact, FlatBuffers-based document model. This skill guides work on loading, validating, and debugging .grida files, the schema, and related IO tooling.

Core Features & Use Cases

  • Load and detect Grida documents in Raw FlatBuffers or ZIP archives, including images in ZIP packages.
  • Expose Rust and TypeScript IO paths to decode, validate, and round-trip .grida documents.
  • Use case: debug a failing document load by running the Rust decoder and TS IO against a sample .grida file.

Quick Start

Load a .grida document into the canvas runtime and inspect the resulting Scene graph.

Frequently Asked Questions about io-grida

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

FAQPage Schema
How do I load a .grida file into a canvas scene for rendering?

To load a .grida file into a canvas scene, you parse the document using FlatBuffers or ZIP archive decoders to extract scenes and images for rendering. The skill exposes Rust and TypeScript IO paths to decode and validate the document into the canvas runtime.

What is the FlatBuffers schema used for in Grida documents?

The FlatBuffers schema in Grida documents defines a compact document model that structures scene data for canvas rendering. It allows efficient decoding and round-trip validation of .grida files across Rust and TypeScript IO implementations.

Can I extract images from a ZIP archived .grida file in TypeScript?

Yes, you can extract images from a ZIP archived .grida file in TypeScript. The IO tooling detects and loads Grida documents packaged as ZIP archives, extracting embedded scenes and images for canvas rendering.

Why does my .grida document fail to load in the canvas runtime?

A .grida document may fail to load due to FlatBuffers schema incompatibility or archive corruption. You can debug the failing load by running the Rust decoder and TypeScript IO paths against the sample .grida file to validate round-trip compatibility.

Does the Grida IO tooling support both Rust and TypeScript implementations?

Yes, Grida IO tooling supports both Rust and TypeScript implementations. It exposes parallel IO paths in both languages to decode, validate, and round-trip .grida documents, ensuring compatibility across the FlatBuffers schema and archive formats.

What is the best way to debug a failing .grida document load?

The best way to debug a failing .grida document load is to run the Rust decoder and TypeScript IO paths against the sample file. This validates FlatBuffers schema compatibility and checks archive extraction to isolate the loading issue.