Automatically crawls your Express.js codebase and builds a complete inventory of every API endpoint with methods, paths, file locations, and line numbers. Runs a Python scanner script and enriches the output with middleware detection and route type classification. Useful when you inherit a sprawling API, need to audit what endpoints exist before a refactor, or want to feed route data into documentation generators. The JSON manifest output is designed to pipe directly into other tools, which is smart. Won't catch dynamically constructed routes, but handles the standard router patterns that cover most real world Express apps.

GitHub stars
826
last updated
May 30, 2026

Install

$ npx -y skills add huangjia2019/claude-code-engineering --skill route-scanning --agent claude-code

Installs into .claude/skills of the current project.

Files

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).

Sponsors

Details

Repository
github.com/huangjia2019/claude-code-engineering
Category
Backend & APIs
First seen
Jun 11, 2026

More from huangjia2019/claude-code-engineering

All 11
1jezweb avatarOpenAI Apps MCPjezweb/claude-skillsBuild ChatGPT apps with MCP servers on Cloudflare Workers. Extend ChatGPT with custom tools and interactive widgets (HTML/JS UI). Use when: developing ChatGPT e0skills.sh installs
2kostard avatarforgecad-make-a-modelkostard/forgecad-public-kitCreate manufacture-realistic prototype ForgeCAD (.forge.js) models in the active CAD project. Handles file placement, invokes the forgecad skill for API guidanc0skills.sh installs
3kubesphere avatarkubesphere-corekubesphere/kubesphereKubeSphere central controller Skill. Routes to specific Skills based on user requests: multi-cluster management (kubesphere-cluster-management), multi-tenant ma0skills.sh installs
4kubesphere avatarkubesphere-volcanokubesphere/kubesphereKubeSphere Volcano job management Skill. Use when user asks to create, list, update, delete Jobs (Volcano Jobs), manage Queues, create PyTorch/TensorFlow/MPI tr0skills.sh installs
5manutej avatarFastAPI Customer Support Tech Enablementmanutej/luxor-claude-marketplaceComprehensive FastAPI skill for building modern Python web APIs with focus on customer support systems, ticket management, real-time chat, and backend operation0skills.sh installs
6microsoft avatarentra-agent-idmicrosoft/github-copilot-for-azureProvision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token e0skills.sh installs