@iyulab/router 0.7.3 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,15 +2,6 @@
2
2
 
3
3
  A modern, lightweight client-side router for web applications with support for both Lit and React components.
4
4
 
5
- ## Features
6
-
7
- - 🚀 **Modern URLPattern-based routing** - Uses native URLPattern API for powerful path matching
8
- - 🔧 **Unified Framework Support** - Works with both Lit and React components using render functions
9
- - 📱 **Client-Side Navigation** - History API integration with browser back/forward support
10
- - 🎯 **Nested Routing** - Support for deeply nested route hierarchies with index and path routes
11
- - 📊 **Route Events** - Track navigation progress with route-begin, route-done, and route-error events
12
- - ⚠️ **Enhanced Error Handling** - Built-in ErrorPage component with improved styling
13
-
14
5
  ## Installation
15
6
 
16
7
  ```bash
@@ -95,6 +86,22 @@ const routes: RouteConfig[] = [
95
86
  ];
96
87
  ```
97
88
 
89
+ ## Skills Usage
90
+
91
+ Install the `iyulab-router` skill to give your AI agent knowledge of this package's API and patterns.
92
+
93
+ **Using GitHub shorthand:**
94
+
95
+ ```bash
96
+ npx skills add iyulab/node-router
97
+ ```
98
+
99
+ **Using local path (after `npm install`):**
100
+
101
+ ```bash
102
+ npx skills add ./node_modules/@iyulab/router
103
+ ```
104
+
98
105
  ## Usage Examples
99
106
 
100
107
  ### Using with Lit Elements