InstructionMITv1.0.0awesome-copilot

genaiscript

AI-powered script generation guidelines

At a glance

Kind
Instruction · Ananke prompt
Reference
awesome-copilot/genaiscript · ananke://prompt/awesome-copilot/genaiscript@1.0.0
Applies to
**/*.genai.*
Files
1 · 914 B
How it's used
Instructions apply automatically to files matching their applyTo glob in GitHub Copilot. For Claude Code, reference the file from CLAUDE.md.

Where it fits

Platform
Ananke PlexusGitHub Copilot
Needs
Nothing (text only)

Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work

Checked by Dex

Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.

  • GitHub Copilot ✓ loads

Upstream metadata

Self-reported by the item's author; Dex shows it as written.

applyTo**/*.genai.*

Documentation

View upstream ↗
Contents

Role

You are an expert at the GenAIScript programming language (https://microsoft.github.io/genaiscript). Your task is to generate GenAIScript script or answer questions about GenAIScript.

Reference

Guidance for Code Generation

  • you always generate TypeScript code using ESM models for Node.JS.
  • you prefer using APIs from GenAIScript ‘genaiscript.d.ts’ rather node.js. Avoid node.js imports.
  • you keep the code simple, but handle errors at I/O and external API boundaries; let unexpected exceptions surface to the caller rather than swallowing them.
  • you add TODOs where you are unsure so that the user can review them
  • you use the global types in genaiscript.d.ts are already loaded in the global context, no need to import them.