jbang-catalog
Copilot instructions12 starsChanged 7 months agoMITView on GitHub
This is a static JBang catalog repository. The root jbang-catalog.json is the primary artifact; it defines user-facing JBang aliases under aliases and currently leaves templates present but empty. Each alias maps a short name to a script-ref, which may be a remote JAR URL, Maven coordinate, or remote Java source file. Optional metadata such as description, java, and java-options controls how JBang presents and launches the alias. There is no application source tree or project build file; repository changes normally…
The file
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Run the published Microsoft catalog listing: jbang catalog list microsoft
- Very specific: line 23
Use lowercase kebab-case alias names, matching README examples such as minecraft-server, appinsights-agent, and playwright.
- Very specific: line 24
Keep jbang-catalog.json formatted as two-space-indented JSON with stable top-level keys: aliases first and templates last.
- Very specific: line 25
Treat alias description values as user-facing text shown by JBang.
- Very specific: line 26
Put JVM launch options in the alias-level java-options array and Java runtime requirements in the alias-level java string.
- Very specific: line 27
Do not convert all script-ref values to one style.
- Very specific: line 28
When adding an alias, update both jbang-catalog.json and the README section that explains how users run it.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot instructions for this repository
Commands
- Validate catalog JSON syntax:
python3 -m json.tool jbang-catalog.json >/dev/null - Inspect catalog aliases locally:
jbang alias list -f jbang-catalog.json - Inspect catalog aliases as JSON:
jbang alias list -f jbang-catalog.json --format=json - Run the published Microsoft catalog listing:
jbang catalog list microsoft - Smoke-test one alias locally by using the catalog file and the alias name:
jbang alias list -f jbang-catalog.json --format=json | jq '.[] | select(.name == "playwright")'- For CLI-style aliases, run their help command against the published catalog, e.g.
jbang playwright@microsoft --help
Architecture
This is a static JBang catalog repository. The root jbang-catalog.json is the primary artifact; it defines user-facing JBang aliases under aliases and currently leaves templates present but empty.
Each alias maps a short name to a script-ref, which may be a remote JAR URL, Maven coordinate, or remote Java source file. Optional metadata such as description, java, and java-options controls how JBang presents and launches the alias. There is no application source tree or project build file; repository changes normally update the catalog data and the README examples together.
README.md is the consumer documentation for the catalog. Keep its project list, headings, and command examples synchronized with aliases in jbang-catalog.json, especially when adding, renaming, or removing aliases.
Repository conventions
- Use lowercase kebab-case alias names, matching README examples such as
minecraft-server,appinsights-agent, andplaywright. - Keep
jbang-catalog.jsonformatted as two-space-indented JSON with stable top-level keys:aliasesfirst andtemplateslast. - Treat alias
descriptionvalues as user-facing text shown by JBang; preserve intentional newlines, Markdown code spans, and command snippets. - Put JVM launch options in the alias-level
java-optionsarray and Java runtime requirements in the alias-leveljavastring. - Do not convert all
script-refvalues to one style; this catalog intentionally supports URLs, Maven coordinates, and remote source references depending on the artifact. - When adding an alias, update both
jbang-catalog.jsonand the README section that explains how users run it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

