super-code
What it does
This 'skill' helps the AI write programming code that is as short, correct, and easy to understand as possible. It focuses on avoiding unnecessary code and making the AI operate efficiently.
When to use it
- βWhenever you ask the AI to write or modify code.
- βWhen asking the AI to review or improve existing code.
- βWhen you want to ensure the generated code is as clean and straightforward as possible.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/super-code/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWrite a Python function that adds two numbers, but make it as concise and correct as possible.β
5 new skills a week. 1 minute to read.
How it works
The AI first thinks about the simplest way to solve the problem. Then, it uses the best practices of the programming language and removes any code or comments that are not essential, ensuring the remaining code is easy to read and works perfectly.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Super Code Skill
Overview
Produce code that is short, correct, idiomatic, and maintainable β in that priority order. This skill addresses two distinct inefficiency types that must be fixed independently:
- Code-token inefficiency β the artifact itself is bloated (unnecessary lines, boilerplate, over-abstraction)
- Generation-token inefficiency β how the agent operates during a session (full-file rewrites, unrequested files, prose padding before/after changes)
Both matter. Fixing only one is not enough.
When to Use This Skill
- Apply this skill automatically on EVERY coding task in the IDE.
- Use whenever the user asks to write, edit, refactor, generate, or review code in any language.
- This is a standing house style, not an on-demand pass β always apply it.
Priority Order (never violate this ranking)
Correctness β Clarity β Necessary robustness β Conciseness β Micro-performance
Conciseness never wins over correctness or readability. If a compression would drop error handling for a case that can actually occur, or produce code a human couldn't read in six months, undo that specific compression. Short bad code is worse than long correct code.
Workflow β apply to every coding task
Step 1: Commit to minimal correct shape BEFORE writing
Before touching a file, decide:
- What is the smallest surface area that correctly solves this problem?
- What does the caller actually need from this function/class/module?
- Is there a stdlib/framework primitive that already does this?
Write that down mentally (not in a prose block to the user). This is the target shape.
Step 2: Write using language-idiomatic patterns
Read the relevant reference file for the language in use:
- Bash/Shell β
bash/SKILL.md - C β
c/SKILL.md - C++ β
cpp/SKILL.md - C# β
csharp/SKILL.md - Dart/Flutter β
dart/SKILL.md - Elixir/Erlang β
elixir/SKILL.md - Go β
go/SKILL.md - Java β
java/SKILL.md - Kotlin/Compose β
kotlin/SKILL.md - PHP β
php/SKILL.md - Python β
python/SKILL.md - Ruby β
ruby/SKILL.md - Rust β
rust/SKILL.md - Scala β
scala/SKILL.md - Swift β
swift/SKILL.md - TypeScript/JavaScript β
typescript/SKILL.md
Apply idiomatic patterns from that file. They replace verbose imperative code with correct, concise equivalents that are still readable.
Step 3: Compression pass on your own draft
Before presenting any code, scan it for:
| Anti-pattern | Fix |
|---|---|
| Comment restates what code does | Delete comment, or rewrite to say why |
| Single-use helper function/class | Inline it |
| Stdlib/framework already does this | Replace with the primitive |
| Defensive handling for impossible case | Remove |
| Verbose loop replaceable by idiomatic expression | Replace |
| Logging/print nobody asked for | Remove |
| Extra config/files/parameters not requested | Remove |
| Unused import or variable | Remove |
Step 4: Guardrail check β run this before presenting
Ask yourself (silently):
- Did I remove handling for a case that can actually happen?
- Did I make this harder to read for a human six months from now?
- Did I drop correctness or security to save lines?
If yes to any: undo that specific compression and keep the rest.
Step 5: Present output β generation-token rules
Always:
- Edit files via targeted patches/diffs, not full rewrites, unless the file is new or the change touches >70% of lines
- Present only what was asked for
Never:
- Generate unrequested files (tests, READMEs, configs, types) unless the user asked
- Add prose blocks before/after code explaining what you're about to do or just did β just do it
- Re-explain the user's own requirement back to them before writing
- Restate what changed in a paragraph after showing the diff β the diff is self-evident
Universal Anti-Pattern Checklist
These apply in every language. The language-specific files extend this list.
Comments
- β
// Loop through the list and add each itemβ β delete - β
// Order matters: process refunds before chargesβ β keep (explains why) - Rule: if the comment could be generated mechanically from reading the code, it adds no value
Defensive coding
- Only handle error cases that can actually occur given the call site
- If the caller guarantees non-null, don't null-check inside the function
- If a catch block can only log and rethrow, consider removing the try/catch
Abstractions
β¦
FAQ
Why does code need to be concise?
Concise code is faster to read, understand, and maintain, and it uses fewer computational resources.
What does 'idiomatic' mean?
It means using the constructs and patterns that are common and expected in that specific programming language, making the code more familiar to other programmers.
Will the AI remove important comments?
No. It only removes comments that merely repeat what the code already says. Comments that explain the 'why' behind a certain implementation are kept.
Details
Original description by the author
Standing house style to enforce dense, correct, and idiomatic code on all coding tasks. Minimizes code bloat and agent operation overhead.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5885
- License
- MIT
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.