AgentHubAgentHub

使用场景/代码审查与 GitHub

代码审查 / GitHub MCP 推荐

拉取 PR、读 diff、查 Issue、管理仓库。适合 Code Review、发布说明、CI 问题排查。

共匹配 6,707 个资源 · 第 26 / 140 页

什么是代码审查与 GitHub?

GitHub MCP 让 AI 进入你的协作流程:拉取 PR diff 做代码审查、检索 Issue 历史定位已知问题、读取 CI 日志分析构建失败、汇总提交生成 changelog。官方 github/github-mcp-server 通过 GitHub API 或个人访问令牌(PAT)鉴权,Gitee / GitLab 也有对应实现。

Code Review 实践:把团队的评审规范写成 Skill(如「检查竞态、边界、错误处理,按严重度输出」),配合 GitHub MCP 让 AI 先过一遍 PR,人工只看 AI 标出的高风险行——审查耗时通常明显下降,且低級错误漏检更少。

权限建议:使用细粒度 PAT(只授予目标仓库 contents / pull-requests 读写),组织仓库务必开只读起步;让 AI 发布评论或合并前先要求确认,防止误操作污染协作记录。

适合做什么

  • PR 自动审查
  • 生成 changelog
  • 跨仓库 Issue 检索
  • 依赖安全告警跟进

不太适合

  • 替代人工安全审计
  • 在无授权仓库上操作

相关资源

查看全部 →

GKE 集群升级

SkillSkillsMP

为标准与 Autopilot 集群规划、执行并验证 Google Kubernetes Engine(GKE)集群升级与维护操作。产出升级计划、升级前后检查清单、含 gcloud 命令的维护 Runbook、发布通道策略与故障排查指南。处理节点池升级策略(surge、蓝绿)、版本兼容、PDB 管理,以及有状态、GPU、operator 等工作负载的特定关注点。每当用户提及 GKE 升级、Kubernetes 版本升级、节点池维护、GKE 打补丁、集群版本管理、发布通道选择、维护窗口、surge 升级、卡住的升级,或任何 GKE 生命周期管理任务——即便是随意的「我们需要升级集群」或「规划下次 GKE 维护」或「我们的升级卡住了」——都使用本技能。不用于 GKE 集群创建、应用接入、一般网络/路由配置或安全策略配置(改用 gke-basics 或相关 GKE 技能)。

source

dsh-trim-cot-leakage(推理痕迹清理)

SkillSkillsMP

在审计或修正读起来像泄漏推理记录的文案时使用——例如(决策 N)、审计条目编号等指向未提交草稿的陈旧设计会话引用;used to、no longer、this cut 之类的变更叙述;基于栈或评审视角的表述(本 stack 中后续的 PR、评审中被否决);面向评审者的辩解;控制流叙述;以及注释、JSDoc、文档、Agent Notes 中残留的规划性试探语气。

source

pixijs-events(PixiJS 事件处理)

SkillSkillsMP

在 PixiJS v8 中处理指针、鼠标、触摸或滚轮输入时使用。覆盖 eventMode(none、passive、auto、static、dynamic)、FederatedEvent 类型、冒泡与捕获阶段、hitArea、interactiveChildren、cursor 与 cursorStyles、用于拖拽的全局移动事件以及 eventFeatures 配置。触发词:eventMode、FederatedPointerEvent、pointerdown、click、tap、globalpointermove、drag、hitArea、cursor、stopPropagation。

source

codex

SkillSkillsMP

Run, configure, and troubleshoot OpenAI Codex CLI in non-interactive headless environments. Use for Codex automation in Bash or PowerShell, native Windows or WSL2, shell scripts, CI/CD, Docker, Kubernetes, remote servers, agent harnesses, or batch jobs; for constructing `codex exec` commands; selecting sandbox and approval modes; consuming JSONL events or structured output; resuming sessions; passing prompts through stdin; and handling failures caused by unavailable interactive input such as `request_user_input`.

source

ui-tests-local-vm

SkillSkillsMP

Run PowerToys UITest.Next suites in persistent Hyper-V VMs over PowerShell Direct. Validate full default and constrained suites on Windows 10 and Windows 11, plus applicable ARM64 guests, then automatically hand implementation tasks to ui-tests-pipeline-ci for commit/push and CI validation. Local green is not end-to-end completion. Use for agentic UI-test iteration, reusable standard-user desktops, payload staging, evidence export, VM customization, clean baselines, or hosts without nested virtualization. Keywords: Hyper-V, local VM, virtual machine, PowerShell Direct, Copy-VMFile, VMBus, checkpoint, unattend, autounattend, ISO, Windows 10 LTSC, Windows 11, ARM64, Windows on ARM, UI tests, UITest.Next, winappcli, TRX, CI handoff.

source

living-docs-governance

SkillSkillsMP

Keep a long-lived project's documentation from rotting by assigning existing project docs clear constitution, map, status, and history roles, then wiring the active agent harness to those canonical sources. Use in the maintain phase when docs drift from code, agents lose context between sessions, or intentional removals keep being recreated. Prefer adopting the repository's current docs structure over creating new root files. 中文触发:文档治理、活文档、项目状态追踪、防文档漂移、项目地图、健康仪表盘、删除区、长期项目治理

source

agent-architecture-audit

SkillSkillsMP

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

source

intent-driven-development

SkillSkillsMP

Turn ambiguous or high-impact product and engineering changes into scoped, verifiable acceptance criteria before or alongside implementation. Use when a user asks to clarify a feature, define acceptance criteria, de-risk a security/data/migration/integration change, prepare implementation requirements for another agent, or make a complex request testable. Do not trigger for trivial edits, straightforward fixes, active debugging, code review, or implementation requests whose acceptance conditions are already clear unless the user explicitly invokes this skill.

source

常见问题

GitHub MCP 需要 OAuth 还是 Token?

本地 stdio 部署用个人访问令牌(推荐细粒度 PAT)最简单;多用户托管场景才需要 GitHub App / OAuth。环境变量名见资源详情页。

AI 审查会漏掉安全问题吗?

会。它是第一道过滤而非替代:语义类缺陷检出不错,但供应链、越权逻辑仍需专业审计与人工评审兜底。

私有仓库安全吗?

取决于模型提供方与令牌权限。企业内网可选本地模型 + 只读令牌;令牌务必设置过期与最小 scope,并定期轮换。

配套安装与配置教程

相关场景