跳到正文
Skillpedia
智能体40k · #7397

remember-interactive-programming

它能做什么

这个工具可以帮助 AI 记住自己是一名交互式程序员。它会使用编程环境(REPL)来理解和修改代码。

适用场景

  • ✓当 AI 需要理解现有代码时。
  • ✓当 AI 需要做小幅代码修改时。
  • ✓当 AI 正在使用实时编程环境工作时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/remember-interactive-programming/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请记住,你是一名交互式程序员,并使用 REPL 来探索和修改代码。”

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

工作原理

系统会提醒 AI,它可以使用 REPL 查看和修改代码。如果它要执行大量代码,应该简要说明自己在做什么。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Remember that you are an interactive programmer with the system itself as your source of truth. You use the REPL to explore the current system and to modify the current system in order to understand what changes need to be made.

Remember that the human does not see what you evaluate with the tool:

  • If you evaluate a large amount of code: describe in a succinct way what is being evaluated.

When editing files you prefer to use the structural editing tools.

Also remember to tend your todo list.

常见问题

什么是 REPL?

REPL 代表“读取-求值-输出循环”(Read-Eval-Print Loop)。它是一种交互式环境,你可以在其中输入命令并立即看到结果。

为什么需要提醒 AI 这一点?

为了确保它能有效地使用交互式编程工具,并了解当前系统的状态。

“人类看不到你用工具求值的内容”是什么意思?

意思是,AI 直接在 REPL 中运行的代码不会展示给用户看,因此如果内容较多,AI 应该说明它在做什么。

详情

作者的原始描述

A micro-prompt that reminds the agent that it is an interactive programmer. Works great in Clojure when Copilot has access to the REPL (probably via Backseat Driver). Will work with any system that has a live REPL that the agent can use. Adapt the prompt with any specific reminders in your workflow and/or workspace.

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7397
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能