본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)32k · #9151

rxjs-next-migration

하는 일

이 스킬은 RxJS 7 프로젝트를 검토된 단계로 RxJS Next 버전으로 마이그레이션하도록 AI 에이전트를 안내합니다. RxJS 기반 앱이나 라이브러리를 관리하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓앱이나 라이브러리를 RxJS 7에서 RxJS Next로 옮기는 계획을 세우고 싶을 때.
  • ✓RxJS 코드를 바꾸기 전에 통과하는 테스트 기준선이 필요할 때.
  • ✓자동 마이그레이션 도구가 신중한 검토가 필요한 변경을 만들 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ReactiveX/rxjs/blob/master/.agents/skills/rxjs-next-migration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“RxJS 7 앱을 RxJS Next로 옮기는 계획을 세우고 싶습니다. 테스트 기준선부터 도와주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 단계를 순서대로 진행하고, 통과하는 기준선을 기록하며, 마이그레이션 도구는 범위가 정해진 재작성에만 쓰고, 결과를 테스트와 비교합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

단순 변환 도구만 실행하나요?

아닙니다. 스킬은 깔끔한 diff나 테스트 하나가 통과한다고 해서 마이그레이션이 끝난 것은 아니라고 말합니다.

테스트를 바꿔서 통과시키나요?

아닙니다. 스킬은 마이그레이션을 통과시키려고 동작 테스트를 약화하거나 삭제하지 말라고 말합니다.

개발자가 계속 관여하나요?

네. 스킬에는 개발자가 결정을 검토하는 명시적인 멈춤 지점이 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
32k
순위
#9151
라이선스
Apache-2.0
업데이트
2026. 8. 8.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

비슷한 스킬