Skip to content

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

Closed

Description

@yvonnedevlinrh

Summary

8 of 15 skills in .opencode/skills/ are missing the required name field in their YAML frontmatter. OpenCode's skill discovery requires both name and description fields to register a skill as available. Without name, these skills are invisible to the skill tool and cannot be loaded by commands that depend on them.

This was discovered when /review-council attempted to load the pre-flight skill during Code Review Mode Phase 1a and received Skill "pre-flight" not found.

Current State

Skill name field description field Discoverable
always-on-guidance missing present no
forge-coordination missing present no
forge-global missing present no
learning-systems missing present no
pre-flight missing present no
replicator-cli missing present no
system-design missing present no
testing-patterns missing present no
openspec-apply-change present present yes
openspec-archive-change present present yes
openspec-explore present present yes
openspec-propose present present yes
review-context present present yes
speckit-workflow present present yes

Root Cause

The scaffolding templates for these 8 skills were created before OpenCode enforced the name frontmatter requirement. The name field must match the directory name per OpenCode docs:

name must be 1-64 characters, lowercase alphanumeric with single hyphen separators, and match the directory name that contains SKILL.md.

Impact

Commands that instruct agents to load these skills via skill tool will fail:

  • /review-council Phase 1a depends on pre-flight
  • /review-pr Step 4 depends on pre-flight
  • /unleash depends on pre-flight

Fix

Add name: <directory-name> to the frontmatter of all 8 affected skills. Both copies must be updated:

  • .opencode/skills/<name>/SKILL.md (live)
  • internal/scaffold/assets/opencode/skills/<name>/SKILL.md (scaffold source)

Run make test to verify TestEmbeddedAssets_MatchSource passes.

Location

  • Live skills: .opencode/skills/*/SKILL.md
  • Scaffold source: internal/scaffold/assets/opencode/skills/*/SKILL.md

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions