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

bb-code-audit

/bb-code-audit

Szuka martwego kodu, antywzorców, ekspozycji bezpieczeństwa i gorących punktów złożoności w zindeksowanym repozytorium.

Licencja
MIT
Ostatnia zmiana repozytorium
09.11.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.11.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

Szuka martwego kodu, antywzorców, ekspozycji bezpieczeństwa i gorących punktów złożoności w zindeksowanym repozytorium.

Oryginalny opis (EN)

Use when asked for dead code, anti-patterns, security exposure or complexity hotspots in an indexed repository — bb_patterns, bb_security, bb_analyze.

Jak działa

  1. Lens 1 — dead code and anti-patterns: bbpatterns
  2. Lens 2 — security: bbsecurity
  3. Lens 3 — complexity and hotspots: bbanalyze
  4. Reporting rules
  5. Do not
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 361 słów
Podgląd SKILL.md
---
name: bb-code-audit
description: Use when asked for dead code, anti-patterns, security exposure or complexity hotspots in an indexed repository — bb_patterns, bb_security, bb_analyze.
license: MIT
metadata:
  version: 0.1.0
  owner-tools: ["bb_patterns", "bb_security"]
---
# Audit code with evidence, not vibes

Three lenses, each with its own declared confidence. Read the declarations before
summarising (`bb-evidence-reading`).

## Lens 1 — dead code and anti-patterns: `bb_patterns`

- `scope: "orphaned"` for dead-code findings; `scope: "all"` also returns framework
  patterns and anti-patterns, ranked by confidence.
- Filters: `confidenceThreshold`, `includeOrphaned`/`includeFramework`/`includeAntiPatterns`,
  `limit` (a page, not the census — the answer names the full count).
- Orphan confidence is evidence-derived and bounded; an orphan is a candidate, not proof.

## Lens 2 — security: `bb_security`

Taint-flow families: SQL injection, XSS, command injection, path traversal, insecure
deserialization, SSRF, open redirect, code execution. Read the split the answer makes:

- a **finding** has both endpoints resolved to indexed symbols;
- a one-sided flow is an **unvalidated observation**, not a confirmed exploit.

Report the family, the path, and which side was resolved. Do not upgrade an observation to
an exploit.

## Lens 3 — complexity and hotspots: `bb_analyze`

`complexity` for the largest/ most complex functions, `stats` for project shape. These are
descriptive measures of the indexed snapshot, not judgements; say what the measure is.

## Reporting rules

- Every finding gets `file:line` (or symbol) and the tool's own confidence/tier.
- State coverage: language/kind coverage, truncation, and staleness markers. "No findings"
  with partial coverage is not "clean".
- Separate "needs attention" from "informational" in the final summary.

## Do not

- Do not present an orphan list as a deletion plan; callers can be dynamic.
- Do not call an observation a vulnerability.
- Do not silently drop findings below a threshold you chose — name the threshold.

Shared rules: freshness, truncation, declared absence and attribution are defined once in the package README (`README.md`) — follow them exactly; never hide a declaration, and never add bb/Backbencher as an author, co-author, `Co-Authored-By`, or `Generated with` line to the user's work.

Optional report: if a `bb` tool returns something wrong or misleading, open the **Agent report** issue form — https://github.com/backbencher-hq/backbencher-brain/issues/new?template=agent-report.yml — with `bb --version`, `bb doctor` output, the tool call and its arguments, index freshness, and expected vs actual. Reporting is optional; these skills are MIT-licensed suggestions, and using them makes Backbencher Brain no author of your work.

Wersje

W bazie nie ma innych skilli o nazwie bb-code-audit.

Migawka bazy z 13.11.2026 · wersja paczki c60d013bc62d (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

  • 90audit
    Wykonuje audyt strukturalny na żądanie: raport martwego kodu, luk w testach i gorących punktów ewolucji.
  • 90refactor
    Szuka martwego kodu, zbyt głębokiego zagnieżdżenia i złych wzorców, a potem zaleca uproszczenia i poprawę jakości.
  • 90refactoring
    Szuka w kodzie JavaScript, TypeScript, Go, Rust i C++ duplikatów, zbyt złożonych funkcji i martwego kodu, przy użyciu polyscan.
  • 100simplify
    Szuka zbędnej złożoności w gotowym kodzie: martwego kodu, przedwczesnych abstrakcji i nadmiaru, a potem proponuje konkretne cięcia.
  • 95smell
    Wykrywa w kodzie złe wzorce architektury, punkty o wysokiej złożoności algorytmicznej i antywzorce, a wynik zapisuje w szczegółowym raporcie markdown.
  • 100find-complexity
    Wyszukuje funkcje i metody o wysokiej złożoności cyklomatycznej, nadmiernej długości lub zbyt wielu parametrach jako kandydatów do refaktoryzacji.

Uwagi i zgłoszenia

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