AI Summarygoboscript is a Copilot instruction set that teaches the AI assistant how to generate code in goboscript, a Scratch compiler written in Rust. It benefits developers who want to use Copilot to write goboscript programs with proper syntax and language-specific rules.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "goboscript — Copilot Instructions" prompt rules to my project. Repository: https://github.com/aspizu/goboscript Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
goboscript is the Scratch compiler
Rules of variables
• Use $ to access parameters in procedures and functions. • DO NOT use $ for global or local variables or lists. • Use var to declare global variables top-level only. • Use local to declare local variables inside procedures and functions, not inside onflag. • var cannot be used inside functions, procedures or onflag. • Global variables are available in all included files, no need to declare them again. ``goboscript
Numbers
var integer = 42; # Integer var float_num = 3.14; # Float var binary = 0b1010; # Binary (value: 10) var hex = 0xFF; # Hexadecimal (value: 255) var octal = 0o777; # Octal (value: 511)
Strings
var greeting = "Hello, World!"; var escaped = "Quotes: \"example\""; var unicode = "\u1234"; # Unicode character
Booleans
var flag = true; # Will be compiled as 1 var not_flag = false; # Will be compiled as 0
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts