signalshell

Refraction Sync — Documentation skill for Claude Code

Documentation community

Update Refraction documentation to reflect recent code changes.

How to install Refraction Sync

Installs to ~/.claude/commands/signalshell-ghostline-refraction-sync.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/signalshell/ghostline/HEAD/.claude/commands/refraction-sync.md -o ~/.claude/commands/signalshell-ghostline-refraction-sync.md

Restart Claude Code, or start a new session, for it to be picked up.

What Refraction Sync does

Update Refraction documentation to reflect recent code changes. Code is authoritative — the docs follow.

Steps

  1. Run `git diff HEAD~1 HEAD --name-only` (or `git diff --staged --name-only` if reviewing staged changes) to see what changed.

  2. For each changed file, determine which Refraction doc(s) are affected:

    • Changes to system boundaries or external integrations → update docs/system.md
    • Changes to a container's interfaces, technology, or responsibilities → update `docs/contain

Alternatives in Documentation

  • OpenAI Docs — Provide authoritative guidance from OpenAI developer documentation 14.6k ★
  • Repo Recap — Generate a structured recap of the repository state: open PRs, open issues, recent releases, and executive sum 11.9k ★
  • Documentation Sync — Check if documentation matches the current code state 5.8k ★

Full documentation available on GitHub

View Source Repository