Skip to content

fix: add missing name field to 8 skill frontmatter - #317

Merged
yvonnedevlinrh merged 1 commit into
unbound-force:mainfrom
yvonnedevlinrh:fix/309-skill-name-frontmatter
Jul 1, 2026
Merged

yvonnedevlinrh merged 1 commit into
unbound-force:mainfrom
yvonnedevlinrh:fix/309-skill-name-frontmatter

Conversation

@yvonnedevlinrh

@yvonnedevlinrh yvonnedevlinrh commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add the required name field to YAML frontmatter for 8 skills that were not discoverable by OpenCode's skill tool. OpenCode's skill discovery requires both name and description fields to register a skill as available. Without name, these skills were invisible — commands that depend on them (notably /review-council, /review-pr, /unleash) failed with "Skill not found" when attempting to load pre-flight.

The root cause is that these 8 skills were scaffolded before OpenCode enforced the name frontmatter requirement. The 4 OpenSpec-originated skills (openspec-apply-change, openspec-archive-change, openspec-explore, openspec-propose) already had name and were unaffected.

What's included

File Change
.opencode/skills/always-on-guidance/SKILL.md Add name: always-on-guidance
.opencode/skills/forge-coordination/SKILL.md Add name: forge-coordination
.opencode/skills/forge-global/SKILL.md Add name: forge-global
.opencode/skills/learning-systems/SKILL.md Add name: learning-systems
.opencode/skills/pre-flight/SKILL.md Add name: pre-flight
.opencode/skills/replicator-cli/SKILL.md Add name: replicator-cli
.opencode/skills/system-design/SKILL.md Add name: system-design
.opencode/skills/testing-patterns/SKILL.md Add name: testing-patterns
internal/scaffold/assets/opencode/skills/pre-flight/SKILL.md Add name: pre-flight (scaffold copy, kept in sync)

Only pre-flight has a scaffold source in this repo (embedded in the binary via internal/scaffold/assets/). The other 7 are replicator-scaffolded skills with no embedded copy here.

Test verification

TestEmbeddedAssets_MatchSource PASS (live and scaffold pre-flight copies match)
TestAssetPaths_MatchExpected PASS (embedded asset manifest unchanged)
TestCanonicalSources_AreEmbedded PASS (all canonical sources accounted for)
go test ./... (excl. sandbox) PASS (19/19 packages)

Related issues

Issue Repo Purpose
#309 unbound-force/unbound-force This fix
replicator#28 unbound-force/replicator Fix 7 skill templates at scaffold source
#316 unbound-force/unbound-force Propagate fix to downstream repos via uf init + replicator init
#315 unbound-force/unbound-force Delete stray internal/scaffold/.opencode/skills/ directory

Fixes #309

Signed-off-by: Yvonne Devlin [email protected]
Assisted-by: OpenCode (claude-opus-4-6)

Add required name field to YAML frontmatter for 8 skills that were
not discoverable by OpenCode's skill tool. Without name, these
skills were invisible to commands like /review-council, /review-pr,
and /unleash that depend on the pre-flight skill.

Affected skills: always-on-guidance, forge-coordination,
forge-global, learning-systems, pre-flight, replicator-cli,
system-design, testing-patterns.

Both the live copy and the scaffold source for pre-flight are
updated to keep TestEmbeddedAssets_MatchSource passing.

Fixes unbound-force#309

Assisted-by: OpenCode (claude-opus-4-6)
Signed-off-by: Yvonne Devlin <[email protected]>

@em-redhat em-redhat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, well-scoped bug fix. Adds the required name field to YAML frontmatter for all 8 affected skills, keeping the scaffold copy of pre-flight in sync. All name values match their containing directory names per OpenCode's documented requirement. All CI checks pass. No findings at any severity level.

Fixes #309

This review was generated by /review-pr (AI-assisted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done ✔️

Development

Successfully merging this pull request may close these issues.

bug: 8 skills missing required name field in frontmatter — not discoverable by OpenCode

2 participants