Skip to content

refactor(skills): use defaultLocalTargets from agent-skills-nix#141

Merged
ryoppippi merged 1 commit intomainfrom
refactor/agent-skills-default-targets
Feb 5, 2026
Merged

refactor(skills): use defaultLocalTargets from agent-skills-nix#141
ryoppippi merged 1 commit intomainfrom
refactor/agent-skills-default-targets

Conversation

@ryoppippi
Copy link
Copy Markdown
Contributor

@ryoppippi ryoppippi commented Feb 5, 2026

Summary

  • Replace manual localTargets definition with agentLib.defaultLocalTargets
  • Override only the structure to use symlink-tree instead of copy-tree
  • Update agent-skills-nix to latest version (2026-02-04)
  • Skills now install to both .agents/skills and .claude/skills

Test plan

  • Run nix develop and verify skills install to both directories
  • Verify skills are symlinked to nix store

Summary by cubic

Refactor skills target configuration to use agentLib.defaultLocalTargets with symlink-tree, reducing custom Nix code. Skills now install to both .agents/skills and .claude/skills, with docs updated.

  • Refactors

    • Replace manual localTargets with agentLib.defaultLocalTargets and override structure to "symlink-tree".
    • Update CLAUDE.md to reflect both skills directories.
  • Dependencies

    • Bump agent-skills-nix to the latest revision (2026-02-04).

Written for commit 7971799. Summary will update on new commits.

- Replace manual localTargets definition with agentLib.defaultLocalTargets
- Override only the structure to use symlink-tree instead of copy-tree
- Update agent-skills-nix to latest version (2026-02-04)
- Skills now install to both .agents/skills and .claude/skills
Copilot AI review requested due to automatic review settings February 5, 2026 07:48
@ryoppippi ryoppippi merged commit cd86010 into main Feb 5, 2026
21 checks passed
@ryoppippi ryoppippi deleted the refactor/agent-skills-default-targets branch February 5, 2026 07:49
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request refactors the agent skills configuration to use the defaultLocalTargets from the agent-skills-nix library, reducing code duplication and improving maintainability. The update also includes the latest version of agent-skills-nix from February 4, 2026.

Changes:

  • Replaced manual localTargets definition with agentLib.defaultLocalTargets and override only the structure field to use "symlink-tree"
  • Updated agent-skills-nix dependency to version 2e53d1a (2026-02-04)
  • Updated documentation to reflect that skills install to both .agents/skills/ and .claude/skills/

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
flake.nix Refactored localTargets to use library defaults with structure override via mapAttrs
flake.lock Updated agent-skills-nix dependency to latest version (2026-02-04)
CLAUDE.md Updated documentation to show both skill installation directories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants