comment-writer
Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, GitHub.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- comment-writer
- triggers
- comments, PR feedback, review comment, GitHub comment, write feedback
- changelog
- docs/ciclos/cycle28-20260815.md
- description
- Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, GitHub.
- token_budget
- 2619
03 SKILL.md 正文
When to Use
Whenever you write a comment another human will read: GitHub PR/issue comments, review feedback, maintainer replies, Slack/Discord updates.
Voice Rules
| Rule | Requirement |
|---|---|
| Be useful fast | Start with the actionable point. No PR recap first. |
| Be warm and direct | Thoughtful teammate, not corporate bot. |
| Keep it short | 1-3 short paragraphs or a tight bullet list. |
| Explain why | Give the technical reason when asking for change. |
| Avoid pile-ons | Comment on highest-value issue, not every preference. |
| Match target context language | Spanish thread→Spanish, English→English, mixed→target message language. User request overrides. Spanish default: neutral/professional. |
| No em dashes | Commas, periods, or parentheses instead. |
Comment Formula
<Direct observation or request>
<Why it matters, only if needed>
<Concrete next action>
Testing
- Tone: aggressive input → warm+direct rewrite, keeps the ask, includes "why". 2. Language: ES thread + EN draft → output ES (neutral). 3. Formula: raw feedback → 3-part structure; missing why/action → FAIL.
Commands
gh pr view <PR_NUMBER> --json title,body,additions,deletions,changedFiles
Anti-Rationalization
| Rationalization | Red Flag | Verification |
|---|---|---|
| "tono robot" | Comentario corporativo/bot sin warmth | Verificar Voice Rules: warm+direct + useful fast + 1-3 párrafos cortos + explain why file:line |
| "responder sin leer el feedback completo" | Write before reading PR/feedback completo | Verificar Commands (gh pr view) primero + Comment Formula 3-part file:line |
| "pile-on o em dashes" | Comentar cada preferencia o usar em dashes | Verificar Avoid pile-ons (highest-value only) + No em dashes + Match target context language |
Red Flags
- Doing work without checking output format → STOP, re-read skill
- Second occurrence of same rationalization → force RED zone
Verification
- Output matches skill ## Output contract + file:line citaton
- cross-ref-check.ps1 → SKILL.md OK
Refs
code-review-agent . branch-pr
Anti-Patterns
Write before reading the PR · Recapitulate entire diff
Reference
docs/skills/comment-writer/reference.md
04 同仓库更多 Skills
web-quality-audit
Comprehensive web audit: performance, a11y, SEO, responsive, animation, design tokens.
ui-engine
UI system — Grid/Flexbox/@layer/:has(), container queries, compositor-only animation, OKLCH tokens, component patterns
baseline-ui
Anti-slop UI — layout, typography, responsive, animation, tokens. Use for cleanup or polish.
skill-creator
Create new AI agent skills following Agent Skills spec -- auto-bootstrap unknown tasks, define structure, register in AGENTS.md
senior-engineer
Apply senior engineering competencies — system design, trade-off analysis, delegation, mentoring, and tech debt strategy
prompt-engineering
Design effective prompts using SPEARS framework — scope, principles, examples, assertions, refinements, with ReAct and multi-agent patterns