AgentHubAgentHub

使用场景/代码审查与 GitHub

代码审查 / GitHub MCP 推荐

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

共匹配 6,794 个资源 · 第 36 / 142 页

什么是代码审查与 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 检索
  • 依赖安全告警跟进

不太适合

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

相关资源

查看全部 →

sql-object-impact-analysis

SkillSkillsMP

Before modifying a table, column, stored procedure, view, or trigger in a legacy codebase, trace every place that references it — across other SQL objects (procs, views, triggers) AND application code (C#, Angular/TypeScript, JS, or any language in the repo) — and produce a structured blast-radius report so you know what breaks before you change it. Use when the user asks 'what uses this column/table/procedure', 'is it safe to change X', 'what depends on this', 'impact of renaming/dropping X', or before any schema/proc modification in an unfamiliar or legacy codebase. Not for privacy/PII exposure analysis (see data-breach-blast-radius) or query performance tuning (see sql-optimization).

source

api-security-testing(API 安全测试)

SkillSkillsMP

用 Strix 对 REST、GraphQL 或 gRPC API 做安全测试——自主 agent 从 OpenAPI/GraphQL schema(或通过爬取)枚举端点,并实际利用 OWASP API Security Top 10(2023)中的 API 特有漏洞类别:对象级授权失效(BOLA/IDOR)、对象属性级授权失效(过度数据暴露与批量赋值)、功能级授权失效、资源消耗不受限、SSRF、注入以及认证/token 缺陷。每个发现都附带可工作的 proof-of-concept 请求。当用户要求对 API、端点或后端服务做渗透测试、安全测试、审计或查找漏洞时使用。

source

pixijs-create

SkillSkillsMP

Use this skill when scaffolding a new PixiJS v8 project with the create-pixi CLI or adding PixiJS to an existing project. Covers npm/yarn/pnpm/bun create commands, interactive vs non-interactive flows, bundler vs creation template categories, available template presets (bundler-vite, bundler-webpack, bundler-esbuild, bundler-import-map, creation-web, framework-react, extension-default), Node version requirements, `npm install pixi.js` for existing projects, TypeScript 5/6/7 tsconfig setup (moduleResolution, @webgpu/types, @types/web), post-scaffold dev flow, and the Vite top-level-await production-build gotcha. Triggers on: create pixi.js, npm create, npm install pixi.js, scaffold, template, bundler-vite, bundler-webpack, creation-web, framework-react, new project, existing project, getting started, quick start, TypeScript, tsconfig, moduleResolution, @webgpu/types, @types/web, Cannot find name GPUTextureUsage.

source

Blazor 特性验证

SkillSkillsMP

在编写 E2E 测试之前,使用本仓库的 Components 示例在浏览器中交互式验证 Blazor 特性或行为。用于:在 src/Components 中演练某项 Blazor 改动(渲染模式行为、交互组件、增强导航、表单、流式渲染、预渲染),决定选用哪个示例、在哪添加测试页面、如何设置渲染模式(Server/WebAssembly/Auto/静态 SSR)、如何确认应用真的处于交互状态(而非纯静态 SSR),以及如何检查浏览器控制台与网络错误。覆盖 BlazorWebAppGlobal、BlazorWebAppPerPage 与 BlazorWebAssemblyStandalone,针对仓库内的框架启动,并用 Playwright MCP 浏览器工具驱动。不适用于编写正式的 E2E/Selenium 或单元测试、非 Components 领域、对比方案调研,或在没有 Blazor 特性需要验证时仅做原生浏览器 API/HTML/CSS 的孤立实验——后者用最小化的浏览器探测即可。

source

Electron Chrome 安全回植校验

SkillSkillsMP

针对 Electron 发布分支的端到端 Chrome 安全回移植。给定 Chrome Releases 博客 URL 与分支(如 41-x-y),判定真实同步源码中缺少哪些 CVE 修复,在本地编写 cherry-pick 补丁,用 e sync --3 + lint --patches 验证,最后推单个 PR。当被要求把 Chrome 安全更新回移植到 N-x-y、确认“CVE-X 是否已进 N-x-y”,或为发布分支产出/验证 cherry-pick 补丁集时使用。

source

publish-npm-version(发布 npm 版本)

SkillSkillsMP

切出 Prisma 8 的下一个版本:递增根 package.json 版本(v8 RC 线上为 8.0.0-rc.N → rc.N+1),同步到所有 workspace 包,并开启标题为 “chore(release): bump to <next-version>” 的 PR。维护者合并后,`Publish to npm` 工作流自动运行,按版本号形态对应的 dist-tag(`latest`;RC 版本获得预发布的 GitHub Release)发布到 npm,并生成对应的 GitHub Release。当维护者要求 “cut the next RC”“cut the next release”“bump to the next version”“open a release PR” 或 “prepare a publish PR” 时使用。

source

pixijs-scene-text(PixiJS 文本渲染)

SkillSkillsMP

在 PixiJS v8 中渲染文本时使用。覆盖 Text(画布级高质量样式文本)、BitmapText(基于字形图集的低成本逐帧更新)、HTMLText(通过 SVG 渲染 HTML/CSS 标记),以及用于逐字符动画的 SplitText 和 SplitBitmapText,还包括 TextStyle、tagStyles、构造选项、TextOptions、HTMLTextOptions、BitmapText、SplitTextOptions、SplitBitmapTextOptions。触发词:Text、BitmapText、HTMLText、SplitText、SplitBitmapText、TextStyle、HTMLTextStyle、BitmapFont.install、tagStyles、fontFamily、wordWrap。

source

mobile-native

SkillSkillsMP

Make a web app feel native on a phone — the small CSS and meta-tag fixes that separate "a website in a browser" from something that feels installed. Covers sticky hover states, tap highlight flashes, the 100vh bug, inputs that zoom the page, laggy taps, pull-to-refresh hijacking scroll, content under the notch, long-press selecting button text, carousels that scroll the wrong way, mismatched status bars, and the rule that you test on real hardware. Use when a web app is being built for or reviewed on mobile, when something "works in Chrome but feels wrong on my phone", when building a PWA, a bottom sheet, a carousel, a full-screen layout, or any touch interaction. For motion itself use animate; for React Native use animate-expo.

source

motion-doctrine(运动法则)

SkillSkillsMP

网关技能——编排任何 HyperFrames 动画或视频之前必须最先加载。让多场景视频像一次连续运镜、而非一堆各自独立的动画幻灯片拼接的高层运动法则。涵盖向量法则(如何出场决定如何入场,含 Z 轴缩放符号法则)、影片的当下(film's current)、承载元素、因果运动、Seam Gate(构建门禁执行)、禁止空闲摆动(运动必须表演而非呼吸)、先静止后高潮,以及持续运动路线。路由到低层技巧技能(cut-the-curve——完整目录含瀑布式入场与 nudge 曲线、oversized-cursor、seam-craft)。这些规则取代通用的上游运动指南。[continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

source

meteor-native

SkillSkillsMP

Use when building or maintaining Meteor 3 Android/iOS apps through Cordova. Triggers on meteor add-platform, android-device, ios-device, mobile-config.js, Cordova plugins, native signing or store artifacts, and mobile hot code push compatibility. Use this skill when the task already concerns Meteor's Cordova app workflow; use meteor-debugging for an unexplained cross-layer failure and meteor-deployment for the backend. React Native/Expo, Capacitor, and native Node.js addons are separate workflows.

source

OpenAI 文档 openai-docs

SkillSkillsMP

用于 Codex 的模型/定价、定时任务、skills、设置、安装、排障、定制、自动化与自我认知——包括“you”“your”“this app”“this coding agent”等指代 Codex 的说法——以及 OpenAI API/产品和 ChatGPT Work。也用于模型选择/迁移、prompt 编写、SDK、Responses、Realtime、agents、evals 及 Chat/Work/Codex 对比。不适用于仅仅是提到 Codex 的通用应用/软件任务。

source

ccxt-mcp(CCXT 官方 MCP)

SkillSkillsMP

官方 CCXT MCP(Model Context Protocol)服务器——让 AI 代理连接 100+ 加密货币交易所与预测市场,进行行情、余额与可选的交易操作。涵盖在 Claude Desktop/Code、Cursor、VS Code 及其他 MCP 宿主中安装服务器;配置命名账户与 API key(保存在本地,模型永远接触不到);能力分层与安全护栏;sandbox/testnet 交易;以及如何驱动这些工具。当用户希望代理跨交易所获取价格/订单簿/K 线、查看余额/挂单/持仓、下单或撤单,或探索预测市场时使用。

source

PowerToys UI 测试 CI 流水线

SkillSkillsMP

仅限微软 FTE 的工作流:基于已有 Azure CLI 会话与 Azure DevOps REST API,验证环境配置、排队、自动等待并稳定运行 PowerToys UI Test Automation。在本地虚拟机套件通过后、被要求跑 UITests CI、做配置就绪预检、诊断反复 az login 提示或 401/403 权限错误、复用成功的构建、查看录制/产物,或管理三连跑限制时使用。内置 agent 持有的前台完成等待器。关键词:FTE、az、Azure CLI、Azure DevOps、pipeline、UI Test Automation、UITests CI、buildNow、specificBuildId、uiTestModules、CI flake。

source

building-cypress-binary

SkillSkillsMP

Builds and packages the Cypress Electron binary locally (yarn binary-build, binary-package, binary-zip, Docker/Linux parity), including non-interactive --version/--platform flags and unsetting ELECTRON_RUN_AS_NODE for agent hosts. Covers macOS signing, optional env speedups, dist smoke-test pitfalls, and why the tree is dirty after a build. Use when the user asks to build the Cypress binary, binary-package, electron MODULE_NOT_FOUND during binary-build, or local binary zip. For artifact debugging, use debugging-cypress-artifacts.

source

transforms(Metabase transform 编写)

SkillSkillsMP

使用 transform_write 编写 transform——查询来源(definition 与 query_handle 的区别)、目标表以及修补它会重命名什么、为何目标数据库不由你选择、工具拒绝的两种形态(python、incremental)、标签与文件夹。首次调用 transform_write 前先读本技能。触发语:"做一个 transform""把这个查询物化成表""建一张供其他查询使用的表""重命名 transform 的输出表""为什么不让编辑这个 transform"。

source

metabase-ui-component-from-figma(Figma 组件实现)

SkillSkillsMP

按 Linear issue 中描述的 Figma 规范,更新或构建 Metabase 设计体系组件(frontend/src/metabase/ui——Chip、Badge、Alert、Switch 等)。当工单要求改造现有 metabase/ui 组件样式或从 Figma 实现新组件时使用。涵盖:签出 issue、梳理组件(既有组件的用法/影响面,或新组件的脚手架)、构建 Storybook 展示矩阵(既有组件在改造样式前、新组件在其后)、依据精确的 Figma 令牌并与用户迭代完成样式,最后再提交并迁移调用点。

source

常见问题

GitHub MCP 需要 OAuth 还是 Token?

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

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

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

私有仓库安全吗?

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

配套安装与配置教程

相关场景