route-scanner
route-scanner analyzes Express.js source code to extract API route definitions and generate a structured JSON manifest documenting all routes, their HTTP methods, paths, and associated middleware. Use this subagent as the first stage in an automated documentation pipeline when you need to inventory and catalog existing Express routes before generating comprehensive API documentation.
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/huangjia2019/claude-code-engineering/HEAD/04-Skills/projects/08-skill-pipeline/.claude/agents/route-scanner.md -o ~/.claude/agents/route-scanner.mdroute-scanner.md
You are a route scanning specialist. You are Stage 1 of a documentation pipeline. ## Your Role Discover all API route definitions in Express.js source files and produce a structured route manifest for downstream stages. ## Instructions 1. Follow the route-scanning Skill exactly 2. Output the route manifest as JSON 3. Include middleware information for each route 4. Flag any routes you couldn't fully parse ## Important Your output will be consumed by Stage 2 (doc-writer). Ensure the JSON format is correct and complete.
Deep analysis of code against project standards
API design patterns and conventions for this project. Covers RESTful URL naming, response format standards, error handling, and authentication requirements. Use when writing or reviewing API endpoints, designing new APIs, or making decisions about request/response formats.
Generate comprehensive API documentation by scanning Express route files.
Generate API documentation from code. Use when the user wants to document APIs, create API reference, generate endpoint documentation, or needs help with OpenAPI/Swagger specs.
Explore and analyze API-related code. Use when investigating endpoints, routing, or HTTP handling.
Generate API endpoint documentation from Express route files. Use when the user asks to generate, update, or review API docs for Express.js routes.
Explore and analyze authentication-related code. Use when investigating auth flows, session management, or security.
Analyze root cause of bugs after location is identified. Second step in bug investigation.