repo-fitting
/repo-fitting
Dodaje do repozytorium bramki commitów i reguły importów, po zgodzie na zmiany w konfiguracji.
- Autor
- dev-dami ↗
- Repozytorium
- dami-stack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 7
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/git-safety.js
Co robi i kiedy
Dodaje do repozytorium bramki commitów i reguły importów, po zgodzie na zmiany w konfiguracji.
Oryginalny opis (EN)
Use when a tracker step finds no repo config, or a repo lacks a guard it keeps needing: commit gate, import rules, git safety. Installing or editing config needs OK.
Jak działa
- Steps
- Done when
Podgląd SKILL.md
--- name: repo-fitting description: "Use when a tracker step finds no repo config, or a repo lacks a guard it keeps needing: commit gate, import rules, git safety. Installing or editing config needs OK." user-invocable: false --- # Repo fitting Gate: get the user's OK before installing packages, editing scripts, hooks, CI, repo config or instruction files, creating labels, or committing setup files (G2, G3). See gates.md in the skill house-rules. Job: Fit a repo with one thing it needs, and prove it works. Takes: a repo and a fitting. Gives: recorded config or an installed guard, proven pass, fail, pass. Other blocks call this block when they find something missing. They don't tell the user to set it up. A worker that needs a fitting stops and reports it under `Needs OK`. ## Steps 1. Name the one fitting and open its recipe in this skill's `recipes/` folder. | The repo needs | Recipe | |---|---| | Tracker, label and docs config | `recipes/tracker.md` | | Mechanical block on destructive git commands | `recipes/git-safety.md` | | Formatting, type and test checks at commit | `recipes/commit-gate.md` | | Package boundaries a machine enforces | `recipes/import-rules.md` | | Type casts gone from tests | `recipes/test-casts.md` | 2. Inspect before proposing anything: the toolchain, lockfiles, existing config for this fitting, hooks, CI, instruction files. Report what is already there. A guard that exists but doesn't run is a repair, not a new install. 3. Decide the smallest change that does the job. Ask only what inspection can't answer, one topic at a time, each with a recommendation. 4. Show the exact change: files, packages, config sections. Get the OK in the gate's form. 5. Apply it. Merge with what exists rather than overwrite. Keep every other section of a shared file intact. Edit the instruction file the repo already has, and never add a second one. 6. Prove it by observing all three states: - pass: the guard runs clean on the repo as it stands - fail: a real sample trips the guard, and the failure names the rule - pass: the sample is reverted and the guard runs clean again A fitting with nothing to trip, such as tracker config, proves itself with a real read through the mapping instead. 7. Commit only with an OK, and only the setup files. 8. Report what was added, where it lives, which state each proof reached, and what it doesn't cover. ## Done when - The recipe's own finish condition is met. - Pass, fail and pass were each observed on the real repo and appear in the report as `[observed]` with their commands. - Nothing outside the fitting changed, and every surrounding section of a shared file is intact. - Any sample used to trip the guard is reverted. - Anything left uncovered is named: another host, a missing script, a CI step the user must add.
Pliki w paczce (7)
- SKILL.md 3 KB
- recipes/commit-gate.md 2 KB
- recipes/git-safety.md 3 KB
- recipes/import-rules.md 2 KB
- recipes/test-casts.md 2 KB
- recipes/tracker.md 4 KB
- scripts/git-safety.js 5 KB
Wersje
W bazie nie ma innych skilli o nazwie repo-fitting.
Migawka bazy z 13.11.2026 · wersja paczki 63c7805c20aa (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
- 100commit
Dodaje wskazane pliki do commita zgodnie z regułami repozytorium i dzieli zmiany na kilka commitów. - 100setup-repo
Konfiguruje repozytorium dla Orbit: tracker i format commitów, folder .orbit, kontrole pre-commit i blokadę groźnych poleceń git. - 96setup-commit-helper
Ustawia reguły wiadomości commitów w repozytorium przy pierwszej konfiguracji ai-commit-helper. - 90standards-from-config
Wyprowadza standardy kodowania projektu, takie jak długość linii, cudzysłowy, kolejność importów, nazewnictwo i format commitów, z rzeczywistej konfiguracji narzędzi. - 95repo-config
Dostarcza agentom gh-workflow dynamiczną konfigurację repozytorium: nazwę domyślnej gałęzi do diffów, właściciela i nazwę repozytorium do wywołań API oraz konwencje gałęzi i commitów. - 100git-repo-detection
Wykrywa właściciela i nazwę repozytorium GitHub ze zdalnych adresów Git, gdy potrzebny jest identyfikator owner/repo dla GitHub CLI lub API, także przy wielu repozytoriach.