Langsung ke konten
Skillpedia
Pemrograman umum14k ยท #11306

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.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/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/compose-next/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

โ€œ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 worktree or 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 concise label and a description explaining 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:

  1. Choose the option marked (Recommended) when repository evidence still supports it and it can run unattended.
  2. Otherwise choose the closest minimal-scope option supported by the evidence; prefer text-only, non-interactive work.
  3. If the decision includes destructive or irreversible work, choose a non-destructive path that preserves progress; never auto-approve the destructive option.
  4. 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-dir with git rev-parse --git-common-dir. If they differ, use the current linked worktree; do not nest another. A non-empty git rev-parse --show-superproject-working-tree indicates 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

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa