Zum Inhalt springen
Skillpedia
Websites & UI (Frontend)32k · #9151

rxjs-next-migration

Was er macht

Dieser Skill führt den KI-Agenten in überprüften Schritten durch die Migration eines RxJS-7-Projekts auf die Version RxJS Next. Er richtet sich an Entwickler, die Apps oder Bibliotheken mit RxJS pflegen.

Wann du ihn nutzt

  • ✓Wenn du die Migration einer App oder Bibliothek von RxJS 7 zu RxJS Next planen willst.
  • ✓Wenn du vor jeder Änderung an RxJS-Code eine grüne Testbasis brauchst.
  • ✓Wenn das automatische Migrationswerkzeug Änderungen erzeugt, die sorgfältig geprüft werden müssen.

Link zum Skill

https://github.com/ReactiveX/rxjs/blob/master/.agents/skills/rxjs-next-migration/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/ReactiveX/rxjs/blob/master/.agents/skills/rxjs-next-migration/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du mir helfen, die Migration unserer RxJS-7-App zu RxJS Next zu planen, mit einer Testbasis am Anfang?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent arbeitet die Phasen in der richtigen Reihenfolge ab, hält eine bestandene Testbasis fest, nutzt das Migrationswerkzeug nur für begrenzte Umschreibungen und prüft Ergebnisse anhand der Tests.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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

  1. Locate repository instructions, package and workspace metadata, lockfiles, CI configuration, RxJS versions, build/test commands, and current working tree state.
  2. Identify the repository root, migration boundary, permitted writes, package manager, network policy, and candidate verification commands.
  3. Record the installed @rxjs/migrate version and canonical Skill digest. If the installed Skill does not match its package, stop and synchronize it before trusting these instructions.
  4. 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

Häufige Fragen

Führt er nur einen Codemod aus?

Nein. Laut Skill beweist ein sauberer Diff oder ein einzelner bestandener Test nicht, dass die Migration vollständig ist.

Werden Tests angepasst, damit sie bestehen?

Nein. Der Skill sagt, Verhaltenstests dürfen nicht abgeschwächt oder gelöscht werden, nur damit die Migration durchläuft.

Bleibt der Entwickler beteiligt?

Ja. Der Skill enthält ausdrückliche Pausen, in denen der Entwickler Entscheidungen prüft.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
32k
Platz im Ranking
#9151
Lizenz
Apache-2.0
Aktualisiert
8.8.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Ähnliche Skills