Skip to content

[Bug]: Core skills get deleted when preset is removed #3928

Description

@nicolehaugen

Bug Description

When you remove a preset that override's core commands/skills, the corresponding .github/skills files are deleted - instead, core's skills should still be retained.

Steps to Reproduce

Repro:

1.) Add pirate speak preset that overrides all the core's commands (for example use the /speckit-preset plugin and prompt to add the preset)
2.) Open the .github\skills folder for your project, and validate the pirate speak skills that are generated
3.) Remove the pirate speak preset (for example use the /speckit-preset plugin and prompt to remove it)
4.) Look at the contents of the .github\skills folder again:

  • Expected - All of the core skills should still exist
  • Actual - All of the core skills are deleted with removing the pirate speak preset

It seems the only way to fix this is to use project init again, to rescaffold the core skills which isn't desirable.

Expected Behavior

All core skills should still be retained.

Actual Behavior

All core skills get deleted

Specify CLI Version

0.15.0

AI Agent

GitHub Copilot

Operating System

Windows 11

Python Version

3.12.10

Error Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions