Skip to content
prod 352bb92
Browse

Phase 2 · Code & repository setup

Get the vendor’s code into git without ever losing track of what you changed. The whole phase exists to create a clean seam between their code and your customizations, so that six months from now a vendor update is a reviewable diff — not an archaeology dig.

Phase 2 — code into git, vendor seam preserved

Phase 2 — code into git, vendor seam preserved 1. Prerequisites (tools + infra + SSH) → 2. Branch strategy (pick A or B) → 3. Extract + snapshot (vendor seam) → 4. Initialize repo (gitignore → init) → 5. .env templates (local/stg/prod) → 6. Commit + push (verify + remote) Prerequisites tools + infra + SSH Branch strategy pick A or B Extract + snapshot vendor seam Initialize repo gitignore → init .env templates local/stg/prod Commit + push verify + remote
The MUST path plus project standards. Recommended standards work seeds the root trackers, DevLog, SemVer, and folder conventions agents rely on later.
TopicWhere in this phaseNote
Verify local tools1 · Prerequisites
Create infrastructure1 · Prerequisites §3–4
Project structure + DevLog (recommended)7 · Project standards §2SHOULD
Branch strategy2 · Branch strategy
Commit & doc standards (recommended)7 · Project standards §3SHOULD
Extract, init, gitignore3 + 4
Vendor import + author freezeCreate the project §6Phase 1 — not repeated here
Push + seam verification6 · Commit & freezeverify only
Version management (recommended)7 · Project standards §4SHOULD
Environment templates5 · .env templates

CodeCanyon authors frequently patch packages inside vendor/. Treat the shipped tree as sacred until the app is verified running (local development).

Two ways to run this: Whole Phase → click the button; one Part → open the Part document and click Run this Part. Skill users can run /zaj-laravel-codecanyon phase 2 instead.

The frozen snapshot from this section is what makes Local development safe: you can now run composer install, build assets, and get the app booting locally, always able to diff back to author-vX.X.X.


These seven pages are the navigable pipeline for Code & repository setup — the full task-by-task detail, with every verification step, is distilled into them.