{"version":"2.1.331","anchor":"gh-guidance-comment-body-from-file","canonical_anchor":"gh-guidance-comment-body-from-file","heading":"Suggested gh api commands now read titles and bodies from files","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/gh-guidance-comment-body-from-file","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Suggested gh api commands now read titles and bodies from files\n\nClaude Code's suggested `gh api` commands for comments, issues, PRs, releases and reviews now use `-F field=@` instead of inline text\n\n**What**\n\nClaude Code includes example `gh api` commands, the GitHub command-line tool, that Claude follows when posting to GitHub. They now read text from files instead of writing it inline in the command.\n\n- Issue comments: `-F body=@<text-file>` instead of `-f body='<text>'`, with an extra hint line.\n\n- Issue creation: `-F title=@<title-file> -F body=@<text-file>` instead of `-f title='<title>' -f body='<text>'`.\n\n- Pull request creation fallback: `-F title=@<title-file>` and `-F body=@<text-file>`.\n\n- Release creation: `-F name=@<title-file> -F body=@<text-file>` instead of `-f name='<title>' -f body='<text>'`.\n\n- `pr review`: `-F body=@<text-file>` instead of an inline body.\n\n**Why**\n\nText with quotes or special characters written inline can be mangled by the shell. Reading it from a file avoids that, so what Claude posts to GitHub arrives as written.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}