← 返回 Skills 市场
xueyetianya

Code Generator

作者 bytesagain4 · GitHub ↗ · v2.3.4 · MIT-0
cross-platform ✓ 安全检测通过
3876
总下载
2
收藏
40
当前安装
11
版本数
在 OpenClaw 中安装
/install code-generator
功能描述
Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides.
安全使用建议
Reasonable to install for local code scaffolding. Review generated code before using it, especially API, CRUD, Docker, and auth-adjacent examples. Do not include secrets or sensitive internal project identifiers in command arguments unless you are comfortable with them being stored in the local history file.
能力评估
Purpose & Capability
The SKILL.md purpose, command list, and Bash scripts consistently describe and implement code scaffolding, API/CRUD/test examples, conversion guidance, and boilerplate output. Generated code should be treated as draft scaffolding, not production-ready security-reviewed code.
Instruction Scope
The activation language is broad, but the artifacts show user-invoked generation commands and no autonomous execution, hidden agent instructions, credential collection, or external data transfer.
Install Mechanism
The package contains markdown plus executable Bash scripts, with bash and python3 standard-library requirements disclosed. No hidden installer, package installation, or startup registration was found.
Credentials
The scripts mainly print templates to stdout and use command arguments/environment only for local generation. Template text mentions tools like git, pip, npm, and Docker, but the scripts do not execute network installs or outbound calls.
Persistence & Privilege
scripts/script.sh creates a local data directory and appends command history to a history.log file under CODE_GEN_DIR, XDG_DATA_HOME, or the user's home directory. This is limited local persistence but could retain sensitive project names if users pass them as arguments.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.3.4
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.3
yaml-fix+quality
v2.3.2
yaml-fix+quality
v2.3.1
Quality upgrade
v2.4.0
Major upgrade: custom commands and real functionality
v2.3.0
Quality fixes: aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v1.0.2
Add runtime declaration
v2.0.0
Complete rewrite: real functionality replacing prompt templates
v1.0.1
map
v1.0.0
- Initial release of Code Generator skill for multi-language code scaffolding. - Generate functions, classes, API endpoints, CRUD operations, unit test code, refactoring suggestions, language conversion guides, and project boilerplate. - Supports Python, JavaScript, TypeScript, Go, Java, Rust, PHP, Ruby, C#, and Shell. - Includes command-line script (`scripts/codegen.sh`) for easy usage. - Outputs annotated, runnable code with language label, filename suggestion, and usage example.
元数据
Slug code-generator
版本 2.3.4
许可证 MIT-0
累计安装 40
当前安装数 40
历史版本数 11
常见问题

Code Generator 是什么?

Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3876 次。

如何安装 Code Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-generator」即可一键安装,无需额外配置。

Code Generator 是免费的吗?

是的,Code Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Code Generator 支持哪些平台?

Code Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Code Generator?

由 bytesagain4(@xueyetianya)开发并维护,当前版本 v2.3.4。

💬 留言讨论