Langsung ke konten
Skillpedia
Pemrograman umum15k · #10949

principle-the-algorithm

Fungsinya

Memberi asisten metode lima langkah untuk perubahan yang lebih besar: pertanyakan persyaratan, hapus, optimalkan, percepat, lalu otomatisasi. Cocok untuk insinyur yang menginginkan desain yang lebih sederhana dan beralasan dengan baik.

Kapan dipakai

  • ✓Saat Anda akan mendesain perubahan yang lebih besar dari sekadar suntingan sederhana.
  • ✓Saat sebuah persyaratan tampaknya menambah kompleksitas yang mungkin tidak diperlukan.
  • ✓Saat Anda ingin memeriksa apakah sebuah bagian bisa dihapus sebelum mengoptimalkannya.

Link skill

https://github.com/cursor/plugins/blob/main/dyl-stack/skills/principle-the-algorithm/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/cursor/plugins/blob/main/dyl-stack/skills/principle-the-algorithm/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

“Sebelum kita mendesain fitur ini, tantang persyaratannya dan beri tahu saya apa yang bisa kita hapus.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Asisten mempertanyakan persyaratan terlebih dahulu, lalu berusaha keras menghapus bagian atau langkah, kemudian mengoptimalkan apa yang tersisa, mempercepatnya, dan mengotomatisasinya terakhir. Balasannya menyebutkan apa yang dipertanyakan dan apa yang dihapus.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

The Algorithm

Five steps, in order, for any change bigger than an edit you can see at a glance. The order is the principle. Each step is cheap only after the one before it, and the common failure is doing a late step on something an early step would have removed. Adapted from Elon Musk's five-step engineering process.

  1. Make the requirements less dumb. Assume the requirement is wrong and make it less wrong. It comes from a person, not a department. "The ticket", "the linter", "the reviewer", or "the old code did it" is a source, not a reason; find the person and their reasoning. If you do not agree with the reasoning, do not accept the requirement, however smart the person who gave it, the human included. No is a valid outcome.
  2. Delete the part or process step. Try hardest to delete the part, flag, layer, retry, or step entirely before touching step 3. Optimizing something that should not exist is the biggest mistake smart people make. If you never add anything back, you did not delete enough. Leaf: pstack principle-subtract-before-you-add.
  3. Optimize what survived. Third step, not first. Have one part do many things instead of a parallel copy per caller. Look hardest at boundaries between owners and layers, where a wrapper wraps a wrapper. Leaves: pstack principle-laziness-protocol, principle-minimize-reader-load.
  4. Accelerate. Be the part: walk one change through edit, build, check, and review yourself and note where you wait, crawl, or bounce. Tighten that. Leaf: pstack principle-sequence-verifiable-units.
  5. Automate last, or you automate something that should not exist. Volume alone does not justify it; precision and reviewability do. pstack principle-build-the-lever still applies. It runs on what survived.

Run it again. This is not a one-time gate. Rerun it on the result before you ship; the second pass deletes more.

The tell. A citation of this principle names the requirement you made less dumb, who owned it, and what you deleted. A citation with neither means you skipped it.

Pertanyaan umum

Mengapa urutannya penting?

Setiap langkah murah hanya setelah langkah sebelumnya, dan mengoptimalkan sesuatu yang seharusnya tidak ada hanya membuang usaha.

Bisakah asisten menolak sebuah persyaratan?

Bisa. Jika alasan di balik persyaratan tidak kuat, skill ini menyatakan bahwa jawaban tidak adalah hasil yang sah.

Dari mana metode ini berasal?

Skill ini menyatakan bahwa metode ini diadaptasi dari proses rekayasa lima langkah milik Elon Musk.

Detail

Deskripsi asli dari pembuat

Apply to any non-trivial change before designing it. Make the requirement less dumb, delete, optimize, accelerate, automate, in that order, then run it again on the result. The reply names the requirement you questioned and what you deleted.

repo: cursor/plugins

Popularitas

Bintang GitHub
15k
Peringkat
#10949
Lisensi
—
Diperbarui
31/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa