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 从公开仓库中收录这些内容。

举报或申请下架