Router On
weave-os/router
Route Codex through the Weave Router again (turn it back on).
Router definition and navigation patterns for Rasengan.js. An agent skill from rasengan-dev/rasenganjs.
$ npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rasengan-dev/rasenganjs rasengan-routing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rasengan-dev/rasenganjs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rasengan-routing .claude/skills/rasengan-routing && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rasengan-routing" agent skill from https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routing into .claude/skills/rasengan-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rasengan-routing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rasengan-dev/rasenganjs rasengan-routing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rasengan-dev/rasenganjs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/rasengan-routing .agents/skills/rasengan-routing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rasengan-routing" agent skill from https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routing into .agents/skills/rasengan-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rasengan-routing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rasengan-dev/rasenganjs rasengan-routing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rasengan-dev/rasenganjs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/rasengan-routing .cursor/skills/rasengan-routing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rasengan-routing" agent skill from https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routing into .cursor/skills/rasengan-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rasengan-routing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rasengan-dev/rasenganjs.git --path .agents/skills/rasengan-routing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rasengan-dev/rasenganjs rasengan-routing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rasengan-dev/rasenganjs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/rasengan-routing .gemini/skills/rasengan-routing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rasengan-routing" agent skill from https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routing into .gemini/skills/rasengan-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rasengan-routing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rasengan-dev/rasenganjs rasengan-routingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rasengan-dev/rasenganjs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/rasengan-routing .github/skills/rasengan-routing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rasengan-routing" agent skill from https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routing into .github/skills/rasengan-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rasengan-routing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rasengan-dev/rasenganjs rasengan-routing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rasengan-dev/rasenganjs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/rasengan-routing .opencode/skills/rasengan-routing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rasengan-routing" agent skill from https://github.com/rasengan-dev/rasenganjs/tree/main/.agents/skills/rasengan-routing into .opencode/skills/rasengan-routing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rasengan-routing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rasengan-routingRouter definition and navigation patterns for Rasengan.js. An agent skill from rasengan-dev/rasenganjs.
Rasengan Routing is an agent skill from rasengan-dev/rasenganjs. Router definition and navigation patterns for Rasengan.js. Covers config-based and file-based routing, RouterComponent, defineRouter, defineRoutesGroup, Link, NavLink, useLocation, useNavigate, useParams, useSearchParams, dynamic routes, route groups, and file-based routing conventions. Use when creating or modifying app.router.ts, defining route structures, setting up dynamic segments, or implementing navigation.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Rasengan.js is a full-stack meta-framework for React — SSR, SSG, and a built-in backend, running anywhere from Node.js to the edge, without compromising on performance. The licence is MIT.
Read from SKILL.md and the folder at commit 459b93b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Rasengan Routing loads about 2.3k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 536 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from rasengan-dev/rasenganjs at commit 459b93b, republished under its MIT licence (© rasengan-dev). 536 words, ~2,250 tokens.
.claude/skills/rasengan-routing/SKILL.md (or your agent's skills folder).src/app/app.router.{js,ts}Link or NavLinkuseNavigate, useLocation, useParams, useSearchParams[param], [_param], route groups (group)defineRoutesGroup| Property | Type | Description |
|---|---|---|
layout | LayoutComponent | RouteNode | Layout component for the router |
routers | RouterComponent[] | Nested sub-routers |
pages | PageComponent[] | RouteNode[] | Page components |
loaderComponent | FunctionComponent | Loading fallback |
notFoundComponent | FunctionComponent | 404 component |
useParentLayout | boolean | Inherit parent layout |
import { RouterComponent, defineRouter } from 'rasengan';
import Home from './home.page';
import About from './about.page';
import AppLayout from './layout';
class AppRouter extends RouterComponent {}
export default defineRouter({
layout: AppLayout,
pages: [Home, About],
notFoundComponent: NotFound,
})(AppRouter);import { RouterComponent, defineRouter } from 'rasengan';
import Router from 'virtual:rasengan/router';
class AppRouter extends RouterComponent {}
export default defineRouter({ imports: [Router] })(AppRouter);import { defineRoutesGroup } from 'rasengan';
export default defineRoutesGroup({
path: '/dashboard',
pages: [Settings, Profile],
routers: [AdminRouter],
});| File pattern | Route segment | Example URL |
|---|---|---|
[id].page.tsx | :id | /posts/123 |
[_locale]/index.page.tsx | :locale? | /en or / |
(group)/index.page.tsx | (ignored in path) | / |
_optional/index.page.tsx | optional? | /optional or `` |
Config-based dynamic routes use react-router syntax:
Profile.path = '/profile/:id'; // required param
Profile.path = '/profile/:id?'; // optional param
Profile.path = '/profile/:id?/:name?'; // multiple optional paramsImport from rasengan for client-side navigation:
import { Link } from 'rasengan';
// Basic usage
<Link to="/dashboard">Go to Dashboard</Link>
// Dynamic routes
<Link to={`/post/${post.id}`}>Read More</Link>
// Hash anchors (renders as <a>, not react-router Link)
<Link to="#section">Section</Link>
// Fragment navigation with hash
<Link to="/admin/dashboard#statistics">Statistics</Link>The Link component renders an <a> element that navigates client-side without a full page reload.
Import from rasengan for links with active state tracking:
import { NavLink } from 'rasengan';
// Basic usage with className callback
<NavLink
to="/about"
className={({ isActive, isPending }) =>
isPending ? "pending" : isActive ? "active" : ""
}
>
About
</NavLink>
// Children as render props
<NavLink to="/tasks">
{({ isActive }) => (
<span className={isActive ? "active" : ""}>Tasks</span>
)}
</NavLink>Active state matching:
| NavLink | URL | isActive |
|---|---|---|
<NavLink to="/tasks" /> | /tasks | true |
<NavLink to="/tasks" /> | /tasks/123 | true |
<NavLink to="/tasks" end /> | /tasks | true |
<NavLink to="/tasks" end /> | /tasks/123 | false |
isActive — true when current route starts with to valueisPending — true when the route transition is loadingend prop — restricts active matching to exact match onlyImport from rasengan for programmatic navigation:
import { useNavigate } from 'rasengan';
function LogoutButton() {
const navigate = useNavigate();
const handleLogout = async () => {
await logout();
navigate('/sign-in');
};
return <button onClick={handleLogout}>Logout</button>;
}navigate(to) — navigate to a pathnavigate(-1) — go back in historynavigate(1) — go forward in historyNavigateOptions (replace, state, etc.)Import from rasengan to read the current URL location:
import { useLocation } from 'rasengan';
function ActiveLink({ to, children }) {
const { pathname } = useLocation();
return (
<Link to={to} className={pathname === to ? 'active' : ''}>
{children}
</Link>
);
}Returns a location object with pathname, search, hash, state, and key properties.
Import from rasengan to access dynamic route parameters:
import { useParams } from 'rasengan';
const Profile = () => {
const { id } = useParams();
return <div>User ID: {id}</div>;
};
Profile.path = '/profile/:id';:id?) may be undefinedImport from rasengan (re-exported from react-router) to read and update URL query string:
import { useSearchParams } from 'rasengan';
function FilterBar() {
const [searchParams, setSearchParams] = useSearchParams();
const tab = searchParams.get('tab') ?? 'overview';
return (
<div>
<p>Active tab: {tab}</p>
<button onClick={() => setSearchParams({ tab: 'settings' })}>
Go to Settings tab
</button>
</div>
);
}setSearchParams accepts multiple forms:
// Search param string
setSearchParams('?tab=1');
// Shorthand object
setSearchParams({ tab: '1' });
// Object with array values (multiple values for same key)
setSearchParams({ brand: ['nike', 'reebok'] });
// Array of tuples
setSearchParams([['tab', '1']]);
// Function callback (receives current URLSearchParams)
setSearchParams((prev) => {
prev.set('tab', '2');
return prev;
});
// With navigation options (prevent scroll reset, replace history)
setSearchParams({ tab: '2' }, { replace: true, preventScrollReset: true });searchParams is a stable URLSearchParams reference (safe as useEffect dependency)setSearchParams causes a navigation — URL updates and re-render triggersdefaultInit provides default values without changing the URL on first renderRouterComponent and wrap it with defineRouter()pages array, set layout explicitly, provide notFoundComponentimport Router from 'virtual:rasengan/router' with { imports: [Router] }routers for nested sub-routers when splitting large route treesuseParentLayout: true on child routers to inherit the parent's layoutdefineRoutesGroup to group routes under a shared path prefix without a separate router class[_param] generate both with and without the segment(group) do not add a path segment — use them for organization only_name/ become optional path segmentsreact-router — import routing APIs from rasenganNavLink over Link + useLocation when you need active state tracking (less boilerplate)end prop on NavLink when active state should only match the exact path, not sub-routesuseSearchParams instead of manual URL parsing for query string accessLink for declarative navigation and useNavigate for imperative navigation (e.g., after form submission)© rasengan-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/rasengan-routing of rasengan-dev/rasenganjs.
Open the folder on GitHubat commit 459b93b
Rasengan Routing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Rasengan Routing this skillrasengan-dev/rasenganjs | 124 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Router Onweave-os/router | 5.6k | — | ~169 | Automated safety check: Pass | Apache-2.0 | |
| Router Offweave-os/router | 5.6k | — | ~183 | Automated safety check: Pass | Apache-2.0 | |
| Breadcrumb Navigationthedaviddias/Front-End-Checklist | 74k | — | ~418 | Automated safety check: Pass | MIT | |
| Navigation Landmarkthedaviddias/Front-End-Checklist | 74k | — | ~417 | Automated safety check: Pass | MIT | |
| Keyboard Navigationthedaviddias/Front-End-Checklist | 74k | — | ~567 | Automated safety check: Pass | MIT |
weave-os/router
Route Codex through the Weave Router again (turn it back on).
weave-os/router
Route Codex to its default provider again (turn the Weave Router off).
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Implement accessible breadcrumb navigation.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Use navigation landmark regions.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Enable keyboard navigation for all elements.
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Include a skip navigation link.
rasengan-dev/rasenganjs
Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale.
rasengan-dev/rasenganjs
Project configuration and rendering mode patterns for Rasengan.js.
rasengan-dev/rasenganjs
Data fetching and SSG static path patterns for Rasengan.js. An agent skill from rasengan-dev/rasenganjs.
rasengan-dev/rasenganjs
Deployment patterns for Rasengan.js. An agent skill from rasengan-dev/rasenganjs.
rasengan-dev/rasenganjs
Rasengan.js ecosystem package patterns. An agent skill from rasengan-dev/rasenganjs.
rasengan-dev/rasenganjs
Optimization patterns for Rasengan.js. An agent skill from rasengan-dev/rasenganjs.
Router definition and navigation patterns for Rasengan.js. An agent skill from rasengan-dev/rasenganjs. Rasengan Routing is an agent skill from rasengan-dev/rasenganjs.js.
Rasengan Routing fits situations like: modifying app.router.ts; defining route structures; setting up dynamic segments; implementing navigation.
Run `npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a claude-code`. Or copy the skill folder (.agents/skills/rasengan-routing in rasengan-dev/rasenganjs) into .claude/skills/rasengan-routing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a codex`. Or copy the skill folder (.agents/skills/rasengan-routing in rasengan-dev/rasenganjs) into .agents/skills/rasengan-routing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rasengan-dev/rasenganjs --skill rasengan-routing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rasengan-routing, .gemini/skills/rasengan-routing, .github/skills/rasengan-routing and .opencode/skills/rasengan-routing in your project.
SKILL.md names no scripts, command-line tools or credentials: Rasengan Routing is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Rasengan Routing is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Rasengan Routing: Router On (weave-os/router, 5.6k stars), Router Off (weave-os/router, 5.6k stars), Breadcrumb Navigation (thedaviddias/Front-End-Checklist, 74k stars) and Navigation Landmark (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rasengan-dev (a GitHub organization) maintains it in rasengan-dev/rasenganjs, which has 124 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 9, 2026.
Source: rasengan-dev/rasenganjs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.