claude-code: added 'skills' option to specify skills from filesystem

This commit is contained in:
t-monaghan 2025-11-25 13:45:10 +11:00 committed by Austin Horstman
parent a26b74229f
commit 6aff254343
11 changed files with 169 additions and 1 deletions

View file

@ -38,6 +38,12 @@
test-hook = "test content";
};
hooksDir = ./hooks;
# assert fail: cannot set skills and skillsDir at the same time.
skills = {
test-skill = "test content";
};
skillsDir = ./skills;
};
test.asserts.assertions.expected = [
@ -46,5 +52,6 @@
"Cannot specify both `programs.claude-code.agents` and `programs.claude-code.agentsDir`"
"Cannot specify both `programs.claude-code.commands` and `programs.claude-code.commandsDir`"
"Cannot specify both `programs.claude-code.hooks` and `programs.claude-code.hooksDir`"
"Cannot specify both `programs.claude-code.skills` and `programs.claude-code.skillsDir`"
];
}