rollout-derived-repos
БесплатноБез исполняемых скриптовНе проверенFan out rapid-go's current state to every derived repository in one command: Go toolchain + dependency upgrades (as last done in rapid-go) and/or a pull-only…
от abyssparanoia★ 20 звёзд на GitHubОб этом скилле
rollout-derived-repos
One command, run from rapid-go, that propagates rapid-go's HEAD state to every registered derived repository:
| Workstream | What it does per repo | Branch |
|---|---|---|
deps |
Go version, direct dependencies and tool versions brought to rapid-go's current state (plus whatever small code/config fixes the bump needs) | chore/update-go-<major.minor>-and-deps |
claude |
Pull-only .claude/ sync from rapid-go (token-mapped, project-specific content preserved) |
chore/sync-claude-config (suffix -YYYY-MM-DD if taken) |
Each repo gets its own agent, running in parallel, working in git worktrees so the user's checkouts are never touched. The orchestrator (you, in rapid-go) only surveys, briefs, collects, verifies and reports. The agents hold no decision authority: every rule they follow lives in references/rollout-brief.md.
Usage
/rollout-derived-repos # both workstreams, all registered repos
/rollout-derived-repos deps # dependencies only
/rollout-derived-repos claude # .claude/ sync only
/rollout-derived-repos deps efso-core sunabe-server # restrict to repos whose slug or path basename matches
Prerequisites
- Registry —
.claude/derived-repos.local.yamlin rapid-go (gitignored; rapid-go is public and derived repos are not). Format:references/derived-repos.example.yaml. If it is missing, stop and ask the user to create it from the example — never guess repositories. - GitHub access —
gh auth statusmust succeed for every org in the registry (agents create branches, PRs and issues withgh). - rapid-go state — run on a clean, up-to-date default branch of rapid-go. Its
go.mod,.golangci.yml,.github/workflows/ci.yml,docker/*.Dockerfileand.claude/ARE the target state; nothing else defines it. - Local clones (optional) — when a registry entry has
pathand it exists, worktrees are created from that clone (aftergit fetch origin). Otherwise the agent clones withgh repo cloneinto its scratch directory.
Step 0 — Parse arguments & registry
- Mode:
deps,claude, orall(default). Optional repo filters match the registryslug(owner/repo) or thepathbasename. - Read the registry with the Read tool. Skip entries with
enabled: false. Keep each entry'snotes— they are passed verbatim to that repo's agent.
Step 1 — Capture the target state from rapid-go HEAD
Mechanically (grep, never by memory) collect and write a Target State block:
grep -m1 '^go ' go.mod # GO_VERSION
grep -E 'golangci-lint/v2 ' go.mod # GOLANGCI_VERSION (tool block)
grep -E 'version: v[0-9]' .github/workflows/ci.yml # must equal GOLANGCI_VERSION
grep -E 'golang.org/x/tools ' go.mod # XTOOLS_VERSION
grep -rhoE 'golang:[0-9.]+-alpine' docker/ # GOLANG_IMAGE_TAG
git log --oneline -5 -- go.mod # REFERENCE_PRS (the rapid-go bump PRs agents should read)
git log --oneline -5 -- .claude # latest .claude changes (context for workstream claude)
Render the brief: copy references/rollout-brief.md to the scratchpad directory and replace the {{...}} placeholders in its "Target State" section with these values. Agents read the rendered copy, never the template.
Step 2 — Survey the registered repos (read-only, mechanical)
For each repo collect, with git -C <path> / gh ... -R <slug> (never cd inside a loop — it changes the session's working directory):
- default branch (
gh repo view <slug> --json defaultBranchRef), current checkout branch and dirtiness (informational only — the agent will not touch it) godirective, golangci-lint version in go.mod and in CI, x/tools version- presence of
wrench,yo,memeduck,jwxmajor(s),nullmajor,renovate.json .claude/shape: counts of rules/skills/agents/commands,settings.jsonpresent?- open PRs/issues that overlap (Renovate/Dependabot dependency PRs, previous
chore/sync-claude-config*branches)
Treat the survey as a hint only: the working copy may be behind origin/<default> (in the 2026-10 rollout two repos had already merged part of the work). The brief tells agents to verify against origin/<default>.
Persist the survey table and the rendered brief path now (e.g. in your task checkpoint, if your setup keeps one) — a rollout runs for an hour or more and the session may be compacted before the reports arrive.
Step 3 — Fan out: one agent per repo, in parallel
Launch all agents in ONE message (background; you'll be notified as each finishes). Per agent:
Agent(
description: "<repo-basename> rollout (<mode>)",
subagent_type: "general-purpose",
prompt: """
Read the shared brief FIRST and follow it exactly: <absolute path of the rendered brief>
Mode: <deps|claude|all>
Repositor
Установить rollout-derived-repos в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rollout-derived-repos?
Fan out rapid-go's current state to every derived repository in one command: Go toolchain + dependency upgrades (as last done in rapid-go) and/or a pull-only .claude/ config sync, one agent per repo in parallel, one PR per workstream per repo, CI verified. Use when: (1) running '/rollout-derived-repos', (2) rapid-go just merged a Go/dependency bump or a .claude/ change that every derived project should receive, (3) asked to 'ばら撒く' / propagate / roll out template changes to all derived repos. Requires a local registry file .claude/derived-repos.local.yaml (gitignored). For a single repo in either direction use sync-claude-config instead.
Как установить скилл rollout-derived-repos?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rollout-derived-repos запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub