fix(cli): restore built-in skill registration#8919
Merged
alex-alecu merged 4 commits intomainfrom Apr 15, 2026
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (4 files)
Reviewed by gpt-5.4-2026-03-05 · 351,503 tokens |
imanolmzd-svg
approved these changes
Apr 15, 2026
marius-kilocode
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
kilo-configbuilt-in skill stopped loading after the upstream OpenCode v1.3.5 merge (6cf72ef). The Effect migration in that commit refactored the skill service internals, and the Kilo-specific loop that seeded built-in skills into state was not preserved. Users asking about Kilo configuration no longer got the skill that teaches the agent how Kilo settings work.What changed
Re-added the registration loop that seeds built-in skills into the skill service before filesystem discovery runs. The import and constants were already in place — only the loop that actually writes them into state was missing. Built-in skills are registered first so that any user-created skill with the same name naturally takes priority. Existing tests were updated to filter out built-in skills when counting filesystem-discovered skills, making them resilient to future built-in additions. A new regression test verifies built-in skills load correctly and can be overridden.
How to test
Start the CLI
bun dev, open a session, and ask "how do I configure Kilo?" — the agent should use thekilo-configskill.