Project sync and configuration propagation — auto-invoke when running /cc-sync or updating Claude Code setup across repos
From claude-code-expertnpx claudepluginhub markus41/claude --plugin claude-code-expertThis skill is limited to using the following tools:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Reusable workflow for keeping Claude Code configuration current across a project
and its sub-repositories. Powers the /cc-sync command.
.claude/ configurationdocs/context/ needs scaffolding or updatesRe-scan the project using detection maps from /cc-setup:
.claude/sync-state.json for delta# Find nested git repos (exclude standard non-project dirs)
EXCLUDE="node_modules|\.git|vendor|dist|build|coverage|__pycache__|\.next|\.nuxt"
find . -maxdepth 2 -name ".git" -type d | grep -vE "$EXCLUDE"
For each sub-repo without .claude/:
.claude/ directory structureCreate docs/context/ files that don't exist:
| File | Auto-populated from |
|---|---|
| project-overview.md | package.json, directory tree, fingerprint |
| architecture.md | Detected components, services |
| data-model.md | Prisma schema, migration files |
| api-contracts.md | Route files, OpenAPI specs |
| testing-strategy.md | Test framework config, test directories |
| security-rules.md | Auth middleware, env vars |
| changelog.md | Git log summary |
Section-aware merge:
For each detected language, check binary availability and install if missing.
Score the configuration on a 0-100 scale across:
IF file does not exist → CREATE from template
ELIF --force flag → BACKUP (.bak) then OVERWRITE
ELSE → SKIP (preserve user content)
For README.md and CLAUDE.md, use section-level granularity instead of file-level.
.claude/sync-state.json/cc-sync command: commands/cc-sync.md/cc-setup command: commands/cc-setup.md