chore: remove the false --body-file rule from the user-level groom-issue skill

オープン
#455 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
1/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
領域
tooling

調査の方向性

The issue identifies two passages in the user-level groom-issue skill file, ~/.claude/skills/groom-issue/SKILL.md, and gives their exact wording. Read those passages and remove the inline-body prohibition and its stated reason, while retaining the file-based gh issue edit <N> --body-file <temp-file> step. Done when the acceptance criteria hold and the groomed marker and heading names are unchanged.

索引モデルが issue の本文から書いたものです。

説明

Found while auditing the pipeline for #400 (piece 2). This is a fix to a file on the owner's machine, not a change in this repo, so there is no PR.

Problem

The user-level skill ~/.claude/skills/groom-issue/SKILL.md carries the --body-file rule that #400 cut everywhere else. The stated reason ("inline bodies and heredocs mangle backticks, angle brackets, pipe characters, and $") is wrong for Git Bash: a heredoc with a quoted delimiter passes those characters through unchanged. The only real mangle is an argument that starts with /. See the #400 decisions comment (piece 2, "--body-file rule cut everywhere"): https://github.com/nevridge/TaskFlow/issues/400#issuecomment-6697965229. That comment lists groom-issue and pr-triage as the two user-level skills edited by hand. The pr-triage half is scope item 6 of #432.

Two places in the file:

  • Line 111: "Delete the temp file afterward. Never pass the body inline via --body — inline bodies and heredocs mangle backticks, angle brackets, pipe characters, and $."
  • Line 137, in the rules list: "All gh body arguments use --body-file, never --body. Write to a temp file, pass --body-file, then delete the temp file."

Change

  1. Delete the line 137 bullet.
  2. In line 111, delete the "Never pass the body inline ... mangle ..." sentence. Keep the step above it (write the assembled body with the Write tool, then gh issue edit <N> --body-file <temp-file>): a long groomed body is simpler to pass from a file, and pr-triage keeps --input <file> for the same reason. Say it as a method, not as a rule with a false reason.
  3. If a failure shows up later, put back one line with the real reason.

Acceptance criteria

  1. ~/.claude/skills/groom-issue/SKILL.md no longer says to never pass a body inline, and no longer gives the mangling reason.
  2. The step that writes the body to a file and runs gh issue edit <N> --body-file still works as before.
  3. No other change to the skill, in particular the groomed marker on the first line and the heading names.

Out of scope

  • The pr-triage edits (#432), the spec-writer dead tools (#430) and the ux-test audit (#431).
主要言語
C#
スター
1
フォーク
0
平均マージ
2時間 2分
マージ済み PR(30日)
98

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nevridge/TaskFlow のほかの issue

nevridge/TaskFlow の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。