Skip to content
Worix
BrowsePublish
Log inSign Up

code-generator

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

51 downloads
Free
Reviewed
chinese
productivity

โšก 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

Download

ZIP package โ€” ready to use

Skill Info

Creator
xueyetianya
Downloads
51
Published
Mar 15, 2026
Updated
Mar 16, 2026