start-cc+lv
Skill3 starsChanged 3 months agoMITView on GitHub
Bootstrap a Claude Code session for projects connected to Lovable + Cloud Native + Render via GitHub main branch. Syncs local repo to origin/main and locks in a "commit and push to main after every change" contract for the rest of the session so the user can preview changes live in Lovable and roll back via git history. Use when the user invokes `/start-cc+lv`, says "empezar con Lovable", "setup proyecto Lovable+Render", "sync con main para Lovable", "trabajar con Cloud Native", or starts work on any repo wired to Lovable.
- Deletes or force-pushes
- Commits and pushes
In this repository25 other files it gives its agents.
- govern-agentic-osSkill
- hallazgoSkill
- loop-corpSkill
- no-devSkill
- orca-handoffSkill
- reporte-gmSkill
- clone-software-repoSkill
- game-designer-ueSkill
- obsidian-plugin-releaseSkill
- readme-commitSkill
- repo-syncSkill
- ship-ossSkill
- to-cmsSkill
- wavespeedSkill
- wayfinder-sequentialSkill
- hackathon-promoSkill
- promo-webinarSkill
- sundai-campana-hackSkill
- autocommitSkill
- obsidianizerSkill
- repo-auditSkill
- daily-review-workflowSkill
- data-source-dashboardSkill
- research-pipelineSkill
- youtube-searchSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before any work, align the local working tree with the remote:
- Very specific: line 23
If working tree is dirty or on another branch: STOP. Ask the user what to do (commit + push, stash, or discard) — never reset --hard over …
- Distinctive: line 24
If not on
main: ask the user — do not auto-checkout. - Distinctive: line 32
Single branch:
main: Never create feature branches. - Very specific: line 50
After each push, mention briefly: "Pushed <sha> — Lovable / Render should pick this up on next deploy."
- Distinctive: line 51
If push fails because remote is ahead → git pull --rebase origin main then retry.
- Distinctive: line 56
Does not configure Render / Cloud Native / Lovable themselves — that wiring already exists at the GitHub repo level.
- Distinctive: line 57
Does not run tests or builds automatically — the user wants speed.
- Distinctive: line 58
Does not write to CLAUDE.md or memory — the skill is the source of truth for this workflow.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
start-cc+lv — Claude Code + Lovable session contract
Activate this workflow at the start of any session where the project's deploy target is Lovable + Cloud Native + Render and the user previews live from origin/main.
Step 1 — Sync local to origin/main
Before any work, align the local working tree with the remote:
git status- If working tree is clean and on
main:git fetch origin git reset --hard origin/main - If working tree is dirty or on another branch: STOP. Ask the user what to do (commit + push, stash, or discard) — never
reset --hardover their work without explicit confirmation. See "Executing actions with care" in the root CLAUDE.md. - If not on
main: ask the user — do not auto-checkout; they may have intentional state.
Report the resulting HEAD sha and commit subject in one line so the user can confirm Lovable is on the same commit.
Step 2 — Session contract (active until session ends)
Once synced, follow these rules for every change made during the session:
- Single branch:
main. Never create feature branches. Lovable watchesmain. - Commit + push after every meaningful change. Pattern:
git pull --rebase origin main # pick up edits made in Lovable directly git add <specific files> # never `-A` / `.` — avoid pulling secrets or junk git commit -m "<short imperative subject>" git push origin main - Small commits. The user rolls back via git history when something breaks — granular commits make rollback cheap.
- No destructive shortcuts without explicit user confirmation:
- No
--force/--force-with-leasepush tomain. - No
--no-verifyto skip hooks. If a hook fails, fix the root cause. - No
git reset --hardmid-session.
- No
- Hook failures = fix the code, not bypass the hook. Re-stage and commit again (new commit, not
--amendif the original was already pushed). - Conflicts with Lovable edits: rebase, resolve, push. Do not discard remote changes — Lovable may have edited from the UI side.
Step 3 — Routine reminders to surface
- After each push, mention briefly: "Pushed
<sha>— Lovable / Render should pick this up on next deploy." - If push fails because remote is ahead →
git pull --rebase origin mainthen retry. Do not force. - At end of session, confirm
git statusclean andgit log @{u}..empty.
What this skill does NOT do
- Does not configure Render / Cloud Native / Lovable themselves — that wiring already exists at the GitHub repo level.
- Does not run tests or builds automatically — the user wants speed; let CI on the deploy target catch issues.
- Does not write to CLAUDE.md or memory — the skill is the source of truth for this workflow.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

