opencode: skill -> skills

The skills option was creating files under ~/.config/opencode/skill/
(singular) but OpenCode documentation only mentions
~/.config/opencode/skills/ (plural). Both work, but using an
undocumented directory can be confusing.

Fixes: https://github.com/nix-community/home-manager/issues/8907
This commit is contained in:
Bob van der Linden 2026-03-15 18:04:18 +01:00 committed by Robert Helgesson
parent 5ae5f8cedf
commit 9bc3ca1230
7 changed files with 26 additions and 26 deletions

View file

@ -18,8 +18,8 @@
};
nmt.script = ''
assertFileExists home-files/.config/opencode/skill/git-release/SKILL.md
assertFileContent home-files/.config/opencode/skill/git-release/SKILL.md \
assertFileExists home-files/.config/opencode/skills/git-release/SKILL.md
assertFileContent home-files/.config/opencode/skills/git-release/SKILL.md \
${./git-release-SKILL.md}
'';
}