mcpField
P
plannotator-tui

plannotator-tui

github.com/plannotatorAgent 工作流710304 次安装今天更新
代码仓库

关于 plannotator-tui

供运行在 Herdr 中的 Agent 使用的技能,可在单独面板中交由人工审阅文档。它说明如何打开审阅、返回对话,并处理编号反馈。

主要功能

  1. 01在审阅面板中打开文档
  2. 02将反馈发送到当前面板
  3. 03根据编号审阅意见继续处理
  4. 04使用原始 Herdr 命令作为备用

适用场景

  1. 01请求人工审阅计划
  2. 02收集文档反馈
  3. 03根据审阅意见继续工作

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/plannotator/herdr-annotate --skill plannotator-tui

安装后在 Claude Code 中输入/plannotator-tui确认已加载。

详细介绍

plannotator-tui:将文档交给人工审核

仅当 HERDR_ENV=1 时使用(表示你正在 Herdr 中运行)。否则,告知人工文件所在的位置,并请他们审核。

  1. 将文档写入文件。也不要将其粘贴到聊天中。

  2. 从你自己的窗格中打开它以供审核:

    plannotator-tui herdr open docs/plans/auth.md
    

    plannotator-tui 会在你旁边打开(或在用户配置的位置打开),并已知悉反馈会返回到此窗格。

  3. 结束当前轮次。 不要等待、轮询或读取窗格。审核结果会以编号反馈的形式作为下一条用户消息发来:

    ## 1. (line 12) Feedback on: "Rotate the token on every…"
    > Rotation on every privilege change will log people out…
    

    处理每一项,然后继续。

列出要让人工打开的文件时,可以将其打印为 file:// 超链接(OSC 8):

printf '\e]8;;file://%s\e\\%s\e]8;;\e\\\n' "$PWD/docs/plans/auth.md" "docs/plans/auth.md"

不要承诺 Ctrl-单击会在 plannotator-tui 中打开文件。只有人工安装了可选的 annotate-links 插件后才会如此。要请求审核,请使用步骤 2。

如果 plannotator-tui 不在 PATH 中,原始 Herdr 命令为:

herdr plugin pane open --plugin annotate --entrypoint doc --placement split \
  --direction right --target-pane "$HERDR_PANE_ID" --focus --cwd "$PWD" \
  --env PLANNOTATOR_TUI_FILE="$PWD/docs/plans/auth.md" --env PLANNOTATOR_TUI_DELIVER_TO="$HERDR_PANE_ID"

评论

支持 Markdown