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>
14 lines
356 B
Nix
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}
|
|
'';
|
|
}
|