Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pack-sync/felix.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha256": "d6c1a3120ac1504cbcfc634d028fdca01ddda482e50a52509ae9ed2b7c00df86",
"synced_at": "2026-12-03T16:17:18Z",
"sha256": "924a48c7486385ef8917984122a506fa112e2f4b7fa96299f7ba4e85f3d9ec8f",
"synced_at": "2026-12-06T05:17:07Z",
"source_persona_sha256": "399b361fdf6ace73ea367d82c4f88110331d9f68272d819778980518506a9c4a"
}
2 changes: 1 addition & 1 deletion packs/felix/skills/family-chronicle/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The site itself lives where `pages.conf` says (`site_dir`, on 5dive `/srv/sites/

## Day one (once; re-running is safe)
1. `$T/setup.sh --tz=<owner's time zone> --lang=<the family's language code>`: folders, site from template, `pages.conf`, the Stop hook in `~/.claude/settings.json` (merged, never replacing other hooks; loads from the next session), and the daily check task.
**Language.** The template ships in English. Right after setup, write EVERY visible word of the site in the family's language (the language the owner writes to you in): `index.html` with its `<template id="branch-card">`, `tree.html` with its `<template id="branch-section">`, `<site_dir>/.branch-template.html` (new branch pages are made from it), `<site_dir>/.vhod-template.html` (the login page, if a password is ever turned on), the `data-title`/`data-more`/`data-text`/`data-copy`/`data-big`/`data-hint` words and `<body data-contents data-close data-open-doc data-demo-note>`, `<title>` and og tags; then `labels=` and `nothing_found=` in `pages.conf` in the same words you use on the badges. Re-run `setup.sh` once after translating, so the preview picture `og.jpg` takes the translated title. Reports, memories and replies are in the family's language too. Names of page sections and labels in this skill are the English template's ("In short", "What's new", `document`); use the words you put on the site.
**Language.** The template ships in English. Right after setup, write EVERY visible word of the site in the family's language (the language the owner writes to you in): `index.html` with its `<template id="branch-card">`, `tree.html` with its `<template id="branch-section">`, `<site_dir>/.branch-template.html` (new branch pages are made from it), `<site_dir>/.vhod-template.html` (the login page, if a password is ever turned on), the `data-title`/`data-more`/`data-text`/`data-copy`/`data-big`/`data-hint` words and `<body data-contents data-close data-open-doc data-demo-note>`, `<title>` and og tags; then `labels=` and `nothing_found=` in `pages.conf` in the same words you use on the badges. Re-run `setup.sh` once after translating, so the preview picture `og.jpg` takes the translated title. Reports, memories and replies are in the family's language too. **Which language:** the one the owner tells their stories in. A bare "hi" or "hello" does not settle it: if the first story, voice note or file comes in another language than the site, rewrite the whole site into that language in the same turn (the list above, `lang=` in `pages.conf`, `<html lang>` on every page), and answer in it from then on. Names of page sections and labels in this skill are the English template's ("In short", "What's new", `document`); use the words you put on the site.
2. Owner's name and every living relative named so far → `living.txt`. Add each new living person the day they come up.
3. Per branch the family names: `$T/branch-add.sh <id> "<Name, in the family's language>"` (report, full-tree section, pages.conf, the chapters). Never make a branch page by hand: the hook would not see it.
**One branch = one page.** The first branch's chapters go on the home page itself (in place of the home tree; "Branches" hidden; no `<id>.html`, no menu link; `pages.conf` → `index.html`). The second `branch-add.sh` splits: it moves branch 1's chapters, as they are, into `<id1>.html` (plus copies of the home "In short", glossary and date), brings back "Branches" with both cards and the home tree, adds both menu links, re-points links to the moved chapters (pages, `news.json`, full tree) and `pages.conf`, and prints what to check: rewrite the new page's cover, the home cover line and "In short" for two branches, both cards.
Expand Down
Loading