ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 DansiDanutz

next-steps-anywhere

각 답변 뒤에 다음 프롬프트를 최대 3개까지 제안합니다. 터미널과 데스크톱 앱에서는 입력창 위에, 모든 화면(모바일과 VS Code 포함)에서는 /next-steps 패널에 표시됩니다. 하나를 탭하거나 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는 세션의 프롬프트 캐시를 재사용하므로 턴마다 짧은 답변 하나 정도의 비용만 듭니다.
  • $.command.list ——세션의 스킬과 슬래시 명령을 질문에 넣으므로 그중 하나를 제안할 수 있습니다. 세션에 없는 명령을 지정한 제안은 버립니다.
  • 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

비슷한 프로젝트