Skip to content

Run llm-ide-rules explode in bootstrap_worktree - #115

Open
iloveitaly wants to merge 1 commit into
masterfrom
cursor/bootstrap-worktree-explode-a344
Open

iloveitaly wants to merge 1 commit into
masterfrom
cursor/bootstrap-worktree-explode-a344

Conversation

@iloveitaly

@iloveitaly iloveitaly commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Motivation

Exploded IDE rule files (Cursor, Claude, Copilot, etc.) are gitignored. A new git worktree therefore does not get those files from checkout, so agents in the worktree miss the project instructions until they are generated locally.

Description

just bootstrap_worktree now runs llm-ide-rules explode in the newly created worktree after direnv allow (so mise/extras tooling is on PATH). That regenerates the gitignored rule files from instructions.md.

Screenshots / Test

Verified by creating a git worktree at /tmp/pst-wt-explode and running just bootstrap_worktree:

  • Recipe includes llm-ide-rules explode
  • Explode printed Created 13 rules and 12 commands across 5 directories
  • .cursor/rules/*.mdc, .claude/rules, .github/instructions, and AGENTS.md were generated in the worktree

Later js_setup failed in this environment on a Node engines mismatch (expected ^24.19.0, got v22.14.0). That is independent of this change; explode and dev_generate_hosts completed first.

Links

Open in Web Open in Cursor 

Exploded IDE rule files are gitignored, so each new worktree needs them generated locally from instructions.md.

Co-authored-by: Michael Bianco <mike@mikebian.co>
@iloveitaly
iloveitaly marked this pull request as ready for review September 7, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants