ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 DansiDanutz

next-steps-anywhere

各回答の後に最大 3 つの次のプロンプトを提案します。ターミナルとデスクトップアプリでは入力欄の上に、任意の画面(モバイルと VS Code を含む)では /next-steps ペインに表示します。1 つをタップするか 1-3 を押すと、編集可能な下書きとしてプロンプト欄に入ります。0 で閉じます。自動送信は一切しません。

DansiDanutz@DansiDanutz

DansiDanutz/Crime-Doc/tree/main/plugins/next-steps-anywhere

翻訳済み

この mod について

next-steps-anywhere

各回答の後に最大 3 つの次のプロンプトを提案します。ターミナルとデスクトップアプリでは入力欄の上に自動で表示され、任意の画面(モバイルと VS Code を含む)では /next-steps を入力するとペインで開けます。

next:
  1: run the tests you just wrote
  2: do the same for the settings page
  3: /code-review high
  dismiss

提案をタップする(または空のプロンプト欄で 1、2、3 を押す)と、欄に下書きとして書き込まれます——編集してから自分で送信します。0 / dismiss で消去します。プロンプトを自動で送信することはありません。

インストール(すべてのプロジェクト)

claude plugin marketplace add DansiDanutz/Crime-Doc
claude plugin install next-steps-anywhere@dansidanutz --scope user

仕組み

関数フックプラグイン(hooks/register.tsx)です。

  • turn.complete ——主ループの回答が minAnswerChars 以上になった後、$.model.fork に次の候補プロンプトを尋ねます。fork はセッションのプロンプトキャッシュを再利用するため、1 回のターンあたり短い返信 1 つ程度のコストです。
  • $.command.list ——セッションのスキルとスラッシュコマンドを質問に入れるので、その中の 1 つを提案できます。セッションにないコマンドを含む提案は破棄されます。
  • ui.render on AbovePrompt ——プロンプトの上に提案をボタンとして描画します。Claude Code がこの場所を表示するのはターミナルとデスクトップだけです。
  • /next-steps ——同じボタンを Pane で開きます。すべての画面(モバイルと VS Code を含む)が描画します。
  • ボタンを押すと $.prompt.fill を呼び出します。入力欄の暗いゴーストテキスト($.prompt.suggest)は Claude Code 自身の提案に任せます。
  • turn.start / prompt.submit ——古い提案を消去します。

サブエージェントのターン、中断されたターン、エラー、短い回答の後はスキップします。

オプション

| オプション | デフォルト | 動作 | | --- | --- | --- | | minAnswerChars | 80 | これより短い回答の後は提案をスキップ | | suggestSkills | true | セッションにあるスキルとスラッシュコマンドを提案器に伝える |

チェック

claude plugin validate plugins/next-steps-anywhere
claude plugin test plugins/next-steps-anywhere

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add DansiDanutz/Crime-Doc
claude plugin install next-steps-anywhere
原文 / README

next-steps-anywhere

After each answer, suggests up to three next prompts. In the terminal and the desktop app they appear above the input box on their own; on any surface (mobile and VS Code included) type /next-steps to open them in a pane.

next:
  1: run the tests you just wrote
  2: do the same for the settings page
  3: /code-review high
  dismiss

Tap a suggestion (or press 1, 2, 3 from an empty prompt box) and it is written into the box as a draft — edit it, then send it yourself. 0 / dismiss clears them. It never submits a prompt on its own.

Install (all projects)

claude plugin marketplace add DansiDanutz/Crime-Doc
claude plugin install next-steps-anywhere@dansidanutz --scope user

How it works

A function-hooks plugin (hooks/register.tsx):

  • turn.complete — after a main-loop answer of at least minAnswerChars, asks $.model.fork for likely next prompts. The fork reuses the session's prompt cache, so it costs about one short reply per turn.
  • $.command.list — the session's skills and slash commands go into the question, so a suggestion can be one of them; a suggestion naming a command the session lacks is dropped.
  • ui.render on AbovePrompt — draws the suggestions as buttons above the prompt. Claude Code raises that site on the terminal and desktop only.
  • /next-steps — opens the same buttons in a Pane, which every surface (mobile and VS Code included) draws.
  • A press calls $.prompt.fill. The plugin leaves the box's dim ghost text ($.prompt.suggest) to Claude Code's own suggestion.
  • turn.start / prompt.submit — clear stale suggestions.

Skipped after subagent turns, interrupted turns, errors and short answers.

Options

| Option | Default | What it does | | --- | --- | --- | | minAnswerChars | 80 | Skip suggestions after answers shorter than this | | suggestSkills | true | Tell the suggester which skills and slash commands the session has |

Checks

claude plugin validate plugins/next-steps-anywhere
claude plugin test plugins/next-steps-anywhere

関連作品