Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

git-quality-hooks

/git-quality-hooks

Dodaje lub naprawia lokalne hooki Git do skanowania sekretów i własnych kontroli jakości, bez nadpisywania istniejących workflowów.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
31.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
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Dodaje lub naprawia lokalne hooki Git do skanowania sekretów i własnych kontroli jakości, bez nadpisywania istniejących workflowów.

Oryginalny opis (EN)

Add or repair local Git hooks for staged secret scanning and project-specific quality checks without overwriting existing workflows. Use for pre-commit, commit-msg, pre-push, or a requested local gate before sharing code.

Jak działa

  1. Inspect the installation
  2. Place checks deliberately
  3. Verify and explain
Sekcje z nagłówków SKILL.md, w oryginale · 31 linii, 257 słów
Podgląd SKILL.md
---
name: git-quality-hooks
description: Add or repair local Git hooks for staged secret scanning and project-specific quality checks without overwriting existing workflows. Use for pre-commit, commit-msg, pre-push, or a requested local gate before sharing code.
---

# Git quality hooks

Put fast mechanical checks at the appropriate Git boundary. Preserve existing hook managers and team requirements.

## Inspect the installation

Check the repository, branch, status, core.hooksPath, existing hooks, package scripts, and any hook manager. Determine whether the user requested advice or installation.

A collection's hook example must not activate merely because the skill is installed. Integrate only when hook configuration is part of the task.

## Place checks deliberately

- Pre-commit: staged-secret scanning and fast checks of staged content.
- Commit-msg: the project's actual message contract, if one exists.
- Pre-push: broader project verification before transferring changes.

Check the staged snapshot when the contract concerns the commit. Running a working-tree formatter does not establish what the staged version contains.

Use [the pre-commit example](assets/pre-commit) for gitleaks only when that tool and command fit the environment. It redacts findings and fails if the scanner is unavailable. Compose it with existing hooks; do not overwrite or bypass their checks.

Choose any size or timing limits from project conventions. Do not carry one project's arbitrary numbers into another repository.

## Verify and explain

Use an isolated fixture to check passing input, a failing scanner exit, and an unavailable scanner. Use synthetic data only. Preserve exit codes through wrappers and pipelines.

Document setup, dependencies, and which behavior each hook checks. Local hooks are not automatically active in every clone; use CI for the contracts the team requires remotely.

A hook can enforce mechanical checks. Independent review still needs an actual reviewer and evidence at the revision being shared.
Pliki w paczce (3)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB
  • assets/pre-commit 1 KB

Wersje

W bazie nie ma innych skilli o nazwie git-quality-hooks.

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

  • 100git-hooks-setup
    Konfiguruje hooki Git (pre-commit, commit-msg, pre-push) przez husky lub natywnie dla lintowania, formatowania, konwencji commitów i skanowania sekretów.
  • 100git-hooks
    Instaluje i konfiguruje hooki pre-commit w Git dla jakości kodu, skanowania sekretów i walidacji komunikatów commitów oraz egzekwuje standardy kodu.
  • 100configuring-git-hygiene
    Konfiguruje bezpieczną higienę pracy z git: hooki pre-commit i pre-push, skanowanie sekretów Gitleaks, reguły .gitignore, lokalną konfigurację git i zabezpieczenia.
  • 95dx-git-hooks-setup
    Konfiguruje hooki pre-commit i pre-push w projekcie, Husky lub Lefthook, i sprawdza, czy spełniają minimalne wymogi.
  • 100husky-and-hooks
    Konfiguruje i naprawia haki Git po stronie klienta: Husky v9, lint-staged, commitlint, pre-commit i lefthook.
  • 100wire-ci
    Dodaje do projektu TypeScript ciągłą integrację i lokalną bramkę jakości: typecheck, lint, testy i skanowanie sekretów.

Uwagi i zgłoszenia

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