Pi Result Handling

作者 agents365-aibc55bf9869f3無授權條款81 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫5 天前更新

Internal guidance for presenting Pi helper output back to the user

僅含說明AI & Agents
AI 產生的概覽

指導代理如何呈現 Pi 助手輸出,保留結論、發現、證據界線與後續步驟。

功能
此技能提供內部指引(不可由使用者呼叫),用於將 Pi 助手的輸出轉達給使用者。它要求保留助手的結論、摘要、發現與後續步驟結構,依嚴重程度排列審查發現,並原樣保留檔案路徑、行號與證據界線。它也涵蓋回報失敗或格式錯誤的 Pi 執行、說明編輯與涉及的檔案,以及在需要時引導使用者完成設定。
適用情境
當代理收到 Pi 助手的輸出並需要向使用者呈現時使用。適用於審查結果、失敗或不完整的執行、格式錯誤的輸出,以及缺少 Pi 設定的情況。
執行需求
不需要指令碼或工具,僅為說明性指引。它假定存在 Pi 助手;在設定情境下還需要 pi 二進位檔與已設定的提供者。

Pi Result Handling

When the helper returns Pi output:

  • Preserve the helper's verdict, summary, findings, and next steps structure.
  • For review output, present findings first and keep them ordered by severity.
  • Use the file paths and line numbers exactly as the helper reports them.
  • Preserve evidence boundaries. If Pi marked something as an inference, uncertainty, or follow-up question, keep that distinction.
  • Preserve output sections when the prompt asked for them, such as observed facts, inferences, open questions, touched files, or next steps.
  • If there are no findings, say that explicitly and keep the residual-risk note brief.
  • If Pi made edits, say so explicitly and list the touched files when the helper provides them.
  • For pi:pi-companion-forwarder, do not turn a failed or incomplete Pi run into a Claude-side implementation attempt. Report the failure and stop.
  • For pi:pi-companion-forwarder, if Pi was never successfully invoked, do not generate a substitute answer at all.
  • CRITICAL: After presenting review findings, STOP. Do not make any code changes. Do not fix any issues. You MUST explicitly ask the user which issues, if any, they want fixed before touching a single file. Auto-applying fixes from a review is strictly forbidden, even if the fix is obvious.
  • If the helper reports malformed output or a failed Pi run, include the most actionable stderr lines and stop there instead of guessing.
  • If the helper reports that setup is required (pi binary missing, no provider configured), direct the user to /pi:setup and do not improvise alternate flows.

來源與署名

來源:agents365-ai/365-skills位於plugins/pi-plugin-cc/skills/pi-result-handling提交bc55bf9

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架