ci-cd

Reviews and configures CI/CD pipelines, GitHub Actions workflows, and deployment automation.

Updated Sep 2, 2026
One-click install
npx skills add https://github.com/Dazlarus/karl-code --skill ci-cd-dazlarus
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ci-cd
Source: https://github.com/Dazlarus/karl-code/tree/main/.agents/skills/ci-cd
Command: npx skills add https://github.com/Dazlarus/karl-code --skill ci-cd-dazlarus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building and maintaining CI/CD pipelines involves many pitfalls: slow builds, hardcoded secrets, mixed CI/CD concerns, and risky production deployments. This Skill provides structured guidance and review patterns for creating fast, secure, and well-organized pipelines. ## Core Features & Use Cases - Pipeline Review: Audits GitHub Actions workflows for issues like missing caching, exposed secrets, and missing approval gates, with a structured findings report. - Workflow Authoring: Provides patterns for matrix builds, reusable workflows, environment-specific deployments, caching, and progressive rollouts. - Use Case: When adding a new GitHub Actions workflow to a repository, use this Skill to generate a pipeline with dependency caching, separated CI and CD jobs, Slack notifications, and manual approval before production deployment. ## Quick Start Review the workflow file at .github/workflows/ci.yml and identify missing caching, security, and deployment safety issues.

Frequently Asked Questions about ci-cd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a GitHub Actions CI pipeline for Python?▼

Create a workflow triggered on push and pull_request, use actions/setup-python with a version matrix, enable pip caching, install dependencies, and run pytest. Keep the pipeline under 10 minutes by caching dependencies and parallelizing jobs.

How to cache dependencies in GitHub Actions workflows?▼

Use actions/cache@v4 with a path like ~/.cache/pip and a key hashing your requirements or lock files, such as ${{ hashFiles('**/requirements.txt') }}. The setup-python action also supports built-in caching via the cache: 'pip' option.

Should CI and CD be in the same GitHub Actions workflow?▼

No, CI (testing) and CD (deployment) should be separate workflows. CI runs on every push and pull request, while CD triggers only on merges to main, often with environment protection rules and manual approval for production.

How do I manage secrets in GitHub Actions securely?▼

Store secrets in GitHub repository or environment secrets and reference them with ${{ secrets.NAME }} in workflow env blocks. Never hardcode credentials in workflow files, and avoid echoing secret values into logs.

When should I use reusable workflows in GitHub Actions?▼

Use reusable workflows with the workflow_call trigger when multiple workflows duplicate the same jobs, such as a shared test job across repositories or Python versions. Call them with the uses keyword and pass inputs like python-version.