code-generator

Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-generator" with this command: npx skills add xueyetianya/code-generator

⚡ Code Generator — Multi-Language Code Scaffolding

Describe what you need, get working code. Multiple languages, ready to run.

✨ Key Features

  • 🔧 Function Generation (function) — Describe it, get a complete annotated function
  • 🏗️ Class Generation (class) — OOP design with constructor and methods
  • 🌐 API Endpoints (api) — RESTful routes and handlers
  • 📦 CRUD Operations (crud) — Full Create/Read/Update/Delete code
  • 🧪 Test Code (test) — Auto-generate unit tests with assertions
  • 🔄 Refactoring (refactor) — Optimization suggestions with examples
  • 🔀 Language Conversion (convert) — Conversion guide between Python/JS/Go/Java
  • 📋 Project Boilerplate (boilerplate) — Quick-start project skeleton

🌍 Supported Languages

Python · JavaScript · TypeScript · Go · Java · Rust · PHP · Ruby · C# · Shell

🚀 Usage

bash scripts/codegen.sh <command> <description>

Every output includes:

  1. Language label and suggested filename
  2. Complete runnable code
  3. Inline comments
  4. Usage example

📂 Scripts

  • scripts/codegen.sh — Main script

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

Commands

Run code-generator help to see all available commands.

Requirements

  • bash 4+
  • python3 (standard library only)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Raspberry Pi Manager

Manage Raspberry Pi devices — GPIO control, system monitoring (CPU/temp/memory), service management, sensor data reading.

Registry SourceRecently Updated
4850Profile unavailable
Coding

网页剪藏工具

网页剪藏工具。发送网页链接,提取正文内容保存为本地Markdown文件。

Registry SourceRecently Updated
1190Profile unavailable
Coding

Cli Builder

CLI tool generator. Project scaffolding, command adding, argument parsing, help docs, config handling, publish checklist, interactive prompts.

Registry SourceRecently Updated
5430Profile unavailable
Coding

Api Generator

API code generator. Generate RESTful endpoints, GraphQL schemas, OpenAPI/Swagger docs, API clients, mock servers, authentication, rate limiting.

Registry SourceRecently Updated
2.4K3Profile unavailable