
Teaches Claude how LobeHub's SPA enforces a strict roots-vs-features split: thin route segments under src/routes/ only import and compose, while all real UI and logic lives in domain-organized folders under src/features/. The big constraint is desktop router parity: any change to the route tree must update both desktopRouter.config.tsx and desktopRouter.config.desktop.tsx in lockstep or you get blank screens. Use this when adding routes, moving components between routes and features, or editing any of the three router configs (desktop pair, mobile, popup). It includes concrete file structure rules, a decision table for what goes where, and registration steps.
npx -y skills add lobehub/lobehub --skill spa-routes --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.