fix: add missing name field to 7 scaffolded skill templates#30
Merged
sonupreetam merged 1 commit intoJun 30, 2026
Merged
Conversation
The 7 skill templates embedded in internal/agentkit/content/skills/ were missing the required name field in their YAML frontmatter. OpenCode's skill discovery requires both name and description fields to register a skill. Without name, skills scaffolded by replicator init were invisible to the skill tool. Add name: <directory-name> as the first frontmatter field in each SKILL.md template. Add TestSkillTemplates_HaveNameField regression test that walks the embedded filesystem and asserts every SKILL.md has a name field matching its directory name. Closes unbound-force#28 Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Yvonne Devlin <ydevlin@redhat.com>
4a2d683 to
7742cf4
Compare
This was referenced Jul 1, 2026
Merged
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.
Summary
The 7 skill templates embedded in
internal/agentkit/content/skills/were missing the requirednamefield in their YAML frontmatter. OpenCode's skill discovery requires bothnameanddescriptionfields to register a skill. Withoutname, skills scaffolded byreplicator initwere invisible to theskilltool and could not be loaded.Changes
7 SKILL.md templates — added
name: <directory-name>as the first frontmatter field:always-on-guidance/SKILL.mdname: always-on-guidanceforge-coordination/SKILL.mdname: forge-coordinationforge-global/SKILL.mdname: forge-globallearning-systems/SKILL.mdname: learning-systemsreplicator-cli/SKILL.mdname: replicator-clisystem-design/SKILL.mdname: system-designtesting-patterns/SKILL.mdname: testing-patternsRegression test — added
TestSkillTemplates_HaveNameFieldininternal/agentkit/agentkit_test.gothat walks the embedded filesystem and asserts every SKILL.md has anamefield matching its directory name.Context
Discovered via unbound-force/unbound-force#309. The live copies in
unbound-force/unbound-forceare being fixed separately — this PR fixes the replicator scaffold source so futurereplicator initruns produce discoverable skills.Verification
make checkpasses (vet + all tests)Closes #28
Signed-off-by: Yvonne Devlin ydevlin@redhat.com
Assisted-by: OpenCode (claude-opus-4-6)