dev-toolbelt/dev-team-agents/cicd-base

Claude Code and agent skill by dev-toolbelt/dev-team-agents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Shared CI/CD — stages, quality gates, secret management, rollback.

Install

npx vskill@latest install dev-toolbelt/dev-team-agents/cicd-base

SKILL.md

The same SKILL.md was published earlier as dev-toolbelt/dev-team-agents/cicd-base.

Standard Pipeline Stages

Stages run in this order. Each stage must pass before the next begins.

#StagePurposeFails on
1lintCode style and static analysisAny lint error
2testUnit + integration tests with coverage reportTest failure or coverage below threshold
3security-scanSAST + dependency vulnerability check (OWASP)HIGH or CRITICAL findings
4buildCompile / bundle / containerizeBuild error
5publishPush artifact/image to registryRegistry error — runs only on main/release branches
6deploy-stagingDeploy to staging environmentDeploy failure — auto, after publish
7smoke-testAutomated smoke tests against stagingAny smoke test failure
8deploy-prodDeploy to productionManual gate, or auto on semver tag
Platform-specific skills (cicd-github, cicd-gitlab, cicd-bitbucket, cicd-jenkins) map these stages to their native primitives. This file defines the intent — the platform skill defines the syntax.

Quality Gate Pattern

  • All stages 1–4 must pass before any deploy stage (publish, deploy-staging, deploy-prod) runs
  • Coverage threshold: default ≥ 80% line coverage; blocks on failure
  • Security threshold: HIGH or CRITICAL severity findings block the pipeline; MEDIUM/LOW produce warnings only
  • Never deploy from a branch that has failing checks

Project Rule Lint

When docs/development/reuse-guidelines.md exists, the lint stage also enforces it (skills/shared/reuse-guidelines/SKILL.md). Without this step the registry is enforced only by the Stop hook, i.e. only for changes an agent made.

  • .dev-team-agents/scripts/reuse-lint.sh is a bind artifact and is not committed, so a CI checkout does not have it. Commit a copy at scripts/ci/reuse-lint.sh — it is self-contained bash with no dependencies — and note in the copy's first comment line which dev-team-agents version it came from
  • Fetch the base branch first (fetch-depth: 0 or equivalent) and set REUSE_LINT_DIFF_RANGE=origin/<base>...HEAD; a shallow clone has no merge base and the lint would only see the working tree
  • Blocking findings fail the stage (exit 1); advisory findings print and pass
  • Run reuse-lint.sh --validate in the same step, so a registry row that stopped compiling fails CI instead of silently matching nothing
  • A pull request controls its own head: run the step on pull_request (never pull_request_target or its equivalents), read-only permissions, no secrets; read the registry and the script from the base ref (git show origin/<base>:docs/development/reuse-guidelines.md) or put both under CODEOWNERS; pass the base branch through an environment variable, never interpolated into the shell command

Secret Management

  • Never hardcode secrets in pipeline config files — treat the pipeline config as public
  • Use the platform's native secret store:
  • GitHub Actions → Repository/Organization Secrets
  • GitLab CI → CI/CD Variables (masked + protected)
  • Bitbucket Pipelines → Repository/Deployment Variables
  • Jenkins → Credentials Store (with the Credentials Binding plugin)
  • Rotate secrets on a defined schedule (quarterly minimum)
  • Revoke secrets immediately on team member offboarding
  • Reference secrets by name only in config; never echo or log their values

Artifact Strategy

RuleDetail
TaggingTag images with git SHA for every build; add semver tag when on a release branch
RetentionKeep last 10 builds; prune older artifacts automatically
ImmutabilityNever redeploy a mutable latest tag to production — always use a pinned SHA or semver
RegistryPush to a private registry; do not rely on Docker Hub for production images

Rollback

  • Every deploy-staging and deploy-prod stage must have a documented rollback step
  • Prefer blue/green or canary over in-place deploys for zero-downtime rollback capability
  • Rollback triggers:
  • Smoke tests fail after staging deploy → auto-rollback to previous artifact
  • Manual trigger by on-call engineer for production
  • Store the last successful artifact reference so rollback does not require a rebuild

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dev-toolbelt/dev-team-agents/cicd-base/badge)](https://verified-skill.com/skills/dev-toolbelt/dev-team-agents/cicd-base)

Something wrong with this skill or its page? Tell us.