feat: update Bob integration to skills-based layout for Bob 2.0
Bob 2.0 replaces the command-based workflow with a skills-based layout.
https://bob.ibm.com/blog/bob-v2-release-announcement
- Switch BobIntegration from MarkdownIntegration to SkillsIntegration
- Update folder/dir from .bob/commands to .bob/skills
- Change extension from .md to /SKILL.md (skills layout)
- Add --skills option (default: True) consistent with Codex pattern
- Update tests to inherit from SkillsIntegrationTests (28 tests pass)
- Bump catalog entry to version 2.0.0 with updated description
Description
Testing
- [x] Tested locally with
uv run specify --help - [x] Ran existing tests with
uv sync && uv run pytest - [x] Tested with a sample project (if applicable)
AI Disclosure
- [ ] I did not use AI assistance for this contribution
- [x] I did use AI assistance (describe below)
Very simple code generated by Bob but verified by me
@mnriem please review, we need to make this work with new Bob... Thankyou so much
As this fundamentally changes the layout for any Bob users what is the migration strategy? This will break them once they adopt a new version of Spec Kit so you need to make sure this goes through a deprecation cycle so they can migrate to the new Bob version. E.g make it an opt-in to the new version of Bob first and then in 2 minor releases (X.Y.Z where Y is minor) you can then remove the non-skill variant
Hi @mnriem this should not break for Bob 1 user cause it was already compatible with skill mode. Still needed this?
Thanks @davidebibm — but I think we're talking about two different layers, and this still needs to change before it can land.
Your point is about Bob the tool — that Bob 1.x can already read the skills layout. My concern is about Spec Kit's generated output: this PR changes what specify writes for the bob integration from .bob/commands/*.md to .bob/skills/speckit-<name>/SKILL.md. Any project someone already initialized has .bob/commands/*.md on disk. When they upgrade Spec Kit and re-init or switch, that layout is orphaned/replaced. That's a breaking change in our contract regardless of whether the Bob app happens to read both directories.
A hard cutover isn't acceptable here — we shouldn't catch existing users off guard. This needs to go through a proper deprecation cycle:
- This release: make skills an opt-in and keep the existing
.bob/commandsmarkdown layout as the default. That's real dual-mode —setup()branching between the two layouts, the way Copilot does it — not the--skillsflag as written now. - Next cycle: flip the default to skills, with the legacy layout still available.
- Cycle after that: remove the legacy markdown mode.
As it stands the --skills flag is a no-op: BobIntegration is hardwired to SkillsIntegration and the MarkdownIntegration variant is deleted, so --skills=False still emits skills. There's no path that produces the old layout, so it doesn't actually provide the opt-in it implies.
Can you rework it along those lines — genuine dual-mode with skills opt-in first — so we phase this in without breaking anyone?
Ok, thankyou @mnriem i'll do that
@mnriem Done, hope this is what you are expecting
Please address Copilot feedback. You will need to update the description to reflect the reality
@mnriem Addressed Copilot comments and aligned with main
Please address Copilot feedback and resolve conflicts
@mnriem Solved Copilot fb and rebased to avoid get Copilot feedback on other devs code 👍
@mnriem Solved Copilot fb again
@mnriem Are we sure there will be a Copilor PR without comments at some point? :-)
@davidebibm Yes, eventually. Reviews tend to take a bit longer because it wants all those corner cases addressed, but it does not find them all in one go. Please address the current Copilot feedback
@mnriem Addressed Copilot comments
Please address Copilot feedback
@mnriem Copilot is generating comments even in current main code, should we resolve them without even check if they are really necessary? It starts to be too much to just update old usage of Bob in this repo, we are overcomplicating it a lot
@davidebibm While it may appear to be pedantic at times having it go throug multiple review cycles to address the corner cases has helped tremendously in cutting down in additional bugfixes later on. I realize it feels overbearing at times, but everyone (including myself) have to go through the same cycle
@mnriem Addressed Copilot comments
Please address Copilot feedback. If not applicable please explain why. Note that Copilot integration supports both ways as well. Maybe it can serve as a reference to get this unblocked?
@mnriem Addressed Copilot comment
Please address Copilot feedback. If not applicable, please explain why