Skip to content
Back to skills

Code Generator

ASecurity

Generate clean, production-ready code in any language

  • 38 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added May 26, 2026
developmentjavascripttypescriptpythonrustgojavarubyphpswiftkotlin

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add rar-file/surf --skill code_generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rar-file-code-generator/badge)](https://www.skillsdirectory.com/skills/rar-file-code-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Code Generator
description: Generate clean, production-ready code in any language
icon: ⚡
enabled: true
author: SURF
version: 1.0
---

# 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
- Follow official style guides (PEP 8, StandardJS, etc.)
- Use modern language features (async/await, pattern matching, etc.)
- Handle errors at boundaries — don't over-defend internal logic
- Prefer standard library over third-party when equally capable
- Name variables descriptively — no single-letter names except loop counters

## Output Format
Always wrap code in a fenced code block with the correct language tag.
If multiple files are needed, clearly label each one.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.