Agent skill

roo-followup

Before calling roo_task, load this skill to handle Roo follow-ups. Use when coordinating Roo responses that return resultType/needsReply: ask the user with numbered options, summarize prior results, and re-send as a new Roo task (Roo cannot append in place).

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/yurake/skills/tree/main/product/roo-followup

SKILL.md

Roo Follow-up Orchestrator

Roo side cannot append messages to an existing task. MCP/sidecar only signals resultType (ask|completion|none), needsReply, question, options, sessionId, and a message summary. This skill provides the client-side flow: ask the user, summarize, and re-send as a new Roo task when needed.

When to use

  • resultType is ask or needsReply is true from roo_task response.
  • You must validate whether the previous Roo answer is sufficient and, if not, send a follow-up as a new task.
  • You need to keep context continuity by summarizing prior answers.

Inputs

  • Roo MCP response: message, resultType, needsReply, question, options, completion, sessionId.
  • User’s follow-up answer (free text or option).
  • Optional: expected outcome to verify completeness.

Workflow

  1. Classify response

    • If resultType=completion and needsReply=false: consider done; show completion or message to user.
    • If resultType=ask or needsReply=true: proceed to follow-up handling.
    • If resultType=none: treat as inconclusive; ask user whether to retry or stop.
  2. Ask the user

    • Show question and options (if any) as a numbered list so the user can reply with a single number. Example:
      Roo follow-up question: <question>
      1) <option1>
      2) <option2>
      3) <option3>
      Reply with a number or free text (type 'stop' to abort):
      
    • If no options, still encourage concise answers (“short answer is fine”, “stop to abort”).
    • If the user declines to continue, stop.
  3. Summarize prior context

    • Extract the last completion (or message if completion absent).
    • Build a brief summary: e.g., Previous result: ...
    • Append the user’s new answer: e.g., User follow-up answer: ...
    • Add intent: Continue the task based on this context.
  4. Send a new Roo task

    • Call roo_task with the composed prompt:
      Previous result: <summary>
      User follow-up answer: <answer>
      Continue the task based on this context.
      
    • Record the new sessionId (this will be new each time; Roo does not support append).
  5. Validate outcome

    • On new response, check resultType.
    • If still ask, loop steps 2–4.
    • If completion, present to user and confirm acceptance; if not acceptable, craft another follow-up.

Prompts / Templates

  • New task prompt skeleton
    Previous result: <short summary of last completion/message>
    User follow-up answer: <user answer or chosen option>
    Continue the task based on this context.
    
  • User prompt (to collect answer) — Use numbered options so the user can reply with digits only
    Roo follow-up question: <question>
    1) <option1>
    2) <option2>
    3) <option3>
    Reply with a number or free text (or type 'stop' to abort):
    

Notes & Constraints

  • Do not attempt to append to an existing Roo task; always create a new roo_task.
  • sessionId from the previous call is not reusable for sending answers (Roo lacks append API).
  • Keep summaries short to avoid prompt bloat; only include what is needed for the next step.
  • If resultType=none, confirm with the user before retrying to avoid loops.

Checklist

  • Inspect resultType/needsReply.
  • If ask: collect user answer; if completion: confirm sufficiency.
  • Summarize prior result concisely.
  • Re-send as new roo_task with summary + user answer.
  • Repeat until completion is acceptable or user stops.

Expand your agent's capabilities with these related and highly-rated skills.

yurake/skills

issue-create

GitHub Issue を作成する手順。依頼を受けたとき、.github/ISSUE_TEMPLATE の内容に応じてテンプレを選び、必須項目を埋めて GitHub MCP(issue_write/create)で Issue を作成する。

0 0
Explore
yurake/skills

ci-fail-followup

PR 作成後に .github/workflows/ci.yml が失敗したときの対応手順。ローカルで pytest 全ケースを実行し、エラー有無で分岐。エラーがあれば修正して commit-push スキルでコミット・プッシュ、無ければ GitHub Actions のログを確認して原因を特定する。

0 0
Explore
yurake/skills

review-rules

セッションの会話から恒久的な振る舞いルールを抽出し、AGENTS.md と突き合わせて追加すべきものを提示する。出力は rules と agents_md_patch の二部構成。

0 0
Explore
yurake/skills

pr-create

PR 作成手順を自動化するためのガイド。依頼を受けたとき、または 参照しているTODOファイル の「PR 作成」以外が完了したタイミングでタイトル・本文整形、テンプレ適用、MCP での PR 作成を行う。

0 0
Explore
yurake/skills

architecture-patterns

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

0 0
Explore
yurake/skills

test-risk-analyzer

あらゆる言語/スタックで潜在バグリスクを洗い出し、追加すべきテストケースを提案する。未テストのエッジケース探索や安全性確認、カバレッジ強化のテスト案提示を求められたときに使用する。

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results