一键导入
route-scanning
Scan Express.js source files to discover all API route definitions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scan Express.js source files to discover all API route definitions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
React 组件设计模式、Hooks 使用指南、性能优化技巧
Review code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks about code quality.
Review code for quality, security, and best practices. Use when the user asks for code review, wants feedback on their code, mentions reviewing changes, or asks about code quality.
Generate an interactive tree visualization of your codebase. Use when exploring a new repo or understanding project structure.
Generate an interactive tree visualization of your codebase. Use when exploring a new repo or understanding project structure.
Generate API endpoint code and documentation from specifications. Use when the user wants to create new API endpoints, generate route handlers, scaffold REST APIs, or produce OpenAPI/Swagger specs from code.
| name | route-scanning |
| description | Scan Express.js source files to discover all API route definitions. |
| allowed-tools | ["Read","Grep","Glob","Bash(python3 *)"] |
Discover all API route definitions in Express.js source files.
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.
For each discovered route, also identify:
router.route())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).