Sync URL Navigation
Syncs URL query parameters with app navigation, tabs, and filter state so views are bookmarkable and shareable. Use when building or changing frontend routing, filters, tabs, modals, deep links, browser back/forward, or when the user asks to remember navigation in the URL, sync state to query params, or make screens linkable.
Install
npx skills add swyxio/skills --skill sync-url-navigationgit clone --depth 1 https://github.com/swyxio/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/sync-url-navigation ~/.claude/skills/sync-url-navigationPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Sync URL to navigation and filter state ## User preference **Always keep meaningful UI navigation and filtering state in the URL** (query params). Reloading, sharing, or opening a link should restore the same screen—not only the top-level route. The user expects this by default on web apps unless they say otherwise. ## What to put in the URL | State | Include when | |-------|----------------| | Active view / tab / mode | User can switch between distinct screens | | Sub-navigation (sidebar table, nested tab) | Second-level nav exists | | Search / filter text | User can filter lists or tables | | Structured filters (dropdowns) | Each materially changes what's shown | | Pagination cursor (optional) | Only if bookmarking a page matters; prefer omitting page=1 | | Selection / editor (optional) | Only for shareable deep links (`?focus=type:id`) | **Omit defaults** from the URL (e.g. default tab id, empty `q`) to keep links clean. ## Implementation pattern 1. **Single routing module** — `readRouteState(search)` + `writeRouteState(state)` (or equivalent). Parse and validate all params in one place. 2. **Initialize store from URL** on load — signals get initial values from `readRouteState()`, not hardcoded defaults alone. 3. **Setter functions** — e.g. `setDataTableId`, `setListFilter`: update signal(s), then call `writeRouteState`. UI never mutates filters without syncing the URL.
Details
- Skill name
sync-url-navigation- Repository
- swyxio/skills
- Path
sync-url-navigation/SKILL.md- License
- MIT
- Repo updated
- 16 November 2026
FAQ
What does the Sync URL Navigation skill do?
Syncs URL query parameters with app navigation, tabs, and filter state so views are bookmarkable and shareable. Use when building or changing frontend routing, filters, tabs, modals, deep links, browser back/forward, or when the user asks to remember navigation in the URL, sync state to query params, or make screens linkable.
How do I install the Sync URL Navigation skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add swyxio/skills --skill sync-url-navigation. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Sync URL Navigation popular?
It lives in swyxio/skills, which has 201 GitHub stars and 12 forks.
Related skills
Accelevents API
201swyxio/skills
Use when reading or updating AI Engineer Europe speaker records through the Accelevents REST API, especially for full-record PUT updates, auth header quirks, and preserving existing speaker fields.
Accelevents Speaker Sync
201swyxio/skills
Use when website speaker, session, schedule, room, track, or headshot changes must be synchronized back to Accelevents for AI Engineer Europe 2026.
Agents SDK
201swyxio/skills
Build or debug stateful applications that specifically use Cloudflare's `agents` package, including Agent classes, routing, callable methods, synchronized state, scheduling, AIChatAgent, durable execution, or Agents SDK client hooks. Do not trigger for generic AI-agent design, the OpenAI Agents SDK, or ordinary Durable Object work that does not use the Cloudflare Agents SDK.
Tailwind
228pproenca/dot-skills
Tailwind CSS v4 performance optimization and best practices guidelines (formerly tailwindcss-v4-style). This skill should be used when writing, reviewing, or refactoring Tailwind CSS v4 code to ensure optimal build performance, minimal CSS output, and correct usage of v4 features. Triggers on tasks involving Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.
Sonic Branding
150guia-matthieu/clawfu-skills
Build a complete audio identity for your brand using the 7-step methodology—from brand assessment through deployment—creating memorable sonic assets that drive recognition and trust. Use when: Creating audio branding for a new company; Refreshing outdated brand sounds; Developing audio guidelines for consistent usage; Planning sonic identity across touchpoints; Briefing agencies on audio branding projects
Tailwind Refactor
228pproenca/dot-skills
Tailwind CSS code refactoring patterns for v4 migration and anti-pattern cleanup. This skill should be used when refactoring Tailwind utility classes, migrating from v3 to v4, cleaning up deprecated utilities, consolidating verbose class patterns, or removing code smells — all without changing the visual output. Triggers on tasks involving Tailwind CSS cleanup, v4 migration, class refactoring, @apply removal, or utility modernization.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.