Tighten bugs scan, setup and write wording on filing authority, migration phrasing and coaching text

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
shell

调研方向

阅读 plugins/bugs/reference/config.md 中关于提交方式的部分,然后检查 plugins/bugs/skills/scan/SKILL.md、setup/SKILL.md、write/SKILL.md、plugins/bugs/retirements.yaml 和 plugins/bugs/README.md 中指定的段落。更新措辞,并使用 scripts/new-changelog-fragment.sh 添加一条 changelog 片段。完成标准是:列出的措辞搜索均无结果,保留视觉缺陷截图说明,并且插件的 eval 和 lint 检查通过。

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

描述

Problem

Five passages in the bugs plugin either overstate what authorizes tracker filing or carry migration-relative and coaching text that tells the model nothing it can act on. All verified on origin/main at 6f9409abe9:

  1. Filing authority. plugins/bugs/skills/scan/SKILL.md:49-51 says filing "sits behind --track ... a user or a standing lane rule must ask for it". That reads as if a lane rule alone authorizes filing. The real second gate is filing_posture (Step 6, scan/SKILL.md:356-361), whose default manual-only files nothing, and plugins/bugs/reference/config.md:94-96 says "a standing autonomous lane must not file into this tracker". The Step 7 unattended row (scan/SKILL.md:399, "any | file it; nobody is present to fix it") also reads as unconditional without restating that it applies only once filing_posture is allowed.
  2. "as it always has". scan/SKILL.md:98: "With no target form, the run covers this checkout, as it always has."
  3. "no longer reads". plugins/bugs/skills/setup/SKILL.md:96: "report-only: bugs no longer reads that file." The same phrase is in plugins/bugs/retirements.yaml:10 (note: field).
  4. "for one release". scan/SKILL.md:360 ("then for one release the deprecated bugs layers with their notice"), reference/config.md:100 and :113, and plugins/bugs/README.md:125. "One release" names no version, so it cannot expire on its own and goes stale silently.
  5. Coaching text. plugins/bugs/skills/write/SKILL.md:93-94: "The most important part is documenting the issue clearly so that the agent knows what to fix and how. Using screenshots with arrows pointing out the issue is a great way to do this." The next sentence (:94-95) already carries the actionable instruction ("When the defect is visual and none came with the description, ask the reporter for one").

Evidence

  • Verified this pass with git grep and git show origin/main:<path> on every file above; every finding reproduces on current main (the audit read installed bugs 2.0.5; line numbers matched or moved by a few lines).
  • The filing-authority conflict is conditional, as the audit's verifier found: with the bundled manual-only default nothing is filed, so the wording is misleading rather than a live unauthorized write. It becomes live only when some layer sets filing_posture: allowed.
  • Not verified: whether the deprecated filing_posture bugs layers are still due to be removed in a specific release. No version is named anywhere in the plugin.

Proposed work

  • scan/SKILL.md:49-51: say filing needs both --track from the user (or a caller that holds the user's go) and filing_posture: allowed; a lane rule alone never enables it. Point to reference/config.md "Filing posture" instead of restating it.
  • Step 7 unattended row: qualify it as "file it when Step 6's posture gate allows; otherwise report only".
  • scan/SKILL.md:98: "With no target form, the run covers this checkout."
  • setup/SKILL.md:96 and retirements.yaml:10: "bugs does not read that file."
  • The four "for one release" sites: either name the release (or the removal issue) after which the deprecated layers stop being read, or drop the time phrase and say "the deprecated bugs layers that config.md lists, with their notice". Prefer naming a removal condition if one exists; otherwise drop the phrase.
  • write/SKILL.md:93-94: delete the two coaching sentences; keep the sentence that follows.

Alternative considered: leaving the filing wording because the posture gate already prevents filing. Rejected: the model reads :50 first, and a later reader treats "a standing lane rule must ask for it" as authorization.

Acceptance criteria

  • scan/SKILL.md no longer names "a standing lane rule" as sufficient to file; the verb-contract paragraph names filing_posture: allowed as required and links reference/config.md "Filing posture".
  • The Step 7 unattended row is conditioned on the Step 6 posture gate.
  • git grep -n "as it always has" -- plugins/bugs returns nothing.
  • git grep -n "no longer reads" -- plugins/bugs/skills plugins/bugs/retirements.yaml returns nothing.
  • git grep -n -i "for one release" -- plugins/bugs returns nothing, or each remaining hit names a version or removal issue.
  • write/SKILL.md no longer contains "The most important part is" or "a great way to do this"; the visual-defect screenshot instruction remains.
  • A bugs changelog fragment exists (scripts/new-changelog-fragment.sh) and the plugin's eval and lint checks pass.

Constraints and gotchas

  • Out of scope: write/SKILL.md:82-83 ("Use AskUserQuestion when 2-4 named options exist"). That is the cross-plugin question-style setting tracked in #20512, which already lists bugs write.
  • Out of scope: CHANGELOG.md history entries that say "no longer" (released notes are history).
  • "as it always has" appears in about 20 skill bodies across the marketplace (code-tidying, docs-naming, instruction-placement, overengineering, testing and others) and derives from docs/contracts/target-scope/README.md:23-24 ("the way the skill always has"), which is generated into each adopter's reference/target-scope.md by scripts/sync-shared-copies.sh. Fix only the bugs skill-body line here; a fleet sweep and the contract wording are a separate follow-up. Never hand-edit a generated reference/target-scope.md.
  • Release flow is by changelog fragment (ADR 0048); do not bump versions by hand.

Context

Source: local handoff item 20261201-165534-bugs-prompt-audit-findings.md (retired into this issue), from a report-only prompt audit (harness-config audit-instructions, Claude Opus 5.5, 2026-11-30 to 2026-12-01) whose fresh-context verifier upheld all six findings. Related: #20512 (AskUserQuestion finding), and the sibling per-plugin prompt-audit items for docs-naming and others that carry the same "as it always has" phrasing.

The "as it always has" part is also in the cross-plugin sweep #20496; if that lands first, drop it here.

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

环境准备

  • 没有 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 摘要。