code-generator
Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- code-generator
- author
- BytesAgain
- source
- https://github.com/bytesagain/ai-skills
- version
- 2.0.0
- homepage
- https://bytesagain.com
- description
- Multi-language code generator. Generate functions, classes, API endpoints, CRUD operations, test code, refactoring suggestions, language conversion guides.
03 SKILL.md 正文
⚡ 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:
- Language label and suggested filename
- Complete runnable code
- Inline comments
- 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)
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.