config-sync
БесплатноБез исполняемых скриптовНе проверенConfig sync across FVH repos: extract, diff, propagate tooling improvements. Use when syncing workflows or configs across multiple repos.
от laurigates★ 61 звезда на GitHubОб этом скилле
/configure:config-sync
Extract, compare, and propagate tooling config improvements across FVH repos.
When to Use This Skill
| Use this skill when... | Use another approach when... |
|---|---|
| Comparing a workflow/config across all FVH repos | Configuring a single repo's workflow from scratch — use /configure:workflows |
| Propagating an improvement from one repo to many | Debugging a failing CI run — use github-actions-inspection |
| Identifying which repos have outdated configs | Creating a reusable workflow — use /configure:reusable-workflows |
| Extracting novel patterns from a repo to share | Checking a single repo's compliance — use /configure:status |
Context
- Workspace root:
/Users/lgates/repos/ForumViriumHelsinki - Repos: !
fd -t d -d 1 . /Users/lgates/repos/ForumViriumHelsinki --exclude .git --exclude node_modules - Current directory: !
pwd
Parameters
Parse mode and options from command arguments:
Modes
extract [repo-name]— Identify improvements in a source repodiff <file-pattern>— Compare a specific config across all reposapply <file-pattern> [--from repo] [--to repo1,repo2,...|--all]— Propagate config to targets
Options
--from <repo>— Source repo for apply mode (default: best version detected)--to <repo1,repo2,...>— Target repos (comma-separated)--all— Target all repos that have the file--dry-run— Show what would change without creating branches/PRs (default behavior)--confirm— Actually create branches and PRs
Config Categories
Tracked files fall into five sync tiers: Wholesale (copy verbatim: claude.yml, renovate.json), Parameterized (shared core + variation points), Structural (justfile recipe names), Pattern-based (Dockerfile*, by stack), and Reference (compare and report). Full file patterns, variation points, and stack detection: references/config-tiers.md — read it when classifying a file in Extract Step 3 or Apply Step 3.
Execution
Extract Mode
Goal: Scan a repo and identify improvements that could benefit other repos.
Step 1: Identify the source repo
If repo name provided, use /Users/lgates/repos/ForumViriumHelsinki/<repo-name>.
Otherwise use the current working directory (must be inside an FVH repo).
Step 2: Scan tooling files
Scan for all tracked config categories:
fd -t f -d 3 '(claude|renovate|auto-merge|release-please|container-build|Dockerfile|justfile|skaffold)' <repo-path>
Also check:
.github/workflows/*.ymljustfileDockerfile*renovate.jsonrelease-please-config.json.release-please-manifest.jsonskaffold.yaml
Step 3: Compare against workspace patterns
For each file found:
- Wholesale tier: Hash the file content and compare against the most common version across all repos. Report if this repo has a newer/different version.
- Parameterized tier: Extract the shared core (strip known variation points) and compare structure.
- Structural tier (justfile): Check for standard recipes (
default,help,dev,build,clean,lint,format,format-check,test,pre-commit,ci). Report missing standard recipes and non-standard names (e.g.,checkinstead oflint). - Pattern-based tier: Detect tech stack, then check for best practices:
- Pinned base images (not
latest) .dockerignorepresent- Multi-stage builds
- Non-root user
- SHA-pinned GitHub Actions
- SBOM/provenance attestation
- Pinned base images (not
- Reference tier: Note divergences from the most common configuration.
Step 4: Generate extract report
Emit the report (wholesale/parameterized/structural/pattern-based sections, then "Potential Improvements to Propagate"). Template: references/report-templates.md.
Diff Mode
Goal: Compare a specific file across all FVH repos.
Step 1: Resolve file pattern
Interpret the file pattern argument:
- Full path:
.github/workflows/claude.yml - Short name:
claude.yml→ search in.github/workflows/ - Glob:
*.yml→ match all workflows
Step 2: Find the file across repos
fd -t f '<pattern>' /Users/lgates/repos/ForumViriumHelsinki --max-depth 4
Step 3: Group by content hash
For each found file, compute a content hash:
shasum -a 256 <file>
Group files by identical hash. Sort groups by size (largest first = most common version).
Step 4: Identify the "best" version
Heuristics for selecting the canonical version:
- Most common hash (majority rules)
- If tie: most recently modified
- If tie: from
infrastructurerepo (reference repo)
Step 5: Generate diff report
Report each hash group (canonical first, with repo list and differences), repos missing the file, and a recommendation. For small files (< 100 lines), show an inlin
Установить config-sync в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(git *)Bash(gh *)Bash(fd *)Bash(rg *)Bash(diff *)Bash(sha256sum *)Bash(shasum *)ReadGrepGlobEditWriteTodoWriteAskUserQuestionВложенные файлы
FAQ
Что делает скилл config-sync?
Config sync across FVH repos: extract, diff, propagate tooling improvements. Use when syncing workflows or configs across multiple repos.
Как установить скилл config-sync?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл config-sync запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic