An interactive, decision-oriented software engineering handbook — 24 topic clusters (~140 pages) covering software engineering end to end, each page framed around when to use it and why. Built with Astro + Starlight: MDX-authored, statically rendered, with React component islands for interactivity and a static-first Mermaid diagram renderer.
- Node.js 20+ (developed on Node 24)
- npm (the project's package manager;
package-lock.jsonis committed)
make run # npm install, then start the dev server and open a browser tab
make build # npm install, then build the static site to ./dist
make preview # preview the built site locally
make check # type-check the project (astro check)Equivalent raw npm commands:
npm install
npm run dev -- --open
npm run buildsrc/content/docs/— MDX docs, organized into five clusters: Design Patterns, Event-Driven Architecture, Databases & CAP, Caching & Performance, and Search Indexes.src/content.config.ts— Starlight docs schema, extended withlast_reviewed(date) anddecision_guidance(boolean) frontmatter.src/components/Mermaid.astro— static-first Mermaid diagram island.templates/topic.mdx— canonical topic template. Copy it to author a new topic. Keep the section order fixed and bumpTEMPLATE_VERSIONon structural changes (CI drift-checks the marker).astro.config.mjs— Starlight + React integrations and the sidebar.
- Copy
templates/topic.mdxinto the appropriatesrc/content/docs/<cluster>/directory. - Fill in the frontmatter and each fixed
##section. - Do not reorder or rename the section headings unless you also bump
TEMPLATE_VERSION.