Communitygithub.com

SamuelChien/mega-skills-collection

當你需要使用 gh CLI 處理 GitHub 拉取請求上的審查或議題評論時使用。

mega-skills-collection 是什麼?

此技能專為開發者設計,用於透過 GitHub CLI (`gh`) 系統性地處理 PR 審查評論或議題回饋。它引導 AI 代理或使用者依序執行檢視評論、分類規劃、套用修復和回應評論等步驟。此技能特別適用於 Claude Code、Cursor、Codex 等支援 CLI 操作的開發工具,能確保所有回饋都被有效追蹤和解決,避免遺漏。工作流程包含使用 `gh pr view --comments` 檢視評論、在套用修復前等待使用者確認處理順序、以及使用 `gh pr comment` 標記已解決的討論串。此外,它也強調了常見錯誤,例如未先驗證 `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".

相關技能