Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

devops-workflow-engineerDevOps 工作流程工程师

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

2,277

周安装

93

GitHub Stars

103

下载量

729
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:devops-workflow-engineer(DevOps 工作流程工程师)
来源仓库:https://github.com/borghei/claude-skills
仓库路径:skills/devops-workflow-engineer
安装命令:
npx skills add https://github.com/borghei/claude-skills --skill devops-workflow-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/borghei/claude-skills --skill devops-workflow-engineer

简介

用于生成 GitHub Actions 工作流、优化现有流水线并制定部署策略。

  • 支持 CI/CD 流程设计、健康检查配置和回滚机制规划。
  • 可分析管道瓶颈,推荐 canary 发布等高级部署模式。
  • 输出 YAML 文件与执行脚本,便于集成到开发流程中。
  • devops-workflow-engineer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

DevOps Workflow Engineer

The agent generates GitHub Actions workflow YAML, analyzes existing pipelines for optimization opportunities, and creates deployment plans with strategy selection, health checks, and rollback procedures.


Quick Start

# Generate a CI workflow
python scripts/workflow_generator.py --type ci --language python --test-framework pytest

# Analyze existing pipelines for optimization
python scripts/pipeline_analyzer.py .github/workflows/ --format json

# Plan a deployment strategy
python scripts/deployment_planner.py --type webapp --environments dev,staging,prod --strategy canary

Tools Overview

ToolInputOutput
workflow_generator.pyWorkflow type + languageGitHub Actions YAML (ci, cd, release, security-scan, docs-check)
pipeline_analyzer.pyWorkflow file or directoryOptimization findings, cost estimates, severity ratings
deployment_planner.pyProject type + environmentsDeployment plan with strategy, health checks, rollback

All tools support --format json and --output for file writing.


Workflow 1: CI Pipeline Design

The agent generates pipelines following fail-fast ordering:

  1. Lint and format (~30s) -- cheapest gate first
  2. Unit tests (~2-5m) -- matrix across versions
  3. Build verification (~3-8m)
  4. Integration tests (~5-15m, parallel with build)
  5. Security scanning (~2-5m)
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: make lint

  test:
    needs: lint
    strategy:
      matrix:
        python-version: ['3.10', '3.11', '3.12']
    steps:
      - uses: actions/setup-python@v5
        with: { python-version: "${{ matrix.python-version }}", cache: pip }
      - run: pip install -r requirements.txt
      - run: pytest --junitxml=results.xml

  security:
    needs: lint
    steps:
      - run: pip-audit -r requirements.txt

CI targets:

MetricTargetFix
Total CI time< 10 minParallelize, add caching
Lint step< 1 minUse pre-commit locally
Unit tests< 5 minSplit suites, use matrix
Flaky rate< 1%Quarantine flaky tests
Cache hit rate> 80%Review cache keys

Workflow 2: CD Pipeline and Multi-Environment Deployment

python scripts/deployment_planner.py --type webapp --environments dev,staging,prod --format json

Environment promotion flow:

Build -> Dev (auto) -> Staging (auto) -> Production (manual approval)
                                              |
                                        Canary (10%) -> Full rollout
AspectDevStagingProduction
TriggerEvery pushMerge to mainManual approval
Replicas123+ (auto-scaled)
SecretsRepositoryEnvironmentVault/OIDC
MonitoringBasic logsFull observabilityFull + alerting

Key CD rules:

  • Build once, deploy the same artifact everywhere
  • Tag artifacts with commit SHA for traceability
  • Use environment protection rules for production gates
  • Maintain rollback capability at every stage

Workflow 3: Pipeline Optimization

python scripts/pipeline_analyzer.py .github/workflows/ --format json -o report.json

The agent checks for:

  1. Missing caching -- dependencies reinstalled every run
  2. No timeouts -- stuck jobs burn budget
  3. Sequential chains that could parallelize
  4. Deprecated actions with newer versions available
  5. Security issues -- secrets in logs, missing permissions scoping
  6. Cost inefficiency -- oversized runners, no path filtering

