compose-next
Что он делает
Скилл — пошаговый рабочий процесс для крупных функций, исправлений багов и рефакторинга. Он нужен разработчикам, которым требуются согласованные требования, письменная спецификация и независимое ревью перед слиянием.
Когда использовать
- ✓Когда вы просите многошаговую функцию, которой нужны письменный дизайн и задачи.
- ✓Когда рефакторинг или исправление бага заслуживает ревью перед слиянием.
- ✓Когда требования неясны и их нужно согласовать до написания кода.
Ссылка на скилл
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/compose-next/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Хочу использовать рабочий процесс compose, чтобы сделать функцию экспорта и получить ревью перед слиянием.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент сначала изучает репозиторий, затем проходит этапы по порядку: уточнение, настройка рабочего пространства, написание спецификации, реализация, проверка, ревью и завершение. Он запускается только тогда, когда вы явно просите этот процесс.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
Частые вопросы
Запускается ли он сам для больших задач?
Нет. Он запускается только тогда, когда вы явно просите этот процесс, а не потому что задача кажется большой.
Что он проверяет перед тем, как задавать вопросы?
Сначала он изучает репозиторий и его инструкции, поэтому не спрашивает то, что окружение уже показывает.
Нужна ли отдельная ветка?
Скилл упоминает рабочие пространства и worktree и следует любому указанию не использовать worktree.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 14k
- Место в рейтинге
- #11306
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
effect
14kПомогает агенту отвечать на вопросы о фреймворке Effect для TypeScript, проверяя его исходный код и документацию, а не полагаясь на память.
arxiv
14kПомогает агенту искать, читать, цитировать и отслеживать научные статьи на arXiv: аннотации, цитаты BibTeX, загрузку PDF и связи цитирования.
claude-code
14kПомогает агенту передать задачу по кодингу инструменту командной строки Claude Code: как разовый запуск, интерактивную сессию или фоновую задачу.
codex
14kПомогает агенту запускать инструмент командной строки OpenAI Codex без окна чата для задач по кодингу, скриптов и автоматических конвейеров.
Похожие скиллы
diffs
394kПозволяет агенту создать настоящее сравнение правок в виде ссылки или файла изображения, которым можно поделиться, вместо ручной сводки.
coding-agent
394kПомогает агенту передать большую задачу по коду в Codex, Claude Code или OpenCode как фоновому исполнителю, а затем проверять ее ход.
gh-issues
394kПомогает агенту находить задачи GitHub, выбирать, над какими работать, и открывать запросы на слияние с исправлениями, включая ответы на комментарии рецензентов.