Adds a marked global rules block, project AGENTS.md/CLAUDE.md template, an on-demand lean-review skill, a dry-run-first stdlib installer with backups, and tests using temp homes. README quick start no longer moves ~/.claude; legacy library stays opt-in. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
882 B
882 B
AI development scaffold
Shared instructions for Claude Code and Codex working on this repo (CLAUDE.md imports this file).
Layout
lean/- lean default: global rules block, project template,lean-reviewskill.scripts/lean-install.py- installer (dry-run by default). Tests:python3 -m unittest discover -s tests..agents/,.claude/,.codex/- legacy full library (agents, skills, hooks). Regenerate adapters withpython3 scripts/sync-agent-integrations.py, verify with--check. Do not hand-edit generated files.docs/lean-setup.md- design notes, sources, adopted/rejected patterns.
Rules
- Run the unit tests and
python3 scripts/sync-agent-integrations.py --checkbefore finishing. - Installer tests must use temporary homes only; never touch real
~/.claudeorCODEX_HOME. - Keep the installer stdlib-only. Keep
lean/files short.