github-actions-cicd
Skill4 starsChanged 5 months agoMITView on GitHub
Create, audit, or troubleshoot GitHub Actions CI/CD pipelines. Use when: building a new workflow, reviewing an existing pipeline for security/performance, debugging a failing workflow, designing deployment strategies, or setting up secrets/OIDC authentication. Triggers: "create workflow", "CI/CD pipeline", "GitHub Actions", "review pipeline", "audit workflow", "fix workflow", "deployment strategy", "OIDC", "caching", "matrix strategy".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Kubementat/ai_agent_skillstheir own version, first seen Mar 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Kubementat/ai_agent_skills★ 2same 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 repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- appkit-commonsSkill
- boostSkill
- code-cleanupSkill
- commit-msgSkill
- create-readmeSkill
- docker-multi-stageSkill
- frontend-designSkill
- python-clean-codeSkill
- python-codingSkill
- reflex-docsSkill
- reflex-state-and-architectureSkill
- reflex-testing-stateSkill
- releaseSkill
- runic-migrateSkill
- runic-ogmSkill
- terraform-azure-verified-modulesSkill
- terraform-refactor-moduleSkill
- terraform-run-acceptance-testsSkill
- terraform-search-importSkill
- terraform-stacksSkill
- terraform-style-guideSkill
- terraform-testSkill
- appkit-commonsSkill
- appkit-mantine-referenceSkill
- appkit-userSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Ask (or infer from context):
- Distinctive: line 24
Test stages needed: unit, integration, E2E?
- Very specific: line 59
Use environment: blocks with protection rules for staging/prod
- Distinctive: line 67
Run through these checks on any existing workflow:
- Very specific: line 103
Check on: trigger matches the actual event
- Very specific: line 104
Verify branches:/paths: filters — are they too narrow?
- Very specific: line 105
Check concurrency group — is a prior run blocking?
- Distinctive: line 106
Look for required status checks blocking the workflow on branch protection
- Very specific: line 115
Verify path: matches where the package manager actually installs
- Very specific: line 116
Check if lockfile path in hashFiles() is correct (use `` for monorepos)
- Very specific: line 119
Add explicit waits; remove sleep
- Very specific: line 120
Use services: containers instead of external services
- Distinctive: line 126
Add/fix caching (check hit rate in logs)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Actions CI/CD Skill
When to Use
- Creating a new CI/CD workflow from scratch
- Auditing an existing workflow for security, performance, or correctness
- Debugging a failing or misbehaving workflow
- Designing deployment strategies (rolling, blue/green, canary)
- Configuring secrets, OIDC, or environment protections
Mode: Create
1. Gather Requirements
Ask (or infer from context):
- Trigger events:
push,pull_request,workflow_dispatch,schedule? - Language/runtime (Python, Node.js, etc.) — determines setup actions and cache paths
- Test stages needed: unit, integration, E2E?
- Deployment target: cloud provider, registry, k8s?
- Environments: staging + production with manual approval gates?
2. Scaffold Structure
name: <Descriptive Name>
on: ...
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read # least privilege default
jobs:
lint: ...
test: ...
build: ...
deploy: ...3. Apply Checklist per Job
runs-on: ubuntu-latest(or justified alternative)actions/checkout@v4withfetch-depth: 1- Cache keyed on
hashFiles('**/lockfile')withrestore-keysfallback - All
uses:pinned to full commit SHA or major version tag (@v4, not@main) timeout-minutesset for long-running jobs- Secrets via
${{ secrets.NAME }}— never hardcoded
4. Security Gates
- Least-privilege
permissionsblock at workflow + override at job level - OIDC for cloud auth (prefer over long-lived keys)
dependency-review-actionon PRs targeting default branch- CodeQL or Bandit for SAST on push/PR
5. Deployment Configuration
- Use
environment:blocks with protection rules for staging/prod - Manual approval required for
productionenvironment - Store rollback artifact version as job output; document rollback command in workflow comment
Mode: Review (Audit Checklist)
Run through these checks on any existing workflow:
Structure
- Workflow
nameis descriptive concurrencyprevents redundant runspermissionsexplicitly scoped (not default write-all)
Security
- No hardcoded credentials — all via
secrets.* - OIDC used for AWS/Azure/GCP (not static keys)
- Action versions pinned (
@v4or SHA, not@latest/@main) dependency-review-actionpresent on PRs- SAST tool integrated and blocking on critical findings
Performance
fetch-depth: 1on checkout- Cache configured with
hashFiles-based key +restore-keys - Matrix strategy used where parallelism applies
- Large artifacts uploaded/downloaded; not rebuilt per job
Testing
- Unit tests run early; integration tests after
- Test reports published as artifacts or GitHub Checks
- Coverage threshold enforced
Deployment
- Staging deploys before production
- Manual approval gate on production environment
- Rollback strategy documented or automated
- Post-deploy health checks / smoke tests present
Mode: Troubleshoot
Workflow not triggering?
- Check
on:trigger matches the actual event - Verify
branches:/paths:filters — are they too narrow? - Check
concurrencygroup — is a prior run blocking? - Look for required status checks blocking the workflow on branch protection
Permission denied / 403?
- Inspect
permissions:block — add the specific scope needed - For environment secrets: check if manual approval is pending
- For OIDC: verify trust policy in cloud provider matches
github.repository/github.ref
Cache miss every run?
- Print the computed cache key in a
run:step to debug - Verify
path:matches where the package manager actually installs - Check if lockfile path in
hashFiles()is correct (use**for monorepos)
Flaky tests in CI?
- Add explicit waits; remove
sleep - Use
services:containers instead of external services - Set
fail-fast: falsein matrix to see all failures - Capture screenshots/video on failure for E2E tests
Slow workflow?
- Profile step durations in the Actions run summary
- Add/fix caching (check hit rate in logs)
- Parallelise with
strategy.matrix - Move non-blocking steps (docs, badges) to separate scheduled workflow
Reference: Common Patterns
OIDC for AWS
permissions:
id-token: write
contents: read
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::123456789:role/my-role
aws-region: eu-west-1Effective Cache Key (Python/uv)
- uses: actions/cache@v4
with:
path: ~/.cache/uv
key: ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml', '**/uv.lock') }}
restore-keys: |
${{ runner.os }}-uv-Production Environment with Approval
deploy-prod:
needs: deploy-staging
environment:
name: production
url: https://example.com
if: github.ref == 'refs/heads/main'Dependency Review on PRs
- uses: actions/dependency-review-action@v4
with:
fail-on-severity: highDoes 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.

