Skip to content

新需求: 请问平时如何debug prompt? #130

@Gaoyukun

Description

@Gaoyukun

经常使用codeagent wrapper 和 /dev工作流, 比很多20k start的项目提供的工作流还好用.
但是codeagent带来了debug的复杂性, 如果得到了不好的结果, 想通过看agent执行过程发现提示词的问题变得很难, 主要是以下信息在cli中不直观:

  1. orchestrator是用什么提示词启动 codeagent的?
  2. codeagent的思考和回复有哪些?
  3. codeagent执行流的DAG.

希望有个新功能, 能在网页端看到每个和codeagentwrapper相关的claudecode 执行的DAG, 每个节点展开后, 都可以看到详细的对话, 思考, tool_use, function_call 等信息.

这样就可以快速定位到prompt的问题.

想问一下大佬平时怎么优化提示词, 如何优化出这么好用的提示词的, 有类似的工具吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions