3.2 KiB
3.2 KiB
update-brochure
Use this skill when a Darkwatch feature is added, changed, or removed, and the brochure needs updating. It keeps site/index.html and site/screenshots.js in sync with the app.
Scope
site/index.html— add, update, or remove feature rowssite/screenshots.js— add, update, or remove capture blocks- System support strip in
site/index.html— update when a new RPG system is added
Not in scope: Hero copy, publisher section copy, footer links. Those are editorial and manual.
Process: Feature added
-
Add a new
.feature-rowblock tosite/index.htmlafter the last existing feature row (before the.callout-row). Follow the alternating pattern:- Rows 1, 3, 5, 7 (odd positions): screenshot on the left, text on the right (no
reverseclass) - Rows 2, 4, 6 (even positions):
class="feature-row reverse"(screenshot right, text left) - Count existing rows to determine whether to add
reverseor not
Template for a new row:
<div class="feature-row"> <div class="feature-image"> <img src="assets/screenshots/FEATURE-NAME.png" alt="Description of screenshot"> </div> <div class="feature-text"> <div class="feature-label">Short Label</div> <h2 class="feature-heading">Punchy headline.</h2> <p class="feature-desc"> Two sentences. Write for players and DMs, not developers. </p> </div> </div> - Rows 1, 3, 5, 7 (odd positions): screenshot on the left, text on the right (no
-
Add a capture block to
site/screenshots.js:- Write a
captureFeatureName(page)async function that navigates to the right UI state - Add
await shot(page, 'feature-name', captureFeatureName);to therun()function, in the same order as the HTML row
- Write a
-
Run the screenshot script for the new capture:
cd site && node screenshots.js --only feature-name -
Commit all three files:
git add site/index.html site/screenshots.js site/assets/screenshots/feature-name.png git commit -m "docs: add [feature name] to brochure"
Process: Feature removed
- Delete the feature's
.feature-rowblock fromsite/index.html - Recheck alternating pattern — renumber remaining rows if needed
- Delete the
capture*function andshot()call fromsite/screenshots.js - Delete the PNG from
site/assets/screenshots/ - Commit
Process: Feature changed (copy update only)
- Update the heading and description in the relevant
.feature-rowinsite/index.html - Re-run the screenshot if the UI changed visually:
cd site && node screenshots.js --only feature-name - Commit
Process: New RPG system added
- Update the system support strip in
site/index.html:<!-- Before (Shadowdark only): --> <p>Currently: Shadowdark RPG · Next: based on demand</p> <!-- After (example with Cairn added): --> <p>Currently: Shadowdark RPG · Cairn · More based on demand</p> - Commit
Tone guidelines
Write feature descriptions for players and DMs, not developers.
- ✓ "Everyone rolls. The tracker takes the party's highest result."
- ✗ "The server computes max(party_rolls) and compares to the enemy roll."
Keep headings punchy and short. Keep descriptions to two sentences max.