From d64c581516c02702ec28e5d2304330d7b035235d Mon Sep 17 00:00:00 2001 From: m3tam3re Date: Mon, 11 May 2026 18:59:49 +0200 Subject: [PATCH] refactor: mkOpencodeSkills -> mkSkills --- .beads/issues.jsonl | 1 - modules/home-manager/coding/agents/claude-code.nix | 2 +- modules/home-manager/coding/agents/default.nix | 2 +- .../home-manager/coding/agents/shared/shared-options.nix | 6 +++--- 4 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 .beads/issues.jsonl diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl deleted file mode 100644 index 5fe3b92..0000000 --- a/.beads/issues.jsonl +++ /dev/null @@ -1 +0,0 @@ -{"id":"nixpkgs-ng1","title":"Configure agent git identity in nixpkgs repo","description":"Git commits are using p@m3ta.dev instead of m3ta-chiron@agentmail.to. The GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL environment variables are not set in this environment. Need to configure the agent git identity for this repository following the pattern in AGENTS.md","status":"open","priority":2,"issue_type":"task","owner":"p@m3ta.dev","created_at":"2026-04-27T18:16:17Z","created_by":"m3tm3re","updated_at":"2026-04-27T18:16:17Z","dependency_count":0,"dependent_count":0,"comment_count":0} diff --git a/modules/home-manager/coding/agents/claude-code.nix b/modules/home-manager/coding/agents/claude-code.nix index f564927..a549afb 100644 --- a/modules/home-manager/coding/agents/claude-code.nix +++ b/modules/home-manager/coding/agents/claude-code.nix @@ -79,7 +79,7 @@ # Skills (merged from personal AGENTS repo + optional external skills) home.file.".claude/skills" = mkIf (cfg.agentsInput != null) { - source = cfg.agentsInput.lib.mkOpencodeSkills { + source = cfg.agentsInput.lib.mkSkills { inherit pkgs; customSkills = "${cfg.agentsInput}/skills"; externalSkills = shared.mapExternalSkills cfg.externalSkills; diff --git a/modules/home-manager/coding/agents/default.nix b/modules/home-manager/coding/agents/default.nix index 8e44f25..58797bb 100644 --- a/modules/home-manager/coding/agents/default.nix +++ b/modules/home-manager/coding/agents/default.nix @@ -30,7 +30,7 @@ in { }; config = mkIf (cfg.agentsInput != null) { - home.file.".agents/skills".source = cfg.agentsInput.lib.mkOpencodeSkills { + home.file.".agents/skills".source = cfg.agentsInput.lib.mkSkills { inherit pkgs; customSkills = "${cfg.agentsInput}/skills"; externalSkills = shared.mapExternalSkills cfg.externalSkills; diff --git a/modules/home-manager/coding/agents/shared/shared-options.nix b/modules/home-manager/coding/agents/shared/shared-options.nix index 5bf978d..1b58f77 100644 --- a/modules/home-manager/coding/agents/shared/shared-options.nix +++ b/modules/home-manager/coding/agents/shared/shared-options.nix @@ -54,9 +54,9 @@ in { }); default = []; description = '' - External skill sources passed to mkOpencodeSkills. + External skill sources passed to mkSkills. Each entry maps directly to an element of the externalSkills - list accepted by the AGENTS flake's lib.mkOpencodeSkills. + list accepted by the AGENTS flake's lib.mkSkills. ''; example = literalExpression '' [ @@ -66,7 +66,7 @@ in { ''; }; - # Helper to map externalSkills from module config to mkOpencodeSkills format. + # Helper to map externalSkills from module config to mkSkills format. mapExternalSkills = cfgEntries: map ( entry: