Astro Build Standards docs

Direction notes, not a contract. Nothing here is a rule β€” rules live in rules/. These are things to do or consider when the right moment arrives.

The "Component showcase site (in-repo)" section was removed once it shipped: the showcase is live at /components in dev, backed by the components content collection.

Plan β€” direction notes#

[plan]Reference

Working notes on direction and future moves for this starter. Not a contract β€” just things to do or consider when the right moment arrives.

Distribution: GitHub Template Repository#

Status: enabled and in use. New builds are created from the template repo. The notes below stay because they explain what the feature does and does not solve β€” in particular the fresh-history / no-upstream-link consequence, which is why structure.git records starterVersion in package.json instead of relying on a remote.

What it is#

GitHub's "Template repository" feature. One toggle in Settings β†’ General β†’ Template repository. Once enabled, the repo's main page gets a green Use this template button. Clicking it creates a brand-new repo for the consumer with:

  • The current file tree, copied verbatim.
  • A fresh git history (single initial commit) β€” no inherited commits, branches, or tags.
  • A "generated from