Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

kickoff-patch

БесплатноБез исполняемых скриптовНе проверен

Brings a Laravel project that was scaffolded from CleaniqueCoders Kickoff up to the latest Kickoff baseline. Detects which Kickoff version a project started…

nasrulhazimот nasrulhazim★ 26 звёзд на GitHub

Об этом скилле

Kickoff Patch — Bring a Kickoff-based project up to the latest baseline

/kickoff patch upgrades a Laravel project that was scaffolded from CleaniqueCoders Kickoff to the current Kickoff baseline — pulling in new packages, menu items, settings, UI fixes, components, config, and CI changes — without clobbering the developer's own work. It is a preview-first, approve-per-category merge — 3-way when the original version is available, 2-way otherwise — not a file copy.

Mental model (read this first — it determines everything)

Kickoff is not a Laravel skeleton you fork or a dependency you track. It is a one-shot Symfony Console scaffolder: kickoff start <owner> <name> runs laravel new, copies stubs/ over the fresh app, and composer requires a hardcoded package set — then walks away. After scaffolding there is no link back: cleaniquecoders/kickoff never appears in composer.lock, and there is no version marker. Consequences:

  • Two sources of truth define a Kickoff baseline at any version:
    1. Files under stubs/ (copied 1:1 onto the project root).
    2. Imperative logic in src/StartCommand.php — the composer package list, composer.json scripts/autoload, vendor:publish tags, npm installs, and post-install artisan commands. composer.json is rewritten in code, never shipped as a stub, so you cannot diff a stub composer.json.
  • The latest baseline is the locally-installed kickoff. The patch REQUIRES cleaniquecoders/kickoff installed globally (composer global require cleaniquecoders/kickoff) and reads its stubs/ + StartCommand.php as latest. A composer global install is dist-based (no git tags) — it is a single version.
  • A patch is a 3-way merge (base = original version, theirs = latest, mine = your files), never an overwrite. The project and Kickoff both evolve; e.g. 1.4.2 → 1.24.0 is ~20 versions of drift with files changed on both sides, so overwriting either direction destroys real work. The original-version base comes from a git tag when a git source exists; otherwise the patch degrades to a lower-precision 2-way compare.
  • Version detection is inferred, then confirmed, because no marker exists today. The first patch stamps a marker so every subsequent run is exact.

Command Reference

Command Purpose
/kickoff check [--source=<repo|path>] [--from=<tag>] Dry-run: detect baseline, diff against latest Kickoff, print the category-grouped report. Writes nothing.
/kickoff patch [--source=<repo|path>] [--from=<tag>] [--to=<tag>] Detect → diff → preview → approve per category → apply (3-way merge) → re-apply imperative deltas → stamp → verify.
/kickoff status Quick summary: is this a Kickoff project, detected baseline, latest available, and how many versions behind.

Precondition: all three commands require cleaniquecoders/kickoff installed globally; they abort with a composer global require cleaniquecoders/kickoff hint if it is missing.

  • --source — override the kickoff source. Default: the required local install at $(composer global config --absolute vendor-dir)/cleaniquecoders/kickoff — its stubs/ is latest. Point it at a local git checkout of kickoff (with tags) to enable precise 3-way merges; a plain dist install has no tags, so the original-version base is fetched from the public remote when online, else the patch falls back to 2-way.
  • --from — override the detected baseline tag (skip inference; use when you already know the original version or a stamp is wrong).
  • --to — target a specific Kickoff tag instead of the installed latest (staged upgrades; requires a git or remote source, since the local install only provides its installed version).

The patch pipeline

Every command walks the same pipeline; check and status stop early. Each step is backed by a reference file — read the reference before executing that step.

  1. Detect + resolve baseline → references/detect-and-version.md Confirm the project descends from Kickoff (reuse project-sync detection markers). If a stamp exists (.kickoff-version or composer.json extra.kickoff.version), use it as BASE and skip inference. Otherwise infer with the feature-fingerprint map + git-date heuristic, then ASK THE USER TO CONFIRM the detected baseline before proceeding. When unsure between two adjacent tags, bias BASE lower (safe extra hunks, never silent skips).

  2. Require local kickoff + acquire trees → references/source-of-truth.md §0–1 Precondition: abort unless cleaniquecoders/kickoff is installed globally (tell the user to composer global require it). Its stubs/ is LATEST/theirs and its installed version is LATEST_TAG. Acquire the BASE (original-version) tree from a git tag when a git

Полный SKILL.md на GitHub

Установить kickoff-patch в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/detect-and-version.mdreferences/merge-and-apply.mdreferences/patch-map.mdreferences/source-of-truth.md

FAQ

Что делает скилл kickoff-patch?

Brings a Laravel project that was scaffolded from CleaniqueCoders Kickoff up to the latest Kickoff baseline. Detects which Kickoff version a project started from (no marker exists — uses feature fingerprinting plus a git-date heuristic, then asks you to confirm), reads the latest Kickoff from the REQUIRED local install (composer global require cleaniquecoders/kickoff) and the original-version base from a git tag when available, and performs a category-grouped 3-way merge (base = original Kickoff, theirs = latest Kickoff, mine = your files) — falling back to a 2-way compare when the base cannot be obtained, never a blind overwrite. Patches packages, vendor:publish tags, navigation menu, config, Livewire and Blade components, layouts and theme, routes, bin scripts, CI workflows, docs, docker, and .env.example keys, while protecting project-owned code, .env, product config, and custom routes. Previews every change and applies only what you approve per category, then stamps a version marker so future runs are deterministic. Use this skill whenever the user wants to patch, update, or upgrade a Kickoff-based project to the latest Kickoff, see what drifted from the current Kickoff baseline, or pull new Kickoff packages, menu items, settings, UI fixes, or components into an existing project — including "patch my kickoff project", "update to latest kickoff", "bring this project up to date with kickoff", "what changed in kickoff", "check kickoff drift", "kickoff patch", "sync the kickoff baseline", "update kickoff scaffolding", "run /kickoff patch", "patch project kickoff aku", "update ke kickoff terbaru", "apa yang lain dengan kickoff latest", "tengok apa dah berubah dalam kickoff", "kemaskini baseline kickoff", "naik taraf project ikut kickoff terkini", "tarik package atau menu baru dari kickoff", or "check drift kickoff". Assumes the target project was scaffolded from CleaniqueCoders Kickoff — works alongside project-sync (which handles CLAUDE.md convention merging) and pr

Как установить скилл kickoff-patch?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл kickoff-patch запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить kickoff-patch с