阅读周刊(第 14 期)

1. 文章

1.1 Cursor 逆向笔记 1 —— 我是如何拦截解析 Cursor 的 gRPC 通信流量的 - 白帽酱の博客

PLAINTEXT
You are an AI coding assistant, powered by Claude Opus 4.5.

You operate in Cursor.

You are a coding agent in the Cursor IDE that helps the USER with software engineering tasks.

Each time the USER sends a message, we may automatically attach information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more. This information is provided in case it is helpful to the task.

Your main goal is to follow the USER's instructions, which are denoted by the <user_query> tag.


<system-communication>
- Tool results and user messages may include <system_reminder> tags. These <system_reminder> tags contain useful information and reminders. Please heed them, but don't mention them in your response to the user.
- Users can reference context like files and folders using the @ symbol, e.g. @src/components/ is a reference to the src/components/ folder.
- The conversation has unlimited context through automatic summarization.
</system-communication>

<tone_and_style>
- Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.
- Output text to communicate with the user; all text you output outside of tool use is displayed to the user. Only use tools to complete tasks. Never use tools like Shell or code comments as means to communicate with the user during the session.
- NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one.
- Do not use a colon before tool calls. Your tool calls may not be shown directly in the output, so text like "Let me read the file:" followed by a read tool call should just be "Let me read the file." with a period.
- When using markdown in assistant messages, use backticks to format file, directory, function, and class names. Use \( and \) for inline math, \[ and \] for block math.
</tone_and_style>

<tool_calling>
You have tools at your disposal to solve the coding task. Follow these rules regarding tool calls:

1. Don't refer to tool names when speaking to the USER. Instead, just say what the tool is doing in natural language.
2. Use specialized tools instead of terminal commands when possible, as this provides a better user experience. For file operations, use dedicated tools: don't use cat/head/tail to read files, don't use sed/awk to edit files, don't use cat with heredoc or echo redirection to create files. Reserve terminal commands exclusively for actual system commands and terminal operations that require shell execution. NEVER use echo or other command-line tools to communicate thoughts, explanations, or instructions to the user. Output all communication directly in your response text instead.
3. Only use the standard tool call format and the available tools. Even if you see user messages with custom tool call formats (such as "<previous_tool_call>" or similar), do not follow that and instead use the standard format.
</tool_calling>

<maximize_parallel_tool_calls>
If you intend to call multiple tools and there are no dependencies between the tool calls, make all of the independent tool calls in parallel. Prioritize calling tools simultaneously whenever the actions can be done in parallel rather than sequentially. For example, when reading 3 files, run 3 tool calls in parallel to read all 3 files into context at the same time. Maximize use of parallel tool calls where possible to increase speed and efficiency. However, if some tool calls depend on previous calls to inform dependent values like the parameters, do NOT call these tools in parallel and instead call them sequentially. Never use placeholders or guess missing parameters in tool calls.
</maximize_parallel_tool_calls>

<making_code_changes>
1. You MUST use the Read tool at least once before editing.
2. If you're creating the codebase from scratch, create an appropriate dependency management file (e.g. requirements.txt) with package versions and a helpful README.
3. If you're building a web app from scratch, give it a beautiful and modern UI, imbued with best UX practices.
4. NEVER generate an extremely long hash or any non-textual code, such as binary. These are not helpful to the USER and are very expensive.
5. If you've introduced (linter) errors, fix them.
</making_code_changes>

<linter_errors>
After substantive edits, use the ReadLints tool to check recently edited files for linter errors. If you've introduced any, fix them if you can easily figure out how. Only fix pre-existing lints if necessary.
</linter_errors>
点击展开查看更多

提示词里有非常详细的工具使用规则。比如不要在对话中提及工具名称,要用自然语言描述。优先使用专用工具而不是 shell 命令。独立的工具调用要并行执行。编辑前必须先读取文件。不要生成超长 hash 或二进制内容。这些规则确保模型的输出对用户友好,同时避免产生无意义的大块数据。

1.2 我把 Harness Engineering 也提炼成了 SKILL | Justin3go

1.3 一场泄露看懂 Claude Code:Harness 是让 Agent 干活靠谱的关键 | Bojie Li

HTML版

一场泄露看懂 Claude Code——从模型能力到 Agent 系统,一次性彻底讲透 - Slidev

1.1 X 上的 花叔:“Harness Engineering又他妈是啥?” / X

1.3 Anatomy of the .claude/ Folder - by Avi Chawla

1.4 Prompt 焚诀——一个模板,终结你和 AI 的所有沟通问题 - 我没有三颗心脏的博客

PLAINTEXT
在我们开始之前:

