← 返回 Skills 市场
RedHat Code Generation
作者
Mauricio Z.
· GitHub ↗
· v1.0.0
· MIT-0
66
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install axodus-code-generation
功能描述
Generate production-ready code aligned to repo conventions and constraints.
使用说明 (SKILL.md)
SKILL: code-generation
Purpose
Generate production-ready code (TypeScript/JavaScript/Python) that matches the repo’s conventions, is testable, and is safe to run.
When to Use
- You have an explicit spec and acceptance criteria.
- A new module/component/function is needed.
- Small-to-medium scoped implementation work is requested.
Inputs
spec(required, string|object): functional requirements + acceptance criteria.language(required, enum:ts|js|py).targets(optional, string[]): files/modules to create or modify.constraints(optional, string[]): security/perf/compat requirements.test_expectations(optional, string): tests to add/run.
Steps
- Validate the spec:
- confirm inputs/outputs
- confirm error handling
- identify missing requirements (ask if material)
- Inspect existing code style and patterns in the target area.
- Generate minimal, modular code:
- small functions
- explicit types (TS) where useful
- clear error paths
- Add or update tests aligned to acceptance criteria.
- Update docs/config only if required by the change.
- Provide a deterministic validation command sequence (lint/test/build).
Validation
- Code is syntactically valid and follows project conventions.
- Tests cover the critical behavior and fail before the fix (when applicable).
- No secrets or credentials are introduced.
- Any external API usage is explicit and configurable (env/config), with timeouts and retries.
Output
files_changed: list of pathssummary: what changedvalidation_commands: ordered commands to runnotes: any assumptions or follow-ups
Safety Rules
- Never embed secrets, private keys, or tokens.
- Never introduce dynamic code execution (
eval, runtime compilation) unless explicitly required and sandboxed. - Avoid network calls in tests unless explicitly controlled/mocked.
- Prefer additive changes over risky rewrites.
Example
Input:
language:tsspec: “AddparseUserId(input)that rejects non-UUID values.â€
Output (excerpt):
files_changed:["src/utils/ids.ts", "src/utils/ids.test.ts"]validation_commands:["pnpm test", "pnpm lint"]
安全使用建议
This skill appears coherent and focused on generating code in the repo area. Before installing, verify the skill will only be given access to the specific repository paths it needs (principle of least privilege), avoid providing any secrets in the 'spec' input, review any generated changes and run the provided validation commands (lint/test/build) before merging, and confirm the publisher/owner provenance if that matters to your organization (the package metadata shows no public homepage).
功能分析
Type: OpenClaw Skill
Name: axodus-code-generation
Version: 1.0.0
The skill bundle is a standard implementation for a code generation tool. It includes explicit safety rules in SKILL.md and code-generation.md that prohibit embedding secrets, using dynamic execution like eval, or making unauthorized network calls. No malicious patterns, data exfiltration, or obfuscation were detected.
能力评估
Purpose & Capability
Name/description (generate repo-aligned TypeScript/JavaScript/Python code) align with the SKILL.md steps and inputs (spec, language, targets, constraints). There are no unrelated environment variables, binaries, or config paths requested.
Instruction Scope
Runtime instructions ask the agent to validate specs, inspect existing code style in the target area, generate code, add tests, and provide validation commands — all appropriate for a code-generation skill. The only file access implied is the target repo area, which is expected; the instructions do not ask for unrelated system files, credentials, or exfiltration endpoints.
Install Mechanism
No install spec and no code files beyond documentation — instruction-only reduces on-disk risk. Nothing is downloaded or written by an installer.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md explicitly forbids embedding secrets and recommends configurable external API usage, which is proportionate.
Persistence & Privilege
always is false (not force-included) and model invocation is allowed (normal). The skill does not request persistent system-wide changes or access to other skills' configurations.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install axodus-code-generation - 安装完成后,直接呼叫该 Skill 的名称或使用
/axodus-code-generation触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of code-generation skill for generating production-ready code in TypeScript, JavaScript, or Python.
- Validates input specs and confirms requirements before generating code.
- Produces code and tests following existing repo conventions and safety standards.
- Ensures code is modular, testable, safe, and does not introduce secrets.
- Outputs a summary of changes, validation commands, and notes on assumptions or follow-ups.
元数据
常见问题
RedHat Code Generation 是什么?
Generate production-ready code aligned to repo conventions and constraints. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 66 次。
如何安装 RedHat Code Generation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install axodus-code-generation」即可一键安装,无需额外配置。
RedHat Code Generation 是免费的吗?
是的,RedHat Code Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
RedHat Code Generation 支持哪些平台?
RedHat Code Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 RedHat Code Generation?
由 Mauricio Z.(@mzfshark)开发并维护,当前版本 v1.0.0。
推荐 Skills