skills/argon-router/SKILL.md
Integrate and use argon-router in React web applications with Effector. Use when tasks involve creating routes and routers, wiring RouterControls/history adapters, composing routes with chainRoute/group/createVirtualRoute, rendering views with RouterProvider/createRoutesView/Outlet, building links with Link/useLink, and managing URL query state with trackQuery and @argon-router/paths.
npx skillsauth add aiko-atami/effectorjs-skills argon-routerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to implement argon-router in React web apps with predictable Effector dataflow and typed paths.
setup: create route map, router, and controls.ui: connect router to React views, links, and outlet.native: integrate argon-router with React Navigation in React Native.query: track URL query state and sync enter/exit flows.composition: build derived/protected/virtual routes.adapters: pick and configure history/query/custom adapter.ssr: scope-safe initialization with memory history and allSettled.hooks: route activity and router access hooks in React.debug: validate path/router wiring and route lifecycle.references/core-routing.md.references/react-web.md for any React integration task.references/react-native.md for React Native stack/tabs integration.references/paths-dsl.md when working with route path syntax or parsing/building URLs.references/query-tracking.md when query params or filters are involved.references/route-composition.md when using auth guards, grouped states, or virtual routes.references/adapters-ssr.md for historyAdapter/queryAdapter, adapter selection, SSR bootstrap.references/react-navigation-apis.md for Link, useRouter, useRouterContext, useIsOpened, useOpenedViews.references/lazy-layout.md for createLazyRouteView and withLayout.references/examples.md for copyable happy-path scaffolds.references/checklist.md before final output.../argon-router/packages/*/lib/*.ts and package lib/index.ts exports.{ path, route }) when needed.RouterProvider + createRoutesView (add otherwise when fallback behavior is required).open and Link first.useLink only for custom interaction surfaces.router.registerRoute(...)) only if runtime extension is required.chainRoute, group) after baseline routing works.createLazyRouteView, withLayout) when route tree is stable.@argon-router/react).sample, attach) over imperative glue code.Link over useLink unless custom interaction requires manual handlers.setHistory before expecting route activation from URL changes.setHistory (historyAdapter(...) or queryAdapter(...)), not raw history objects.useLink is registered in createRouter({ routes }).trackQuery, not ad-hoc parsing in components.createRoutesView and Outlet composition.createRoutesView({ otherwise }) when no-match fallback is part of requirements.historyAdapter for pathname routing and queryAdapter for secondary/modal/tab routing.allSettled(router.setHistory, { params: historyAdapter(createMemoryHistory(...)) }).development
Select and apply Patronum operators for Effector code with minimal, practical v2.x examples. Use when tasks involve choosing between Patronum operators, composing reactive state flows, replacing manual sample/combine boilerplate with Patronum utilities, explaining operator signatures and return types, or adapting legacy Patronum usage to modern v2 shorthand and import patterns.
development
Design, refactor, and review Effector state management using modern v23+ patterns. Use when tasks involve createStore/createEvent/createEffect modeling, dataflow with sample/attach/split, scope-safe SSR with fork/allSettled/serialize/hydrate, React integration with useUnit, Solid/Vue integration patterns, fixing scope loss, or replacing anti-patterns such as business logic in watch, imperative calls in effects, and direct getState business reads.
development
Choose and implement effector-storage persistence patterns for Effector apps. Use when tasks involve persist/createPersist usage, selecting adapters (local/session/query/broadcast/storage/asyncStorage/memory/nil/log), configuring clock/pickup/context/keyPrefix, validating data with contracts, handling done/fail/finally flows, SSR-safe adapter fallback with either, or debugging sync and serialization issues.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.