Communitygithub.com

SamuelChien/mega-skills-collection

当需要使用 gh CLI 处理开放的 GitHub 拉取请求上的审查或问题评论时使用。

mega-skills-collection 是什么?

此技能旨在高效处理 GitHub 上的 PR 审查评论或 Issue 反馈。它通过系统化地自动化工作流程,帮助开发者使用 GitHub CLI (`gh`) 快速定位、分类并解决所有反馈。支持的平台包括任何安装了 `gh` CLI 的开发环境。其工作流程从检查当前分支的 PR 评论开始,然后对评论进行分类和规划,在征得用户确认后应用修复,最后通过 `gh` 命令将评论标记为已解决。该技能特别强调避免在不理解上下文的情况下盲目修复,并确保在执行前验证 `gh` 的认证状态。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/address-github-comments

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

处理 GitHub 评论

概述

使用 GitHub CLI (gh) 有效地处理 PR 审查评论或问题反馈。此技能确保所有反馈都被系统地处理。

前提条件

确保 gh 已通过认证。

gh auth status

如果未登录,请运行 gh auth login。

工作流程

1. 检查评论

获取当前分支 PR 的评论。

gh pr view --comments

或者,如果可用,使用自定义脚本列出讨论线程。

2. 分类并规划

  • 列出评论和审查线程。
  • 为每个评论提出修复方案。
  • 等待用户确认,如果评论较多,先处理哪些评论。

3. 应用修复

为选定的评论应用代码更改。

4. 回复评论

修复完成后,将线程标记为已解决。

gh pr comment <PR_NUMBER> --body "已在最新提交中处理。"

常见错误

  • 在不了解上下文的情况下应用修复:始终阅读评论周围的代码。
  • 未验证认证状态:开始前检查 gh auth status。

何时使用

此技能适用于执行概述中描述的工作流程或操作。

限制

  • 仅当任务与上述范围明确匹配时使用此技能。
  • 不要将输出视为特定于环境的验证、测试或专家审查的替代品。
  • 如果缺少必需的输入、权限、安全边界或成功标准,请停下来寻求澄清。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Use when a coding task should be driven end-to-end from issue intake through implementation, review, deployment, and acceptance verification with minimal human re-intervention.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

相关技能