Skip to content

Commit 5aaced3

Browse files
jbouderclaude
andcommitted
Move the Nebari skill to .agents/skills with a .claude symlink
Store the registry-installed skill at frontend/.agents/skills so it is agent-agnostic, and track frontend/.claude/skills as a symlink to it so Claude Code (and shadcn re-syncs, which target .claude/skills) still find it. Only the skills directory is linked so per-directory settings.local.json files stay out of the tracked tree. Generalize the .gitignore rules to **/.claude/* and **/.agents/*; the previous .claude/* pattern was root-anchored and never applied to frontend/.claude/. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent b87db2d commit 5aaced3

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

.gitignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,15 @@ dist/
6868
go.work
6969
go.work.sum
7070

71-
# Claude
71+
# AI agents (any directory level)
7272
CLAUDE.md
73-
.claude/*
74-
# Keep registry-installed Claude skills (e.g. frontend/.claude/skills/nebari-ui)
75-
!.claude/skills/
73+
**/.claude/*
74+
**/.agents/*
75+
# Keep registry-installed agent skills (e.g. frontend/.agents/skills/nebari-ui).
76+
# Claude Code reads .claude/skills, so frontend/.claude/skills is a symlink to
77+
# ../.agents/skills; the symlink itself is tracked.
78+
!**/.agents/skills/
79+
!**/.claude/skills
7680

7781
# Git worktrees
7882
.worktrees/
File renamed without changes.

frontend/.claude/skills

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../.agents/skills

0 commit comments

Comments
 (0)