Langsung ke konten
Skillpedia
Pemrograman umum20k Β· #10457

Simplify

Fungsinya

Memeriksa file, alat, atau basis kode, menemukan bagian yang terduplikasi, mati, atau tidak diperlukan, dan mengusulkan pemangkasan. Skill ini ditujukan untuk developer yang ingin mengurangi kekacauan tanpa merusak apa pun yang bergantung padanya.

Kapan dipakai

  • βœ“Saat sebuah proyek sudah berantakan dan Anda ingin memangkasnya dengan aman.
  • βœ“Saat Anda menduga sebagian kode sudah tidak digunakan tetapi belum yakin.
  • βœ“Saat Anda ingin tahu apa yang bisa dihapus sebelum Anda menghapus apa pun.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Simplify/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œLihat modul ini dan beri tahu saya apa yang bisa kita hapus dengan aman sebelum kita membuat perubahan apa pun.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini memetakan setiap tempat target digunakan, seperti pemanggil, impor, dan dokumen, lalu mengklasifikasikan setiap elemen dengan bukti. Skill ini mengusulkan pemangkasan untuk persetujuan Anda, lalu menerapkan yang disetujui hanya setelah pemeriksaan memastikan tidak ada yang bergantung padanya yang berubah.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apakah akan menghapus sesuatu tanpa bertanya?

Tidak. Tidak ada yang berubah sampai Anda menyetujui item spesifik.

Bagaimana jika tidak bisa menentukan apakah sesuatu digunakan?

Skill ini mempertahankan apa pun yang tidak bisa dijelaskan oleh bukti.

Di mana catatannya disimpan?

Setiap tahap menulis catatan di folder untuk proyek itu, sehingga langkah berikutnya dibangun di atas bukti.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
20k
Peringkat
#10457
Lisensi
MIT
Diperbarui
28/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa