agentleFS
weiweimhyweiweimhy/agent-skills/ci-cd/SKILL.md

ci-cd

Skill0 starsChanged 5 months agoMITView on GitHub

Design, review, or improve CI/CD pipelines with deterministic build and test gates, scoped credentials, artifacts, release traceability, environment controls, and rollback-aware delivery. Use for pipeline, workflow, or release automation work.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use caching, shell-scripting and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • zebbernSkill

    caching

    Caching strategies — invalidation, TTL guidelines, cache keys, cache layers, and when not to cache. Use when implementing or reviewing caching logic.

    Also in 3 projects that use this

  • mylee04Skill

    shell-scripting

    Shell scripting best practices for cross-platform CLI tools

    Also in 3 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 7 projects that use this

  • MicrosoftSkill

    error-handling

    统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。

    Also in 5 projects that use this

  • diego-tobalinaSkill

    logging

    Logging best practices for Java (SLF4J/Logback) and Node.js (Winston/Pino). Use for structured logging, log levels, and avoiding sensitive data exposure.

    Also in 3 projects that use this

  • pproencaSkill

    refactoring

    Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.

    Also in 4 projects that use this

The file

Files
SKILL.md

CI/CD Engineering

使用范围

用于构建、测试、发布或部署流水线的设计与维护。先检查现有平台、触发条件、分支策略、权限模型、密钥来源、制品仓库和环境边界;不要把 GitHub Actions、GitLab CI 或某个云平台的写法当作通用实现。

工作方式

  • 将快速反馈、质量验证、制品构建、发布和部署区分为可追溯阶段。每个阶段明确输入、输出、失败条件和谁可以重新执行或批准。
  • 构建和测试使用锁定的依赖与明确运行时版本。缓存 key 应由锁文件、平台和工具版本决定,缓存只加速流程,不能绕过依赖解析、测试或安全检查。
  • 制品必须可识别其源提交、版本和构建来源;同一已验证制品应在后续环境复用,而不是在每个环境重新从分支构建。
  • 凭据按任务和环境最小授权,并通过平台受管密钥或短期身份提供。不要把凭据回显到日志、传入不可信 fork,或以宽泛 token 方便自动化。
  • 部署前检查迁移、配置兼容性、健康验证和回退路径。高风险环境变更需要现有审批与变更窗口;流水线的成功状态不等于业务已成功。
  • 处理失败时保留日志、制品和关联提交,以便定位。只在已知状态下重试;禁止把失败步骤改成忽略错误来获得“绿色”流水线。

交付与边界

交付应描述触发规则、阶段与门禁、缓存与制品、凭据范围、环境策略、验证与回退方案。平台专有 YAML、部署命令和审批规则应遵从仓库现有配置与组织政策。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.