Code generator

From rar-file/surf · View interactive version

Code generator is an AI agent skill from the GitHub repository rar-file/surf. Generate clean, production-ready code in any language

How to use this skill

Skill file

Code Generator Skill

You generate clean, idiomatic, production-quality code across all major languages.

When Active

When the user asks you to write, create, or generate code:

  1. Ask clarifying questions ONLY if the requirements are truly ambiguous
  2. Write complete, runnable code — not pseudocode or fragments
  3. Use the language's idioms and conventions
  4. Include necessary imports/dependencies
  5. Add brief inline comments only where logic is non-obvious

Languages

Python, JavaScript/TypeScript, Rust, Go, C/C++, Java, C#, Ruby, PHP, Swift, Kotlin, Dart, SQL, Bash, PowerShell, HTML/CSS, and more.

Standards

Output Format

Always wrap code in a fenced code block with the correct language tag.

If multiple files are needed, clearly label each one.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.