Coding galaxy gen references

From coilyco-flight-deck/galaxy-gen · View interactive version

Coding galaxy gen references is an AI agent skill from the GitHub repository coilyco-flight-deck/galaxy-gen. External reference resources for the galaxy sim - real-galaxy catalogs, N-body library design references, Astropy primitives worth mirroring. Use when the sim needs a real-world parameter or validation. Triggers - NASA ADS, SIMBAD, NED, astropy, FITS, sky survey, REBOUND, GADGET, n-body simulation,

How to use this skill

Skill file

References for galaxy-gen

Repo: galaxy-gen. Sister skills: CODE0 (galaxy-scale physics), CODE1 (universe-scale physics).

This skill is about pointers, not theory. Use it when the sim needs a number from the real universe, or when you want to look at how a battle-tested gravitational simulator handles a problem instead of redesigning it yourself.

When to reach for real data

Three honest cases for a procedural sim:

You almost never want to ingest real FITS files into a procedural sim. The astrophysics-data-guide content is for analysis pipelines, not generators.

Literature lookup: NASA ADS

The bibliographic database for astronomy. Indispensable for "what does the literature say about X galaxy property". Free API, 3000 requests/day.

For galaxy-gen specifically, ADS is overkill for routine work. It is the right reach when picking sim defaults from published surveys (e.g. "what is the Schechter function's M_star value in the local universe").

Catalogs and image archives

When picking real galaxies to study as visual reference, or copying parameters from observed populations.

Astropy: what is worth knowing

The Python astronomy library. Mostly irrelevant for a Rust/WASM sim, but a few primitives are worth recognizing when comparing notes.

N-body simulation libraries: design references

If galaxy-gen ever moves from "static sampling" to "time-evolved gravitational dynamics", the wheel has been built many times. Read the design, do not necessarily port it.

Useful patterns to lift from these:

Computational-physics framing for galaxy-gen

Beyond N-body specifically, the broader comp-physics methods inventory has a few relevant entries:

For a procedural sim that fakes most of this with sampling + visual approximations, treat these as a reference vocabulary for any future "make it more realistic" pivot.

When this skill stops being useful

The moment galaxy-gen commits to a real-time interactive procedural sim with a fixed visual budget (browser, single galaxy in view), most of the above becomes overkill. The astrophysics + cosmology skills are the active references. Reach here only when picking defaults, validating output, or designing a dynamics layer.

Sources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.