Skip to content

Commit eb82d16

Browse files
joaoblasquesclaude
andcommitted
Fix skill name collision: rename 25 colliding skills with -oc suffix
Task reviewer found the "informational" ~/.claude/skills/ overlap noted in the Task 1 report was actually a real bug: on a skill-name collision, OpenCode drops one registration entirely rather than shadowing it, so 25 of 35 deployed skills (not 27 — recount corrected) could silently run the pre-migration Claude-Code-specific text instead of the Phase 0-2 genericized version, with no warning outside --log-level DEBUG. Investigated opencode.ai/docs/skills, opencode.ai/docs/config, and GitHub issue anomalyco/opencode#12604: no config flag exists to disable ~/.claude/skills/ auto-discovery or control precedence (open feature request, unresolved). Docs' own remedy: "Ensure skill names are unique across all locations." Confirmed name: frontmatter must match the directory name exactly, so both had to be renamed together. Renamed the 25 colliding skills (dir + name: frontmatter) with a -oc suffix in opencode-config/skills/, re-deployed to ~/.config/opencode/skills/ from the fixed source. Verified: 0 "duplicate skill name" WARNs (was 25), init count 104->129 (both copies now register distinctly), opencode debug skill shows all 25 *-oc entries resolving to the deployed path with content matching the migrated source. ~/.claude/skills/ untouched throughout (read-only checks only). Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LTgdTnfj52bvJuTc5EL3gZ
1 parent 6bd9696 commit eb82d16

48 files changed

Lines changed: 65 additions & 28 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

opencode-config/skills/agent-watchdog/SKILL.md renamed to opencode-config/skills/agent-watchdog-oc/SKILL.md

Lines changed: 1 addition & 1 deletion

opencode-config/skills/agent-watchdog/agents/openai.yaml renamed to opencode-config/skills/agent-watchdog-oc/agents/openai.yaml

File renamed without changes.

opencode-config/skills/airflow-dag-patterns/SKILL.md renamed to opencode-config/skills/airflow-dag-patterns-oc/SKILL.md

Lines changed: 1 addition & 1 deletion

opencode-config/skills/airflow-dag-patterns/resources/implementation-playbook.md renamed to opencode-config/skills/airflow-dag-patterns-oc/resources/implementation-playbook.md

opencode-config/skills/async-python-patterns/SKILL.md renamed to opencode-config/skills/async-python-patterns-oc/SKILL.md

Lines changed: 1 addition & 1 deletion

opencode-config/skills/async-python-patterns/resources/implementation-playbook.md renamed to opencode-config/skills/async-python-patterns-oc/resources/implementation-playbook.md

opencode-config/skills/data-engineer/SKILL.md renamed to opencode-config/skills/data-engineer-oc/SKILL.md

Lines changed: 1 addition & 1 deletion

opencode-config/skills/data-quality-frameworks/SKILL.md renamed to opencode-config/skills/data-quality-frameworks-oc/SKILL.md

Lines changed: 1 addition & 1 deletion

opencode-config/skills/data-quality-frameworks/resources/implementation-playbook.md renamed to opencode-config/skills/data-quality-frameworks-oc/resources/implementation-playbook.md

0 commit comments

Comments
 (0)