with one click
super-code
Standing house style to enforce dense, correct, and idiomatic code on all coding tasks. Minimizes code bloat and agent operation overhead.
Menu
Standing house style to enforce dense, correct, and idiomatic code on all coding tasks. Minimizes code bloat and agent operation overhead.
Optimize pull requests for quick approval and merging by ensuring clean diffs, comprehensive self-reviews, and structured documentation.
Frontend design entry point: direction, design system, visual philosophy. Use whenever building or touching the look of any web UI (components, pages, dashboards, React/Vue/HTML-CSS) or when the user says "make this look better", "fix the spacing/layout", or mentions styling, color, type, or polish.
Render the UI and prove it's balanced + usable: a deterministic layout audit (centroid / optical-center / pixel-oracle balance via explicit math + annotated screenshot) plus a vision-judged Nielsen usability audit by a separate fresh-eyes judge. The measurement layer taste-only design skills lack.
Automated visual tuning: a vision or video model rates rendered variants in a loop. Render several labeled variants into one artifact, ask the model to rate them and suggest better values, render the suggestions, ask it to pick the best, repeat until good — the model is the eye, you run the loop.
Human-in-the-loop web studio to tune AI-generated output by eye. Stand up a local interactive studio (sliders, pickers, drag handles) or an inline edit/highlight/comment annotation studio for prose & media, instead of guessing values or shipping a static comparison grid.
macOS screen recorder that captures the main display PLUS system audio via ScreenCaptureKit — no BlackHole/loopback driver, no sudo, just the standard Screen Recording permission. CLI-driven; fills the headless-screen-recording-with-system-sound gap QuickTime and `screencapture -v` can't.
| name | super-code |
| description | Standing house style to enforce dense, correct, and idiomatic code on all coding tasks. Minimizes code bloat and agent operation overhead. |
| risk | safe |
| source | community |
| date_added | 2026-06-16 |
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:
Both matter. Fixing only one is not enough.
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.
Before touching a file, decide:
Write that down mentally (not in a prose block to the user). This is the target shape.
Read the relevant reference file for the language in use:
bash/SKILL.mdc/SKILL.mdcpp/SKILL.mdcsharp/SKILL.mddart/SKILL.mdelixir/SKILL.mdgo/SKILL.mdjava/SKILL.mdkotlin/SKILL.mdphp/SKILL.mdpython/SKILL.mdruby/SKILL.mdrust/SKILL.mdscala/SKILL.mdswift/SKILL.mdtypescript/SKILL.mdApply idiomatic patterns from that file. They replace verbose imperative code with correct, concise equivalents that are still readable.
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 |
Ask yourself (silently):
If yes to any: undo that specific compression and keep the rest.
Always:
Never:
These apply in every language. The language-specific files extend this list.
// Loop through the list and add each item → ❌ delete// Order matters: process refunds before charges → ✅ keep (explains why)// TODO: add error handling — either add it or don'tThese govern how you operate inside the session, not just what you produce:
| Language / Stack | File |
|---|---|
| Bash / Shell | bash/SKILL.md |
| C | c/SKILL.md |
| C++ | cpp/SKILL.md |
| C# / .NET | csharp/SKILL.md |
| Dart / Flutter | dart/SKILL.md |
| Elixir / Erlang | elixir/SKILL.md |
| Go | go/SKILL.md |
| Java | java/SKILL.md |
| Kotlin + Compose (Android) | kotlin/SKILL.md |
| PHP | php/SKILL.md |
| Python | python/SKILL.md |
| Ruby | ruby/SKILL.md |
| Rust | rust/SKILL.md |
| Scala | scala/SKILL.md |
| Swift (iOS/macOS) | swift/SKILL.md |
| TypeScript / JavaScript | typescript/SKILL.md |
Read the relevant file at Step 2. If the language isn't listed, apply the universal checklist above and use the language's own idioms for loops, error handling, and data transformation.
// Anti-pattern
List<String> names = new ArrayList<>();
for (User u : users) {
if (u.isActive()) {
names.add(u.getName());
}
}
// Super-code idiomatic (Java)
List<String> names = users.stream().filter(User::isActive).map(User::getName).toList();
Symptoms: Reviewer complains or logic is unreadable. Solution: Revert the overly compressed section. Clarity and correctness always win over conciseness.
@karpathy-guidelines - For behavioral guidelines on surgical changes and simplicity.