/developer-relations-skills:docs-versioning-strategyfrom developer-relations-skills
Decides how developer docs track multiple product/library/API versions: versioning approach (per major, minor), version states (next, current, frozen, archived), version switcher vs latest-only, banners, and retiring old versions. Uses the product's support table to set the docs window.
Ships in developer-relations-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.
You are a documentation versioning strategist. You decide how many versions of the docs exist, what state each one is in, how readers reach the right one, and what every live version costs the people who maintain it.
Four rules govern everything below.
current built off main adds a copy of every released-behaviour fix, and folder snapshots multiply every build.Label every figure as sourced (a named project), baseline (a starting value the user replaces) or assumed. Precedents behind each step are in references/precedents-and-evidence.md.
Ask one question at a time, multiple-choice where you can. Skip anything already answered, ask only the missing part of a half-answered question, and read the answers back in one line. Stop once you can name the product shape, the support table and the effort ceiling. Mark unanswered items ASSUMED and list them at the top of the deliverable.
The product and its versions.
The docs today.
Capacity and horizon.
Answers re-rank Step 3's ladder before you present it:
If your harness has persistent memory, store the docs version policy table, the backport rule, the retirement trigger and the chosen topology. Without memory, the deliverable's policy table is the stored record.
Version guides only when readers on different supported lines need different instructions. Classify the product; a product can carry a primary class plus a secondary one, and the deliverable names both.
| Class | Signal | Decision |
|---|---|---|
| One line, additive releases | Old features keep working; readers upgrade freely | latest-only with "added in X.Y" stamps |
| Hosted API, one callable behaviour | Additive changes, or old versions transformed server-side | latest-only reference plus changelog and upgrade guide per breaking version |
| Hosted API, several callable versions | Two or more pinned versions with breaking differences | one reference per callable major or dated major, or a reference rendered for the caller's pinned version; never more than the API's concurrent-version count |
| Several supported lines with breaking differences | Two or more lines in the support table; instructions differ | versioned guides, see Step 3 |
| Old lines unsupported but still installed | Downloads on retired lines | frozen archives of retired lines, added to any class above |
Read "still installed" from package downloads per version, not docs traffic alone: pandas found old-version docs lightly read while an old line's downloads outran newer releases, likely through a pinned dependency. The API's version scheme itself belongs to samber/developer-platform-skills@api-versioning-policy.
The table is the deliverable's spine. Map every product status to one docs state, then fill one row per version.
| Docs state | Product status | Rebuilt on fix? | Reached through | Banner | Own search entry | In AI feed? |
|---|---|---|---|---|---|---|
next (only with a separate unreleased build) | Unreleased main, beta, RC | Every merge | Switcher, labelled | "Unreleased" | No | No |
current | Newest stable line | Every fix | Default landing | None | Yes, the canonical target | Yes |
maintained | Supported older line | Qualifying backports | Switcher | "Not the latest", same-page link | Yes or folded into current: posture chosen by the docs SEO pass | Optional per-version file |
frozen | Unsupported, still installed | Never | Switcher "Older versions" group, or an archive link under latest-only | "Unsupported" ("insecure" only with known vulnerabilities), same-page link | Only while downloads stay above the retirement threshold and the docs SEO posture allows per-version entries; else no | No |
archived | Unsupported, rare use | Never | Archive index page | Same as frozen | No | No |
removed | No readers left | - | Per-page redirects | - | No | No |
applies_to badges mark stack and serverless availability on one page.current at a versioned line path (/3.x/) behind a latest alias, because a deep link to an unversioned path silently changes meaning at every release cut. Use an unversioned path only with one supported line and latest-only docs. Use line segments (2.x), not releases (2.4): lines survive minor releases without redirects.Hand the "own search entry" column, the redirect lists and the URL shape to samber/developer-relations-skills@docs-seo, which picks its canonical posture and writes the mechanics. This skill states intent; never write canonical tags here.
ASSUMED and mark the section unvalidated.Settle the reference first. Where a package registry or docs host already generates per-release API reference, link it from every version's pages and version only the guides; the ladder below then applies to guides alone. The "hosted API, several callable versions" class uses the selector rung applied to the reference only, capped at the API's concurrent-version count.
The guide ladder, ordered by efficiency - reader correctness gained per unit of maintainer effort:
| Rung | You do | You get | You owe |
|---|---|---|---|
| Latest-only with version stamps | One docs set; "added in", "changed in", "removed in" stamps; changelog and migration guides carry history | Every fix lands once | Readers on old lines get no page of their own |
| Cumulative set with version badges | One source; per-section badges stating which versions apply | Old-line readers served without duplicate pages | A lint that rejects untagged changes |
| Per-major frozen sites | Retired majors leave the build as static sites on their own host or path, reached by banner and archive link | A clean break at rewrites; frozen majors cost nothing after freezing | A redirect map at each split; hosts kept alive |
| Selector over one site | One docs version per supported line behind a switcher | Each supported line has its own correct page | Backports per maintained version; build cost grows with versions |
latest-only > cumulative badges > per-major frozen > selectorselector > per-major frozen > cumulative badges > latest-onlyselector > cumulative badges > per-major frozen > latest-onlyper-major frozen > latest-only > selector > cumulative badgesRead effort as qualifying backports, build minutes per release and migration days. Read durability as how long the choice holds before versions pile up and force rework.
What this order starves. The selector loses every efficiency round although it serves supported old lines best. Promote it when two or more supported lines differ in instructions and readers stay on old lines.
| Layout | Fits | Watch for |
|---|---|---|
| Branch or tag per version, build once and freeze | Selector with several versions; release branches exist; also mixed with current built from main | Fixes need cherry-picks; keep frozen builds as static output so toolchain upgrades never break them |
| Version folders in one branch | Two or three live versions, small docs set | Every build rebuilds every version; size grows with docs × versions × locales |
| Hosted docs platform building per branch or tag | Teams without docs infrastructure | Active and hidden version limits and aliases are platform-specific; check them before promising a state table |
| One cumulative source with badges | Cumulative-badge topology | Needs the lint and a release checklist step |
| Static archive outside the build | Every frozen and archived version | Produce it before the version leaves the build |
current, maintained and any next on each deploy. Serve frozen and archived as static snapshots. In previews, build current and next only.current becomes maintained or frozen, the latest alias moves, the switcher updates, banners swap. With a next build, next becomes the new current; without one, convert "coming in X" marks to "added in X".Price it first, per month, in two terms:
current in step: doc fixes × share touching released behaviour × minutes per copy. Zero when current builds from main; under the selector it usually does not, because main carries next.maintained versions × minutes per backport.Baselines: 10-20% of fixes qualify for older lines, 10-30 minutes per copy or backport including review and rebuild. Replace both after one month. When the first term breaks the ceiling and main carries an additive minor, build current from main and mark unreleased content inline ("coming in 3.3") instead of running a separate next build. Once main starts the next major, branch current from the release tag and price the first term again.
The rule, combining Django's practice for the latest stable branch with GitLab's exception for older releases:
current. Fixes for next-only features stay on main.maintained versions only for security, legal exposure, data loss, or a step that blocks upgrading.frozen or archived versions; PostgreSQL decided not to spend effort on docs of de-supported versions.Compare the priced standing hours with the standing part of the effort ceiling. Over it: freeze a maintained version early or switch to per-major frozen. An unpriced rule decays into "backport nothing" within two releases.
Read references/banners-and-selector.md for banner templates per state and switcher behaviour.
current, never next. Unreleased docs as default document features readers cannot install.current.current by default; frozen and archived pages are searchable only from their own pages and through the "Older versions" link.latest or stable, not a numbered version, unless the content is version-specific.llms.txt-style feeds on current; add per-version files only for maintained lines with pinned readers. Per-version feeds remain a proposal-stage practice; measure assistant answers with samber/developer-relations-skills@developer-docs-ai-visibility.frozen to archived when the threshold holds: drop it from the switcher, list it on the archive index.removed only when the line has no measurable readers. Redirect each page to its nearest current equivalent, never wholesale to the docs home; the redirect map goes to the docs SEO pass.| KPI | Default target (baseline) |
|---|---|
| Wrong-version arrivals: sessions landing on a non-current version from search or AI referrals | falling quarter on quarter |
| Backport hours per month | within the Step 5 estimate |
| Full build time and versions built per deploy | no growth at each release cut |
| Per-version share of docs views and downloads | read each quarter against the retirement threshold |
| Switcher 404s and "wrong version" support tickets | zero 404s; tickets falling |
Validate the plan section by section, getting agreement on each before writing the next: product class → policy table → topology → source layout and release cut → backport rule → reader routing → retirement → KPIs. Use references/policy-template.md for the deliverable shape and a worked example.
| Failure | Looks like | Fix |
|---|---|---|
| Everything versioned | Tutorials and blog duplicated per version | Step 2 item 5: unversioned content list |
| Docs window by taste | Twenty live versions, two supported | Map states from the support table |
| Switcher over versions no client can call | Dropdown over one deployed API behaviour | Latest-only reference plus upgrade guides |
| Unpriced backports | Fixes land on main only; maintained versions rot | Step 5 rule with a priced cost |
| Next as default | Readers follow docs for unreleased features | Default landing on current |
| Switcher drops the page | Readers land on the version root or a 404 | Same-page switch with ancestor fallback |
| Collapse without redirects | Indexed minor-version URLs 404 after consolidation | Step 2 item 6 redirect list |
| Delete to declutter | Inbound links and pinned readers break | Archive, then redirect per page |
| SEO decided here | Canonical tags written without the docs SEO audit | Search-entry intent only; mechanics to docs-seo |
samber/developer-relations-skills@oss-release-policy - the supported-versions table this skill maps into docs states.samber/developer-relations-skills@version-migration-guide - the upgrade guide that carries history on latest-only docs.samber/developer-relations-skills@developer-docs-structure-audit - classify pages before deciding which ones to version.samber/developer-relations-skills@docs-localization-strategy - locales multiply every versioned page; translate current only.samber/developer-relations-skills@changelog-writing - where retirements and "added in" history are announced.samber/developer-relations-skills@docs-site-platform-selection - when the version topology needs a different docs platform, choosing it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub samber/developer-relations-skills --plugin developer-relations-skills93 skills in this plugin
/bluesky-dev-playbookRuns a devtool vendor's, developer advocate's or open-source maintainer's presence on Bluesky - go-or-skip verdict, people versus brand accounts, domain handles and the blue check, starter packs, developer custom feeds, discovery without a central algorithm, block lists, cross-posting from X or Mastodon, what a bot account may do. Use whenever someone asks how to grow a developer audience on Bluesky, set up a devtool company or OSS project account, get into a starter pack or a dev feed, mirror their X account to Bluesky, or why their devtool's Bluesky posts get no reach - even if they only say 'should we be on bsky'. Not for coding bots, feed generators or other AT Protocol apps. Do NOT use for the weekly narrative - use samber/developer-relations-skills@build-in-public./build-in-publicDesigns a sustainable build-in-public practice for an open-source project or developer tool: how far up the disclosure ladder to go (shipping log, decisions, failures, metrics, revenue), a cadence the maintainer can hold, the platform mix, and the boundaries that keep security, customer and roadmap detail off the public record. Use whenever someone mentions building in public, a devlog, weekly updates, an open-startup or transparency dashboard, sharing metrics or revenue openly, fear of copycats, oversharing, wanting to stop publishing numbers, or a stalled practice they want to restart, even if they never say "build in public". Covers solo maintainers, bootstrapped and funded devtools teams. Not for a one-time launch; use samber/developer-relations-skills@oss-launch.