2.home-manager/tests/modules/programs/claude-code/skills-dir.nix
Austin Horstman 91be7cce76 claude-code: fix skills implementation
Claude skills are only found when using `SKILL.md` entrypoints.
Attribute names should be used for the directory structure, not the
filename.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-19 14:00:06 -06:00

14 lines
356 B
Nix

{
programs.claude-code = {
enable = true;
skillsDir = ./skills;
};
nmt.script = ''
assertFileExists home-files/.claude/skills/test-skill/SKILL.md
assertLinkExists home-files/.claude/skills/test-skill/SKILL.md
assertFileContent \
home-files/.claude/skills/test-skill/SKILL.md \
${./skills/test-skill/SKILL.md}
'';
}