react-router-tab-subroute-refactor
CommunityConsolidate admin pages into clean tabbed sub-routes.
Software Engineering#react#react-router#frontend-refactor#tab-navigation#shadcn-tabs#sub-routes#admin-interface
Authorfreedomw1987
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the issue of scattered top-level admin pages (such as /users, /roles, /audit) that lack consistent navigation, deep linking support, and proper browser back/forward behavior, making management of related system settings clunky and error-prone.
Core Features & Use Cases
- Tabbed Sub-Route Consolidation: Combines 3+ related top-level pages into a single URL prefix with a shared tab navigation layout using React Router v6/v7 and shadcn Tabs (Radix UI) with Tailwind styling.
- Deep Linking & Browser Compatibility: Ensures URLs are the source of truth for active tab state, so deep links, browser back/forward navigation, and "open in new tab" all work as expected.
- Use Case: Ideal for refactoring admin page clusters like settings pages that have accumulated too many top-level navigation links, or wrapping a set of related management pages into a unified tabbed interface.
Quick Start
Use this Skill to refactor your existing /users, /roles, and /audit top-level pages into a single /settings/* prefix with a shared tab navigation layout that supports deep linking and proper browser history navigation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-router-tab-subroute-refactor Download link: https://github.com/freedomw1987/tree_monstor/archive/main.zip#react-router-tab-subroute-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.