मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)32k · #9151

rxjs-next-migration

यह क्या करती है

यह स्किल AI एजेंट को समीक्षित चरणों में RxJS 7 प्रोजेक्ट को RxJS Next संस्करण में माइग्रेट करने में ले जाती है। यह RxJS पर बने ऐप्स और लाइब्रेरी की देखभाल करने वाले डेवलपर के लिए है।

कब इस्तेमाल करें

  • ✓जब आप किसी ऐप या लाइब्रेरी के RxJS 7 से RxJS Next माइग्रेशन की योजना बनाना चाहें।
  • ✓जब आपको कोई RxJS कोड बदलने से पहले टेस्ट का पास होने वाला आधार चाहिए।
  • ✓जब स्वचालित माइग्रेशन टूल ऐसे बदलाव करे जिन्हें सावधानी से समीक्षा चाहिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ReactiveX/rxjs/blob/master/.agents/skills/rxjs-next-migration/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप हमारे RxJS 7 ऐप के RxJS Next में माइग्रेशन की योजना बनाने में मदद कर सकते हैं, टेस्ट आधार से शुरू करके?”

हर हफ़्ते 5 नई skills, 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

अक्सर पूछे जाने वाले सवाल

क्या यह केवल codemod चलाती है?

नहीं। स्किल कहती है कि साफ़ 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
अपडेट की गई
8/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

मिलती-जुलती skills