跳到正文
cccskills
免费在 GitHub 公开

ci-cd-setup

CI/CD con GitHub Actions: pipeline stages, caching, environments, branch protection, deploy strategies.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane星标 3(GitHub 3 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(5)

  • SKILL.md3.4 KB
  • references/actions-hardening.md2.7 KB
  • references/anti-patterns.md430 B
  • references/checklist.md995 B
  • references/secret-and-deploy.md1.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

ci-cd-setup — Decision Guide

Quick Start Checklist

→ Read references/checklist.md for full 12-item pipeline setup checklist

GitHub Actions. Principle: fail fast, cache aggressively, gate production.

Pipeline Stages (ordered)

StagePurposeNotes
1. LintStyle + static analysisCheapest — run first
2. Type-checktsc --noEmit or equivCatches errors before tests
3. TestUnit + integrationService containers for DB
4. BuildCompile/bundle artifactAfter tests pass
5. E2EPlaywright (separate job)Needs build artifact
6. DeployPush image / deployOnly on main/tags

Parallelize lint + type-check + test; build waits for all.

GitHub Actions Decisions

DecisionGuidance
MatrixOnly for libraries (multi-version); apps pin one version
CachingAlways — setup-node/setup-go built-in; actions/cache for custom
ArtifactsUpload dist/ (7d retention); download in deploy job
ConcurrencyGroup per workflow+ref; cancel-in-progress: true on PRs
PinningThird-party actions by full commit SHA with the version in a comment; a bot keeps them current
ReusableShared logic → org/shared-workflows repo
MonorepoPath filters; run only affected packages

Workflow Security

RuleWhy
permissions: contents: read at the top, widened per jobThe token defaults to more than most jobs need
No contributed code in pull_request_target / workflow_runThey run with secrets and a write token, even for forks
Untrusted ${{ github.event.* }} only through env:Expressions expand before the shell: a PR title can run commands
OIDC (id-token: write) instead of stored cloud keysShort-lived credentials scoped to repo + branch
npm ci / --frozen-lockfile in every install stepSee /supply-chain-security

→ Read references/actions-hardening.md for examples of each rule, the repo settings to change, persist-credentials, and workflow linters (actionlint, zizmor)

Environment Strategy

EnvTriggerGate
stagingPush to mainAuto-deploy, no review
productionTag v* or manual dispatchRequired reviewers (1-2)

Promotion: CI green + staging smoke test + changelog reviewed. Use GitHub Environments for secret isolation.

Branch Protection, Secrets & Deploy

→ Read references/secret-and-deploy.md for branch protection checklist, secret location table, and deploy strategies (rolling/blue-green/canary/OTA)

Anti-patterns

→ Read references/anti-patterns.md for 8 common CI/CD anti-patterns

Checklist

  • CI on PR + main; concurrency + cancel-in-progress
  • Caching active; coverage published
  • Secrets in Environments (not repo-level for prod)
  • Dependabot for actions + deps; CODEOWNERS; actions pinned by SHA
  • permissions: read-only by default; no pull_request_target running PR code; untrusted inputs via env:
  • Cloud deploys through OIDC, no long-lived keys in secrets
  • Staging auto-deploys; prod gated by tag + reviewers
  • Rollback procedure documented

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

中文简介正在准备中。当前显示原文说明。

SebastianLuser/claude-code-arcane32026年10月27日 更新

查看 SebastianLuser 的全部技能

报告此技能的问题