#18234 · @LanternCX · opened Mar 19, 2026 at 12:24 PM UTC · last updated Mar 21, 2026 at 4:07 PM UTC
feat(skill): add built-in using-opencode skill
Score breakdown
Impact
Clarity
Urgency
Ease Of Review
Guidelines
Readiness
Size
Trust
Traction
Summary
This PR adds a built-in using-opencode skill to guide the model when creating OpenCode-native objects, particularly in fresh repositories. It addresses an inconsistency where the model struggles without existing scaffolding. The change is focused and includes tests.
Description
Issue for this PR
Closes #18232
Type of change
- [ ] Bug fix
- [x] New feature
- [ ] Refactor / code improvement
- [ ] Documentation
What does this PR do?
This adds a built-in skill named using-opencode.
The problem this is trying to solve is that OpenCode can already discover skills well, but when it is asked to create OpenCode-native objects in natural language it can still end up guessing where things should go if the repo has no existing scaffolding to imitate.
The change keeps the implementation narrow:
- register
using-opencodeas a built-in skill in the existing skill loader - keep it out of
Skill.dirs()since it is not user-managed content - expose it through the normal skill listing / skill tool path
- add tests to verify discovery and execution
This works because the model now has a built-in OpenCode-specific guidance skill available even in fresh repos, without requiring the user to install anything first.
How did you verify your code works?
Ran in packages/opencode:
bun test test/skill/skill.test.ts test/tool/skill.test.tsbun typecheck
Screenshots / recordings
Not a UI change.
Checklist
- [x] I have tested my changes locally
- [x] I have not included unrelated changes in this PR
Linked Issues
#18232 [FEATURE]: Add a built-in using-opencode skill for OpenCode-native scaffolding
View issueComments
No comments.
Changed Files
packages/opencode/src/skill/builtin/using-opencode/SKILL.md
+43−0packages/opencode/src/skill/index.ts
+8−3packages/opencode/test/skill/skill.test.ts
+23−9packages/opencode/test/tool/skill.test.ts
+37−0