This repository has been archived on 2026-08-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
zq/10.项目/12-AI助手/10-OpenClaw/草稿/AI Agent上下文工程技巧.md
T

41 lines
932 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AI Agent的上下文
GSD如何搞定稳定的流程的。
1.上下文工程
2.XML提示词设计
3.子代理编排
4.状态管理
6.产出什么要规定好
5.验证很重要,需要循环到通过为止。
7.结束的明确指令
## GSD
目的
大的工作流程(你做什么,你做完之后给谁,他们是干什么的)
哲学
用户知道什么?
什么应该问用户?
什么不应该问用户?
边界
什么允许做(搞清楚模糊的定义)
什么不允许做(加新功能)
用一个问题来澄清这些事情属于哪一类
给出示例
当用户做了超出边界的事情时应该怎么回应?
灰色地带
具体步骤
# 技能的上下文
## Clawlist
- 技能用途
- 何时使用(When)
- 场景示例(What)
- 工作流(How)
- 头脑风暴
- 编写计划
- 执行任务
- 验证任务
- 快速参考(框架流程画图)
- 子技能
- 边界情况
- 关键命令
- 依赖