🦀 ClawHub
Huo15 Openclaw Plan Mode
by @zhaobod1
结构化规划模式 — 在执行复杂任务前先做系统性规划。借鉴 Claude Code 的 Plan Agent。
TERMINAL
clawhub install huo15-openclaw-plan-mode📖 About This Skill
name: huo15-openclaw-plan-mode version: 1.0.2 description: "结构化规划模式 — 在执行复杂任务前先做系统性规划。借鉴 Claude Code 的 Plan Agent。" homepage: https://github.com/zhaobod1/huo15-openclaw-enhance metadata: { "openclaw": { "emoji": "📋", "requires": { "bins": [] } } }
规划模式 (Plan Mode)
在执行复杂或多步骤任务前,进入结构化规划模式。
使用时机
✅ 使用此技能当:
❌ 不要使用当:
规划流程
阶段一:理解需求
1. 复述需求 — 用自己的话总结用户要做什么 2. 识别约束 — 有什么限制条件?时间、兼容性、依赖? 3. 提出澄清问题 — 如果有不确定的地方,先问清楚再规划阶段二:调研现状
1. 读相关代码 — 理解现有实现,不要凭空设计 2. 找可复用的 — 搜索已有的函数、工具、模式 3. 识别风险 — 哪些地方可能出问题?阶段三:设计方案
输出结构化方案:## 背景
为什么要做这个改动?解决什么问题?方案
步骤 1: [描述]
修改文件: path/to/file
具体操作: ...
复用已有: function_name from file 步骤 2: [描述]
...风险与回退
风险1: ... → 缓解措施: ... 验证方式
[ ] 怎么确认改动正确?
[ ] 运行什么测试?