Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Scan Express.js source files to discover all API route definitions.
.claude/skills/huangjia2019-route-scanning/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -65% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -47% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -65% | 0% |
Discover all API route definitions in Express.js source files.
Execute the scanning script:
bashpython3 scripts/scan-routes.py <source_directory>
The script outputs a structured route list with method, path, file, and line number.
For each discovered route, also identify:
router.route())Return a JSON-compatible route manifest:
json[ { "method": "GET", "path": "/api/products", "file": "src/routes/products.js", "line": 8, "middleware": ["requireAuth"], "type": "standard" } ]
This manifest will be consumed by the next pipeline stage (doc-writing).
Other measured skills in the registry, with their headline benchmark lift.