Route scanning
Scan Express.js source files to discover all API route definitions.From its SKILL.md
npx -y skills add huangjia2019/claude-code-engineering --skill route-scanningAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.0 KB, 196 tokens by cl100k_base, as published. Nobody here has run it
Route Scanning Skill
Discover all API route definitions in Express.js source files.
Process
Step 1: Run Route Scanner
Execute the scanning script:
python3 scripts/scan-routes.py <source_directory>
The script outputs a structured route list with method, path, file, and line number.
Step 2: Enrich Route Data
For each discovered route, also identify:
- Middleware applied (auth, validation, etc.)
- Whether it's a standard route or chained route (
router.route())
Output Format
Return a JSON-compatible route manifest:
[
{
"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).
What ships with it: 1 file
3.2 KB alongside SKILL.md, 1 of them executable
scripts/
- scan-routes.pyruns3.2 KB