kingwill101/routed/routed-node
Claude Code and agent skill by kingwill101/routed
- community
Checking that the SKILL.md file is still in the repository.
Maintain, extend, document, test, or troubleshoot the routed_node subsystem in the Routed Dart monorepo. Use when a task touches routed_node APIs, implementation, examples, tests, dependency boundaries, or integration with the Routed ecosystem.
Install
npx vskill@latest install kingwill101/routed/routed-nodeSKILL.md
The same SKILL.md was published earlier as kingwill101/routed/routed-node.
routed_node
This skill is the complete working guide for the routed_node subsystem. The facts below are intentionally embedded here so the skill can be used without loading another document.
Subsystem contract
- Package:
routed_node - Directory:
packages/routed_node - Version in this checkout:
0.2.1 - Role: Node.js, Bun, Deno, and Fetch/Cloudflare edge transports and bindings
- Purpose: The multi-host JavaScript and edge transport. It supports explicit Node.js, Bun, Deno, Cloudflare Workers, Vercel, and Netlify entrypoints over the same routed_core portable contracts.
Public API
serveNode,serveBun, andserveDenorun listener hosts.cloudflare.dart,vercel.dart, andnetlify.dartexpose Fetch-style bootstrap functions; Cloudflare usesdefineCloudflareFetchAsync.dispatchFetchExchange,dispatchFetchConnection, anddispatchNodeExchangemap buffered/streaming host requests to Engine portable handlers.NodeHttpConnection,NodeRequestAdapter,NodeResponseAdapter, andNodeServerTransportimplement Node streaming and websocket paths.- Cloudflare wrappers expose value-oriented environment, D1, Durable Objects, R2, Queues, service bindings, Workflows, Containers, and execution-context helpers.
- Capability differences are intentional: Node/Bun/Deno support listener websockets, Cloudflare supports the Worker websocket bridge, and Vercel/Netlify expose no server-side upgrade API.
Public imports
package:routed_node/bun.dartpackage:routed_node/cloudflare.dartpackage:routed_node/deno.dartpackage:routed_node/netlify.dartpackage:routed_node/node.dartpackage:routed_node/routed_node.dartpackage:routed_node/vercel.dart
Runtime package dependencies
routed_coreserver_contracts
Composition rules
- Import only the runtime entrypoint required by the deployment target; do not import routed_io in JavaScript builds.
- Use routed_core plus routed_node and keep application route/provider code host-neutral.
- Use Cloudflare binding wrappers through the request context; native Dart VM calls report UnsupportedError for unavailable bindings.
Known hazards
- Do not promise websocket support on Vercel or Netlify; route persistent realtime traffic to a supported host/service.
- Preserve streaming vs buffered dispatch and Fetch Request/Response semantics.
- Test each runtime entrypoint separately, including unsupported-host capability flags and JS compilation.
Minimal usage
Change workflow
- Preserve unrelated dirty work and keep changes scoped to
routed_node. - Keep the public import names and exported symbols above stable unless the
task explicitly changes the API. Never document a lib/src import.
- For provider or middleware changes, exercise registration, request-context
access, the success path, and the failure/reload path.
- For host or transport changes, test both the value/portable path and the
streaming/native path where this subsystem supports both.
- For generated output, make the input contract authoritative and verify the
generated artifact rather than hand-editing output.
- Update tests and user-facing package documentation when public behavior
changes; keep examples aligned with the usage contract above.
Focused test intent
Cover runtime identity, listener lifecycle, Fetch exchange/connection dispatch, Node adapters, websocket upgrades, Cloudflare binding wrappers, and host capability matrices.
Focused validation
Keep this skill's embedded facts synchronized when a public package version, public barrel, or dependency boundary changes.
Ecosystem boundary rules
- Applications use
routedfor the full provider catalogue or
routed_core plus explicit adapters for slim compositions.
- Routed adapters depend on
routed_coreand matchingserver_*runtimes;
they must not depend on the batteries-included routed facade.
- Host I/O belongs in
routed_io,routed_node, orserver_native, not in
feature adapters.
- Framework-agnostic
server_*implementations must not import Routed from
lib/.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/routed_node/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kingwill101/routed/routed-node)