untangle-codebase
/untangle-codebase
Diagnozuje ukryte sprzężenia i zbędne pośrednictwo w wybranym obszarze kodu, do audytu lub zakresowego refaktoryzowania.
- Autor
- LordGhostX ↗
- Repozytorium
- agents-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 06.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 06.11.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
Diagnozuje ukryte sprzężenia i zbędne pośrednictwo w wybranym obszarze kodu, do audytu lub zakresowego refaktoryzowania.
Oryginalny opis (EN)
Diagnose structural coupling and unnecessary indirection in a requested area. Use for architecture cleanup, diagnosis-only assessments, or scoped refactoring.
Jak działa
- Establish the boundary
- Diagnose the structure
- Propose and refactor
- Finish within scope
Podgląd SKILL.md
--- name: untangle-codebase description: Diagnose structural coupling and unnecessary indirection in a requested area. Use for architecture cleanup, diagnosis-only assessments, or scoped refactoring. --- # Untangle Codebase Find structural problems that make ordinary changes fragile or require unnecessary coordination. Improve responsibility boundaries while preserving required behavior. ## Establish the boundary Read project guidance and pin the requested area and mode. Inspection and recommendation requests are read-only; refactor only within existing authorization. Invocation alone does not authorize edits. For broad work without an agreed plan, propose manageable candidate batches and a finite stopping boundary for approval before editing. Reuse already approved scope. ## Diagnose the structure Trace entry points, callers, shared state, contracts, and relevant tests. Use dependency traces or Git history when they clarify what changes together. Look for: - **Hidden coupling:** rules that must stay synchronized, implicit state or call ordering, and coordinated changes whose relationships are hard to discover. - **Unnecessary coupling:** callers depending on internals, unrelated responsibilities sharing an abstraction, or workflow-specific policy in general utilities. - **Unnecessary indirection:** wrappers without a useful responsibility, unused extension points, and custom machinery already handled by suitable project or library capabilities. These are investigation cues. Wrappers, retries, conditionals, duplication, and folder layouts are not defects by themselves; establish the responsibility or requirement they serve. Explain a concrete change that becomes fragile or unnecessarily costly, supported by connected code or history. Check counter-evidence before proposing removal or consolidation. ## Propose and refactor For each worthwhile candidate, give its location, concrete consequence, evidence, smallest correction, and behavior at risk. Group problems when one correction addresses them; avoid introducing a general framework merely to consolidate similar-looking code. No findings is a valid diagnosis result. In diagnosis-only mode, stop at recommendations. For authorized refactoring, use existing conventions and installed capabilities, working in manageable batches. Surface newly discovered bugs, product decisions, or larger redesigns before expanding scope; continue independent approved work while those decisions are pending. Establish relevant behavior before changing it and verify after each batch, including protections or special cases the change could remove. Reuse meaningful tests or focused experiments; add permanent tests only when their maintenance cost is justified. Run the repository's required checks and inspect the final diff. ## Finish within scope Stop at the agreed candidate list or execution limit. Report structural improvements, checks, preserved constraints, and remaining work; do not equate fewer files, wrappers, or special cases with success. A useful result makes the identified change easier while retaining required behavior. When available and requested, use `review-and-refine` for independent review loops and `prune-tests` for separately authorized test cleanup. Neither is required for this workflow. Structural framing inspired by [caldoai's untangle-codebase](https://github.com/caldoai/skills/blob/main/skills/untangle-codebase/SKILL.md).
Pliki w paczce (2)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · LordGhostX/agents-skills | 100 | MIT |
| callmeteus/gti-skills | 100 | MIT |
| dedene/skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki ac1bc48c79ed (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
- 90untangle
Wskazuje w kodzie elementy, które utrudniają zwykłe zmiany, i sprawdza, czy powinny zmieniać się razem. - 100improve-codebase-architecture
Bada repozytorium pod kątem problemów strukturalnych (churn, cykle importów, sprzężenia), szereguje kandydatów i proponuje małe odwracalne kroki chronione regułą CI. - 100untangle
Porządkuje repozytorium zbudowane szybko narzędziami AI: duplikaty, martwy kod i testy bez wartości, by agenci mogli dalej pracować bezpiecznie. - 100architecture-review
Przegląda architekturę bazy kodu pod kątem naruszeń SOLID, zdrowia zależności, granic modułów i problemów strukturalnych, przy ocenie struktury lub sprzężenia całego systemu. - 87untangle
Wyszukuje i usuwa przerośnięte wzorce kodu, takie jak zduplikowane stany, kopie reguł i zbędne opakowania, i przygotowuje plan porządków. - 100untangle
Dzieli bieżący czat Claude Code na osobne rozmowy według tematów, najpierw pokazując propozycje do akceptacji.