Refraction Implement — Documentation skill for Claude Code
Update code to match Refraction documentation.
How to install Refraction Implement
Installs to ~/.claude/commands/signalshell-ghostline-refraction-implement.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/signalshell/ghostline/HEAD/.claude/commands/refraction-implement.md -o ~/.claude/commands/signalshell-ghostline-refraction-implement.md Restart Claude Code, or start a new session, for it to be picked up.
What Refraction Implement does
Update code to match Refraction documentation. Docs are authoritative — the code follows.
Use this when you have written or updated docs first and want the implementation to catch up. This is the "docs-first" workflow: specify what you want in the architecture docs, then let the agent implement it.
Steps
Run `git diff HEAD~1 HEAD --name-only` (or `git diff --staged --name-only` if reviewing staged changes) to see which doc files changed.
For each changed doc file, determine what the
Alternatives in Documentation
- Doc Co-authoring — Guide users through structured workflow for co-authoring documentation 94.1k ★
- OpenAI Docs — Provide authoritative guidance from OpenAI developer documentation 14.6k ★
- Translate Doc Zh — Translate English documentation to Chinese 5.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Refraction Sync
Update Refraction documentation to reflect recent code changes. Code is authoritative — the docs follow.
05 Implement All
Using {{requirements doc path}} and {{existing implementation path}} as references, build a complete {{platfor
Document Release
Post-ship documentation update — reads all project docs, cross-references the diff, updates README/ARCHITECTUR
Docs
by slunsford - Generates comprehensive documentation that follows project structure, documenting APIs and usag
Document From Brief
Generate documentation (tutorial / how-to / reference / explanation) from a one-paragraph brief. Picks the rig
Refraction Check
Check whether this project's Refraction documentation is consistent with the current code.
Related Agents
Documentation Updater
Audit documentation for staleness, update to match current code, and fill gaps
Example Documentation Updater
Update durable user/developer documentation and scoped agent guidance to match accepted, implemented behavior.
Context Retriever
RAG-in-pipeline context management agent — retrieves relevant documentation, past decisions, library docs, and