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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。