Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问clear审计通过

managing-github-cimanaging GitHub CI 运维

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

396

周安装

17

GitHub Stars

28

下载量

139
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:managing-github-ci(managing GitHub CI 运维)
来源仓库:https://github.com/saleor/configurator
仓库路径:skills/managing-github-ci
安装命令:
npx skills add https://github.com/saleor/configurator --skill managing-github-ci
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/saleor/configurator --skill managing-github-ci

简介

用于围绕 GitHub 仓库、Issue 和 Pull Request 提供辅助能力。

  • 适合查询项目状态、整理变更或检查协作事项。
  • 使用时需区分只读查询和写入操作。managing-github-ci 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。
  • 涉及创建 PR 或修改 Issue 时应确认 token 权限和仓库范围。
  • 建议访问私有仓库前确保用户已授权相关操作。

SKILL.md

GitHub CI Automation

Overview

Guide the configuration and management of GitHub Actions workflows, release automation, and CI/CD pipelines for the Saleor Configurator project.

When to Use

  • Creating or modifying GitHub Actions workflows
  • Setting up automated releases via Changesets
  • Troubleshooting CI failures
  • Configuring pre-commit/pre-push hooks (Husky)

Quick Reference

WorkflowTriggerPurpose
test-on-pr.ymlPR to mainTypecheck, lint, test, build
release.ymlPush to mainChangesets publish to npm
changeset-bot.ymlPR opened/syncedComment on missing changesets

Project CI Architecture

.github/
├── workflows/
│   ├── test-on-pr.yml      # PR validation
│   ├── release.yml         # Automated releases
│   └── changeset-bot.yml   # Changeset automation

.husky/
├── pre-push               # Schema docs generation

.changeset/
├── config.json            # Changeset configuration
└── *.md                   # Pending changesets

Workflows

test-on-pr.yml

Validates PRs before merge. Runs: typecheck, lint, test, build. Uses pnpm 9 + Node 20.

See references/workflow-templates.md for full YAML.

Required Checks

CheckCommandPurpose
Type checkpnpm typecheckTypeScript validation
Lintpnpm lintBiome linting
Testpnpm testVitest test suite
Buildpnpm buildCompilation check

release.yml

Automated npm releases via Changesets. Triggers on push to main with concurrency control.

Uses changesets/action@v1 with pnpm publish:ci-prod. Requires GITHUB_TOKEN and NPM_TOKEN.

Release Flow

1. Developer creates changeset -> pnpm changeset
2. PR merged to main
3. Changesets action runs:
   a. If changesets exist -> Creates "Version Packages" PR
   b. If version PR merged -> Publishes to npm

changeset-bot.yml

Comments on PRs about missing changesets. Uses changesets/bot@v1.

Pre-Push Hooks (Husky)

Located in .husky/pre-push:

  • Runs pnpm generate-schema-docs before every push
  • Auto-commits schema documentation updates
  • Ensures docs stay in sync with schema changes

Changesets Configuration

Located in .changeset/config.json. Key settings: access: "public", baseBranch: "main".

TypeWhen to Use
patchBug fixes, documentation, refactoring
minorNew features, non-breaking enhancements
majorBreaking changes, API modifications

GitHub CLI

Use gh for workflow management: gh run list, gh run view <id>, gh run watch <id>, gh run rerun <id>, gh pr checks <number>.

Troubleshooting CI Failures

Reproduce Locally

FailureCommand
Type checkpnpm typecheck or npx tsc --noEmit
Lintpnpm lint then pnpm check:fix
Testspnpm test -- --filter=<file>
Buildpnpm build

Debugging Steps

  1. Check workflow logs in GitHub Actions UI
  2. Reproduce failure locally with commands above
  3. Fix the issue
  4. Push fix to PR
  5. Re-run failed jobs: gh run rerun <run-id>

npm Publish Rate Limiting

If npm publish fails: wait and retry. Check status at https://status.npmjs.org/

Secrets Management

SecretPurposeWhere Set
GITHUB_TOKENAuto-providedGitHub
NPM_TOKENnpm publishingRepository Settings > Secrets > Actions

Common Mistakes

MistakeFix
Missing --frozen-lockfileAlways use in CI installs
Using @latest action versionsPin to specific versions (@v4)
No concurrency settingAdd to prevent duplicate runs
Forgetting to add changesetRun pnpm changeset before PR

References

Skill Reference Files

Project Resources

  • .github/workflows/ - Workflow files
  • .husky/ - Git hooks
  • .changeset/ - Changeset configuration

Related Skills

  • Creating releases: See creating-changesets for changeset creation
  • Local validation: See validating-pre-commit for reproducing CI checks locally

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.54%
按下载量换算42

Antigravity

24.64%
按下载量换算34

windsurf

18.2%
按下载量换算25

trae

12.53%
按下载量换算17

OpenCode

8.06%
按下载量换算11

Codex

3.53%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills