# Ship > Lleva la rama actual de "código terminado" a "lista para fusionar" en una pasada: revisa el diff contra `AGENTS.md`, deslop, commit y push, abre el PR y hace babysitting hasta que sea mergeable. Se activa con `/ship`. Fuente: https://skillsagentes.com/skills/millionco/react-doctor/ship Markdown: https://skillsagentes.com/skills/millionco/react-doctor/ship.md Repositorio: https://github.com/millionco/react-doctor Autor: millionco Licencia: NOASSERTION Actualizado: hace 3 meses Coste de contexto: 72 tok instalada, 717 tok al activarse, 717 tok con todos los archivos del bundle Bundle: 1 archivo, 3 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add millionco/react-doctor --skill ship --agent claude-code # Cursor npx -y skills add millionco/react-doctor --skill ship --agent cursor # Codex npx -y skills add millionco/react-doctor --skill ship --agent codex # Gemini CLI npx -y skills add millionco/react-doctor --skill ship --agent gemini # Windsurf npx -y skills add millionco/react-doctor --skill ship --agent windsurf # Cline npx -y skills add millionco/react-doctor --skill ship --agent cline ``` ## Qué hace - Pipeline secuencial que lleva la rama actual de "código terminado" a "lista para fusionar" en una pasada. - Cinco etapas, cada una delegada a una skill existente: revisar el diff contra `AGENTS.md`, deslop del código tocado, commit y push, abrir el PR y babysitting hasta que sea mergeable. - No avanza de etapa mientras queden hallazgos sin resolver, y solo se ejecuta cuando se invoca explícitamente porque hace commit, push y abre PR. - Añade un changeset cuando cambia el comportamiento de un paquete publicado y corre los checks del repo que apliquen antes del commit. - El cuerpo del PR sigue la estructura de `rule-validate` (Why con antes/después, What changed, resultados de eval, Test plan); babysitting reporta en vez de fusionar. ## Cuándo usarla - El usuario escribe `/ship` o pide enviar, finalizar o aterrizar la rama actual. ## Qué la activa - "/ship" - "Deja esta rama lista para fusionar" - "Finaliza y abre el PR de esta rama" ## Antes de instalar - Hace commit, push y abre un PR con `gh pr create`; sin force-push a `main`, sin saltarse hooks y sin cambios de `git config`. ## Archivos - SKILL.md — 3 KB ## SKILL.md Reproducido tal cual desde millionco/react-doctor bajo NOASSERTION. Esta sección es el documento original y está en inglés. # Ship Sequential release pipeline for the current branch. Run only when explicitly invoked — it commits, pushes, and opens a PR. Each stage delegates to an existing skill. Run them in order and do not advance while a stage still has unresolved findings. Copy this checklist and track progress: ``` Ship progress: - [ ] 1. Review the diff against AGENTS.md - [ ] 2. Deslop the touched code - [ ] 3. Commit and push - [ ] 4. Open the PR - [ ] 5. Babysit to merge-ready ``` ## 1. Review against AGENTS.md Read `AGENTS.md` first (its rules change), then run `/review` on this branch's diff, judging it against those rules. Fix real violations before continuing. Pause for the user only if a fix would change behavior or broaden scope. ## 2. Deslop Run `/deslop` ([`../deslop/SKILL.md`](../deslop/SKILL.md)) to simplify the recently modified code while preserving functionality, including its `truffler` duplicate-consolidation pass. Apply the refinements before committing. ## 3. Commit and push - Stage only the intended changes; never commit secrets. - Add a changeset first when a published package's behavior changed (follow the **Changeset** section of `/rule-validate`); skip only for private/docs/test/tooling-only changes and note why. - Run the repo checks that fit the change before committing: `nr test`, `nr lint`, `nr typecheck`, `nr format:check`. - Write a concise commit message in the repo's style, focused on the why. - Push the branch, setting upstream with `-u` on the first push. - Git safety: no force-push to `main`, no skipped hooks, no `git config` changes. ## 4. Open the PR Create the PR with `gh pr create`, writing the body with the **PR Description** structure from `/rule-validate` ([`../rule-validate/SKILL.md`](../rule-validate/SKILL.md)): Why (with before/after), What changed, Eval results (omit the table if RDE was not run), Test plan. Pass the body via a heredoc. Return the PR URL. ## 5. Babysit Run `/babysit` to drive the PR to merge-ready: resolve merge conflicts preserving intent, triage unresolved comments (including Bugbot), and fix in-scope CI in a loop until the PR is mergeable, green, and its comments are triaged. Report back instead of merging. ## Stop conditions Pause and ask the user when: - Review or babysit surfaces a change that would broaden scope or alter intended behavior. - A merge conflict has genuinely conflicting intent on the two branches. - CI fails for reasons outside this branch's scope even after merging the latest base. ## Dónde encaja - Categoría: [DevOps e infraestructura](https://skillsagentes.com/categorias/devops-infraestructura.md) — Despliegues, contenedores, IaC y flujos de gestión de incidentes. - Creador: [millionco](https://skillsagentes.com/creators/millionco.md) — 16 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [React Doctor](https://skillsagentes.com/skills/millionco/react-doctor/react-doctor.md): Escanea bases de código React en busca de problemas de seguridad, rendimiento, corrección y arquitectura, y da una puntuación de salud de 0 a 100. Incluye chequeo de regresión y un flujo completo de triage local con `/doctor`. - [Run Parity](https://skillsagentes.com/skills/millionco/react-doctor/run-parity.md): Compara los diagnósticos de React Doctor de un pull request contra su base con Daytona. Se usa para correr parity, comprobar regresiones de diagnósticos en un PR o reportar diagnósticos añadidos y quitados. - [Improve Threejs](https://skillsagentes.com/skills/millionco/react-doctor/improve-threejs.md): Audita y arregla apps de Three.js y React Three Fiber: rendimiento del frame-loop, fugas de memoria de GPU, corrección del grafo de escena y defectos visuales como z-fighting, shadow acne, espacio de color erróneo y resize roto. - [Fuzz](https://skillsagentes.com/skills/millionco/react-doctor/fuzz.md): Somete a fuzzing las reglas de React Doctor con `@react-doctor/fuzz` para hallar crashes, lentitud, falsos positivos y diagnósticos sensibles a mutaciones. Se usa tras pasar los tests de la regla o al confirmarse un falso positivo nuevo. - [Performance](https://skillsagentes.com/skills/millionco/react-doctor/performance.md): Diagnostica el rendimiento de React en tiempo de ejecución con trazas de React Doctor, marcado de renders en vivo, Long Animation Frames y evidencia de renders por componente. Se invoca como `/performance`. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)