← 返回 Skills 市场
vue-component-analyzer
作者
baozaibuding
· GitHub ↗
· v1.0.0
· MIT-0
103
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install vue-component-analyzer
功能描述
分析 Vue 前端项目的组件依赖关系,从入口文件开始递归分析所有组件,生成组件层级关系图。支持 Vue 2 和 Vue 3 项目,输出包含组件名称、文件路径和所需属性。使用当用户需要分析 Vue 组件结构、排查组件依赖关系或理解项目架构时。
安全使用建议
This skill appears coherent and only needs access to your project files to work. Before installing or enabling it for autonomous runs: 1) be aware it will read source files in the project workspace — that can include any secrets embedded in code (API keys, tokens) so only run it in trusted repositories; 2) the implementation notes use regex-based parsing, which is brittle and may miss complex dynamic import patterns or TypeScript edge cases—expect some false negatives; 3) because it is instruction-only and has no install, there are no added binaries or network endpoints, but granting the agent filesystem access is the key permission here; if you are concerned, run it in an isolated/copy workspace or review outputs before sharing them externally.
功能分析
Type: OpenClaw Skill
Name: vue-component-analyzer
Version: 1.0.0
The skill bundle is a legitimate tool designed to analyze Vue.js project component dependencies. The instructions in SKILL.md and the logic in implementation.md focus exclusively on parsing local source files, extracting component relationships, and generating visualization reports (Markdown, JSON, Mermaid). There is no evidence of data exfiltration, malicious execution, or prompt injection attempts.
能力评估
Purpose & Capability
The name/description (analyze Vue component dependency graph) align with the instructions and implementation notes (locate entry file, parse .vue files, extract imports/props, generate Markdown/JSON/Mermaid). No unrelated permissions, env vars, or binaries are requested.
Instruction Scope
SKILL.md and implementation.md instruct the agent to read project files, parse templates/scripts/imports, and recurse through component imports. These file and path operations are appropriate and necessary for the stated task. The instructions do not direct the agent to read unrelated system files, environment variables, or send data to external endpoints.
Install Mechanism
This is an instruction-only skill with no install spec and no external downloads; nothing is written to disk by an installer. That is proportionate for a static analysis helper.
Credentials
No environment variables, credentials, or config paths are required. The skill works by reading project source files only, which is consistent with its purpose.
Persistence & Privilege
The skill does not request permanent inclusion (always:false). The default of allowing autonomous invocation is present but not unusual; note that autonomous invocation would let the agent run the file-reading/parsing behavior without manual prompts. This is expected for a code-analysis skill but worth considering in policy decisions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install vue-component-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/vue-component-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of vue-component-analyzer:
- Recursively analyzes Vue 2 and Vue 3 component dependencies from the entry file.
- Extracts component names, file paths, and props (name, type, required, default).
- Supports both Options API and Composition API (including <script setup>).
- Outputs results in Markdown tree, JSON, and Mermaid chart formats.
- Ignores third-party library components; handles path aliases and circular dependencies.
- Recognizes static and dynamic component imports and async components.
元数据
常见问题
vue-component-analyzer 是什么?
分析 Vue 前端项目的组件依赖关系,从入口文件开始递归分析所有组件,生成组件层级关系图。支持 Vue 2 和 Vue 3 项目,输出包含组件名称、文件路径和所需属性。使用当用户需要分析 Vue 组件结构、排查组件依赖关系或理解项目架构时。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。
如何安装 vue-component-analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install vue-component-analyzer」即可一键安装,无需额外配置。
vue-component-analyzer 是免费的吗?
是的,vue-component-analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
vue-component-analyzer 支持哪些平台?
vue-component-analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 vue-component-analyzer?
由 baozaibuding(@baozaibuding)开发并维护,当前版本 v1.0.0。
推荐 Skills