Zum Inhalt springen
Skillpedia
Allgemeines Programmieren20k · #10457

Simplify

Was er macht

Dieser Skill betrachtet eine Datei, ein Werkzeug oder eine Codebasis, findet Teile, die doppelt, tot oder unnötig sind, und schlägt Kürzungen vor. Er ist für Entwickler gedacht, die Unordnung abbauen wollen, ohne etwas zu brechen, das davon abhängt.

Wann du ihn nutzt

  • ✓Wenn ein Projekt unübersichtlich geworden ist und du es sicher kürzen willst.
  • ✓Wenn du vermutest, dass Code nicht mehr genutzt wird, dir aber nicht sicher bist.
  • ✓Wenn du wissen willst, was gelöscht werden könnte, bevor du etwas löschst.

Link zum Skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Schau dir dieses Modul an und sag mir, was wir sicher löschen können, bevor wir etwas ändern.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill erfasst jede Stelle, an der das Ziel genutzt wird, etwa Aufrufer, Importe und Dokumentation, und ordnet jedes Element mit Belegen ein. Er schlägt Kürzungen zur Freigabe vor und wendet die genehmigten erst an, nachdem Prüfungen bestätigt haben, dass nichts Abhängiges sich geändert hat.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Simplify

Simplify makes a target smaller and clearer without breaking anything that depends on it. A target can be a file, a skill, a tool, a subsystem or a whole repo. The work comes in three intents, each building on the record from the one before: Survey maps the target read-only, Propose ranks the cuts and holds them for a yes, and Apply lands the approved cuts with proven parity. The central rule: a cut never drops a behaviour that a dependent or ISA criterion relies on, and anything the evidence cannot explain stays. Records sit next to the target's ISA when there is one.

Ideal State

  • The target ends smaller and clearer, and every behaviour a dependent or ISA criterion relies on still works, shown by the same baseline checks passing before and after.
  • No element is cut on looks: each cut rests on a survey finding with its searches cited, and anything the evidence cannot explain stays.
  • Nothing changes until the principal approves the specific rows, and a delete of irreplaceable content gets its own yes.
  • Each stage leaves its record under LIFEOS/MEMORY/WORK/{slug}/simplify/, so the next stage builds on evidence rather than on memory.

Intent Routing

Intent Trigger File
Survey "simplify X", "what can we delete", "map this before we cut", "is this dead" Intents/Survey.md
Propose "what would you cut", "propose the simplifications", follows Survey in the same run Intents/Propose.md
Apply "apply them", "y" or approved row numbers after a proposal Intents/Apply.md

A bare "simplify X" runs Survey and then Propose, and stops at the proposal. A Survey-only request, which is how a read-only analysis calls this skill, stops at the survey.

Data & Config

None. This skill reads no config and needs no account or key. Each stage writes its record under LIFEOS/MEMORY/WORK/{slug}/simplify/ next to the target's ISA, if it has one; nothing else is created.

Gotchas

  • Zero code-search hits does not mean dead. LifeOS calls a great deal of code by string: hook registrations in settings.json, launchd plists, workflow YAML, skill routing tables, spawned commands and dynamic imports. ReferenceCheck.ts --shipped-paths exists because plain path scans missed spawn and dynamic-import specifiers.
  • The file can change mid-run. Memory loops and peer sessions write to the same trees. A file edited after its survey is re-read before it is touched (Trim, where a concurrent deploy-command fix was nearly reverted).

Examples

Example 1: Simplify a tool

User: "simplify LIFEOS/TOOLS/ReferenceCheck.ts"
→ Survey intent, then Propose
→ Purpose from its header and DocCheck lineage, every caller, findings per function, test baseline
→ A ranked table of cuts, each with its parity check, held for y

Example 2: Land the approved cuts

User: "y, but skip 4"
→ Apply intent
→ Rows 1–3 and 5 land as separate commits, tests show the same pass count before and after, and the measured reduction sits beside the estimate

Example 3: An always-on context file

User: "simplify CLAUDE.md"
→ Routed to Trim, which owns always-on context files and their directive-coverage gate
Häufige Fragen

Löscht er Dinge ohne Nachfrage?

Nein. Nichts ändert sich, bevor du die einzelnen Punkte freigibst.

Was ist, wenn er nicht sagen kann, ob etwas genutzt wird?

Er behält alles, was die Belege nicht erklären können.

Wo werden seine Aufzeichnungen gespeichert?

Jeder Schritt schreibt eine Aufzeichnung in einen Ordner für dieses Projekt, sodass spätere Schritte auf Belegen aufbauen.

Details

Originalbeschreibung des Autors

Research-first simplification of any file, skill, tool, subsystem or codebase against its ideal state: reads its ISA or derives its purpose, maps every dependent (callers, imports, references, hooks, settings, docs, tests), classifies each element with evidence as load-bearing, duplicate, dead, cruft or over-abstracted, then proposes and applies cuts that keep every behaviour a dependent relies on, proven by before-and-after parity checks. USE WHEN simplify, simplify this, simplify this system, remove cruft, remove duplication, dedupe, dead code, clean this up, this has gotten bloated, too com

repo: danielmiessler/LifeOS

Beliebtheit

GitHub-Sterne
20k
Platz im Ranking
#10457
Lizenz
MIT
Aktualisiert
28.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills