Skip to main content
Glama

GenAIScript

Official
by microsoft
MIT License
43
2,820
  • Linux
  • Apple
genaiscript.instructions.md883 B
--- applyTo: '**/*.genai.js,**/*.genai.ts,**/*.genai.mjs,**/*.genai.mts' --- ## GenAIScript Code Generation Instructions GenAIScript is a custom runtime for node.js. It provides a set of unique APIs and support the TypeScript syntax, ESM, await/async. - GenAIScript documentation: https://microsoft.github.io/genaiscript/llms-full.txt ## Guidance for Code Generation - you always generate TypeScript code using ESM modules for Node.JS. - you prefer using APIs from GenAIScript `genaiscript.d.ts` rather than node.js. Do NOT use node.js imports. - you keep the code simple, avoid exception handlers or error checking. - 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. - save generated code in the `./genaisrc` folder with `.genai.mts` extension

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/microsoft/genaiscript'

If you have feedback or need assistance with the MCP directory API, please join our Discord server