ds-pr-comments — скилл для Claude Code: комментарии к PR
Скилл ds-pr-comments для Claude Code оформляет и публикует комментарии к GitHub PR от имени пользователя. Он включается для комментариев к PR, ответов на ревью и причин отклонения.
MIT 531 установок ★ 320 обновлён 2026-10-28
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a claude-codeЧто делает ds-pr-comments
Скилл готовит комментарий к PR с пометкой об авторстве агента, проверяет текст перед публикацией и отправляет его в GitHub. Сначала он формулирует ответ с выводом и подтверждением из кода, проверки, теста или воспроизведения, затем отделяет проверенные факты от мнения.
Перед отправкой скилл ищет секреты, токены, личные данные и приватные пути, а также проверяет, что Markdown отображает пометку и ответ отдельными блоками. После публикации он выводит ссылку GitHub; ветку ревью разрешает только после отправки ответа. Если публикация не удалась дважды, скилл сообщает об ошибке и не разрешает ветку.
Какие задачи решает
- оформить ответ агента на комментарий к PR
- указать авторство агента в сообщении GitHub
- убрать секреты и личные данные из комментария
- проверить отображение Markdown перед публикацией
- разрешить ветку ревью после отправки ответа
Примеры запросов агенту
- Оформи и опубликуй ответ на комментарий к PR.
- Ответь на замечание ревью и после публикации разреши ветку.
/ds-pr-comments— подготовь причину отклонения ревью.
Как установить ds-pr-comments
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a claude-code2Вручную: положить файлы
~/.claude/skills/ds-pr-comments/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ds-pr-comments/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a codex2Вручную: положить файлы
.agents/skills/ds-pr-comments/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a cursor2Вручную: положить файлы
.cursor/skills/ds-pr-comments/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aicodeking/deepseek-stack skills/ds-pr-comments2Вручную: положить файлы
.github/skills/ds-pr-comments/SKILL.md1Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a gemini-cli2Командой платформы
gemini skills install https://github.com/aicodeking/deepseek-stack --path skills/ds-pr-commentsВручную: положить файлы
.devin/skills/ds-pr-comments/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ds-pr-comments
Как установить ds-pr-comments в Claude Code?
Выполни npx skills add aicodeking/deepseek-stack --skill ds-pr-comments -a claude-code. Файл скилла находится по пути ~/.claude/skills/ds-pr-comments/SKILL.md.
Что делает ds-pr-comments?
Он оформляет и публикует комментарии к PR, ответы на ревью и причины отклонения, добавляя пометку об авторстве агента. Перед отправкой скилл проверяет текст на секреты и личные данные.
Что происходит, если GitHub не принимает комментарий?
После двух неудачных попыток скилл сообщает об ошибке и не разрешает ветку ревью.
Исходный текст
SKILL.md · MIT
--- 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.
© aicodeking · MIT · aicodeking/deepseek-stack