بنقرة واحدة
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).