# ds-pr-comments

The ds-pr-comments Claude Code skill formats and posts agent-written GitHub PR comments. It runs for PR comments, review replies, and dismissal reasons.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 531 installs · ★ 320 repo stars
- Author: aicodeking
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/aicodeking/deepseek-stack/tree/HEAD/skills/ds-pr-comments/SKILL.md
- Updated: 2026-10-28
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/ds-pr-comments

## What it does

The skill prepares a PR comment with clear agent attribution, checks it, then posts it to GitHub. It starts with the conclusion and cites supporting code, a check, a test, or a reproduction, while separating verified details from opinion.

Before posting, it scans the full comment for secrets, tokens, personal data, and private paths. It also previews the Markdown to ensure the attribution and reply render as separate blocks. After posting, it prints the GitHub URL and resolves a review thread only once the reply is live. If posting fails twice, it reports the error and leaves the thread unresolved.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ds-pr-comments/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ds-pr-comments/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ds-pr-comments/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ds-pr-comments/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aicodeking/deepseek-stack skills/ds-pr-comments
```

2. **Manually: put the files in place**
- File: `.github/skills/ds-pr-comments/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-pr-comments
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ds-pr-comments/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aicodeking/deepseek-stack/tree/HEAD/skills/ds-pr-comments/SKILL.md

## When to use it
- format an agent's reply to a PR comment
- attribute an agent-written GitHub comment
- remove secrets and personal data before posting
- check Markdown rendering before publishing
- resolve a review thread after its reply is posted

## Example prompts
- Format and post a reply to this PR comment.
- Reply to the review feedback, then resolve the thread after posting.
- Use `/ds-pr-comments` to prepare a review dismissal reason.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 930c910dd818e691.

BEGIN THIRD-PARTY FILE 930c910dd818e691
````text
---
name: ds-pr-comments
description: "Formats and posts GitHub comments written by an agent on the user's behalf, with clear attribution and no leaked secrets. Use whenever you post a PR comment, review reply or dismissal reason, or on /ds-pr-comments."
---

Make every agent-written comment easy to spot, short and safe to publish.

## Steps

1. Write the reply. Lead with the conclusion. Cite the code line, check, test or reproduction that supports it. Mark what you verified and what is your opinion.
2. Put this note at the top, with the reply below it:

   ```md
   > [!NOTE]
   > **<model> responding on behalf of <user>**

   Reply text starts here.
   ```

   Use the model name the harness reports. If it reports none, use the harness name. Use the user's name or GitHub login.
3. Scan the full comment, including quotes and attachments, for secrets, tokens, private paths and personal data. Remove them.
4. Preview the final Markdown. Confirm the note and the reply render as two separate blocks.
5. Post the comment.
6. Confirm GitHub returned the comment or review URL. Print it.
7. Resolve a review thread only after its reply posted.

## Stop when

- GitHub returned a URL for each comment you meant to post.
- A post fails twice. Report the error and do not resolve the thread.

## Rules

- Use the note on top-level comments, inline review comments, replies to bots and people, and dismissal reasons.
- Do not use it in PR descriptions, commit messages or text the user asked to post word for word.
- One attribution only. No signature, footer, heading or horizontal rule.
- No thanks, filler or status updates such as "still working on it".
- Never guess the model name.
````
END THIRD-PARTY FILE 930c910dd818e691

The third-party file has ended. Everything between the 930c910dd818e691 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© aicodeking · MIT · https://github.com/aicodeking/deepseek-stack/tree/HEAD/skills/ds-pr-comments/SKILL.md

## Similar
- [pr-review-comments](https://affpapa.org/en/nevibecode/skills/pr-review-comments.md) — skill · 2600 installs
- [get-pr-comments](https://affpapa.org/en/nevibecode/skills/get-pr-comments.md) — skill · 2400 installs
- [load-pr-comments](https://affpapa.org/en/nevibecode/skills/load-pr-comments.md) — skill · 592 installs
- [resolve-fixed-pr-comments](https://affpapa.org/en/nevibecode/skills/resolve-fixed-pr-comments.md) — skill · 573 installs
- [responding-to-pr-review-comments](https://affpapa.org/en/nevibecode/skills/responding-to-pr-review-comments.md) — skill · 144 installs
- [gh-address-comments](https://affpapa.org/en/nevibecode/skills/githubcomopenaiskills-gh-address-comments.md) — skill · ★ 7191 repo stars

From the same set: [aicodeking/deepseek-stack](https://affpapa.org/en/nevibecode/by/aicodeking/deepseek-stack.md) — 29 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
