/solo-skills:private-forkfrom solo-skills
Stand up and operate a private fork (private mirror) of an upstream open-source repo — creating the mirror and remotes, choosing the branch model and governance tier, deciding delete-vs-disable for unwanted upstream content, recording divergences in a ledger or registry, and running the recurring upstream review/merge cycle. Use when the user wants to "set up a private fork", "mirror an upstream repo", "sync/merge upstream", "run an upstream review", "strip out upstream cruft", asks about delete-vs-disable or merge tax, or is working in a repo with an `upstream` remote and a FORK_CHANGES.md / fork-customizations.md file. Not for ordinary contribute-back GitHub forks where changes are destined for upstream PRs.
Ships in solo-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Doctrine for maintaining a private, deliberately-divergent fork of an actively developed upstream OSS project: keep the ability to pull upstream forever, keep your divergence small and fully recorded, and keep every merge routine.
The enemy is merge tax — every divergence makes every future upstream merge more expensive. Almost every rule below exists to minimize it or to make paying it deliberate.
| File | Read when |
|---|---|
references/setup.md | Creating a new private fork, or retrofitting governance onto an existing one |
references/divergence-rubric.md | Deciding what to delete/disable/hide, making any deliberate change to upstream code, neutralizing telemetry/phone-home |
references/upstream-sync.md | Reviewing upstream changes, merging upstream in, resolving conflicts, the post-merge checklist |
Templates to copy into the fork are in assets/templates/ (divergence ledger, full-tier
registry, review log, digest script, CI reminder workflow). Fill placeholders marked
{{LIKE_THIS}}.
origin, keep
upstream as a fetch-only remote.git remote set-url --push upstream DISABLED.fork: prefix, or the repo's existing
feat|fix|harden(scope): scheme applied consistently) so
git log --grep='^fork:' (or equivalent) inventories the divergence.pnpm install, bun install, codegen, …)..env* gitignored; only .env.example tracked.references/divergence-rubric.md). Rule of thumb: if upstream committed to that path
in the last few months, disable it, don't delete it.latest image tag drifts
independently of the checkout. Pin the tag to a release matching your merge-base, or
build from source. Mixed mode is the confusing failure mode.Start light. Upgrade when the fork earns it.
| Light tier | Full tier | |
|---|---|---|
| Fits | Personal instance, few/no code modifications, deletions + config flags only | Many modifications in upstream-churned files, invariants to protect, agents/CI operating the fork |
| Branches | Single trunk main; optional short-lived fork/<topic> | Trunk + read-only upstream-<branch> mirror + throwaway uat staging per merge |
| Divergence record | FORK_CHANGES.md — one line per divergence: what, why, delete-vs-disable | docs/fork-customizations.md — registry with IDs (R-nn removals / M-nn modifications / A-nn additions) and a Merge rule column per row |
| Upstream review | On demand — before new fork work or when upstream ships something wanted | Fixed cadence (e.g. monthly or per release) + review ledger with verdicts and a watermark; optionally CI-automated reminder |
| Merge path | Merge upstream/main directly into trunk | upstream/<branch> → uat → trunk, promoted only after the post-merge checklist |
| Extra docs | — | Charter (goals/non-goals/governance map), merge SOP, ADRs |
Upgrade triggers (any one is enough): modifications (not just deletions) exceed a handful of files upstream actively churns · an upstream sync broke the running app and a staging gate would have caught it · review is backing up because "on demand" never happens · more than one person or unattended agent operates the fork.
The tier decision and the branch model are recorded as the fork's first divergence entry.
references/setup.md: mirror, remotes, push-block, branch model,
governance scaffold from templates, build-mode decision.references/divergence-rubric.md: every removal or
modification goes through the rubric and lands with its ledger/registry row.references/upstream-sync.md: review with verdicts,
merge, resolve conflicts against the recorded merge rules, run the post-merge
checklist and verify gate, record the outcome.git cherry-pick -x),
but picks resurface as duplicates in the next full merge.upstream/<branch>
already is the pristine mirror; ceremony with no benefit. (The full tier's
upstream-<branch> mirror earns its keep as the digest/diff baseline.)README.md (opens in a new tab)assets/templates/FORK_CHANGES.md (opens in a new tab)assets/templates/fork-customizations.md (opens in a new tab)assets/templates/upstream-check.yml (opens in a new tab)assets/templates/upstream-digest.sh (opens in a new tab)assets/templates/upstream-review-log.md (opens in a new tab)references/divergence-rubric.md (opens in a new tab)references/setup.md (opens in a new tab)references/upstream-sync.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hsb3/dotfiles-agents --plugin solo-skills13 skills in this plugin
/claude-code-configConfigure Claude Code itself — settings-file precedence, permissions, hooks, env vars, and MCP registration, closed by a take-effect check. Use for "change a setting", "allow/deny a command", "add or move a permission rule", "set up a hook", "run something automatically whenever X happens", "always do Y every time", "add an environment variable", "register an MCP server", or "why isn't my setting taking effect"./claude-code-expertiseExpert map of Claude Code's extension surfaces for authoring and debugging extenders — skills, subagents, hooks, commands, plugins, marketplaces, MCP servers, and settings/permissions contracts. Use to decide which surface fits a need, to look up a surface's frontmatter or config contract, to author or debug a skill, subagent, hook, command, or plugin, or to answer how any Claude Code extension surface works. Not for changing settings, permissions, or hook wiring in a project - that is claude-code-config./datavizDesign data visualizations - charts, graphs, plots, and dashboards - that are correct, legible, and honest, in any medium. Consult this BEFORE writing any chart, graph, plot, or dashboard code, whatever the library (matplotlib, plotly, d3, Recharts, inline SVG) or output (static image, notebook, web app, deck). Use whenever a task involves picking a chart type, a color palette for data, dashboard or KPI-tile layout, axis and label formatting, or making a visualization colorblind-safe and light/dark-ready. Covers the data-shape to mark-type heuristic, chart anti-patterns to refuse (pie overuse, dual axes, truncated bar axes, rainbow scales, 3D), a brand-neutral colorblind-safe palette you can rebrand, composition, interaction and static degradation, and a final validation checklist. Data charts only - structural diagrams and deck theming are out of scope.Other plugins' skills for the same job