cicd-pipeline
Skill2 starsChanged 12 days agoMITView on GitHub
Design and configure CI/CD pipelines with GitHub Actions, GitLab CI, and Forgejo Actions. Use this skill when the user asks to create a new workflow, set up pipeline triggers, configure caching or matrix builds, manage CI secrets, troubleshoot pipeline failures, or compare pipeline platforms — even if they don't say "CI/CD" explicitly. Not for monitoring an existing PR's CI (use git-github-workflow) or executing deployments (use deployment-specific tooling).
- Reads credentials
9 other projects use a version of this.
Adopted by
Most recently taken up by
- SWEStash/swe-workflow-skillstheir own version, first seen Nov 8, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 2, 2026
- timwukp/agent-skills-best-practicetheir own version, first seen Sep 16, 2026
- leomajewski/skills-somethingtheir own version, first seen Sep 1, 2026
- Abdox-menara/guard-skillstheir own version, first seen Aug 24, 2026
- drewid74/ai_skillstheir own version, first seen May 20, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- timwukp/agent-skills-best-practice★ 10same name
- drewid74/ai_skills★ 8same name
- albertdobmeyer/openskill-forge★ 1same name
- mmondora/claude-skills★ 1same name
- NinjaSln-labs/agent-skills★ 1same name
- SWEStash/swe-workflow-skills★ 1same name
- Abdox-menara/guard-skills★ 0same name
- herbert051281/mission-control★ 0same name
- leomajewski/skills-something★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository63 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/avoid-ai-writing/AGENTS.mdAGENTS.md
- .agents/skills/do-web-doc-resolver/AGENTS.mdAGENTS.md
- .agents/skills/skill-evaluator/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- accessibility-auditorSkill
- agent-browserSkill
- agentic-abstentionSkill
- agents-mdSkill
- api-design-firstSkill
- architecture-diagramSkill
- avoid-ai-writingSkill
- cloudflare-worker-apiSkill
- codacySkill
- codeberg-apiSkill
- code-review-assistantSkill
- css-render-performanceSkill
- database-devopsSkill
- debuggerSkill
- delegateSkill
- dependency-upgradesSkill
- dist-channel-selectionSkill
- docs-hookSkill
- document-rendering-and-locatorsSkill
- dogfoodSkill
- dora-reportSkill
- do-web-doc-resolverSkill
- durable-objectsSkill
- eu-ai-act-complianceSkill
- git-github-workflowSkill
- goap-agentSkill
- implementerSkill
- intent-classifierSkill
- iterative-refinementSkill
- jules-delegatorSkill
- learnSkill
- lifecycle-managementSkill
- local-context-sanitizationSkill
- memory-contextSkill
- migration-refactoringSkill
- nested-build-isolationSkill
- privacy-firstSkill
- progressive-deliverySkill
- pwa-offline-syncSkill
- reader-ui-uxSkill
- readme-best-practicesSkill
- secrets-managementSkill
- secure-invite-and-accessSkill
- security-code-auditorSkill
- shell-script-qualitySkill
- skill-creatorSkill
- skill-evaluatorSkill
- static-analysisSkill
- testing-strategySkill
- test-runnerSkill
- triz-solverSkill
- turso-dbSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 80
Java (Maven + JaCoCo): Add JaCoCo plugin to pom.xml, then:
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI/CD Pipeline
Design and implement efficient, secure, and reliable CI/CD pipelines.
When to Use
- User asks to set up, optimize, or troubleshoot CI/CD pipelines
- Configuring workflow triggers or managing secrets in pipelines
- Handling pipeline failures or implementing deployment strategies
- Even if they just say "set up CI" or "fix the pipeline"
Platform Comparison
| Platform | Config Location | Runner | Secrets |
| GitHub Actions | .github/workflows/ | GitHub-hosted or self-hosted | secrets.* context |
| GitLab CI | .gitlab-ci.yml | Shared or specific runners | $CI_JOB_VAULT |
| Forgejo Actions | .forgejo/workflows/ | Docker or host | Repository secrets |
Pipeline Design Workflow
- Define triggers — Push, PR, schedule, or manual dispatch. Use
pathsfilters to skip unnecessary runs. - Structure jobs — Separate lint, test, build, and deploy into distinct jobs. Use dependencies for ordering.
- Add caching — Cache dependencies (npm, pip, cargo) between runs. Reduces build times 30-70%.
- Manage secrets — Never hardcode tokens. Use platform secret stores and rotate regularly.
- Add security scanning — Run SAST, dependency scanning, and secret detection in CI.
- Configure notifications — Alert on failures to Slack, Discord, or email.
Common Failure Patterns
| Symptom | Likely Cause | Fix |
| Timeout on checkout | Shallow clone + large repo | Increase fetch-depth or use --depth 1 |
| OOM during test | Too many parallel tests | Limit concurrency or add swap |
| Flaky test failures | Race conditions or external deps | Quarantine flaky tests, add retries |
| Secret not found | Wrong environment scope | Verify secret is available in the correct job/environment |
| Cache not restoring | Cache key mismatch | Use hashFiles() for deterministic keys |
Gotchas
- GitHub Actions
GITHUB_TOKENexpires after 1 hour — don't use it for long-running workflows. - GitLab CI
rules:andonly/exceptare mutually exclusive — pick one per job. - Forgejo Actions are compatible with GitHub Actions syntax but may lag behind on new features.
- Matrix builds multiply cost — a 3x3 matrix runs 9 jobs, not 3.
- Artifact retention defaults vary by platform — set explicit retention to avoid storage costs.
Coverage Integration
Generate Coverage Reports
JavaScript/TypeScript (Jest):
{ "collectCoverage": true, "coverageReporters": ["lcov"] }Python (pytest):
pytest --cov --cov-report=xml:cobertura.xmlGo:
go test -coverprofile=coverage.out ./...Java (Maven + JaCoCo): Add JaCoCo plugin to pom.xml, then:
mvn test jacoco:reportUpload Coverage to Codacy
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r <coverage-report-file>GitHub Actions:
- name: Upload coverage to Codacy
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xmlGitLab CI:
upload-coverage:
stage: test
script:
- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage.xml
variables:
CODACY_PROJECT_TOKEN: $CODACY_PROJECT_TOKENMultiple reports (monorepos):
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial -r report1.xml
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial -r report2.xml
bash <(curl -Ls https://coverage.codacy.com/get.sh) finalKey notes:
- Coverage must be uploaded for every push to be useful for PR analysis
- File paths in reports must be relative to repository root
- Set
CODACY_PROJECT_TOKENas a CI/CD secret (from Codacy > Repository Settings > Coverage)
Rationalizations
| Rationalization | Reality |
| "We don't need secrets management, we'll use environment variables" | Environment variables leak in logs, PRs, and error messages. Use secrets managers and rotate keys. |
| "Caching slows down the pipeline" | Properly configured caching reduces build times by 30-70% and costs. |
| "We'll add security scanning later" | Security vulnerabilities found in production are 100x more expensive to fix than in CI. |
Red Flags
- Hardcoding secrets or tokens in workflow files
- Skipping security scanning in CI for speed
- Not caching dependencies between pipeline runs
- Using
actions/checkout@v3instead of@v4(missing security fixes)
References
- Performance Checklist - CI/CD optimization patterns, caching strategies, and runner sizing.
references/deployment-strategies.md- Blue-green, canary, and rolling deployments.references/failure-recovery.md- Handling pipeline failures and rollbacks.references/security-scanning.md- Integrating security tools into pipelines.
See Also
git-github-workflow— Full commit-to-merge lifecycle including CI monitoring (watch mode + failure diagnosis)
Voice & Context
- Default:
professional+blog - Reference:
voice-profilesskill for definitions and auto-detection.
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
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.

