chore(agents): disable global skills
This commit is contained in:
@@ -36,8 +36,7 @@ in
|
|||||||
programs.claude-code = {
|
programs.claude-code = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# One directory per skill, symlinked under ~/.claude/skills.
|
skills = { };
|
||||||
skills = ./skills;
|
|
||||||
|
|
||||||
# Installed under ~/.claude/hooks, referenced by the settings below.
|
# Installed under ~/.claude/hooks, referenced by the settings below.
|
||||||
hooks."agent-sudo-guard.sh" = builtins.readFile ./hooks/agent-sudo-guard.sh;
|
hooks."agent-sudo-guard.sh" = builtins.readFile ./hooks/agent-sudo-guard.sh;
|
||||||
|
|||||||
@@ -1,32 +1,12 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# Global agent skills, placed under the skills directory so they are active in
|
|
||||||
# every project.
|
|
||||||
let
|
let
|
||||||
user = config.user.name;
|
user = config.user.name;
|
||||||
|
|
||||||
# The skills installed globally, as derivations from the skills flake.
|
|
||||||
# grill interviews the operator relentlessly to resolve a plan before building.
|
|
||||||
# design-skill drafts and audits Agent Skills for structural predictability.
|
|
||||||
# wayfinder, research, prototype, slice, and subagents guide work from exploration through implementation tickets and delegation.
|
|
||||||
# implement, test-driven-development, and review guide execution and validation once tickets are ready.
|
|
||||||
skills = with inputs.skills.packages.${pkgs.stdenv.hostPlatform.system}; [
|
|
||||||
grill
|
|
||||||
design-skill
|
|
||||||
research
|
|
||||||
prototype
|
|
||||||
slice
|
|
||||||
subagents
|
|
||||||
implement
|
|
||||||
test-driven-development
|
|
||||||
review
|
|
||||||
];
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = [ inputs.skills.homeModules.default ];
|
home-manager.sharedModules = [ inputs.skills.homeModules.default ];
|
||||||
home-manager.users.${user}.programs.agents.skills = skills;
|
home-manager.users.${user}.programs.agents.skills = [ ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user