Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

github-actions-expertGitHub actions expert 前端

Agent Skill

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

总安装

216

周安装

9

GitHub Stars

公开资料未说明

下载量

72
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add testacode/llm-toolkit --skill "github-actions-expert"

简介

用于围绕 GitHub 仓库、Issue、PR 等协作流程提供辅助。

  • 适合查询项目状态、整理变更或创建协作事项。
  • 支持只读查询和写入操作,需区分权限。github-actions-expert 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装后可通过 npx 命令调用相关功能。
  • 涉及私有仓库时需确认 token 权限和用户授权。

SKILL.md

GitHub Actions Expert

Skill para configurar GitHub Actions con detección proactiva de repos sin CI.

Proactive Detection

Al iniciar trabajo en un proyecto, verificar si existe .github/workflows/:

ls -la .github/workflows/ 2>/dev/null || echo "NO_WORKFLOWS"

Si no hay workflows → preguntar al usuario si quiere agregar CI básico.

Workflow

Phase 0: Knowledge Update

Before generating any workflow, fetch latest documentation:

  1. Search for latest GitHub Actions docs via Context7 or WebSearch:

- Current action versions (checkout, setup-node, setup-python, setup-go) - Latest Node.js LTS version - Recent best practices updates

  1. Version Reference (verify these are current): Action Current Version actions/checkout v4 actions/setup-node v4 actions/setup-python v5 actions/setup-go v5 actions/cache v4 actions/upload-pages-artifact v3 actions/deploy-pages v4
  2. Node.js LTS: Verify current LTS version (use WebSearch if unsure)

Phase 1: Stack Detection

Detect project type and tools:

# Detect project type
ls package.json 2>/dev/null && echo "NODE_PROJECT"
ls pyproject.toml requirements.txt 2>/dev/null && echo "PYTHON_PROJECT"
ls go.mod 2>/dev/null && echo "GO_PROJECT"

# For Node.js - detect package manager
ls pnpm-lock.yaml 2>/dev/null && echo "PNPM"
ls bun.lockb 2>/dev/null && echo "BUN"
ls package-lock.json 2>/dev/null && echo "NPM"

# Detect Node version
cat .nvmrc 2>/dev/null || cat package.json | grep -A2 '"engines"'

Phase 2: Script Analysis (Node.js)

Read package.json using Read tool and detect available scripts.

Look for the scripts section and identify which scripts exist.

Common scripts to check:

  • lint → Include linting step
  • typecheck → Include type checking
  • test → Include testing
  • build → Include build step
  • test:coverage → Include coverage upload

Phase 3: Workflow Selection

Present options based on detected stack:

For Node.js:

  • CI Básico (lint, typecheck, test, build)
  • Deploy a GitHub Pages
  • Release con Tags (v*)
  • Security Scans
  • Coverage Upload (Codecov)

For Python:

  • CI Básico (ruff, pyright/mypy, pytest)
  • Coverage Upload

For Go:

  • CI Básico (go vet, golangci-lint, go test)
  • Release binaries

Phase 4: Generate Workflows

Load templates from references/ and customize:

  1. Replace placeholders:

- {{NODE_VERSION}} → Detected or default (22.x) - {{PACKAGE_MANAGER}} → npm/pnpm/bun - {{INSTALL_COMMAND}} → npm ci / pnpm install --frozen-lockfile / bun install - {{BRANCH}} → main/master (auto-detect) - {{SCRIPTS}} → Based on available scripts

  1. Always include:

- Concurrency control - Caching for dependencies - fail-fast strategy

  1. Create .github/workflows/ if needed: mkdir -p.github/workflows

Phase 5: Improve Existing Workflows

If workflows exist, analyze for anti-patterns:

cat .github/workflows/*.yml

Anti-patterns to detect:

Anti-PatternFix
actions/*@v3Update to @v4
setup-node without cacheAdd cache: 'npm'
npm installUse npm ci
No concurrency:Add concurrency control
Matrix with single versionRemove unnecessary matrix
Missing fail-fast: trueAdd explicit fail-fast

See references/anti-patterns.md for full guide.

Phase 6: Verification

After generating:

  1. Validate YAML (if actionlint available): which actionlint && actionlint.github/workflows/*.yml
  2. Check required permissions:

- GitHub Pages → pages: write, id-token: write - Releases → contents: write - PRs → pull-requests: write

  1. Show summary: Workflows Created/Updated ========================= ✓.github/workflows/ci.yml - Triggers: push (main), pull_request - Jobs: lint, typecheck, test, build - Node: 22.x with npm Next Steps: 1. Review generated workflows 2. git add.github/workflows/ 3. git commit -m "ci: add GitHub Actions workflow" 4. Push to trigger first run

Templates Reference

Templates are in references/ directory:

TemplateDescription
nodejs-ci.ymlStandard CI with lint/typecheck/test/build
nodejs-deploy-pages.ymlDeploy to GitHub Pages
nodejs-release.ymlRelease on tag push (v*)
python-ci.ymlPython CI with uv/pip, ruff, pytest
go-ci.ymlGo CI with vet, lint, test
security.ymlnpm audit + secrets scanning

Best Practices Enforced

  1. Always use latest action versions (@v4 for most)
  2. Use npm ci over npm install for reproducible builds
  3. Enable caching in setup-node/setup-python/setup-go
  4. Add concurrency control to cancel outdated runs
  5. Use fail-fast: true to cancel parallel jobs on failure
  6. Specify permissions explicitly when needed
  7. Use Node 22.x (current LTS)

Concurrency Control Template

Always include in workflows:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

This cancels outdated PR runs but never cancels main branch runs.

Package Manager Detection

LockfilePackage ManagerInstall Command
pnpm-lock.yamlpnpmpnpm install --frozen-lockfile
bun.lockbbunbun install --frozen-lockfile
package-lock.jsonnpmnpm ci
Nonenpmnpm ci (after npm install generates lock)

Branch Detection

# Detect default branch
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'
# Or fallback
git branch -r | grep -E 'origin/(main|master)' | head -1 | sed 's@origin/@@'

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude Code

32.09%
按下载量换算23

windsurf

21.06%
按下载量换算15

OpenCode

19.24%
按下载量换算14

Codex

13.59%
按下载量换算10

Antigravity

8.13%
按下载量换算6

Gemini CLI

3.89%
按下载量换算3

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills