project-sync
БесплатноБез исполняемых скриптовНе проверенSyncs CLAUDE.md across multiple Kickoff-based Laravel projects by intelligently merging shared conventions from a source of truth while preserving…
от nasrulhazim★ 26 звёзд на GitHubОб этом скилле
Project Sync — CLAUDE.md Convention Synchronization
Intelligently syncs CLAUDE.md across Kickoff-based Laravel projects. Merges shared conventions from a configurable source while preserving project-specific content (overview, commands, packages, environment variables, custom sections).
Command Reference
| Command | Purpose |
|---|---|
/project-sync scan [dir|gh:account] [--since=YYYY] [--until=YYYY] |
Scan local directory or GitHub account for Kickoff Laravel projects |
/project-sync status |
Show which projects have outdated CLAUDE.md |
/project-sync diff <project> |
Dry-run merge — show what would change |
/project-sync update [project|all] [--source=path] |
Sync CLAUDE.md, commit each project |
/project-sync report [latest|YYYYMMDD.HHmm] |
View a sync report |
/project-sync scan
Discover Kickoff Laravel projects in a local directory or GitHub account and save them to the project registry.
Syntax
/project-sync scan <target> [--since=YYYY] [--until=YYYY]
<target>: Local directory path (e.g.,~/Projects) orgh:<account>(e.g.,gh:cleaniquecoders)--since: Only include projects with activity from this year onward (default: current year)--until: Only include projects with activity up to this year
Local Directory Scan
Find Laravel projects — recursively search for directories containing an
artisanfile under the given pathFilter by date — for each candidate, check last commit date via
git log -1 --format=%ci:- Skip if last commit year is before
--since - Skip if last commit year is after
--until
- Skip if last commit year is before
Check detection markers — verify at least one Kickoff marker exists. See
references/detection-markers.mdfor the full list:app/Models/Base.phpexistscomposer.jsonrequirescleaniquecoders/traitifysupport/helpers.phpin composer autoload filesCLAUDE.mdmentions "Kickoff" or "CleaniqueCoders"
Extract metadata for each confirmed project:
{ "name": "project-name", "path": "/absolute/path/to/project", "url": "https://github.com/owner/repo", "description": "From composer.json description or CLAUDE.md first paragraph", "framework": "laravel", "php_version": "8.4", "has_claude_md": true, "claude_md_size": 22450, "last_synced": null, "source": "local" }url: Extract fromgit remote get-url origin(null if no remote)description: Fromcomposer.json>descriptionfield, or first non-heading paragraph of CLAUDE.mdphp_version: Fromcomposer.json>require>phpfield (parse version constraint)claude_md_size: File size in bytes (0 if no CLAUDE.md)last_synced: null on first scan — set when/project-sync updateruns
Save to registry — write/update
~/.claude/projects/.project-sync.json. Seereferences/registry-schema.mdfor the full schema.- Merge with existing entries (match by
pathfor local,urlfor GitHub) - Update
last_scannedtimestamp
- Merge with existing entries (match by
Report results:
Scanned: ~/Projects Found: 12 Kickoff Laravel projects (filtered: --since=2025) ~/Projects/2025/ — 8 projects ✓ project-alpha CLAUDE.md: 18.2 KB ✓ project-beta CLAUDE.md: 22.1 KB ✗ project-gamma No CLAUDE.md ~/Projects/2026/ — 4 projects ✓ project-delta CLAUDE.md: 19.8 KB ...
GitHub Account Scan
List repos via GitHub CLI:
gh repo list <account> --json name,pushedAt,url,description --limit 1000Filter by date — parse
pushedAtfield, apply--since/--untilyear filterCheck detection markers — for each candidate repo, use GitHub API to check for Kickoff markers without cloning:
# Check if artisan exists gh api repos/<owner>/<repo>/contents/artisan --silent 2>/dev/null # Check if Base.php exists gh api repos/<owner>/<repo>/contents/app/Models/Base.php --silent 2>/dev/null # Check composer.json for traitify gh api repos/<owner>/<repo>/contents/composer.json --jq '.content' | base64 -d | grep -q traitifyRate limiting: Add 1-second delay between repos. If rate-limited, pause and retry.
Extract metadata — same as local scan, with
"source": "github"andurlfrom the API. If the repo also exists locally (matching URL), merge entries and prefer local path.Save to registry and report results (same as local scan)
/project-sync status
Show which registered projects have outdated CLAUDE.md compared to the source.
Steps
Read registry — load
~/.claude/projects/.project-sync.jsonFetch source CLAUDE.md — from the configured source URL (default:
https://raw.githubusercontent.com/cleaniquecoders/kickoff/refs/heads/main/stubs/CLAUDE.md)For each project with
has_claude_md: true:- Read the
Установить project-sync в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл project-sync?
Syncs CLAUDE.md across multiple Kickoff-based Laravel projects by intelligently merging shared conventions from a source of truth while preserving project-specific content. Scans local directories or GitHub accounts to discover Kickoff projects, maintains a project registry, and provides diff/update/report commands. Use this skill whenever the user asks to sync CLAUDE.md across projects, update conventions in multiple repos, check which projects are outdated, scan for Kickoff projects, or says "sync semua project", "update CLAUDE.md everywhere", "mana project outdated", "scan my repos", "diff CLAUDE.md", "project-sync", or any multi-project convention management task.
Как установить скилл project-sync?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл project-sync запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic