Repo Setup
Set up CLAUDE.local.md so this repo can access the local seminr codebase.
Steps
- •
Check if already configured: Read
CLAUDE.local.mdin the project root. If it exists and has content, show it to the user and ask if they want to reconfigure or keep it. - •
Locate the seminr repo: Check if a sibling
seminrdirectory exists at../seminrrelative to this repo's root. Verify it's a git repo withtest -d ../seminr/.git.- •If found: Tell the user you detected the seminr repo at that absolute path and ask them to confirm.
- •If not found: Ask the user where their local clone of
sem-in-r/seminris. Recommend cloning it as a sibling directory:codecd <parent of seminr-issues> git clone git@github.com:sem-in-r/seminr.git
- •
Worktrees directory: Check if
../seminr-worktrees/exists as a sibling.- •If found: Note it and confirm with the user.
- •If not found: Ask the user if they want to set up a worktrees directory. Recommend creating it as a sibling:
code
mkdir ../seminr-worktrees
- •
Write
CLAUDE.local.md: Once paths are confirmed, write the file using this template (substitute actual absolute paths):
markdown
# CLAUDE local environment ## SEMinR Codebase Local seminr source (for code investigation, git history, running tests): `<SEMINR_PATH>` Worktrees: `<WORKTREES_PATH>` ## Planning Documents Main development queue: @triage.md Other documents (read on demand, not auto-loaded): - `next-release.md` — PRs merged to develop, issues to close on next release - `releases/` — release history, closed issues, archived PRs
If the user opted out of worktrees, omit the Worktrees: line.
- •Verify: Confirm the file was written and show the user a summary of what was configured.