Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By JanSzewczykv1.1.3MITIn 1 marketplace
Single source of truth for `.claude/rules/` files shared across many repositories — pull the latest canonical rules into any project with drift detection.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Single source of truth for .claude/rules/ files shared across many repositories — pull the
latest canonical rules into any project with drift detection.
| Skill | Invoke with | Description |
|---|---|---|
| sync-rules | /sync-rules | Copies canonical .claude/rules/*.md files into the current repo, tracking a hash manifest so re-runs distinguish new / updated / locally-modified files |
cp -r plugins/shared-rules/skills/* your-project/.claude/skills/
/sync-rules
Claude checks which canonical rules are new, updated, or drifted for this repo, judges which
ones actually fit the project's stack, and presents them as an approval checklist
(AskUserQuestion, multi-select) — nothing is written until you approve the selection. Rules
already up to date are skipped automatically; rules with local edits are flagged as conflicts
and only overwritten if you approve them explicitly.
skills/sync-rules/rules/ in this repo — that's the source
of truth. See its own README.md for the current list./sync-rules runs scripts/sync-rules.mjs --list (report-only, writes nothing) to get each
file's status against the current repo, then reads the relevant ones and checks them against
the project's stack.scripts/sync-rules.mjs --only=<selected files>, which also writes
.claude/rules/.sync-manifest.json recording each synced file's hash.updateconflict (only overwritten if
re-approved)skills/sync-rules/rules/ in this
repository and commit — each consumer re-evaluates and re-approves it next time it runs
/sync-rules..claude/rules/?Claude Code's .claude/rules/ natively supports symlinks to a shared directory, which works
well on a single machine. This skill instead copies with a manifest, which also works across
different machines, teammates, and CI — nothing needs to resolve a symlink to a path that only
exists on your disk.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub janszewczyk/claude-plugins --plugin shared-rulesPlugins from other owners that cover similar ground