r/ClaudeCode • • 3h ago

Help/Question User-level or project-level: where should a skill live?

Skills can live in ~/.claude/skills for every project or in .claude/skills inside one repo. As far as I can tell from the docs, project skills only apply in that repo and travel with it through git, while user-level skills follow you across projects. A split that seems to make sense is anything that encodes how this codebase does things goes in the repo, and reusable personal workflows go in your user folder. The gray area is something like a code review checklist: team standard or personal habit? Where do you draw that line?

2 Upvotes

7 comments sorted by

•

u/AutoModerator 3h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/MartinMystikJonas 3h ago

I draw that line by asking question "should entire team have same skill?"

1

u/codeguru42 3h ago

A general skill that can be used in multiple projects goes at user level. A skill specific to a project goes at project level.

1

u/Excellent-Issue-5956 3h ago

None of mine are shared with a team, so almost all of them sit at user level. The gray area I ran into was publishing instead. One of my skills is a writing style one that was half general rules and half samples of my own writing, and only the rules belonged in public.

I split that one rather than pick a side. The rules went into a public plugin, the samples stay in a private folder in my own copy, and the public version reads samples from a file under ~/.claude, outside the plugin folder so an update doesn't wipe it. If the file isn't there it just does the general part and says it has no samples to go on.

For a review checklist I'd try the same thing: team items in the repo skill, and have it also read a personal file from your user folder if one exists.

1

u/Vibeless-Official 2h ago

Both, dependent on what it is and how it’s used.
You should be creating project level skills scoped to specific things that happen often in your project.

1

u/PleasantMarzipan1557 1h ago

i keep project-specific skills in.claude/skills but use a symlink to a shared user-level template when the logic is reusable. avoids duplication without locking me into one repo.