Project analysis node express

From event4u-app/agent-config · View interactive version

Project analysis node express is an AI agent skill from the GitHub repository event4u-app/agent-config. Use for deep Node.js / Express project analysis: boot flow, middleware order, async behavior, data layer, auth/security, and Node-specific runtime failure patterns.

How to use this skill

Skill file

project-analysis-node-express

When to use

Use this skill when:

Do NOT use when:

Core principles

Procedure

1. Confirm runtime and framework shape

Check: package.json, lock file, Node version requirements, entrypoint files, Express or similar framework usage, TS/JS setup, env/config loading.

Validate: Node/runtime version is explicit, major packages are identified, app entrypoint and boot path are known.

2. Analyze app boot and middleware registration

Inspect: server bootstrap, env/config loading, app.use() order, route registration, error middleware, DB connection startup, graceful shutdown handling.

Check:

3. Trace request-to-response flow

Trace: route → middleware chain → controller/handler → service layer → ORM/query layer → response handling.

Validate: request lifecycle is explicit, input validation/auth/error handling are visible, "headers already sent" or double-response risks are identified.

4. Analyze async/runtime behavior

Inspect: async middleware, await usage, promise handling, background jobs/workers, stream usage, event listeners, shared module state.

Check:

5. Analyze data and security flow

Inspect: ORM/query layer, transactions, auth/token/session logic, rate limiting, input sanitization, raw SQL usage.

Check:

6. Validate Node/Express analysis quality

Check:

Output format

  1. Runtime/framework summary
  2. Boot/middleware findings
  3. Request/async flow findings
  4. Data/security findings
  5. Runtime/process risks
  6. Key risks and next steps

Gotcha

Do NOT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.