Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

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.

Repozytorium
flats ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

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

  1. Focus areas
  2. Guardrails
  3. Source
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 362 słów
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

: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

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ń.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.