← Back to Skills Marketplace
274
Downloads
3
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install optimized-one-click-project
Description
全自动项目生成和启动器 - 生成完整的Spring Boot + Vue3项目,包含前后端完整代码(RBAC+业务实体)、数据库初始化、编译启动、自动浏览器打开。支持完整CRUD(列表、查询、新增、修改、删除、查看)、多条件查询、状态下拉枚举、Redis配置、Swagger文档,使用JSON配置文件自定义参数。
Usage Guidance
This skill appears internally consistent with its description, but it performs high‑impact actions: it will write project files, run build commands, and — importantly — connect to the database you provide and execute SQL scripts. Before running it: 1) Do NOT point it at a production database or critical Redis instance. Use a disposable/local DB or container. 2) Inspect the generated SQL (db init scripts) and the Python scripts to confirm they don't DROP or ALTER unintended schemas. 3) Run in an isolated environment (VM/container) so builds and services can't affect your host. 4) Be prepared to install Python deps (pymysql) in a virtualenv. 5) Backup any real data if you must test against an existing DB. 6) If you are uncomfortable providing DB/Redis credentials in a JSON file, do not run the skill. If you want a deeper review, share the generated SQL files (db/init.sql) and the full Python scripts so I can point out specific statements or subprocess calls to watch for.
Capability Analysis
Type: OpenClaw Skill
Name: optimized-one-click-project
Version: 1.0.1
The skill bundle provides a project generator that automates the creation and deployment of Spring Boot and Vue3 applications. The primary concern lies in the Python scripts (optimized-start-win.py and optimized-start.py), which use os.system and subprocess.run to execute shell commands constructed directly from user-provided configuration values (e.g., project_name, database parameters) without sanitization. This creates a significant risk of command injection. Additionally, the scripts perform high-risk operations such as writing batch files to disk and executing them, and the generated code includes security weaknesses like hardcoded fallback passwords ('123456'). While these behaviors align with the tool's stated purpose, the execution model is inherently vulnerable to exploitation.
Capability Assessment
Purpose & Capability
Name/description (one‑click project generator) matches the included artifacts: two Python 'starter' scripts that generate code, run builds, initialize a database, start services, and open a browser. The tools the scripts check for (Java, Maven, Node, NPM, optional Docker/MySQL client) are consistent with building and running a Spring Boot + Vue project.
Instruction Scope
SKILL.md and the scripts instruct the agent to read a JSON config containing database and Redis credentials, generate code, write files into a project directory, execute SQL against the configured database, run build commands (mvn, npm), launch services, and open the browser. Those actions are coherent with the purpose but high‑risk: executing arbitrary SQL on any DB you point at and running system commands can be destructive. The instructions do not include safeguards preventing use against production databases; the agent will run subprocess commands and create/modify files on disk.
Install Mechanism
There is no install spec (instruction-only skill) — the scripts run with the system Python interpreter. The code depends on Python packages (pymysql) and system tools (java/mvn/node/npm). Dependencies may be installed at runtime (the script returns an ImportError message suggesting 'pip install pymysql') but the skill does not manage package installation itself.
Credentials
The skill requests no environment variables but requires a config.json with database and optional Redis host/user/password. Those credentials are necessary for its advertised DB initialization functionality, but they are sensitive. No unrelated credentials or system-wide tokens are requested.
Persistence & Privilege
The skill is not 'always' enabled and does not request persistent platform privileges. It writes project files into a target directory and launches processes, but it does not modify other skills or global agent configuration.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install optimized-one-click-project - After installation, invoke the skill by name or use
/optimized-one-click-project - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
优化了配置文件
v1.0.0
optimized-one-click-project v1.0.0
- 首次发布:一键全自动生成和启动包含Spring Boot后端与Vue3前端的管理系统项目
- 支持基于JSON配置文件定义业务实体、数据库、Redis、端口、Swagger等参数
- 自动生成带RBAC(用户/角色/权限)和业务实体的完整CRUD代码及前端管理页面
- 包含数据库初始化、依赖安装、端口检测、编译构建、服务启动及自动浏览器打开的全流程
- 支持Swagger文档、Redis配置、前端Element Plus UI、API接口封装、多条件查询、分页、状态枚举等功能
- 提供详细项目结构、执行流程和配置文件示例,降低管理系统开发门槛
Metadata
Frequently Asked Questions
What is 一键生成项目?
全自动项目生成和启动器 - 生成完整的Spring Boot + Vue3项目,包含前后端完整代码(RBAC+业务实体)、数据库初始化、编译启动、自动浏览器打开。支持完整CRUD(列表、查询、新增、修改、删除、查看)、多条件查询、状态下拉枚举、Redis配置、Swagger文档,使用JSON配置文件自定义参数。 It is an AI Agent Skill for Claude Code / OpenClaw, with 274 downloads so far.
How do I install 一键生成项目?
Run "/install optimized-one-click-project" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 一键生成项目 free?
Yes, 一键生成项目 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 一键生成项目 support?
一键生成项目 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 一键生成项目?
It is built and maintained by 小明 (@smallest-ming); the current version is v1.0.1.
More Skills