SuperAPI AI Directory

context-analyzer

Coding & development

View repository

Updated 10-15 20:10

About this skill

Context Analyzer Skill

Capabilities

  • Project structure analysis: Understand Nuxt 3/4 directory conventions (server/api, components, pages)。
  • Symbol resolution: Locate the definitions of components, auto-imported composables, and TypeORM entities (usually in server/entities)。
  • Dependency checking: Read package.json to verify installed packages and versions.

Instructions

  1. Read the structure: Use directory listing tools to understand the layout, ignoring node_modules and .output。
  2. Identify backend directories: Identify server/ as backend logic, including APIs (server/api), entities (server/entities), utility libraries (server/utils), and database configuration (server/database)。
  3. Identify frontend directories: Identify pages/components/composables/layouts as the frontend.
  4. Trace logic: Search broadly for symbol definitions to understand how data flows between backend entities (Entities) and frontend components (Components).
  5. Dependencies: Check package.json before suggesting imports to learn which libraries are available (such as dayjs, lodash-es, fs-extra)。

Usage Example

Input: "Analyze the current user authentication flow." Action: Read server/api/auth/*, lib/auth.ts, middleware/auth.global.ts and pages/login.vue to map the flow.