Agent skill

Jenkinsfile Generator

by akin-ozer in akin-ozer/cc-devops-skills

Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.

Apache-2.0Auto-check passedDevOps & Cloud

Install Jenkinsfile Generator

skills CLI
$ npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install akin-ozer/cc-devops-skills jenkinsfile-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/devops-skills-plugin/skills/jenkinsfile-generator .claude/skills/jenkinsfile-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
jenkinsfile-generator
GitHub stars
320
Token cost
~3.7k tokens
SKILL.md length
1,016 words
Files
26 (incl. scripts, references, assets)
Skills in repo
30
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.

  • Works in 5 steps: Declarative Pipelines (RECOMMENDED) → Scripted Pipelines → Parallel/Matrix Pipelines → …
  • Tasks that involve CI/CD
  • SKILL.md covers Trigger Phrases, When to Use, Declarative vs Scripted… and Template Map, plus 7 more sections
  • Calls python3, bash and changeset; needs AWS_KEY

What it does

Jenkinsfile Generator is an agent skill from akin-ozer/cc-devops-skills. Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 31 other files, including scripts, reference files and assets (for example `references/best_practices.md`).

It sits in DevOps & Cloud, covering CI/CD and Project scaffolding. It works with Jenkins and Kubernetes. The repository describes itself as: DevOps skills for Claude Code and Codex. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve CI/CD
  • Tasks that involve Project scaffolding

Example prompts

  • “/jenkinsfile-generator”

Requirements

  • Python 3
  • Docker
  • A credential in AWS_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Declarative Pipelines (RECOMMENDED)
  2. Scripted Pipelines
  3. Parallel/Matrix Pipelines
  4. Security Scanning (DevSecOps)
  5. Shared Library Scaffolding

What it can do on your machine

Read from SKILL.md and the folder at commit 276af75. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • bash
    • changeset

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • AWS_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Jenkinsfile Generator loads about 3.7k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 29 tokens; SKILL.md has 1,016 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from akin-ozer/cc-devops-skills at commit 276af75, republished under its Apache-2.0 licence (© akin-ozer). 1,016 words, ~3,711 tokens.

