-
Notifications
You must be signed in to change notification settings - Fork 0
Home
rharper105 edited this page Apr 8, 2026
·
2 revisions
Extract the conventions, constraints, and architectural truths your AI coding agents keep missing.
npx sourcebook initGenerates CLAUDE.md and AGENTS.md — structured context files that work with Claude Code, Cursor, GitHub Copilot, OpenAI Codex, and Windsurf.
- Changelog — version history and release notes
- How It Works — what sourcebook scans and how output is generated
- Output Formats — CLAUDE.md, AGENTS.md, .cursorrules, copilot-instructions.md
- Commands — init, update, diff, watch, ask, serve
# Generate context files for your repo
npx sourcebook init /path/to/your/repo
# Re-analyze while preserving your manual edits
npx sourcebook update
# Preview what would change
npx sourcebook diff
# Watch for changes and auto-update
npx sourcebook watch