跳到正文
Skillpedia
智能体7.8k · #12837

proposer-guide

它能做什么

这项技能向 AI 展示,在相信某个说法之前,如何浏览源文件、搜索代码并阅读运行记录。它适合希望对照真实证据检查程序修改的人。

适用场景

  • ✓当我想在修改程序之前,先了解它的工作原理的时候。
  • ✓当我需要对照过去的尝试和已记录的结果,检查某项修改建议的时候。
  • ✓当某个解释或代码注释似乎有误,我需要在代码中加以确认的时候。

技能链接

https://github.com/HKUDS/AgentPilot/blob/main/agentpilot/src/agentpilot/policy/proposer/skills/proposer-guide/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/AgentPilot/blob/main/agentpilot/src/agentpilot/policy/proposer/skills/proposer-guide/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查源代码和过去的运行记录,看看我提出的修复是否真的有帮助。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会浏览代码、搜索匹配的文本、阅读已记录的尝试,并顺着相关代码追踪下去。在证据支持之前,它会把解释和自我报告的结果当作待验证的说法。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Read source and execution evidence

Read missing code before relying on a name, diagram or docstring. Follow related_implementations into callees when a claim depends on their behavior.

Use paths and record references from the supplied directories:

  • list_sources() browses code; read(path="src/main.py", line=40) reads file lines.
  • search(query="text") searches source and opens a unique match when possible; use scope="trace" to search executions.
  • list_cases(view="tasks") reads task requirements independently of outcomes. list_cases() browses executions; read_trace(ref="<record reference>") opens one.
  • check_trace(ref, start, end, name) optionally counts and orders recorded tool requests in an event interval; omit name to include all tools. It checks facts, not whether the proposed change would improve results.
  • Follow returned next calls to continue, open calls to inspect a match, and expand calls to recover omitted text. No cursor conversion is needed.

Inspect relevant attempts before connecting their observations. Successful repeats help compare behavior, but neither success nor failure proves a cause. Executor explanations and printed self-verdicts are claims. A recorded tool result may mix terminal output and harness feedback; keep an unknown origin unknown. Keep early ideas provisional: check whether the change already exists, would trigger, or would still accept the recorded failure. Check whether its new action would occur in time to affect that failure. When counterevidence rules out the idea, revise the mechanism or narrow its applicability.

Independent reads may share a response; wait for results when the next action depends on them.

常见问题

一次通过的运行能证明修复有效吗?

不能。指南说,成功或失败都不能证明原因,因此 AI 会更仔细地审视证据。

什么是 trace?

trace 是一次任务的运行记录,包括工具调用及其结果。

它可以读取哪些文件?

它只处理被提供给它的源代码和记录文件夹。

详情

作者的原始描述

Use source and execution tools to investigate a supplied program and check a proposed change against evidence.

repo: HKUDS/AgentPilot

热度

GitHub 星标
7.8k
排名
#12837
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能