simplify
/simplify
Szuka zbędnej złożoności w gotowym kodzie: martwego kodu, przedwczesnych abstrakcji i nadmiaru, a potem proponuje konkretne cięcia.
- Autor
- mo-cmyk ↗
- Repozytorium
- mazarbul ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 31.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 31.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Szuka zbędnej złożoności w gotowym kodzie: martwego kodu, przedwczesnych abstrakcji i nadmiaru, a potem proponuje konkretne cięcia.
Wyzwalacze z opisu
Oryginalny opis (EN)
Aggressive code-complexity audit. USE WHEN diff feels sprawling, after a feature lands, when /go-strict requests cleanup, or when user says 'scrap this and implement the elegant solution'. Audits across 4 dimensions (reuse, dead code, premature abstractions, oversize) and surfaces concrete cuts before applying. NOT FOR active development , only after a feature is functionally complete.
Jak działa
- When to invoke
- How it runs
- What this skill deliberately does NOT do
- Gotchas
Podgląd SKILL.md
---
name: simplify
description: Aggressive code-complexity audit. USE WHEN diff feels sprawling, after a feature lands, when /go-strict requests cleanup, or when user says 'scrap this and implement the elegant solution'. Audits across 4 dimensions (reuse, dead code, premature abstractions, oversize) and surfaces concrete cuts before applying. NOT FOR active development , only after a feature is functionally complete.
---
# /simplify , Aggressive Complexity Audit
Inspired by Boris Cherny's parallel `/simplify` ("agents fan out to review for reuse, quality, efficiency in one pass") and Karpathy's **Simplicity First** principle.
## When to invoke
- After implementing a feature (before opening PR)
- When a file feels long or the diff is sprawling
- Before merging a refactor , to make sure it actually *reduced* complexity
- When the user says "scrap this and implement the elegant solution"
## How it runs
This is a **read-and-report** skill. It does NOT change code without explicit user approval.
### Step 1 , Scope
Identify the changed files (default: `git diff --name-only HEAD`). If the user named a specific file or directory, use that instead.
### Step 2 , Parallel audit (single message, multiple agents)
Spawn 4 parallel `Explore` agents covering these dimensions:
| Agent | Looks for |
|---|---|
| **Reuse** | Existing helpers in `internal/repository/base.go`, `internal/repository/enums.go`, `internal/api/v1/errors.go`, `internal/api/v1/pagination.go`, `internal/api/v1/fieldmask.go` that the new code re-implements |
| **Dead code** | Unused exports, leftover commented-out blocks, types declared but never instantiated, error branches that can't be reached |
| **Premature abstraction** | Interfaces with one implementation, generic helpers used in exactly one place, "Manager"/"Helper"/"Util" suffixes, options structs with default-only fields |
| **Oversize** | Files >400 LoC, functions >80 LoC, structs with >15 fields , and whether the long shape is essential or splittable |
### Step 3 , Report
Output a single table:
```
File | Concrete cut | LoC saved
internal/cli/entity.go:142 | Reuse existing output helper instead of manual switch | -14
internal/tui/format/priority.go | Inline into single call site | -22 (delete file)
internal/kernel/types.go:33-40 | Remove duplicate field, use existing Status | -7
```
Sum the savings, then ask the user which cuts to apply.
### Step 4 , Apply selected cuts surgically
Only after explicit "apply X, Y, Z" from the user. Each cut is a separate Edit. Do not bundle unrelated changes.
## What this skill deliberately does NOT do
- Refactor without showing the diff first
- "Improve" adjacent code that wasn't flagged
- Touch generated code (`gen/`, `web/src/gen/`)
- Modify audit log code (append-only, compliance-protected)
## Gotchas
- **The audit must be honest about no-ops.** If the diff is already tight, say so , don't invent cuts to look productive.
- **Skip generated code unconditionally.** `gen/`, `web/src/gen/`, and `migrations/*.sql` are out of scope.
- **Watch for "almost duplicate" code.** Two near-identical 30-line blocks may *intentionally* differ on one branch , read both before suggesting a merge.
- **`internal/api/v1/` has shared helpers most agents miss.** Always check `errors.go`, `pagination.go`, `fieldmask.go` before flagging a "new" need.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · mo-cmyk/mazarbul | 100 | Apache-2.0 |
| qwenlm/qwen-code | 100 | Apache-2.0 |
| fcakyon/claude-codex-settings | 100 | Apache-2.0 |
| gosuda/dalcom-skills | 100 | Apache-2.0 |
| x-cmd/x-cmd | 100 | Apache-2.0 |
| ahgraber/skills | 100 | CC0-1.0 |
| Ovich/charrette | 100 | MIT |
| maquina-app/rails-claude-code | 100 | MIT |
| jscraik/Agent-Skills | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki fe0d60ec0e5d (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90fuck-over-engineering
Szuka w kodzie elementów do uproszczenia: martwego kodu, zbędnych zależności i abstrakcji, a zaakceptowane cięcia wprowadza. - 100simplify-codebase
Audytuje bazę kodu pod kątem zbędnej złożoności i proponuje usunięcie martwego kodu, duplikatów i nadmiarowych warstw. - 100simplify-codebase
Audytuje bazę kodu pod kątem zbędnej złożoności i proponuje usunięcie martwego kodu, duplikatów i nadmiarowych warstw. - 90bb-code-audit
Szuka martwego kodu, antywzorców, ekspozycji bezpieczeństwa i gorących punktów złożoności w zindeksowanym repozytorium. - 100dead
Wykrywa nieużywany kod w Go i w aplikacjach webowych i zestawia listę poprawek po zakończeniu funkcji. - 100ponytail-review
Szuka w diffie zbędnej złożoności: ponownie zaimplementowanych funkcji standardowych, dodatkowych zależności i martwej elastyczności.