Download SKILL.mdSave it as .claude/skills/jenkinsfile-generator/SKILL.md (or your agent's skills folder). This skill also uses 25 other files; get the full folder from GitHub.
name
jenkinsfile-generator
description
Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.

Jenkinsfile Generator Skill

Generate production-ready Jenkinsfiles following best practices. All generated files are validated using devops-skills:jenkinsfile-validator skill.

Trigger Phrases

  • "Generate a CI pipeline for Maven/Gradle/npm"
  • "Create a Jenkins deployment pipeline with approvals"
  • "Build a Jenkinsfile with parallel test stages"
  • "Create a scripted pipeline with dynamic stage logic"
  • "Scaffold a Jenkins shared library"
  • "Generate a Jenkinsfile for Docker or Kubernetes agents"

When to Use

  • Creating new Jenkinsfiles (declarative or scripted)
  • CI/CD pipelines, Docker/Kubernetes deployments
  • Parallel execution, matrix builds, parameterized pipelines
  • DevSecOps pipelines with security scanning
  • Shared library scaffolding

Declarative vs Scripted Decision Tree

  1. Choose Declarative by default when stage order and behavior are mostly static.
  2. Choose Scripted when runtime-generated stages, complex loops, or dynamic control flow are required.
  3. Choose Shared Library scaffolding when request is about reusable pipeline functions (vars/, src/, resources/).
  4. If unsure, start Declarative and only switch to Scripted if requirements cannot be expressed cleanly.

Template Map

TemplatePathUse When
Declarative basicassets/templates/declarative/basic.JenkinsfileStandard CI/CD with predictable stages
Declarative parallel exampleexamples/declarative-parallel.JenkinsfileParallel test/build branches with fail-fast behavior
Declarative kubernetes exampleexamples/declarative-kubernetes.JenkinsfileKubernetes agent execution using pod templates
Scripted basicassets/templates/scripted/basic.JenkinsfileComplex conditional logic or generated stages
Shared library scaffoldGenerated by scripts/generate_shared_library.pyReusable pipeline functions and organization-wide patterns

Quick Reference

groovy
// Minimal Declarative Pipeline
pipeline {
    agent any
    stages {
        stage('Build') { steps { sh 'make' } }
        stage('Test') { steps { sh 'make test' } }
    }
}

// Error-tolerant stage
stage('Flaky Tests') {
    steps {
        catchError(buildResult: 'SUCCESS', stageResult: 'UNSTABLE') {
            sh 'run-flaky-tests.sh'
        }
    }
}

// Conditional deployment with approval
stage('Deploy') {
    when { branch 'main'; beforeAgent true }
    input { message 'Deploy to production?' }
    steps { sh './deploy.sh' }
}
OptionPurpose
timeout(time: 1, unit: 'HOURS')Prevent hung builds
buildDiscarder(logRotator(numToKeepStr: '10'))Manage disk space
disableConcurrentBuilds()Prevent race conditions
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')Continue on error

Core Capabilities

Process:

  1. Read templates for structure reference:
    • Read assets/templates/declarative/basic.Jenkinsfile to understand the standard structure
    • Templates show the expected sections: pipeline → agent → environment → options → parameters → stages → post
    • For complex requests, adapt the structure rather than copying verbatim
  2. Consult reference documentation:
    • Read references/best_practices.md for performance, security, and reliability patterns
    • Read references/common_plugins.md for plugin-specific syntax
  3. Generate with required elements:
    • Proper stages with descriptive names
    • Environment block with credentials binding (never hardcode secrets)
    • Options: timeout, buildDiscarder, timestamps, disableConcurrentBuilds
    • Post conditions: always (cleanup), success (artifacts), failure (notifications)
    • Always add failFast true or parallelsAlwaysFailFast() for parallel blocks
    • Always include fingerprint: true when using archiveArtifacts
  4. ALWAYS validate using devops-skills:jenkinsfile-validator skill
2. Scripted Pipelines

When: Complex conditional logic, dynamic generation, full Groovy control Process:

  1. Read templates for structure reference:
    • Read assets/templates/scripted/basic.Jenkinsfile for node/stage patterns
    • Understand try-catch-finally structure for error handling
  2. Implement try-catch-finally for error handling
  3. ALWAYS validate using devops-skills:jenkinsfile-validator skill
3. Parallel/Matrix Pipelines

Use parallel {} block or matrix {} with axes {} for multi-dimensional builds.

  • Default behavior is fail-fast for generated parallel pipelines (parallelsAlwaysFailFast() or stage-level failFast true).
4. Security Scanning (DevSecOps)

Add SonarQube, OWASP Dependency-Check, Trivy stages with fail thresholds.

5. Shared Library Scaffolding
bash
python3 scripts/generate_shared_library.py --name my-library --package org.example

Declarative Syntax Reference

Agent Types
groovy
agent any                                    // Any available agent
agent { label 'linux && docker' }           // Label-based
agent { docker { image 'maven:3.9.11-eclipse-temurin-21' } }
agent { kubernetes { yaml '...' } }         // K8s pod template
agent { kubernetes { yamlFile 'pod.yaml' } } // External YAML
Environment & Credentials
groovy
environment {
    VERSION = '1.0.0'
    AWS_KEY = credentials('aws-key-id')     // Creates _USR and _PSW vars
}
Options
groovy
options {
    buildDiscarder(logRotator(numToKeepStr: '10'))
    timeout(time: 1, unit: 'HOURS')
    disableConcurrentBuilds()
    timestamps()
    parallelsAlwaysFailFast()
    durabilityHint('PERFORMANCE_OPTIMIZED')  // 2-6x faster for simple pipelines
}
Parameters
groovy
parameters {
    string(name: 'VERSION', defaultValue: '1.0.0')
    choice(name: 'ENV', choices: ['dev', 'staging', 'prod'])
    booleanParam(name: 'SKIP_TESTS', defaultValue: false)
}
When Conditions
ConditionExample
branchbranch 'main' or branch pattern: 'release/*', comparator: 'GLOB'
tagtag pattern: 'v*', comparator: 'GLOB'
changeRequestchangeRequest target: 'main'
changesetchangeset 'src/**/*.java'
expressionexpression { env.DEPLOY == 'true' }
allOf/anyOf/notCombine conditions

Add beforeAgent true to skip agent allocation if condition fails.

Error Handling
groovy
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') { sh '...' }
warnError('msg') { sh '...' }      // Mark UNSTABLE but continue
unstable(message: 'Coverage low')   // Explicit UNSTABLE
error('Config missing')             // Fail without stack trace
Post Section
groovy
post {
    always { junit '**/target/*.xml'; cleanWs() }
    success { archiveArtifacts artifacts: '**/*.jar', fingerprint: true }
    failure { slackSend color: 'danger', message: 'Build failed' }
    fixed { echo 'Build fixed!' }
}

Order: always → changed → fixed → regression → failure → success → unstable → cleanup

NOTE: Always use fingerprint: true with archiveArtifacts for build traceability and artifact tracking.

Parallel & Matrix

IMPORTANT: Always ensure parallel blocks fail fast on first failure using one of these approaches:

Option 1: Global (RECOMMENDED) - Use parallelsAlwaysFailFast() in pipeline options:

groovy
options {
    parallelsAlwaysFailFast()  // Applies to ALL parallel blocks in pipeline
}

This is the preferred approach as it covers all parallel blocks automatically.

Option 2: Per-block - Use failFast true on individual parallel stages:

groovy
stage('Tests') {
    failFast true  // Only affects this parallel block
    parallel {
        stage('Unit') { steps { sh 'npm test:unit' } }
        stage('E2E') { steps { sh 'npm test:e2e' } }
    }
}

NOTE: When parallelsAlwaysFailFast() is set in options, explicit failFast true on individual parallel blocks is redundant.

groovy
stage('Matrix') {
    failFast true
    matrix {
        axes {
            axis { name 'PLATFORM'; values 'linux', 'windows' }
            axis { name 'BROWSER'; values 'chrome', 'firefox' }
        }
        excludes { exclude { axis { name 'PLATFORM'; values 'linux' }; axis { name 'BROWSER'; values 'safari' } } }
        stages { stage('Test') { steps { echo "Testing ${PLATFORM}/${BROWSER}" } } }
    }
}
Input (Manual Approval)
groovy
stage('Deploy') {
    input { message 'Deploy?'; ok 'Deploy'; submitter 'admin,ops' }
    steps { sh './deploy.sh' }
}

IMPORTANT: Place input outside steps to avoid holding agents.

Scripted Syntax Reference

groovy
node('agent-label') {
    try {
        stage('Build') { sh 'make build' }
        stage('Test') { sh 'make test' }
    } catch (Exception e) {
        currentBuild.result = 'FAILURE'
        throw e
    } finally {
        deleteDir()
    }
}

// Parallel
parallel(
    'Unit': { node { sh 'npm test:unit' } },
    'E2E': { node { sh 'npm test:e2e' } }
)

// Environment
withEnv(['VERSION=1.0.0']) { sh 'echo $VERSION' }
withCredentials([string(credentialsId: 'key', variable: 'KEY')]) { sh 'curl -H "Auth: $KEY" ...' }
@NonCPS for Non-Serializable Operations
groovy
@NonCPS
def parseJson(String json) {
    new groovy.json.JsonSlurper().parseText(json)
}

Rules: No pipeline steps (sh, echo) inside @NonCPS. Use for JsonSlurper, iterators, regex Matchers.

Docker & Kubernetes

Docker Agent
groovy
agent { docker { image 'maven:3.9.11'; args '-v $HOME/.m2:/root/.m2'; reuseNode true } }
Build & Push
groovy
def img = docker.build("myapp:${BUILD_NUMBER}")
docker.withRegistry('https://registry.example.com', 'creds') { img.push(); img.push('latest') }
Show full SKILL.md (406 more words)Show less
Kubernetes Pod
groovy
agent {
    kubernetes {
        yaml '''
apiVersion: v1
kind: Pod
spec:
  containers:
  - name: maven
    image: maven:3.9.11-eclipse-temurin-21
    command: [sleep, 99d]
'''
    }
}
// Use: container('maven') { sh 'mvn package' }

Shared Libraries

groovy
@Library('my-shared-library') _
// or dynamically: library 'my-library@1.0.0'

// vars/log.groovy
def info(msg) { echo "INFO: ${msg}" }

// Usage
log.info 'Starting build'

Validation Workflow

CRITICAL: ALWAYS validate using devops-skills:jenkinsfile-validator skill:

  1. Generate Jenkinsfile
  2. Invoke devops-skills:jenkinsfile-validator skill
  3. Handle validation results by severity:
    • ERRORS: MUST fix before presenting to user - these break the pipeline
    • WARNINGS: SHOULD fix - these indicate potential issues
    • INFO/SUGGESTIONS: Consider applying based on use case:
      • failFast true for parallel blocks → apply by default
      • Build triggers → ask user if they want automated builds
      • Other optimizations → apply if they improve the pipeline
  4. Re-validate after fixes
  5. Only present validated Jenkinsfiles to user

Validation commands:

bash
# Full validation (syntax + security + best practices)
bash ../jenkinsfile-validator/scripts/validate_jenkinsfile.sh Jenkinsfile

# Syntax only (fastest)
bash ../jenkinsfile-validator/scripts/validate_jenkinsfile.sh --syntax-only Jenkinsfile

Generator Scripts

When to use scripts vs manual generation:

  • Use scripts for: Simple, standard pipelines with common patterns (basic CI, straightforward CD)
  • Use manual generation for: Complex pipelines with multiple features (parallel tests + security scanning + Docker + K8s deployments), custom logic, or non-standard requirements
Script Arguments: Required vs Optional
  • generate_declarative.py
  • Required: --output
  • Optional: --stages, --agent, --build-tool, --build-cmd, --test-cmd, --deploy-*, --notification-*, --archive-artifacts, --k8s-yaml
  • Notes:
  • --k8s-yaml accepts either inline YAML content or a path to an existing .yaml/.yml file.
  • Stage keys are validated ([a-z0-9_-]) and shell commands are emitted as escaped Groovy literals.
  • generate_scripted.py
  • Required: --output
  • Optional: stage/agent/SCM/notification parameters depending on requested pipeline features.
  • generate_shared_library.py
  • Required: --name
  • Optional: --package, --output
  • Shared library deployment helper now includes explicit rollout target (deployment/<name>) and notification helper emits valid HTML email bodies.
bash
# Declarative (simple pipelines)
python3 scripts/generate_declarative.py --output Jenkinsfile --stages build,test,deploy --agent docker

# Scripted (simple pipelines)
python3 scripts/generate_scripted.py --output Jenkinsfile --stages build,test --agent label:linux

# Shared Library (always use script for scaffolding)
python3 scripts/generate_shared_library.py --name my-library --package com.example

Done Criteria

  • Pipeline style selection (Declarative vs Scripted) is explicit and justified.
  • Generated Jenkinsfiles pass smoke validation with executable validator commands.
  • Parallel pipelines are fail-fast by default unless user explicitly requests otherwise.
  • Custom stage names and shell commands are safely emitted (no unescaped Groovy literals).
  • --k8s-yaml works with both inline YAML and existing file paths.
  • Notification-enabled post blocks still archive artifacts when requested.

Plugin Documentation Lookup

Always consult Context7 or WebSearch for:

  • Plugins NOT covered in references/common_plugins.md
  • Version-specific documentation requests
  • Complex plugin configurations or advanced options
  • When user explicitly asks for latest documentation

May skip external lookup when:

  • Using basic plugin syntax already documented in references/common_plugins.md
  • Simple, well-documented plugin steps (e.g., basic sh, checkout scm, junit)

Plugins covered in common_plugins.md: Git, Docker, Kubernetes, Credentials, JUnit, Slack, SonarQube, OWASP Dependency-Check, Email, AWS, Azure, HTTP Request, Microsoft Teams, Nexus, Artifactory, GitHub

Lookup methods (in order of preference):

  1. Context7: mcp__context7__resolve-library-id with /jenkinsci/<plugin-name>-plugin
  2. WebSearch: Jenkins [plugin-name] plugin documentation 2025
  3. Official: plugins.jenkins.io, jenkins.io/doc/pipeline/steps/

References

  • references/best_practices.md - Performance, security, reliability patterns
  • references/common_plugins.md - Git, Docker, K8s, credentials, notifications
  • assets/templates/ - Declarative and scripted templates
  • devops-skills:jenkinsfile-validator skill - Syntax and best practices validation

Always prefer Declarative unless scripted flexibility is required.

© akin-ozer, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 25 other files (scripts, references, assets) in devops-skills-plugin/skills/jenkinsfile-generator of akin-ozer/cc-devops-skills.

  • SKILL.md
  • .gitignore
  • assets/templates/declarative/basic.Jenkinsfile
  • assets/templates/scripted/basic.Jenkinsfile
  • examples/declarative-ci-basic.Jenkinsfile
  • examples/declarative-docker.Jenkinsfile
  • examples/declarative-kubernetes.Jenkinsfile
  • examples/declarative-matrix.Jenkinsfile
  • examples/declarative-parallel.Jenkinsfile
  • examples/declarative-security-scan.Jenkinsfile
  • examples/declarative-shared-library.Jenkinsfile
  • examples/scripted-basic.Jenkinsfile
  • examples/scripted-conditional.Jenkinsfile
  • examples/scripted-docker.Jenkinsfile
  • references/best_practices.md
  • … and 11 more

Open the folder on GitHubat commit 276af75

Compare with similar skills

Jenkinsfile Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Jenkinsfile Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Jenkinsfile Generator this skillakin-ozer/cc-devops-skills320—~3.7kAutomated safety check: PassApache-2.0
Google Agents CLI Deploypifferologo/cloud-agents-cli1291 repos~6kAutomated safety check: PassApache-2.0
KubeSphere DevOps Pipelineskubesphere/kubesphere17k—~11kAutomated safety check: PassCustom licence
Cloud Infra Supply Chainzhaji2333/CkSKILLS115—~688Automated safety check: WarnMIT
KubeSphere DevOps Credentialskubesphere/kubesphere17k—~4.2kAutomated safety check: PassCustom licence
KubeSphere DevOps Jenkinskubesphere/kubesphere17k—~2.9kAutomated safety check: PassCustom licence

Similar skills

  • Google Agents CLI Deploy

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or needs guidance on Agent Runtime, Cloud…

    129 GitHub starsUsed in 1 repo~6k tokens
    DevOps & CloudAuto-check passed
  • KubeSphere DevOps Pipelines

    kubesphere/kubesphere

    Creates, triggers and monitors CI/CD pipelines in KubeSphere DevOps through its Kubernetes resources, checking pipeline parameters before every run.

    17k GitHub stars~11k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Cloud Infra Supply Chain

    zhaji2333/CkSKILLS

    当目标涉及云资产(对象存储/云元数据/Serverless)、容器/K8s、运维面板(宝塔/Grafana/Zabbix/Jenkins/GitLab/Nacos等)、消息队列/缓存中间件、CI/CD流水线、第三方回调集成、依赖组件CVE、信息泄露配置时调用。负责未授权访问、弱口令、云配置错误、供应链漏洞与敏感信息挖掘。

    115 GitHub stars~688 tokensUpdated 26 days ago
    DevOps & CloudAuto-check: warnings
  • KubeSphere DevOps Credentials

    kubesphere/kubesphere

    Covers creating and managing KubeSphere DevOps credentials as typed Kubernetes Secrets that sync to Jenkins, including the API endpoints and a common pitfall.

    17k GitHub stars~4.2k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • KubeSphere DevOps Jenkins

    kubesphere/kubesphere

    Covers configuring the Jenkins inside KubeSphere DevOps: console access, Configuration as Code, LDAP and OIDC login, GitLab, agent images and troubleshooting.

    17k GitHub stars~2.9k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • KubeSphere DevOps Overview

    kubesphere/kubesphere

    Explains the KubeSphere DevOps extension: Jenkins-based CI/CD, ArgoCD GitOps, how DevOps projects map to namespaces, and project naming rules.

    17k GitHub stars~3.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed

More from akin-ozer/cc-devops-skills

All 30 skills in this repo
  • GitHub Actions Generator

    akin-ozer/cc-devops-skills

    Create, generate, or scaffold GitHub Actions workflows, action.yml, or .github/workflows CI/CD pipelines.

    320 GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Helm Generator

    akin-ozer/cc-devops-skills

    Create, scaffold, or generate Helm charts, Chart.yaml, values.yaml, templates, helpers.

    320 GitHub stars~2.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Dockerfile Validator

    akin-ozer/cc-devops-skills

    Validate, lint, audit, or scan a Dockerfile for security and best practices.

    320 GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check passed
  • GitHub Actions Validator

    akin-ozer/cc-devops-skills

    Validate, lint, audit, fix GitHub Actions workflows (.github/workflows).

    320 GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Jenkinsfile Validator

    akin-ozer/cc-devops-skills

    Validate, lint, audit, or check Jenkinsfiles and shared libraries.

    320 GitHub stars~2.7k tokensUpdated 2 mo ago
    Auto-check passed
  • K8s Debug

    akin-ozer/cc-devops-skills

    Diagnose and fix Kubernetes pods, CrashLoopBackOff, Pending, DNS, networking, storage, and rollout failures with kubectl.

    320 GitHub stars~2.9k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Jenkinsfile Generator

What does Jenkinsfile Generator do?

Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines. Jenkinsfile Generator is an agent skill from akin-ozer/cc-devops-skills. Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.

When should I use Jenkinsfile Generator?

Jenkinsfile Generator fits situations like: tasks that involve CI/CD; tasks that involve Project scaffolding.

How do I install Jenkinsfile Generator in Claude Code?

Run `npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator -a claude-code`. Or copy the skill folder (devops-skills-plugin/skills/jenkinsfile-generator in akin-ozer/cc-devops-skills) into .claude/skills/jenkinsfile-generator in your project. Claude Code loads it when a task matches its description.

How do I install Jenkinsfile Generator in Codex?

Run `npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator -a codex`. Or copy the skill folder (devops-skills-plugin/skills/jenkinsfile-generator in akin-ozer/cc-devops-skills) into .agents/skills/jenkinsfile-generator in your project. Codex loads it when a task matches its description.

Can I use Jenkinsfile Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add akin-ozer/cc-devops-skills --skill jenkinsfile-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/jenkinsfile-generator, .gemini/skills/jenkinsfile-generator, .github/skills/jenkinsfile-generator and .opencode/skills/jenkinsfile-generator in your project.

What does Jenkinsfile Generator need to run?

Going by SKILL.md and its folder, Jenkinsfile Generator needs the command-line tools its instructions call (python3, bash and changeset) and credentials named AWS_KEY. Our summary lists: Python 3; Docker; A credential in AWS_KEY.

Does Jenkinsfile Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Jenkinsfile Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Jenkinsfile Generator use?

Jenkinsfile Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Jenkinsfile Generator use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.8k tokens, read only when the agent opens those files.

What are the alternatives to Jenkinsfile Generator?

Skills that share tags, products or a category with Jenkinsfile Generator: Google Agents CLI Deploy (pifferologo/cloud-agents-cli, 129 stars), KubeSphere DevOps Pipelines (kubesphere/kubesphere, 17k stars), Cloud Infra Supply Chain (zhaji2333/CkSKILLS, 115 stars) and KubeSphere DevOps Credentials (kubesphere/kubesphere, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Jenkinsfile Generator?

akin-ozer (a GitHub user) maintains it in akin-ozer/cc-devops-skills, which has 320 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on July 26, 2026.

Source: akin-ozer/cc-devops-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.