Skip to content

fix(build): stop the legacy cursor-rules installer from writing to ~/.claude/skills - #71

Merged
pekral merged 1 commit into
masterfrom
fix/stop-global-skill-install
Nov 21, 2026
Merged

pekral merged 1 commit into
masterfrom
fix/stop-global-skill-install

Conversation

@pekral

@pekral pekral commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • vendor/bin/cursor-rules install --editor=claude always adds $HOME/.claude/skills as a skills target (InstallerPath::appendHomeSkillPathForEditor() in pekral/cursor-rules). No flag enables it, so it cannot be opted out.
  • Every composer build that ran the installer copied the package's skills into the user's global skills directory. Those copies shadow the newer project-level skills shipped by pekral/ai-olympus, so Claude Code loads stale instructions.
  • This PR removes the installer step from the composer scripts. The rest of the build script is unchanged.

Evidence

On 2026-11-21 at 11:10:59 a composer build in arch-app-services printed Cursor rules installed (281 files, 0 pruned). and rewrote 63 skill directories in ~/.claude/skills at the same second.

Test plan

  • composer validate --no-check-all --no-check-publish --no-check-lock passes.
  • composer build was not run locally; CI covers the remaining checks.

….claude/skills

vendor/bin/cursor-rules install --editor=claude always adds $HOME/.claude/skills as a skills target (InstallerPath::appendHomeSkillPathForEditor()), with no opt-in flag. Every composer build therefore copied the package's skills into the user's global skills directory, where they shadow the newer project-level skills shipped by pekral/ai-olympus. Remove the installer step from the composer scripts.
@pekral pekral added the bug Something isn't working label Nov 21, 2026
@pekral
pekral marked this pull request as ready for review November 21, 2026 19:12
@pekral
pekral merged commit ad50d06 into master Nov 21, 2026
2 checks passed
@pekral
pekral deleted the fix/stop-global-skill-install branch November 21, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant