refactor: replace epicenter symlinks with npx skills managed copies#109
Merged
refactor: replace epicenter symlinks with npx skills managed copies#109
Conversation
Skills were previously symlinked to a sibling epicenter repo via a two-level chain (.claude/skills → .agents/skills → epicenter). This required epicenter cloned alongside wellcrafted and loaded all 42 skills regardless of relevance. Now uses `npx skills add EpicenterHQ/epicenter --copy` to install only 20 domain-relevant skills as real files directly in .claude/skills/. No sibling directory needed, updatable via `npx skills update`.
Prevents npx skills from polluting the repo if run without --copy flag. The canonical skill files live in .claude/skills/ as real copies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wellcrafted's AI agent skills were previously wired to the Epicenter repo through a two-level symlink chain that required a specific sibling directory layout on every developer's machine. This made the repo impossible to use standalone — cloning wellcrafted without epicenter sitting next to it broke all 42 skill references.
This replaces that fragile setup with
npx skills add EpicenterHQ/epicenter --copy, which installs skill files directly into.claude/skills/as real, committed copies. No symlinks, no sibling directories, no setup ceremony.What changed
.agents/skills,.claude/skills) that pointed to epicenternpx skills addwith--copyflagskills-lock.json— the skills CLI's lockfile that tracks source repo, skill names, and content hashes fornpx skills update.agents/to.gitignoreto prevent non-copy mode installs from polluting the reponpx skillssetup instructionsWhy
npx skillsinstead of manual copiesThe Vercel skills CLI (
npx skills) is the emerging standard for managing agent skills across Claude Code, Cursor, Codex, and 37+ other agents. Using it gives us:npx skills update— one command to pull latest skill content from epicenter without re-specifying which skills to installskills-lock.json— content hashes that make it trivial to check if skills are stalenpx skills list— visibility into what's installedSKILL.mdfrontmatter spec, compatible with any agent that supports the Agent Skills specificationWhy
--copyinstead of default symlink modeThe skills CLI defaults to creating a canonical copy in
.agents/skills/and symlinking from.claude/skills/→.agents/skills/. This is fine for local development but creates headaches with git — symlinks to directories confusegit add(the "beyond a symbolic link" error), and you end up committing two layers of indirection.--copyputs real files directly where Claude Code expects them. Simple.Why these 20 skills
Kept only skills whose domain overlaps with wellcrafted (a TypeScript utility library for error handling, Result types, and TanStack Query):
error-handling,define-errors,services-layer,query-layertypescript,factory-function-composition,method-shorthand-jsdoc,single-or-array-pattern,control-flowtesting,git,incremental-commits,workflow,spec-execution,specification-writingdocumentation,writing-voice,technical-articles,progress-summaryhonestyRefreshing skills