[PR #6255] chore: update INVALID_DIRS to include plural 'skills' directory #11803

Closed
opened 2026-02-16 18:16:44 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6255

State: closed
Merged: Yes


Add skills/ to invalid OpenCode config directories list to prevent common plural naming mistake.

OpenCode uses singular directory names (skill/, agent/, command/, plugin/, tool/) for now.

Just in case people coming from other coding agents and miss the difference and get frustrated trying to get skills working. This will help them fail fast.

https://opencode.ai/docs/skills/

Testing

Before: no warning

➜ opencode

After

➜ bun dev 
$ bun run --cwd packages/opencode --conditions=browser src/index.ts
^[[I^[[I^[[IDirectory "skills" in /Users/connorads/git/opencode/packages/opencode/.opencode is not valid. Rename the directory to "skill" or remove it. This is a common typo.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6255 **State:** closed **Merged:** Yes --- Add `skills/` to invalid OpenCode config directories list to prevent common plural naming mistake. [OpenCode uses singular directory names (skill/, agent/, command/, plugin/, tool/) for now](https://github.com/sst/opencode/pull/6065#issuecomment-3688120990). Just in case people coming from other coding agents and miss the difference and get frustrated trying to get skills working. This will help them fail fast. https://opencode.ai/docs/skills/ ### Testing Before: no warning ❌ ``` ➜ opencode ``` After ✅ ``` ➜ bun dev $ bun run --cwd packages/opencode --conditions=browser src/index.ts ^[[I^[[I^[[IDirectory "skills" in /Users/connorads/git/opencode/packages/opencode/.opencode is not valid. Rename the directory to "skill" or remove it. This is a common typo. ```
yindo added the pull-request label 2026-02-16 18:16:44 -05:00
yindo closed this issue 2026-02-16 18:16:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11803