actualizar-desde-original
Skill40 starsChanged 2 months agoMITView on GitHub
Trae una version nueva del repo original de Builder CRM a una instancia ya adaptada (fork o clon de un cliente) sin perder la personalizacion: upstream, merge, migraciones, verificacion. Activar cuando el usuario dice: actualiza el CRM, hay version nueva, trae los cambios del original, sync con upstream, actualizar desde el repo de la comunidad.
- Reads credentials
- Installs packages
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adaptar-a-clienteSkill
- conectar-zernioSkill
- crear-moduloSkill
- deploy-coolifySkill
- memory-managerSkill
- nueva-plantilla-nichoSkill
- playwright-cliSkill
- probar-instanciaSkill
- supabaseSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 65
Commit del merge: Actualizar nucleo a vX.Y.Z.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Actualizar desde el repo original
Instancia: $ARGUMENTS
La personalizacion vive en la zona del cliente (config/, modules/,
public/marca/, specs/<cliente>/); el nucleo (src/, supabase/, scripts/,
Docker) viene del original. Si la adaptacion respeto eso, actualizar es un merge sin
conflictos. Guia completa para humanos: ACTUALIZAR.md.
1. Preparar
git status # limpio; si no, commit o stash
git remote add upstream https://github.com/diegovasquez-ai/builder-crm.git # una sola vez
git fetch upstream --tagsLee en CHANGELOG.md de upstream la seccion "Actualizar desde X.Y.Z" de cada
version intermedia: ahi estan las variables nuevas, migraciones y pasos manuales.
Una version mayor siempre tiene pasos manuales; una menor o parche, no.
2. Mezclar
git merge upstream/main # o la etiqueta vX.Y.ZSi hay conflictos:
- En la zona del cliente gana la version local (es del cliente).
- En el nucleo gana upstream; si la instancia habia tocado el nucleo, eso era una excepcion a la constitucion: resolver con upstream y mover el cambio a un modulo o a la config, o proponerlo al original.
src/lib/modules/*.generated.ts: tomar cualquiera y regenerar (npm run modulos:registro).- La migracion base (
supabase/migrations/20261001000000_base.sql): antes de 1.0.0 se regeneraba; desde 1.0.0 solo se agregan archivos, asi que no debe haber conflicto. Si lo hay, gana upstream.
3. Aplicar
npm install
npm run typecheck && npm run lint && npm run build
npm run db:migrar # nuevas migraciones del nucleo y de los modulosVariables nuevas: .env.example de upstream vs .env.local / Coolify (diff).
Agregarlas antes de desplegar.
4. Desplegar y verificar
Deploy en Coolify (redeploy de la app) y probar-instancia. Si un modulo del cliente
dejo de compilar porque el contrato cambio (version mayor), el CHANGELOG dice que
cambio; adaptar el modulo y volver a probar.
Commit del merge: Actualizar nucleo a vX.Y.Z. Anotar en .claude/memory/ cualquier
cosa no obvia que haya pasado en esta actualizacion.
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.

