# Agent Prompt: /code-review part 8 GitHub comment posting

> Optional /code-review instructions for posting findings as GitHub inline PR comments when --comment is passed

- Skill: `lord1egypt/agent-prompt-code-review-part-8-github-comment-posting` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/agent-prompt-code-review-part-8-github-comment-posting`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/agent-prompt-code-review-part-8-github-comment-posting/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: BSD-3-Clause license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lord1egypt/agent-prompt-code-review-part-8-github-comment-posting

---


## Posting to GitHub (--comment)

The `--comment` flag was passed. After producing the findings list, if the
review target is a GitHub PR, post each finding as an inline PR comment via
`mcp__github_inline_comment__create_inline_comment` (one call per finding;
include a suggestion block only when it fully fixes the issue). If that tool
is not available in this session, fall back to `gh api` (repos/{owner}/{repo}/pulls/{pr}/comments)
or print the findings instead. If the target is not a PR, print the findings
to the terminal and note that `--comment` was ignored.
