/install analyze-frontend-structure
Features
- Universal Routing Analysis: Automatically identifies and parses routing configuration files of different frontend frameworks, extracting routing paths, component associations, and other information.
- Intelligent Module Recognition: Analyzes directory structure and component dependencies to identify project module divisions, regardless of framework.
- Standardized Mapping Generation: Generates clear mapping relationships between modules and pages, including parent-child relationships, hierarchical structures, etc.
- Intelligent Navigation Support: The generated mapping document can be directly used in intelligent navigation systems, supporting quick positioning and navigation.
Technical Implementation
Core Functions
- Directory Scanning: Traverses the specified directory, identifies key files and directory structures, and adapts to different project organization methods.
- Route Parsing: Parses common routing configurations such as Vue Router, React Router, Angular Router, etc.
- Module Recognition: Intelligently identifies modules based on directory structure, naming conventions, and component reference relationships.
- Mapping Generation: Generates standardized module-page mapping documents, supporting multiple output formats.
Supported Frameworks
- Vue 2/3
- React
- Angular
- Svelte
- Solid
Usage
When user needs to analyze a frontend project structure, invoke this skill directly:
- User provides the frontend project directory path
- Skill automatically scans and analyzes
- Generates module-page mapping document
Input Requirements
- User needs to provide the directory path of the frontend project to be analyzed
- Optional: specify framework type (vue, react, angular, svelte, solid), default is auto-detection
- Optional: specify output format (json, markdown, html)
- Optional: specify output file path
Output
Generates a mapping document containing:
- Project Info: project name, framework type, analysis date
- Module List: module name, route path, component file, nested sub-modules
- Component List: component name, file path, which modules use it
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install analyze-frontend-structure - After installation, invoke the skill by name or use
/analyze-frontend-structure - Provide required inputs per the skill's parameter spec and get structured output
What is analyze frontend structure?
This skill is used to scan any frontend project directory, automatically analyze routing structure and module division, and generate a universal module-page... It is an AI Agent Skill for Claude Code / OpenClaw, with 297 downloads so far.
How do I install analyze frontend structure?
Run "/install analyze-frontend-structure" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is analyze frontend structure free?
Yes, analyze frontend structure is completely free (open-source). You can download, install and use it at no cost.
Which platforms does analyze frontend structure support?
analyze frontend structure is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created analyze frontend structure?
It is built and maintained by damutou95 (@damutou95); the current version is v1.0.0.