Skip to content

feat(skills): add /sync-website editorial-sync skill (Phase 3)#401

Merged
dfattal merged 1 commit into
mainfrom
feat/sync-website-skill
Jun 3, 2026
Merged

feat(skills): add /sync-website editorial-sync skill (Phase 3)#401
dfattal merged 1 commit into
mainfrom
feat/sync-website-skill

Conversation

@dfattal
Copy link
Copy Markdown
Collaborator

@dfattal dfattal commented Jun 3, 2026

Phase 3 of the website org-sync system (design: displayxr-website/docs/org-sync.md).

The mechanical layer (versions, demo cards, repo list, extension names) already auto-syncs to displayxr-website via its sync-org.yml (direct-commit). This adds the editorial half: a hub-homed /sync-website skill that surfaces the class-B narrative drift and authors prose.

What it does

  • Clones displayxr-website to a temp dir (parameterized, not cwd-detecting — like /dxr-release).
  • Detects gaps: new ADRs, unfeatured repos, missing extension cards, closed milestones.
  • Authors tasteful prose into the hand-written TSX (roadmap.ts, ecosystem.ts, architecture/page.tsx, extensions/page.tsx), never the generated JSON.
  • Validates (tsc/lint/build) and opens a PR — prose warrants a human glance, unlike mechanical facts.
  • --dry-run reports gaps and changes nothing.

Convergence design

Repos/extensions self-correct (grep vs authored TSX). ADRs don't — the architecture page summarizes decisions in product terms and never cites ADR numbers, so a naive check re-flags all of them forever. So the skill keeps a lib/data/editorial-baseline.json reviewed-set: first run reconciles the backlog, subsequent runs see only the delta. Verified end-to-end (23 ADRs → fold → 0 → a new ADR surfaces).

Smoke-tested against live website — detection already finds two genuine gaps (XR_EXT_atlas_capture, XR_EXT_workspace_file_dialog not on /extensions).

Files

  • .claude/skills/sync-website/SKILL.md (new), symlinked globally via scripts/link-dxr-skills.sh, noted in CLAUDE.md. Tooling/docs only — no runtime code.

🤖 Generated with Claude Code

Hub-homed skill (alongside /dxr-release) that handles the class-B
editorial half of the website org-sync: surfaces new ADRs / repos /
extensions / closed milestones and authors the matching roadmap /
architecture / ecosystem prose into displayxr-website's hand-written TSX,
opening a PR (prose warrants review; mechanical facts direct-commit via
sync-org.yml).

- Operates on a temp clone of displayxr-website; does not assume cwd.
- Detection: repos/extensions/demos self-correct via grep vs authored TSX;
  ADRs converge against a skill-owned lib/data/editorial-baseline.json
  reviewed-set (the architecture page never cites ADR numbers, so a naive
  check would re-flag all of them forever). Verified: first run = full
  backlog, then delta-only.
- Registered in link-dxr-skills.sh + symlinked globally; documented in
  CLAUDE.md. Design: displayxr-website/docs/org-sync.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dfattal dfattal merged commit 9a5b85a into main Jun 3, 2026
8 checks passed
@dfattal dfattal deleted the feat/sync-website-skill branch June 3, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant