一键导入
comment-writer
write or revise warm, direct PR feedback, issue replies, code-review comments, GitHub comments, and Slack or Discord collaboration messages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
write or revise warm, direct PR feedback, issue replies, code-review comments, GitHub comments, and Slack or Discord collaboration messages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | comment-writer |
| description | write or revise warm, direct PR feedback, issue replies, code-review comments, GitHub comments, and Slack or Discord collaboration messages. |
| license | Apache-2.0 |
| metadata | {"author":"gentleman-programming","version":"1.1"} |
Use this block as the machine-readable source for .pi/skill-registry.json generation. Keep it valid JSON.
{
"category": "quality",
"domains": ["collaboration", "code-review", "comments", "technical-communication"],
"triggers": {
"paths": [
".github/ISSUE_TEMPLATE/**/*.md",
".github/pull_request_template*.md",
".github/PULL_REQUEST_TEMPLATE/**/*.md"
],
"keywords": [
"PR comment",
"pull request feedback",
"review comment",
"request changes",
"issue reply",
"GitHub comment",
"maintainer reply",
"Slack message",
"Discord message",
"collaboration comment",
"write a comment",
"reply to this thread"
]
},
"sdd_phases": ["explore", "proposal", "spec", "design", "task", "apply", "verify"],
"related_skills": ["cognitive-doc-design"],
"priority": 60
}
Field conventions:
category: short grouping such as base, transversal, workflow, quality, security, or runtime.domains: stable domain tags used for routing.triggers.paths: glob-like project paths that should activate this skill.triggers.keywords: user/request/code keywords that should activate this skill.sdd_phases: phases where this skill is usually useful: explore, proposal, spec, design, task, apply, verify, archive.related_skills: skills that should be considered when this skill is active.priority: routing priority from 0 to 100. Higher means consider earlier when multiple skills match.Use this skill whenever the requested output is a short collaboration comment another person will read, including GitHub PR or issue comments, review feedback, requested changes, maintainer replies, and Slack, Discord, or asynchronous project updates.
Use it after gathering enough technical evidence to make the comment accurate. Do not load it as a substitute for reviewing code, diagnosing an issue, or verifying a claim. For long-form guides, RFCs, architecture documents, or detailed PR descriptions, prefer cognitive-doc-design.
Default formula:
<Direct observation or request>
<Why it matters, only if needed>
<Concrete next action>
Examples:
Good approach overall. I'd split this into a separate commit because it mixes validation logic with UI wiring.
That keeps the reviewer's focus narrower and makes rollback cleaner if the integration fails.
Approved. The scope is clear and the change is well-contained.
For the next PR, add links to the previous and following PRs so the chain stays navigable.
This PR exceeds the 400-line budget, so we need to split it or justify `size:exception`.
Suggested order: foundation + tests first, then integration, then docs. That gives each review a clear start and end.
cognitive-doc-design.Useful inspection command when applicable:
# Inspect a PR before writing review feedback
gh pr view <PR_NUMBER> --json title,body,additions,deletions,changedFiles
Return:
comment-writer when a process note is useful.extensions/skill-registry/templates/skill-template.md — canonical Pi skill structure and registry contract.Operate the project's PRD/SDD/OpenSpec workflow as a thin orchestrator skill, loading companion guidance for PRD, artifacts, phase contracts, and mini-sdd only when the route needs them.
create, restructure, or review independent Pi extensions, custom tools, lifecycle hooks, package dependencies, and TUI renderers with a consistent modular layout, native collapsed/expanded rendering, and lossless bounded model-facing output.
create, review, or update Pi skills while preserving the canonical SKILL.md format, registry contract, activation rules, and validation expectations.
Mandatory routing gate before any non-trivial edit (including user-ordered fixes, corrections, and refactors). Determines whether to ask clarifying questions, stay inline, use simple TDD, delegate read-only discovery, or start mini-sdd or formal SDD.
guide language-agnostic test-driven changes with existing-test discovery, safety baselines, meaningful assertions, appropriate test layers, feature-removal cleanup, and red-green-refactor evidence.
Spanish-first orchestration for technology news briefings: gather only the missing brief details, delegate deep research and Markdown artifact creation to the news-researcher subagent, and convert the resulting report.md to audio when requested.