Skip to content
Skills Library
Programming · Building & coding

phobos-code

/phobos-code

Coding discipline — minimal correct code with zero slop and zero wasted round-trips. Understand fully first, climb the reuse ladder, fix root causes not symptoms, verify before claiming done. Use on any coding task (write, edit, refactor, fix, review) or when the user says "phobos-code", "no slop", "minimal", or "clean".

Repository
phobos ↗
Licence
MIT
Last repository change
28.07.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Coding discipline — minimal correct code with zero slop and zero wasted round-trips. Understand fully first, climb the reuse ladder, fix root causes not symptoms, verify before claiming done. Use on any coding task (write, edit, refactor, fix, review) or when the user says "phobos-code", "no slop", "minimal", or "clean".

Triggers from the description

phobos-codeno slopminimalclean
Original author description

Coding discipline — minimal correct code with zero slop and zero wasted round-trips. Understand fully first, climb the reuse ladder, fix root causes not symptoms, verify before claiming done. Use on any coding task (write, edit, refactor, fix, review) or when the user says "phobos-code", "no slop", "minimal", or "clean".

How it works

  1. Understand first — this is what kills back-and-forth
  2. The ladder — stop at the first rung that holds
  3. Rules
  4. Done means verified
  5. Never minimize away
  6. Output
Original SKILL.md headings · 54 lines, 537 words
SKILL.md preview
---
name: phobos-code
description: Coding discipline — minimal correct code with zero slop and zero wasted round-trips. Understand fully first, climb the reuse ladder, fix root causes not symptoms, verify before claiming done. Use on any coding task (write, edit, refactor, fix, review) or when the user says "phobos-code", "no slop", "minimal", or "clean".
---

# phobos-code

The best code is the code never written. Efficient, never careless: the shortest diff **after** full understanding, not instead of it.

## Understand first — this is what kills back-and-forth

One comprehension pass, then one implementation pass. Never ship a guess that forces a correction turn.

1. Read every file the change touches; trace the real flow end to end **once**, not in fragments across turns.
2. Grep before you write — the helper/util/type/pattern you're about to create probably already exists a few files over. Re-implementing it is the most common slop.
3. Ambiguity that changes the outcome? Ask **all** questions in one batch, up front. Ambiguity that doesn't? State the assumption in one line and proceed.
4. Batch independent tool calls (reads, greps) into one message.

## The ladder — stop at the first rung that holds

1. **Does this need to exist?** Speculative need → skip it, say so in one line.
2. **Already in this codebase?** Reuse it.
3. **Stdlib does it?** Use it.
4. **Native platform feature?** DB constraint over app code, CSS over JS, `<input type="date">` over a picker lib.
5. **Already-installed dependency?** Use it — never add a dep for what a few lines do.
6. **One line?** One line.
7. **Only then:** the minimum code that works.

Two rungs both work → take the higher one and move on.

## Rules

- No unrequested abstractions: no interface with one implementation, no factory for one product, no config for a value that never changes, no scaffolding "for later".
- Deletion over addition. Boring over clever — clever is what someone decodes at 3am.
- Fewest files, shortest working diff — but the smallest change in the wrong place is a second bug, not efficiency.
- **Bug fix = root cause.** A report names a symptom. Grep every caller before editing: one guard at the shared choke point beats a patch per caller — and is usually the smaller diff anyway.
- Two equally-short options → take the one correct on edge cases. Minimal means less code, not a flimsier algorithm.
- Deliberate shortcut with a known ceiling? Mark it: `// phobos: global lock — per-account locks if throughput matters`. Names the ceiling and the upgrade path.
- Match the surrounding code's style, naming, and comment density.

## Done means verified

- Non-trivial logic (branch, loop, parser, money/security path) leaves **one** runnable check — an `assert`-based self-check or one small test. No frameworks, no fixtures, no per-function suites unless asked. Trivial one-liners need none.
- Exercise the change before claiming done — a green typecheck is not proof.
- Report honestly: failing test → say so with output; skipped step → say that.

## Never minimize away

Input validation at trust boundaries, error handling that prevents data loss, security, accessibility, calibration knobs for hardware that drifts, or anything explicitly requested. User insists on the full version → build it, no re-arguing.

## Output

Code first, then at most three short lines: what was skipped, when to add it.
Pattern: `[code] → skipped: [X], add when [Y].`
Explanation the user explicitly asked for is not debt — give it in full.

Controls: "stop phobos-code" / "normal mode" → off until re-invoked.

Versions

The database has no other skills named phobos-code.

Database snapshot: 13.11.2026 · package version 8ed3851b62a9 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90phobos
    Always-on efficiency discipline — triage token spend to task size, write minimal correct code, answer terse-but-complete, take fewer round-trips, keep context lean, use memory, and route to the right tool. Use on every coding or task turn to cut token usage without losing…
  • 100no-slop
    Write and edit code without AI slop. Use for coding, debugging, refactoring, code review, and implementation tasks.
  • 90phobos-plan
    Analyze the user's request before acting — extract every ask, resolve ambiguity in one batch, order work by dependency and risk, and decide what to do first. Use when a request is multi-part, vague, or large; when asks conflict; or when the user says "phobos-plan", "plan this",…
  • 100slop-fix
    Auto-fix high-confidence slop findings (>90%). Fixes unused_imports, unused_variables, bare_except, empty_except, dead_code. Safe for automated runs. Use when user says "fix slop", "fix code quality issues", or "apply slop fixes".
  • 100tdd
    Enforces test-driven development: write failing test, write minimal code to pass, refactor. Mandatory for all implementation work. Use when writing any production code, implementing features, fixing bugs, refactoring, or when the user says "write code", "implement", "fix this",…
  • 100test-driven-development
    Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle: write failing test first, watch it fail, write minimal code, watch it pass.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.