rxjs-next-migration
Qué hace
Esta skill acompaña al agente de IA en la migración de un proyecto de RxJS 7 a la versión RxJS Next, en etapas revisadas. Está pensada para desarrolladores que mantienen aplicaciones o bibliotecas basadas en RxJS.
Cuándo usarla
- ✓Cuando quieres planificar la migración de una aplicación o biblioteca de RxJS 7 a RxJS Next.
- ✓Cuando necesitas una línea base de pruebas en verde antes de cambiar cualquier código de RxJS.
- ✓Cuando la herramienta de migración automática produce cambios que necesitan una revisión cuidadosa.
Link de la skill
https://github.com/ReactiveX/rxjs/blob/master/.agents/skills/rxjs-next-migration/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes ayudarme a planificar la migración de nuestra aplicación de RxJS 7 a RxJS Next, empezando por una línea base de pruebas?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente sigue las etapas en orden, registra una línea base con las pruebas en verde, usa la herramienta de migración solo para reescrituras acotadas y comprueba los resultados con las pruebas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
RxJS 7 to RxJS Next migration
Treat this as reviewed project work, not a codemod run. The objective is an intentional RxJS Next contract backed by the project's own build and behavior evidence. A transformed file, a clean diff, or one passing test is not proof that the migration is complete.
Work through all eight stages in order. Re-enter an earlier stage whenever new evidence changes scope, coverage, or lifecycle intent. Keep the developer involved at every explicit pause.
Non-negotiable rules
- Read and obey repository-local instructions before acting. Protect existing work and stay within the authorized repository and paths.
- Establish the RxJS 7 baseline before changing dependencies or source.
- Never infer platform sharing versus producer-per-direct-subscription behavior from syntax, filenames, operator names, or a currently passing output.
- Use the installed engine's versioned registry and schemas as authority. Do not reconstruct capability mappings from this Skill or from memory.
- Run the deterministic engine without writes first. A refusal is a successful safety outcome, not permission to improvise a mechanical rewrite.
- Preserve the project's test framework by default. Select a framework adapter only when the developer asked for that separate conversion.
- Do not weaken, skip, delete, or replace a behavioral expectation merely to make the migrated suite green.
- Do not add RxJS 7 compatibility shims, string-named platform methods, local substitute operators, or runtime generators unless the developer separately authorizes that product work.
- Keep changes in small coherent batches. Review and verify each batch before widening the scope.
- Do not call a migration complete while a required command is unknown, unapproved, skipped, or red without an explicitly accepted blocker.
Working record
Create or locate a checked-in migration contract manifest and a concise
human-readable report. Use the schema exported by the installed
@rxjs/migrate; schema validity and migration readiness are separate checks.
Use assets/migration-report.md for the report.
For every migration unit, preserve source locations and record:
- its current RxJS 7 behavioral claim;
- the target lifecycle selected by the developer;
- its evidence classification and supporting tests;
- approval state, diagnostics, and any intentional divergence; and
- verification or a named blocker.
Stage 1: Establish authority and scope
- Locate repository instructions, package and workspace metadata, lockfiles, CI configuration, RxJS versions, build/test commands, and current working tree state.
- Identify the repository root, migration boundary, permitted writes, package manager, network policy, and candidate verification commands.
- Record the installed
@rxjs/migrateversion and canonical Skill digest. If the installed Skill does not match its package, stop and synchronize it before trusting these instructions. - State the proposed read, write, dependency, and command scope before broad changes.
Pause for the developer if the target repository or allowed scope is unclear, existing changes overlap the migration, or destructive, networked, external, or broader actions require new authority.
Exit only when the scope, allowed writes, package manager, and candidate gates are recorded.
Stage 2: Assess usage, lifecycle risk, and coverage
Inventory installed RxJS versions and import forms, then locate Observable construction, custom producers, Subjects, subscription ownership, repeated subscriptions, retry/refresh/cache paths, schedulers and timing, test helpers, interop inputs, cancellation, teardown, and error handling. Include direct and transitive operator usage.
For each lifecycle-sensitive path, link exact source evidence and mark it as:
- covered by an existing baseline;
- requiring a characterization test;
- explicitly unsupported; or
- an uncovered risk the developer accepts.
Produce a risk and coverage report before proposing rewrites. Read references/assessment-and-contract.md for the inventory and characterization protocol.
Exit only when every in-scope lifecycle-sensitive use has one recorded coverage disposition. Missing coverage is not evidence that behavior is safe.
Stage 3: Establish the green RxJS 7 baseline
Run the agreed build, type, lint, unit, integration, and behavior checks against the un
Preguntas frecuentes
¿Solo ejecuta un codemod?
No. La skill indica que un diff limpio o una sola prueba en verde no demuestran que la migración esté completa.
¿Se cambiarán las pruebas para que pasen?
No. La skill indica que no hay que debilitar ni borrar las pruebas de comportamiento para que la migración pase.
¿Participa el desarrollador?
Sí. La skill incluye pausas explícitas en las que el desarrollador revisa las decisiones.
Detalles
Descripción original del autor
Migrate an RxJS 7 application, library, or test suite to RxJS Next through an agent-led workflow that establishes a green behavioral baseline, makes Observable lifecycle choices explicit, uses @rxjs/migrate only for bounded fixture-proved rewrites, repairs without weakening evidence, and records a versioned migration contract. Use for repository assessment, migration planning or execution, lifecycle review, TestScheduler conversion, or migration closeout.
repo: ReactiveX/rxjs
Popularidad
- Estrellas en GitHub
- 32 mil
- Posición en el ranking
- #9151
- Licencia
- Apache-2.0
- Actualizada
- 8/8/2026
Comentarios
- …
Skills parecidas
angular-developer
280 milAyuda a tu agente con código de Angular y la estructura del proyecto. Útil para empezar proyectos, crear partes de código o mejorar el rendimiento y la accesibilidad.
frontend-a11y
280 milAyuda a tu agente a hacer que las interfaces web sean accesibles para todos. Asegura que sitios y apps funcionen bien con lectores de pantalla y navegación por teclado.
frontend-patterns
280 milHace que tu agente aplique patrones modernos en desarrollo frontend. Optimiza el rendimiento, gestiona el estado y sigue buenas prácticas en React y Next.js.