ci-pipeline
Skill13 starsChanged 8 months agoMITView on GitHub
GitHub Actions, Jenkins pipelines, PR automation, and quality gates.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- HM-IT-CODE/forge-skillstheir own version, first seen Jun 9, 2026
- viknesh20-20/claude-code-tool-kittheir own version, first seen May 2, 2026
- zeon-kun/claude-skillstheir own version, first seen Apr 7, 2026
- vndee/engineering-skillstheir own version, first seen Mar 22, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- viknesh20-20/claude-code-tool-kit★ 7same name
- zeon-kun/claude-skills★ 6same name
- vndee/engineering-skills★ 3same name
- HM-IT-CODE/forge-skills★ 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 repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/CLAUDE.mdCLAUDE.md
- agentic-engineeringSkill
- api-designSkill
- api-integrationsSkill
- architecture-decision-recordsSkill
- autonomous-agent-harnessSkill
- autonomous-loopsSkill
- aws-deploymentSkill
- aws-devopsSkill
- backend-patternsSkill
- backlog-managementSkill
- claude-apiSkill
- codebase-onboardingSkill
- codebase-reportSkill
- code-reviewSkill
- coding-standardsSkill
- context-pruneSkill
- continuous-agent-loopSkill
- database-migrationsSkill
- data-pipelines-aiSkill
- data-pipelinesSkill
- deep-researchSkill
- deployment-patternsSkill
- dmux-workflowsSkill
- docker-patternsSkill
- documentation-lookupSkill
- document-processingSkill
- e2e-testingSkill
- eval-harnessSkill
- exa-searchSkill
- frontend-designSkill
- frontend-patternsSkill
- github-opsSkill
- git-workflowSkill
- hexagonal-architectureSkill
- iterative-retrievalSkill
- langchain-llamaindexSkill
- mcp-server-patternsSkill
- mlops-ragSkill
- mlops-workflowSkill
- multi-agent-git-workflowSkill
- observability-telemetrySkill
- openai-apiSkill
- postgres-patternsSkill
- prompt-optimizerSkill
- python-patternsSkill
- python-testingSkill
- pytorch-patternsSkill
- search-firstSkill
- security-reviewSkill
- security-scanSkill
- skill-authoringSkill
- tdd-workflowSkill
- technical-debt-reportSkill
- token-budget-advisorSkill
- typescript-patternsSkill
- verification-loopSkill
- workflow-statusSkill
- wxt-chrome-extensionSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
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 326
All workflows run on push and PR to main
- Distinctive: line 328
No deployment without required environment approval
“Common” is measured: kept by at least 6 in 10 of the 4 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 Pipeline
Build, test, scan, and deploy with GitHub Actions, Jenkins, and PR automation.
When to Use
- Writing or updating GitHub Actions workflows
- Creating Jenkins pipelines (declarative or scripted)
- Adding PR quality gates (tests, linting, coverage)
- Configuring branch protection and required checks
- Setting up deployment environments and promotion
GitHub Actions
Standard Python Workflow
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('**/requirements.txt') }}
- run: pip install -r requirements.txt -r requirements-dev.txt
- run: pytest --cov=src --cov-report=xml --cov-fail-under=80
- uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff mypy
- run: ruff check .
- run: mypy src/Standard Next.js/TypeScript Workflow
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run lint
- run: npm run type-check
- run: npm test -- --coverage
- run: npm run buildMulti-Stage Deploy Workflow
name: Deploy
on:
push:
branches: [main]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ${{ secrets.ECR_REGISTRY }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.ECR_REGISTRY }}/app:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
deploy-staging:
needs: build-and-push
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v4
- uses: azure/setup-kubectl@v3
- run: kubectl set image deployment/app app=${{ secrets.ECR_REGISTRY }}/app:${{ github.sha }}
deploy-prod:
needs: deploy-staging
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: ArgoCD/argo-cd-actions@v1
with:
server: ${{ secrets.ARGOCD_SERVER }}
token: ${{ secrets.ARGOCD_TOKEN }}
application: app-prod
command: syncReusable Workflow
# .github/workflows/test-python.yml
on:
workflow_call:
inputs:
python-version:
required: true
type: string
coverage-threshold:
type: number
default: 80
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- run: pip install -r requirements-dev.txt
- run: pytest --cov=src --cov-report=xml --cov-fail-under=${{ inputs.coverage-threshold }}# Usage in another workflow
jobs:
test-311:
uses: ./.github/workflows/test-python.yml
with:
python-version: "3.11"Jenkins Pipeline
Declarative Pipeline
pipeline {
agent any
environment {
PYTHON_VERSION = '3.12'
COVERAGE_THRESHOLD = '80'
}
stages {
stage('Checkout') {
steps { checkout scm }
}
stage('Install') {
steps {
sh "python${PYTHON_VERSION} -m venv .venv"
sh '.venv/bin/pip install -r requirements-dev.txt'
}
}
stage('Lint') {
steps { sh '.venv/bin/ruff check .' }
}
stage('Test') {
steps {
sh ".venv/bin/pytest --cov=src --cov-report=xml --cov-fail-under=${COVERAGE_THRESHOLD}"
}
post {
always {
junit '**/test-results.xml'
cobertura coberturaReportFile: 'coverage.xml'
}
}
}
stage('Build') {
steps {
sh "docker build -t app:${BUILD_NUMBER} ."
sh "docker tag app:${BUILD_NUMBER} ${ECR_REGISTRY}/app:${BUILD_NUMBER}"
sh "docker push ${ECR_REGISTRY}/app:${BUILD_NUMBER}"
}
}
stage('Deploy Staging') {
when { branch 'main' }
steps {
sh "kubectl set image deployment/app app=${ECR_REGISTRY}/app:${BUILD_NUMBER}"
}
}
}
post {
failure { slackSend(color: 'danger', message: "Build failed: ${env.BUILD_URL}") }
success { slackSend(color: 'good', message: "Build passed: ${env.BUILD_URL}") }
}
}Shared Library
// vars/pythonTest.groovy
def call(Map config = [:]) {
def version = config.get('pythonVersion', '3.12')
def threshold = config.get('coverageThreshold', '80')
stage('Python Test') {
sh "python${version} -m venv .venv"
sh '.venv/bin/pip install -r requirements-dev.txt'
sh '.venv/bin/ruff check .'
sh ".venv/bin/pytest --cov=src --cov-fail-under=${threshold}"
}
}
// Usage in Jenkinsfile
@Library('pipelines@main') _
pipeline {
stages {
stage('Test') {
steps {
pythonTest(pythonVersion: '3.12', coverageThreshold: '80')
}
}
}
}PR Quality Gates
Branch Protection Rules
- Require pull request reviews (minimum 1)
- Require status checks to pass:
test (3.11),test (3.12),lint,build - Require signed commits (optional)
- Require branches to be up to date before merging
- Dismiss stale approvals on new commits
PR Template
## Summary
What changed and why.
## Test Plan
- [ ] Unit tests pass: `pytest`
- [ ] Coverage: `pytest --cov=src --cov-report=term-missing`
- [ ] Lint: `ruff check . && mypy src/`
- [ ] E2E: `npx playwright test`
## Screenshots (if UI)
## Migration Notes
Any database migrations, config changes, or manual steps.Deployment Environments
Environment Promotion Flow
PR merged → build → test → scan → staging (auto) → approval → prod (manual)Environment Configuration in GitHub Actions
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: ${{ github.ref == 'refs/heads/main' && 'staging' || 'dev' }}
url: ${{ github.ref == 'refs/heads/main' && 'https://staging.example.com' || 'https://dev.example.com' }}
steps:
- run: echo "Deploying to ${{ github.ref }}"Required Secrets per Environment
Each environment in GitHub Settings → Environments:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYDATABASE_URLARGOCD_SERVERARGOCD_TOKEN
Verification
- All workflows run on push and PR to main
- Coverage threshold enforced (80%+)
- No deployment without required environment approval
- Reusable workflows tested independently
- Jenkins shared library versioned and pinned
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.