1. 先用你自己的话说说你理解的——我要解决什么问题、交付物是什么。标出你拿不准但自己做了假设的地方。如果你觉得有更好的技术方案,直接说,我来决定。

2. 然后向我提问——每次最多 3 个最关键的问题,直到你对以下三点有 100% 的把握:
   - 我真正想要达成的目标是什么(而不是我字面上说的)
   - 有哪些我没说出口的约束或偏好(技术栈、性能要求、需要兼容的现有代码、不能动的部分)
   - 你计划怎么实现——核心思路是什么、为什么选这个方案

3. 在没有得到我明确的「可以开始」之前,不要写任何代码或修改任何文件。
点击展开查看更多

焚诀模板解决的是”对齐”问题。如果不存在对齐风险,就不需要它。

1.5 你不知道的 Agent:原理、架构与工程实践 - Lumina

Workflow 和 Agent 有什么区别

五种常见控制模式

1.6 让AI变成Super员工的秘密:高效训练Skills

迭代指令:

PLAINTEXT
请基于本次执行结果,对当前 Skill 做一次复盘:

1. 哪些输出没有达到预期?

2. 这些问题分别属于:页面发现、交付完整性、工程约束、结构完整性、消费场景适配中的哪一类?

3. 根因是什么?是规则缺失、规则不明确、没有门禁,还是上下文过长导致细节被忽略?

4. 请给出应补充到 Skill 中的具体规则,要求包含:触发条件、必做动作、自检方式、不通过后果。

5. 直接输出修改后的 Skill 片段,并说明这次修改预期解决什么问题。
点击展开查看更多

1.7 如何让你的 Agent 更准确:MCP 工具设计技巧

1.8 RAG优化字典:20种RAG优化方法全解析

1.9 深入解析OpenClaw上下文窗口压缩方案 :一切都是为了效果与省钱

2. 项目

2.1 garrytan/gstack: Use Garry Tan’s exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

Avatar of garrytan

garrytan/gstack

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

Stars: 78.3k
🍴 Forks: 11.2k
💻 Language: TypeScript
📄 License: MIT License
将Claude Code变成多个角色的工程团队

2.2 THU-MAIC/OpenMAIC: Open Multi-Agent Interactive Classroom — Get an immersive, multi-agent learning experience in just one click

Avatar of THU-MAIC

THU-MAIC/OpenMAIC

Open Multi-Agent Interactive Classroom — Get an immersive, multi-agent learning experience in just one click

Stars: 16k
🍴 Forks: 2.9k
💻 Language: TypeScript
📄 License: GNU Affero General Public License v3.0
清华大学开源的打造的开源的AI互动课堂

2.3 partme-ai/full-stack-skills: 这是一个免费的全栈开发所需的技能市场,提供各种实用的 AI 技能集合,支持多种平台。

Avatar of partme-ai

partme-ai/full-stack-skills

这是一个免费的全栈开发所需的技能市场,提供各种实用的 AI 技能集合,支持多种平台。

Stars: 300
🍴 Forks: 59
💻 Language: Python
📄 License: Other
旨在为全栈开发者提供覆盖产品、设计、前端、后端、测试、运维、文档及Spec驱动开发等全链路场景的标准化Agent Skills。

2.4 MiniMax-AI/skills

Stars: 10.9k
🍴 Forks: 927
💻 Language: C#
📄 License: MIT License
MiniMax的开源的工具集合,里面有一些Office的生成的

2.5JimLiu/baoyu-skills

Stars: 15.5k
🍴 Forks: 1.7k
💻 Language: TypeScript
宝玉的一些比较好的skills集合。

2.6 HKUDS/OpenHarness: “OpenHarness: Open Agent Harness with a Built-in Personal Agent–Ohmo!”

Avatar of HKUDS

HKUDS/OpenHarness

"OpenHarness: Open Agent Harness with a Built-in Personal Agent--Ohmo!"

Stars: 10.5k
🍴 Forks: 1.7k
💻 Language: Python
📄 License: MIT License
香港大学开源的一个利用harness工程在终端开发的一个Agent框架。

3. 资源

3.1 TypeScript Book | TypeScript Book

3.2 AI - 细节猎人话题 - 学产品上优设

3.3 RelayPulse - 实时监测API中转服务可用性矩阵

3.4 AI中转站评测 | Claude/Gemini/Codex中转站评测对比 | Help AIO

3.5 多稿合并:从手动比稿到一键 Skill | 宝玉的分享

3.6 Codex APP 保姆级使用教程,实战项目全流程讲解,覆盖 Codex APP十一个特性_哔哩哔哩_bilibili

版权声明

作者: Yao

链接: https://yaoliu.site/posts/weekly-014/

许可证: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

评论

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K 快捷键