aide-untangle
Map where a codebase is tangled — pieces that must change together but do not show it, pieces tied together that change for different reasons, code with no reason of its own to exist, special cases — and where it breaks the project's size limits (lines per file, files per folder). Changes nothing: every fix comes out as spec text, one spec per fix. Use when: "untangle", "kartlegg koden", "hvor er koden floket", "finn duplisert logikk", "sjekk filstørrelser", before a refactor, when agents keep missing a place a change has to touch. Do NOT use for: making the changes (each spec goes through aide-analyze and aide-implement), reviewing a diff (use code-review), exploring an idea (use aide-explore).
Original · translation did not pass checksTarget: Software development & testing. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Untangle a codebase
- Ground rules
- Workflow
- Step 1: Agree on the area
- Step 2: Check the size limits
- Step 3: List every problem
- Step 4: Find the fixes
- Step 5: Check the list
Find every place the code answers one question wrong — should these pieces change together? — and every file or folder over the project's size limits, and hand each fix over as spec text. The output is a map and a list of specs; the code is left exactly as it was. Input: $ARGUMENTS (an area or a concern to start from, or nothing for the whole codebase) Change nothing. No code, no tests, no docs, no specs, no git. Reading, searching and running read-only scripts (a line count, an import graph, git log) is allowed and expected. A fix that looks obvious is still written down, not made: it goes through a spec, where it gets an analysis, tests and a review. Every finding has a file:line. A finding without one cannot be checked, and a spec built on it starts with a guess. Verify before you write it down. Open the file and read the lines. A finding a search suggested and nobody read is the most common wrong finding (see Pitfalls). Whole codebase, or the area in $ARGUMENTS. For more than a few hundred files, say how you will split the reading (by top-level folder, by module) and how long it will take, before you start. Subagents may read parts in parallel; each one gets the brief in refere
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- ragnarwestad/aide
- Source file
- core/skills/aide-untangle/SKILL.md
- Fixed revision
- 4accd2a3379f990472d375916c4972aa2a1d0c8b
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: ragnarwestad/aide · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T13:00:43.290Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.