theme-routing-patterns
OfficialEnforce location-aware routing in themes.
AuthorWorkSync-Developement
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures theme navigation uses locationPrefix and never relies on hardcoded routes, preventing breakages when rendering across multiple locations.
Core Features & Use Cases
- LocationPrefix-driven routing: Always derive routes from locationPrefix, avoiding hard-coded paths.
- Single vs Multi-location support: Applies correct route patterns for home, about, policies, blog, and location-specific pages.
- Use Case: When building variants for multiple offices, navigation automatically adapts to the active location.
Quick Start
To implement, reference the routing patterns in your theme components and pass locationPrefix from the page container.
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: theme-routing-patterns Download link: https://github.com/WorkSync-Developement/developertestrepo/archive/main.zip#theme-routing-patterns 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 223,000+ vetted skills library on demand.