code-generator
v2.3.4Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides.
Installation
Please help me install the skill `code-generator` from SkillHub official store.
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)