feat(opencode): Add inline $skill invocations#22666
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
…eat/15617-inline-skills
|
marked, need this |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
|
This would be a great feature; currently, I can only use one skill at a time. This would be a better way to invoke skills in line using the prompt, rather than just the beginning. @adamdotdevin |
|
I agree - this seems like a sensible (and common across other code agents) solution, that fits in nicely with OpenCode :-) I'm looking forward to this being added! |
|
@magnuslarsen and others who are interested, see #29217, I cleaned up the code and made a new PR |
Issue for this PR
#15617
Type of change
What does this PR do?
This adds inline
$skillsupport to the prompt composer.Typing
$surfaces available skills in autocomplete, and selecting one inserts the skill into the prompt.How did you verify your code works?
bun test test/tool/bash.test.tsbun run typecheckScreenshots / recordings
Checklist