agentleFS
brayandiazcbrayandiazc/project-starter-template-es-ai/.claude/skills/portar-cambio/SKILL.md

portar-cambio

Skill15 starsChanged 2 months agoMITView on GitHub

Porta el cambio de la rama actual a las variantes hermanas de esta plantilla (es/en × con-IA/sin-IA) — traduce el contenido, adapta o elimina la capa de IA según el destino y deja cada variante con una rama lista para PR. Úsalo cuando un cambio del template deba replicarse en las otras variantes (p. ej. "porta este cambio al template en inglés", "replica esto en las variantes").

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    NO hagas push ni abras PRs sin confirmación, NO portes a ciegas archivos de la capa de IA a las variantes sin IA, y NO dejes las variantes …

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- Skill EXCLUSIVA DEL REPO-PLANTILLA: sirve para mantener la familia de variantes. /instanciar la elimina en los proyectos instanciados. -->

Replica el cambio de la rama actual en las variantes hermanas de la familia:

  • 🇪🇸 con IA: project-starter-template-es-ai · 🇬🇧 con IA: project-starter-template-en-ai
  • 🇪🇸 sin IA: project-starter-template-es · 🇬🇧 sin IA: project-starter-template-en

Paso 1 — Delimitar el cambio

Toma el diff de la rama actual contra main (git diff main...HEAD) y clasifica cada archivo: ¿documentación general, capa de IA (.claude/, AGENTS.md, CLAUDE.md, specs/), o tooling neutro (.github/, scripts)?

Paso 2 — Elegir destinos

Pregunta a qué variantes portar y dónde están sus copias locales (o clónalas). Reglas por destino:

  • Mismo idioma, sin IA: elimina del port todo lo que dependa de la capa de IA (skills, hooks de .claude/, menciones a agentes). Si existe un equivalente nativo (p. ej. .githooks/), adapta ahí.
  • Otro idioma: traduce contenido y nombres siguiendo el mapa de renombres de .github/scripts/check-parity.sh (p. ej. instanciar ↔ instantiate, portar-cambio ↔ port-change, actualizar-plantilla ↔ update-template). Los placeholders también se traducen ([NOMBRE_DEL_PROYECTO] ↔ [PROJECT_NAME]): respeta el catálogo del TEMPLATE-USAGE de destino.

Paso 3 — Aplicar en cada destino

En cada variante: crea una rama con el mismo nombre que la de origen, aplica el cambio adaptado y ejecuta sus verificaciones (.github/scripts/check-links.sh, check-placeholders.sh, tests si existen).

Atribución: en las variantes con IA, los commits llevan el trailer de coautoría de docs/conventions/ai-agents.md; en las variantes sin IA, los commits NO llevan ninguna atribución ni mención de IA (ni en el mensaje ni en el contenido portado).

Paso 4 — Cierre

Resume por variante: rama creada, archivos portados, qué se adaptó u omitió y por qué. Recuerda abrir los PRs (skill /open-pr en las variantes con IA).

Ejemplo: rama feat/nuevo-hook aquí → /portar-cambio → ramas feat/nuevo-hook en las otras 3 variantes, traducidas y sin capa de IA donde no aplica.

NO hagas push ni abras PRs sin confirmación, NO portes a ciegas archivos de la capa de IA a las variantes sin IA, y NO dejes las variantes a medias: si un destino falla, repórtalo explícitamente.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.