Skip to content

fix: preserve unmanaged skill directories during install#2

Open
gebeer wants to merge 1 commit into
trk:mainfrom
gebeer:fix/non-destructive-skill-install
Open

fix: preserve unmanaged skill directories during install#2
gebeer wants to merge 1 commit into
trk:mainfrom
gebeer:fix/non-destructive-skill-install

Conversation

@gebeer
Copy link
Copy Markdown

@gebeer gebeer commented Apr 24, 2026

Summary

This changes Boost skill installation to avoid clearing the entire .agents/skills directory.

Previously, boost:install removed all existing skill directories before copying Boost skills back in. This could delete project-specific or user-created skills that were not owned by ProcessWire Boost.

The new behavior only manages skill directories that exist in Boost-owned source locations:

  • resources/boost/skills/*/SKILL.md
  • selected module-provided Boost skill directories

Unknown skill directories in .agents/skills are left untouched.

Changes

  • Replace destructive .agents/skills clearing with targeted skill sync.
  • Copy/overwrite only desired Boost-managed skill directories.
  • Preserve unmanaged/custom skill directories.
  • Update Agent Skills uninstall behavior to remove only current core Boost skill directories.

Verification

Verified manually in a project by restoring a custom .agents/skills/create-rpb-block skill, running the Boost skill sync from this branch, and confirming the custom skill survived alongside regenerated Boost skills.

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.

1 participant