Skip to content
Prompt

goboscript — Copilot Instructions

by IMG-F

AI Summary

Copilot Instructions for goboscript, a programming language that compiles to Scratch, providing syntax rules, variable declarations, and code examples to help developers write correct goboscript code.

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/IMG-F/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

Copilot Instructions for goboscript

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

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 5mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Issues0
Updated5mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more