From 111104ea9245ef2a805e8c020de1c6bbc7a459ee Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 15 Jun 2026 19:34:33 +0300 Subject: refresh-irregular-ninja skill: shuriken workflow, new path, cache/ dir Update the irregular.ninja refresh skill: the album moved to ~/git/irregular.ninja/irregular.ninja and is driven by shuriken (not the old photoalbum/Makefile). Document the volatile cache/ directory (persistent EXIF cache parallel to dist/, never deployed) and add a rule that only dist/ is rsynced to the servers. --- prompts/skills/refresh-irregular-ninja/SKILL.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prompts/skills/refresh-irregular-ninja/SKILL.md b/prompts/skills/refresh-irregular-ninja/SKILL.md index 93f93ca..b44f10e 100644 --- a/prompts/skills/refresh-irregular-ninja/SKILL.md +++ b/prompts/skills/refresh-irregular-ninja/SKILL.md @@ -30,6 +30,11 @@ tool and deploy it to both mirrors (`fishfinger.buetow.org` and (`/home/paul/Syncthing/Pixel7Pro/DCIM/Irregular Ninja/irregular.ninja`). - `~/git/irregular.ninja/irregular.ninja/dist/`: generated output (HTML, photos, thumbs, blurs, `index.html`, `shuriken.json`). +- `~/git/irregular.ninja/irregular.ninja/cache/`: volatile per-photo EXIF identify + cache (parallel to `dist/`). Persists across runs so unchanged photos skip the + slow `identify`, making regenerates much faster. It is **not** part of the + published site — never rsync it to the servers. Safe to delete (forces a full + EXIF rebuild); `--clean` leaves it in place, `--force` clears it once per run. ## Workflow @@ -78,6 +83,8 @@ tool and deploy it to both mirrors (`fishfinger.buetow.org` and (`/usr/share/shuriken/templates/default`); a feature needing newer templates (e.g. a stats page) requires the installed `shuriken`/templates to be updated first. +7. Only `dist/` is deployed. Never rsync the `cache/` directory to the servers — + it is a local build accelerator, not part of the published site. ## Expected Output -- cgit v1.2.3