Skip to content

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

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

refactor(skills): use defaultLocalTargets from agent-skills-nix#318
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

Use agentLib.defaultLocalTargets and symlink-tree for skills to simplify setup and symlink to the Nix store. Skills now install to both .agents/skills and .claude/skills, and agent-skills-nix is updated to 2026-02-04.

Written for commit 7684476. 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
@ryoppippi ryoppippi requested a review from a team as a code owner February 5, 2026 07:47
Copilot AI review requested due to automatic review settings February 5, 2026 07:47
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 5, 2026

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@318

commit: 7684476

Copy link
Copy Markdown
Contributor

@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 4 files

@ryoppippi ryoppippi merged commit f03b18b into main Feb 5, 2026
24 checks passed
@ryoppippi ryoppippi deleted the refactor/agent-skills-default-targets branch February 5, 2026 07:49
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 PR refactors the agent skills configuration to use the default local targets provided by the agent-skills-nix library, reducing code duplication while maintaining the same behavior. The agent-skills-nix dependency is updated to the latest version (2026-02-04) which provides the defaultLocalTargets configuration.

Changes:

  • Simplified localTargets configuration in flake.nix by using agentLib.defaultLocalTargets with structure override
  • Updated agent-skills-nix dependency to version 2026-02-04
  • Updated documentation to reflect that skills install to both .agents/skills/ and .claude/skills/

Reviewed changes

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

File Description
flake.nix Refactored localTargets to use defaultLocalTargets from agentLib with symlink-tree structure override
flake.lock Updated agent-skills-nix dependency to latest version (2026-02-04)
CLAUDE.md Updated skills documentation to reflect dual-directory installation path
.gitignore Reordered skills directories alphabetically (.agents/skills, .claude/skills)

💡 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