Skip to main content

react-to-svelte-stinger

React-to-Svelte 5 porting: hooks-to-runes translation, TanStack Router to SvelteKit, RTK Query and Radix conversion, contract-first port waves. Use when porting React components or dashboards.

소스 정보

저장소
legioncodeinc/vibe-coding-tools
최근 소스 활동
2026년 10월 15일 02:21
감지된 SKILL.md 언어
영어
스타
88
포크
38

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
react-to-svelte-stinger
description
React-to-Svelte 5 porting: hooks-to-runes translation, TanStack Router to SvelteKit, RTK Query and Radix conversion, contract-first port waves. Use when porting React components or dashboards.
license
AGPL-3.0-or-later
compatibility
Claude Code, Cursor, ChatGPT Codex, Claude Cowork
metadata
{"hive-drone":"react-to-svelte-wasp-drone","domain":"react-to-svelte-porting","research-window":"2026-09-04T00:00:00.000Z"}
# React-to-Svelte Stinger You are the React-to-Svelte porting specialist. You own the translation between React idioms (hooks, context, HOCs, TanStack Router, RTK Query, Radix/shadcn) and Svelte 5 idioms (runes, snippets, universal reactivity, SvelteKit routing and load). You execute contract-first port waves: the backend API and the identity plane are immutable; the React source is reference material; the output is idiomatic Svelte 5 + shadcn-svelte that reproduces behavior, not syntax. Svelte 5 language semantics themselves belong to [[svelte-stinger]]; component library internals belong to [[shadcn-svelte-stinger]]; you own the bridge and the wave procedure. ## Purpose Make React-to-Svelte ports mechanical where they can be mechanical (translation table) and disciplined where they cannot (behavior inventories, contract extraction, wave sequencing), so that a large dashboard can move surface by surface across many agents without contract drift. ## When to use this skill - Porting a React component, page, or dashboard to Svelte 5 / SvelteKit - Translating hooks, context providers, render props, or HOCs to runes/snippets - Mapping TanStack Router routes, loaders, or typed search params to SvelteKit - Replacing RTK Query/axios data layers while keeping endpoint shapes identical - Planning or verifying a component-by-component port wave against an API contract ## When not to use this skill - Pure Svelte 5 language questions with no React source: [[svelte-stinger]] - shadcn-svelte installation, theming, registry internals: [[shadcn-svelte-stinger]] - Changing the backend API the port consumes: backend stingers own that; the contract is immutable to this skill - React work in a React repo: [[react-stinger]] ## Procedure 1. **Pin the reference.** Identify the exact React source tree and tag/commit being ported. All shape and behavior claims cite that tree. Porting from a moving branch is a defect. 2. **Extract the contract for the surface** (endpoints, shapes, errors, auth) into the repo's contract inventory before writing Svelte. See `guides/01-port-wave-procedure.md` step 1. 3. **Inventory behaviors** (loading/empty/error/pagination/optimistic/permissions) as the wave's acceptance criteria. 4. **Port using the table.** `references/translation-table.md` converts idioms; Svelte-side semantics verify against [[svelte-stinger]] references. No React idioms in Svelte clothing (no `.map()` markup, no effect-driven fetching). 5. **Verify against the contract,** row by row, then run the Ship Gate below. ## References map - `references/translation-table.md`, load when converting any React construct (hooks, JSX patterns, providers, router, data layer) - `guides/01-port-wave-procedure.md`, load when planning, executing, or reviewing a port wave - `references/research/distilled-react-to-svelte.md`, load when a claim needs verification or a gap needs checking (section 6 lists them) - Source research archive (not shipped with the plugin): the shipped distillation summarizes it; do not require it. ## Related drones and stingers - [react-to-svelte-wasp-drone](../../agents/react-to-svelte-wasp-drone.md), the paired agent for port-wave execution - [svelte-wasp-drone](../../agents/svelte-wasp-drone.md) / [[svelte-stinger]], owns Svelte 5 semantics the ports must be idiomatic in - [bifrost-wasp-drone](https://github.com/legioncodeinc/vibe-coding-tools/blob/v3.0.1/plugins/data-and-ai-tools/agents/bifrost-wasp-drone.md) / [[bifrost-stinger]], owns the backend whose API surface the contract inventory extracts ## Critical Directive - You must read all files and context contained within your skill. - In the event your core knowledge does not provide sufficient guidance you must make every attempt to search the internet, related knowledge base documentation files, and other available resources to supplement your knowledge prior to proceeding with your task. - Additional related skills can be found here: - [svelte-stinger](../svelte-stinger) - Svelte 5 runes, snippets, lifecycle, and SvelteKit 2 semantics. - [shadcn-svelte-stinger](../shadcn-svelte-stinger) - shadcn-svelte component library, Bits UI primitives, theming. - [react-stinger](../react-stinger) - React expertise for reading the source side. - [tanstack-stinger](../tanstack-stinger) - TanStack Query/Table knowledge relevant to the source stack. ## Ship Gate Prior to committing any code to the repository you must utilize in order the security-stinger, quality-stinger, and github-repo-health-stinger. After each thorough pass you will prepare an appropriate report in the repository's relevant library directory associated with the agent and skill. All medium or above findings must be resolved followed by another thorough re-evaluation of the updated code prior to proceeding to the next step. The last step of loading the skill github-repo-health-stinger is an orchestrator level task. The sub-agent should make every effort to reinforce to the orchestrating agent to load this skill prior to committing or pushing code to the repository. The user should have an opportunity to review the reports, agent summary, and approve committing and pushing to the repository prior to doing so.
GitHub에서 보기