Optimization techniques:

Path-based filtering -- skip CI for docs-only changes:

on:
  push:
    paths: ['src/**', 'tests/**', 'requirements*.txt']
    paths-ignore: ['docs/**', '*.md']

Concurrency cancellation -- cancel superseded runs:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

Dependency caching:

- uses: actions/cache@v4
  with:
    path: ~/.cache/pip
    key: ${{ runner.os }}-deps-${{ hashFiles('**/requirements.txt') }}

Deployment Strategies

Decision tree:

Zero-downtime required?
  No  -> Rolling deployment
  Yes -> Need instant rollback?
    No  -> Rolling with health checks
    Yes -> Budget for 2x infrastructure?
      Yes -> Blue-green
      No  -> Canary

Canary traffic split schedule:

Phase%DurationGate
15%15 minError rate < 0.1%
225%30 minP99 latency < 200ms
350%60 minBusiness metrics stable
4100%--Full promotion

GitHub Actions Patterns

Reusable workflows -- define once, call everywhere:

# .github/workflows/reusable-deploy.yml
on:
  workflow_call:
    inputs:
      environment: { required: true, type: string }
      image_tag: { required: true, type: string }
    secrets:
      DEPLOY_KEY: { required: true }

OIDC authentication -- no long-lived credentials:

permissions:
  id-token: write
  contents: read
steps:
  - uses: aws-actions/configure-aws-credentials@v4
    with:
      role-to-assume: arn:aws:iam::123456789:role/github-actions
      aws-region: us-east-1

Secrets hierarchy: Organization > Repository > Environment. Never echo secrets; use add-mask for dynamic values. Prefer OIDC for cloud auth.


Runner Cost Optimization

RunnervCPURAMCost/minBest For
2-core27 GB$0.008Standard tasks
4-core416 GB$0.016Build-heavy
8-core832 GB$0.032Large compilations
16-core1664 GB$0.064Parallel test suites

Monthly estimate: (runs/day) x (avg min/run) x 30 x (cost/min) Example: 50 pushes/day x 8 min x 30 = 12,000 min x $0.008 = $96/month.


Anti-Patterns

Anti-PatternProblemFix
Monolithic workflow45-min single workflowSplit into parallel jobs
No cachingReinstall deps every runCache dependencies and builds
Secrets in logsLeaked credentialsadd-mask, avoid echo
No timeoutStuck jobs burn budgettimeout-minutes on every job
Full matrix every push30-min matrix on every commitFull nightly; reduced on push
No rollback planStuck with broken deployAutomate rollback in CD pipeline

Troubleshooting

ProblemCauseSolution
Workflow never triggersWrong on: config or branch name mismatchVerify triggers match branching strategy
Cache miss every runVolatile cache key (timestamp)Use hashFiles() on lock files
Matrix fails on one OS onlyPlatform-specific paths or depsUse shell: bash; install OS deps per matrix entry
Secret not availableWrong environment scopeEnsure job declares correct environment:
Health check fails after deployApp not started before checkAdd retry loop with backoff
Concurrency cancels needed runsOverly broad group keyScope to workflow-ref; separate groups for deploy

References

GuidePath
GitHub Actions Patternsreferences/github-actions-patterns.md
Deployment Strategiesreferences/deployment-strategies.md
Agentic Workflows Guidereferences/agentic-workflows-guide.md

Integration Points

SkillIntegration
release-orchestratorRelease workflows align with versioning and changelog
senior-devopsDeployment strategies complement infra automation
senior-secopsSecurity scanning steps feed SecOps dashboards
senior-qaCI quality gates map to QA acceptance criteria
incident-commanderRollback procedures connect to incident playbooks

Last Updated: April 2026 Version: 1.1.0

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.94%
按下载量换算277

Claude

32.08%
按下载量换算234

Cursor

18.77%
按下载量换算137

Gemini CLI

8.81%
按下载量换算64

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/borghei/claude-skills --skill devops-workflow-engineer 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills