feat(work-items): show "I read this item as" above the attended Proceed prompt

未关闭 适合新手
#11,864 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python, shell

调研方向

从 plugins/work-items/skills/work/SKILL.md 中的交互式 "Proceed?" 提示开始,在其上方添加一行复述 I read this item as:,自主运行保持不变。在 plugins/work-items/evals/ 下添加一个用例,期望该行出现在提示之前,然后运行 plugins/evals/skills/validate/scripts/validate-cases.py 和 plugins/skill-quality/scripts/check-skill.sh 中的校验器。当这些检查通过且包含一个 changelog 片段时即完成。

由索引模型根据 Issue 内容生成。

描述

agent-ready priority: medium status: ready

Problem

/work-items:work's attended path asks "Proceed?" without restating what it understood the item to
ask, so a misread is caught only after work starts.

Origin: Matt's restate (D104, Q171).

Fix

Above the attended "Proceed?" prompt, print one line: I read this item as: <goal; done when>,
drawn from the item's brief. Autonomous runs are unchanged.

Done when

  • plugins/work-items/skills/work/SKILL.md states the I read this item as: <goal; done when> line above the attended "Proceed?" prompt (git grep -c 'I read this item as' 899a46af84 -- plugins/work-items/skills/work prints nothing; the same grep on the merged head prints a count).
  • A case under plugins/work-items/evals/ expects the line before the prompt; python3 plugins/evals/skills/validate/scripts/validate-cases.py plugins/work-items/evals exits 0.
  • bash plugins/skill-quality/scripts/check-skill.sh plugins/work-items/skills/work exits 0.
  • A work-items changelog fragment is present and bash scripts/check-changelog-fragments.sh passes.

Parent: #7578

主要语言
Shell
星标
22
派生
2
平均合并
1 小时 49 分钟
30 天内合并 PR
916

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。