Mercurial
diff .claude/skills/zenbu-personal-site/SKILL.md @ 259:667156fcd3e3
Add dev-only cyberpunk JRPG page
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Wed, 05 Aug 2026 09:19:41 -0700 |
| parents | 60a876c4587a |
| children | 1f9877b637e9 |
line wrap: on
line diff
--- a/.claude/skills/zenbu-personal-site/SKILL.md Wed Aug 05 05:25:40 2026 -0700 +++ b/.claude/skills/zenbu-personal-site/SKILL.md Wed Aug 05 09:19:41 2026 -0700 @@ -29,6 +29,10 @@ - `mrjunejune/test/`: integration tests and snapshots. - `mrjunejune/BUILD`: Bazel build, bundle, asset movement, and test-visible filegroups. - `mrjunejune/.config` and `.config.development`: server configuration. Do not commit secrets. +- Experimental pages use the `MRJUNEJUNE_ENABLE_DEV_PAGES` compile-time gate. + Their static files belong in `src_files_development`; production + `src_files`, `mrjunejune_server`, and `mrjunejune_server_bundle` must exclude + them. ## How rendering works @@ -70,10 +74,10 @@ bazel test //mrjunejune/test:integration_test ``` -Use the debug server when investigating routing or networking: +Use the development server for experimental pages and debug networking: ```bash -bazel build //mrjunejune:mrjunejune_server_debug -c dbg +bazel run //mrjunejune:mrjunejune_server_dev -c dbg ``` ## Production-minded checklist @@ -86,7 +90,8 @@ - For binary responses, set `content-length` and avoid string-only operations on body bytes. - If a route is part of the public website, add or update snapshot coverage in `mrjunejune/test`. - Keep PWA changes consistent across `manifest.json`, `sw.js`, icons, and `PWA_SETUP.md`. -- Site themes use `data-zen-theme` with Auto, Paper, Ink, and Playful states. +- Site themes use `data-zen-theme` with Auto, Paper, Ink, Playful, and + Cyberpunk states. Preserve the More Sugar font aliases and keep theme-specific values in shared design-system tokens rather than branching inside components. - Reuse `seobeo`, `dowa`, `deita`, `s3`, and `markdown_converter` instead of adding parallel implementations.