flats-deslop
/flats-deslop
Usuwa ślady kodu generowanego przez AI z diffu gałęzi Flats względem main bez zmiany zachowania, na przykład przed prośbą o code review.
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Usuwa ślady kodu generowanego przez AI z diffu gałęzi Flats względem main bez zmiany zachowania, na przykład przed prośbą o code review.
Oryginalny opis (EN)
Remove AI-generated code slop from a Flats branch diff against main without changing behavior. Use during implementation, before requesting code review, or when the user asks to deslop or clean up code style on a Flats branch.
Jak działa
- Focus areas
- Guardrails
- Source
Podgląd SKILL.md
---
name: flats-deslop
description: Remove AI-generated code slop from a Flats branch diff against main without changing behavior. Use during implementation, before requesting code review, or when the user asks to deslop or clean up code style on a Flats branch.
---
# Flats deslop
Check the branch diff against main (`git diff origin/main...HEAD`, plus
uncommitted changes) and remove AI-generated slop that the branch introduced.
Read the surrounding file first: the local style is the reference.
## Focus areas
Go:
- Comments that restate the code, narrate the change ("now we...", "added
for..."), or do not match the file's comment style. Keep comments that
explain why, and doc comments on exported names.
- Checks that are abnormal for a trusted path: nil checks on values that
cannot be nil, re-validation of input an earlier layer already validated,
`recover` that hides a programming error, errors that are logged and also
returned.
- Type assertions or conversions to `any` used only to silence the compiler.
- Deep nesting that early returns or `continue` would flatten.
- Wrapping that adds no context (`fmt.Errorf("%w", err)`), single-use helpers
that only add indirection, and names inconsistent with the package.
JavaScript (console, docs editor, design app):
- `try`/`catch` around code that cannot throw, or a `catch` that swallows the
error silently.
- Optional chaining or `?? default` on values that are always present.
- Type-checker escapes (`// @ts-ignore`, `/** @type {any} */`) or casts that
only silence a warning.
- Patterns that differ from the module: other DOM helpers, other naming,
another event style.
## Guardrails
- Keep behavior unchanged. Anything that would change behavior, including an
apparent bug fix, is not a deslop edit: report it, and it goes through
normal implementation and review.
- Prefer minimal, focused edits over broad rewrites. Touch only lines the
branch changed, unless an adjacent line must change with them.
- Do not remove a check you cannot prove redundant.
- Run the affected tests after editing (`go vet` and `go test` for the touched
packages, and the relevant JavaScript tests).
- Finish with a summary of one to three sentences.
## Source
Adapted from the `deslop` skill in
[cursor/plugins](https://github.com/cursor/plugins/blob/0b8e952052d482ee6de06deebf14d590d77b1b34/cursor-team-kit/skills/deslop/SKILL.md)
(MIT License, Copyright (c) 2026 Cursor). The full upstream license is in
[references/UPSTREAM-LICENSE.txt](references/UPSTREAM-LICENSE.txt). The Flats
version adds Go and JavaScript examples and the workflow guardrails, and it
never changes behavior: where upstream allows fixing a clear bug, the Flats
version reports the bug instead.
Pliki w paczce (2)
- SKILL.md 3 KB
- references/UPSTREAM-LICENSE.txt 1 KB
Wersje
W bazie nie ma innych skilli o nazwie flats-deslop.
Migawka bazy z 13.11.2026 · wersja paczki 5733427d8ee6 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 85flats-test
Weryfikuje kandydata do zmiany w repozytorium Flats względem oczekiwanego działania i ocenia dowody testowe innym modelem. - 85flats-implement
Wdraża zdefiniowaną zmianę w repozytorium Flats wraz z testami i niezależnym przeglądem kodu, po zatwierdzonym projekcie. - 90deslop
Upraszcza wygenerowany kod i usuwa zbędne abstrakcje w przejściu poprawiającym utrzymanie, bez zmiany zachowania programu. - 100deslop
Usuwa ślady pisania przez AI z zasobów FiveM w Lua, TypeScript i JavaScript bez zmiany działania, po zakończeniu zmiany i przed commitem. - 90purify
Usuwa z gałęzi zbędny kod generowany przez AI: zbędne komentarze, nadmiarowe zabezpieczenia i zagnieżdżenia, bez zmiany zachowania. - 100deslop
Czyści diff i kod z nadmiaru: upraszcza, usuwa martwy kod i konfigurację, bez zmian zdalnych, poświadczeń, publikacji i wdrożeń.