compose-next
Fungsinya
Skill ini adalah alur kerja bertahap untuk pekerjaan fitur yang lebih besar, perbaikan bug, dan refaktor. Skill ini ditujukan untuk pengembang yang ingin kebutuhan sudah jelas, spesifikasi tertulis, dan tinjauan independen sebelum penggabungan.
Kapan dipakai
- โSaat Anda meminta fitur multi-langkah yang membutuhkan desain dan tugas tertulis.
- โSaat refaktor atau perbaikan bug layak mendapat tinjauan sebelum digabungkan.
- โSaat kebutuhan belum jelas dan perlu diselesaikan sebelum pengkodean.
Link skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/compose-next/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
โSaya ingin memakai alur kerja compose untuk membangun fitur ekspor dan mendapatkan tinjauannya sebelum digabungkan.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa repo terlebih dahulu, lalu bergerak melalui tahap secara berurutan: memperjelas, menyiapkan ruang kerja, menulis spesifikasi, menerapkan, memverifikasi, meninjau, dan menyelesaikan. Alur ini hanya berjalan saat Anda jelas-jelas memintanya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Compose Next
Compact end-to-end contract for grill โ workspace โ spec โ implement โ verify โ review โ finalize โ finish. One skill load, no internal skill hand-offs.
When writing a checkpoint or compacting context, preserve this recovery instruction in the checkpoint or compacted summary: on resumption, if the Compose Next instructions are absent, reload the compose-next skill before continuing.
Enter this workflow only on an explicit user request. Any clear natural-language instruction to use this workflow counts just like /compose-next; the user does not need to know or name the skill. If the user has not clearly requested the workflow, do the work directly and run none of the phases below; do not infer consent merely because the task is large or resembles a Compose task.
Step 0 โ Orient
Inspect the repository, its instructions (AGENTS.md, README, existing spec files), and recent changes before asking anything. Do not ask the user for facts the environment already answers.
Decide the shape of the work:
- Fully constrained mechanical change with no durable design surface โ skip Grill and Spec, go to Workspace then Implement.
- Requirements or design ambiguous โ Grill first.
- Requirements clear, feature deserves a durable document โ Workspace then Spec.
User gates and project overrides:
- If the user explicitly requests
without worktreeor specifies a worktree or workspace path, use that workspace choice and skip the default worktree gate. Do not ask again for worktree consent. - If the user explicitly says
without spec, "no spec needed", "this is a small fix", or gives an equivalent instruction, skip the durable feature document and its spec gate. Keep verification and review when the task still warrants them. - An explicit project instruction,
AGENTS.md, or user-provided agent/worktree configuration may define a project-specific worktree path, branch convention, spec path, or spec format. Use that configuration instead of the defaults in this skill. Record the override in the feature document or final report when it changes the normal artifact location.
Every path passes through Workspace before Spec or Implement; no branch skips it.
Grill โ resolve decisions
Resolve one decision axis at a time. A single decision may bundle multiple dependent fields in one structured question; unrelated decisions require separate turns.
Use the Question tool for every user decision:
- Put known choices in
options. Each option gets a conciselabeland adescriptionexplaining the consequence. List the recommendation first and mark its label(Recommended). - For consequential choices, include 2โ3 viable alternatives.
- When choices cannot be enumerated, still call Question with
options: []for free-text. - Do not ask for permission to continue when no decision remains.
Split requests spanning independent subsystems before refining each part. Do not begin implementation until requirements and scope are settled.
When user input is unavailable
If user input cannot be obtained โ the Question tool is absent, a question gets no reply, or the run cannot stop and wait (for example a goal that keeps running) โ and the decision is not a dangerous action that requires explicit user consent, resolve this one decision yourself and continue:
- Choose the option marked
(Recommended)when repository evidence still supports it and it can run unattended. - Otherwise choose the closest minimal-scope option supported by the evidence; prefer text-only, non-interactive work.
- If the decision includes destructive or irreversible work, choose a non-destructive path that preserves progress; never auto-approve the destructive option.
- State the option selected and the reason in the response.
Workspace โ worktree ownership
Never begin implementation on main or master without explicit user consent. If the active workspace is already chosen, skip creation below and continue with toolchain setup.
- Compare
git rev-parse --git-dirwithgit rev-parse --git-common-dir. If they differ, use the current linked worktree; do not nest another. A non-emptygit rev-parse --show-superproject-working-treeindicates a submodule, not a linked worktree. - Create a linked worktree at
.worktrees/{{slug}}by default. Base the new branch on the latest mainline (e.g.origin/main). If the current checkout makes the base unclear (detached HEAD, an unrelated feature branch, unknown default
Pertanyaan umum
Apakah ia mulai secara otomatis untuk tugas besar?
Tidak. Alur ini hanya berjalan saat Anda jelas-jelas memintanya, bukan karena sebuah tugas terlihat besar.
Apa yang diperiksanya sebelum bertanya kepada saya?
Skill ini memeriksa repositori dan instruksinya terlebih dahulu, sehingga tidak menanyakan fakta yang sudah terlihat dari lingkungan.
Apakah perlu cabang terpisah?
Skill ini menyebutkan ruang kerja dan worktree, dan mengikuti instruksi tanpa-worktree yang Anda berikan.
Detail
Deskripsi asli dari pembuat
Use for multi-step feature work, bug fixes, or refactors where requirements need to settle, a feature document should carry design + tasks + delivery evidence, and the change deserves independent review before merge. Use it only when the user explicitly requests this workflow, whether with `/compose-next`, by name, or in any other clear natural language; do not infer the request from task complexity alone. Not for one-shot edits, single-file tweaks, or answering questions โ those need no orchestration overhead.
repo: XiaomiMiMo/MiMo-Code
Popularitas
- Bintang GitHub
- 14k
- Peringkat
- #11306
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
effect
14kMembantu agent Anda menjawab pertanyaan tentang kerangka kerja TypeScript Effect dengan memeriksa kode sumber dan dokumentasinya, bukan mengandalkan ingatan.
arxiv
14kMembantu agent Anda mencari, membaca, mengutip, dan melacak makalah akademik di arXiv, mencakup abstrak, sitasi BibTeX, unduhan PDF, dan tautan sitasi.
claude-code
14kMembantu agent Anda menyerahkan tugas pemrograman ke alat baris perintah Claude Code, sebagai satu kali jalan, sesi interaktif, atau pekerjaan latar belakang.
codex
14kMembantu agent Anda menjalankan alat baris perintah OpenAI Codex tanpa jendela obrolan, untuk tugas pemrograman, skrip, dan alur kerja otomatis.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.