MCPcopy Create free account
hub / github.com/astercloud/aster / defaultPrompt

Function defaultPrompt

examples/plan-explore-ui/main.go:543–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

541}
542
543func defaultPrompt() string {
544 return `请帮我完成一个两阶段的代码分析任务:
5451. 规划(Plan): 分析 agentsdk 仓库里 pkg/tools/builtin 目录下各个工具的职责和测试需求, 给出一个分步骤的实施计划。
5462. 探索(Explore): 按计划实际阅读相关文件, 重点关注 TodoWrite / ExitPlanMode / Task / subagent_manager 等实现细节。
547
548要求:
549- 在规划阶段, 使用 TodoWrite 或 write_todos 工具创建任务列表, 至少包含 "分析 builtin 工具测试需求""分析当前工具实现状态" 两个任务。
550- 在探索阶段, 使用 Read / Glob / Grep 等工具读取具体文件。
551- 规划完成后, 调用 ExitPlanMode 返回一个 Markdown 格式的计划。`
552}

Callers 1

runWebUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected