← Back to Skills Marketplace
mzfshark

RedHat Code Generation

by Mauricio Z. · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
66
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install axodus-code-generation
Description
Generate production-ready code aligned to repo conventions and constraints.
README (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

  1. Validate the spec:
    • confirm inputs/outputs
    • confirm error handling
    • identify missing requirements (ask if material)
  2. Inspect existing code style and patterns in the target area.
  3. Generate minimal, modular code:
    • small functions
    • explicit types (TS) where useful
    • clear error paths
  4. Add or update tests aligned to acceptance criteria.
  5. Update docs/config only if required by the change.
  6. 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 paths
  • summary: what changed
  • validation_commands: ordered commands to run
  • notes: 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: ts
  • spec: “Add parseUserId(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"]
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install axodus-code-generation
  3. After installation, invoke the skill by name or use /axodus-code-generation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug axodus-code-generation
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is RedHat Code Generation?

Generate production-ready code aligned to repo conventions and constraints. It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.

How do I install RedHat Code Generation?

Run "/install axodus-code-generation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is RedHat Code Generation free?

Yes, RedHat Code Generation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does RedHat Code Generation support?

RedHat Code Generation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created RedHat Code Generation?

It is built and maintained by Mauricio Z. (@mzfshark); the current version is v1.0.0.

💬 Comments