ce-compound
Fungsinya
Skill ini menangkap alasan di balik perbaikan dalam bentuk paling murah yang tahan lama, seperti tes atau aturan yang terdokumentasi. Skill juga bisa meninjau catatan pembelajaran lama untuk menemukan catatan yang usang atau tumpang tindih.
Kapan dipakai
- βSaat Anda menyelesaikan masalah yang rumit dan ingin pelajarannya disimpan agar tidak terulang.
- βSaat Anda ingin catatan pembelajaran lama diperiksa terhadap kode yang berlaku saat ini.
- βSaat Anda ingin catatan yang usang atau tumpang tindih dibersihkan.
Link skill
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-compound/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βKita baru saja memperbaiki bug rotasi token itu. Bisakah Anda menyimpan pelajarannya agar kita tidak mengalaminya lagi?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memeriksa apakah pelajaran itu memenuhi syarat, memilih bentuk paling ringan yang mencegah terulangnya masalah, lalu menuliskannya. Dalam mode refresh, skill mengaudit catatan yang ada terhadap kode dan bisa mengusulkan penghapusan catatan yang sudah usang.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
/ce-compound
Choosing the job
This skill does one of two jobs. Capture holds the lesson of one solved problem. Refresh audits the existing learnings against the current codebase and can delete docs and open a PR.
Run refresh when the arguments contain mode:refresh, or when an interactive run was invoked to do one, as in /ce-compound refresh payments, "clean up the learnings", or a standalone request to create CONCEPTS.md. An earlier remark in the session does not count. Read references/refresh/overview.md and follow it instead of the rest of this file. The refresh references name the parts of this file they reuse.
Otherwise run capture. A non-interactive run without mode:refresh is always capture, whatever its context says. Capture takes free-text context, so refresh token rotation after fixing that bug is a capture. If an interactive run's words could mean either job, ask once with the host's blocking question tool, and capture if there is no answer.
Capture
Outcome: the lesson of one qualifying solved problem is held in the cheapest form that stops the repeat, grounded against the current tree, discoverable by the next agent.
Done: the chosen form is written or updated and validated, vocabulary capture recorded, and the mode's completion report emitted; when no lesson qualifies, nothing is written and the report says why.
One learning per run. A session that produced several gets several sequential runs, never one batched run. Read references/research.md; it explains what batching breaks.
Preconditions
Document only a problem that is solved and verified.
<!-- ce-durable-bar:start -->A learning earns its place only when it holds durable project reasoning that is not readily recoverable from the final code, tests, types, comments, or existing documentation, and losing it would plausibly cause recurrence, material risk, or substantial rediscovery. Apply this counterfactual: if the learning document disappeared, would a future engineer reading the final implementation still be likely to repeat the mistake or redo substantial investigation? Completion, effort, and diff size do not establish eligibility.
<!-- ce-durable-bar:end -->If the counterfactual fails, write nothing and report why. Judge this from the session rather than asking. An explicit invocation requests the judgment now but does not lower the bar.
An existing learning that became materially inaccurate or incomplete qualifies because leaving it would mislead. Update that learning instead of creating a duplicate.
Mode Detection
/ce-compound [brief context]
/ce-compound mode:non-interactive depth:lightweight [context]
/ce-compound mode:non-interactive depth:full [context]
Enter non-interactive mode when either holds: the arguments you were invoked with contain the mode:non-interactive token or its deprecated alias mode:headless, or the invocation makes non-interactive intent unmistakable, such as a caller or standing instruction asking to run ce-compound "headless", "non-interactively", "unattended", or "without prompts/questions". Both tokens together is not a conflict. Bare "automatically" or "auto-run" is not on its own a non-interactive signal: it speaks to invoking the skill, not to suppressing its prompts. An ambiguous or absent signal defaults to interactive. Tokens starting with mode: or depth: are flags, not context: strip them before treating the remainder as the brief context hint. Once detected, non-interactive mode applies for the entire run.
references/modes.md decides depth, including what a depth: token does.
Non-interactive mode asks nothing. It asks no blocking question of any kind, in any phase, because a caller reaching this path has no human to answer one. Every non-interactive exit, including one taken before any phase runs, ends on a terminal signal a caller parses: Documentation complete, or Documentation skipped with the reason when the run wrote nothing. Interactive mode asks only where a step's own reference says to.
Artifact Root
Resolve <root> when you first compose a <root>/solutions/ path, and pass a subagent the resolved path rather than the config.
Resolve the CE artifact root <root> before composing any artifact path.
- Read
docs_rootfrom<repo-root>/.compound-engineering/config.yamlonly (<repo-root>=git rev-parse --show-toplevel). Do not read it from
Pertanyaan umum
Bentuk termurah apa yang dipilih?
Skill lebih dulu memilih tes atau aturan lint, lalu standar pengkodean, dan catatan tertulis hanya jika diperlukan.
Apakah skill ini melewati perbaikan rutin?
Ya. Skill menghindari perbaikan rutin yang kodenya dan tesnya sudah menjelaskan pelajarannya.
Apakah skill ini bisa membuka pull request?
Dalam mode refresh, skill bisa menghapus dokumen yang usang dan membuka pull request.
Detail
Deskripsi asli dari pembuat
Capture a solved problem's lesson in its cheapest durable form, a test or lint rule, a coding standard, or a repo learning, or refresh existing learnings against the codebase. Use when verified work produced non-obvious reasoning absent from its final code, tests, or existing docs, or when auditing stale, overlapping, or drifted learnings. Avoid routine fixes whose artifacts already explain the lesson.
Popularitas
- Bintang GitHub
- 26k
- Peringkat
- #10025
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
ce-babysit-pr
26kMembantu agent Anda menjaga pull request GitHub tetap bergerak menuju merge dengan menangani komentar review, pemeriksaan gagal dan cabang usang dari waktu ke waktu.
ce-bakeoff
26kMembantu agent Anda membuat beberapa solusi yang saling bersaing untuk sebuah masalah, membandingkannya, lalu menggabungkan bagian terkuat menjadi satu pendekatan yang direkomendasikan.
ce-brainstorm
26kMembantu agent Anda mengubah ide yang samar menjadi kumpulan persyaratan yang jelas dan pas ukurannya sebelum pekerjaan dimulai, melalui percakapan terpandu yang singkat.
ce-code-review
26kMembantu agent Anda meninjau perubahan kode atau pull request tertentu untuk mencari bug, regresi, pengujian yang hilang dan masalah standar, lalu melaporkan temuan yang jelas.
Skill serupa
technical-documentation
394kMembantu agent Anda menulis dan meninjau dokumentasi teknis serta file instruksi agent yang jelas, agar orang dan alat AI dapat mengikutinya dengan mudah.
architecture-decision-records
280kMembuat agent Anda mencatat keputusan penting terkait struktur proyek. Membantu memahami alasan di balik pilihan dan menjaga riwayat perubahan yang jelas.
code-tour
280kMembuat agent Anda menyusun panduan kode langkah demi langkah dengan referensi file dan nomor baris yang tepat. Berguna untuk pengenalan, penjelasan, dan review.