code-generator

Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides, and project boilerplate. Supports Python, JavaScript, TypeScript, Go, Java, and more. Use when scaffolding code, generating templates, or converting between languages. Triggers on: code generator.

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.

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, and remote deployment. Use when you...

Registry SourceRecently Updated
0167
Profile unavailable
Coding

Tesla Commander

Command and monitor Tesla vehicles via the Fleet API. Check status, control climate/charging/locks, track location, and analyze trip history. Use when you ne...

Registry SourceRecently Updated
0160
Profile unavailable
Coding

Code Reviewer Cn

代码审查、重构建议、安全漏洞检查、命名规范、复杂度分析、注释文档生成. Use when you need code reviewer cn capabilities. Triggers on: code reviewer cn, 圈复杂度估算, 嵌套深度检测, 命名风格一致性, 注释率计算与评级, 重复行检测.

Registry SourceRecently Updated
0222
Profile unavailable