← Back to Skills Marketplace
sunshine-del-ux

Vue Component Generator

by Sunshine-del-ux · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
742
Downloads
1
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install vue-component-generator
Description
生成 Vue 3 组件模板,支持 Composition API、Options API、TypeScript、SFC 单文件组件,一键生成完整 Vue 组件代码。
Usage Guidance
This skill's documentation promises a multi-feature CLI but the included script only creates a very simple .vue file from a placeholder name. If you intend to use it, inspect or run the script in a safe directory first; it will write files to the current working directory. Do not expect support for flags like --api, --typescript, or --output unless you install or author a fuller implementation. If you need the advertised features, ask the author for the real CLI implementation or extend the script yourself. Because the discrepancy is significant, treat this skill as untrusted until its claimed features are actually implemented.
Capability Analysis
Type: OpenClaw Skill Name: vue-component-generator Version: 1.0.0 The `vue-component-generator.sh` script is vulnerable to shell injection and path traversal. The `$NAME` variable, derived directly from user input (`$1`), is used unsanitized in the `sed` command (`sed -i "s/COMP_NAME/$NAME/g" "$NAME.vue"`) and in the filename creation (`"$NAME.vue"`). This allows an attacker to execute arbitrary commands (e.g., by providing `$(command)` as input) or write files to arbitrary locations (e.g., by providing `../sensitive_file` as input). While this is a critical vulnerability, there is no clear evidence of intentional malicious behavior like data exfiltration or persistence mechanisms.
Capability Assessment
Purpose & Capability
The SKILL.md advertises many features (Composition/Options API, TypeScript, script-setup, SCSS, --api/--typescript/--output flags, multiple component types). The provided artifact (vue-component-generator.sh) only accepts an optional first positional name and writes a basic template by replacing a placeholder; it does not parse flags, support TypeScript/SCSS generation, or respect an output directory. This is a clear mismatch between declared capabilities and actual code.
Instruction Scope
Instructions show CLI usage examples that imply support for multiple flags and output control, but runtime behavior (the shell script) only uses the first argument as a component name and writes a file in the current directory. The instructions do not request credentials or access to unrelated files; generated files will be written to the current working directory. Also note sed -i is used (may behave differently on macOS), which is a portability issue but not a security concern.
Install Mechanism
No install spec is provided (instruction-only with an included shell script). No external downloads or package installs are declared. This minimizes install-time risk.
Credentials
No environment variables, credentials, or config paths are required or requested. The skill does not attempt to access unrelated secrets or system configuration.
Persistence & Privilege
The skill is not always-included and has no special persistence or system-wide configuration changes. It does not modify other skills or agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install vue-component-generator
  3. After installation, invoke the skill by name or use /vue-component-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of vue-component-generator. - Instantly generates Vue 3 component templates with support for Composition API, Options API, and TypeScript. - Produces single-file Vue components (SFC) including SCSS style support. - Allows configuration of props, emits, and various component types (standard, routing, layout, form components). - Command-line tool with flexible options: API syntax, TypeScript, SCSS, and output directory. - No external dependencies required.
Metadata
Slug vue-component-generator
Version 1.0.0
License
All-time Installs 5
Active Installs 5
Total Versions 1
Frequently Asked Questions

What is Vue Component Generator?

生成 Vue 3 组件模板,支持 Composition API、Options API、TypeScript、SFC 单文件组件,一键生成完整 Vue 组件代码。 It is an AI Agent Skill for Claude Code / OpenClaw, with 742 downloads so far.

How do I install Vue Component Generator?

Run "/install vue-component-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Vue Component Generator free?

Yes, Vue Component Generator is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Vue Component Generator support?

Vue Component Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Vue Component Generator?

It is built and maintained by Sunshine-del-ux (@sunshine-del-ux); the current version is v1.0.0.

💬 Comments