agentleFS
seed-forgeseed-forge/harness-ai-kit/skills/infra-jenkins-pipeline-ops/SKILL.md

infra-jenkins-pipeline-ops

Skill25 starsChanged 4 months agoApache-2.0View on GitHub

Operate Jenkins jobs, credentials, plugins and shared libraries through a portable, configuration-driven workflow.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this Skill to inspect or operate a Jenkins instance, review a Jenkinsfile, or diagnose a Jenkins Pipeline.

    line 10
  2. Very specific:

    Run jenkinsctl doctor and use read-only job/configuration commands first.

    line 35
  3. Distinctive:

    Keep credentials in the Jenkins credential store and reference their IDs.

    line 37
  4. Distinctive:

    After a write, read the relevant job/configuration back and report the effective result.

    line 39
  5. Very specific:

    Prefer the REST API or jenkins-cli.jar.

    line 44
  6. Distinctive:

    Treat job deletion, credential changes, plugin changes and global tool or shared-library configuration as high-impact operations.

    line 46
  7. Distinctive:

    Read-only commands are available to consumers.

    line 49
  8. Distinctive:

    Use generic service URLs and documentation IP ranges in examples.

    line 52

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Jenkins Pipeline Operations

Purpose

Use this Skill to inspect or operate a Jenkins instance, review a Jenkinsfile, or diagnose a Jenkins Pipeline. It works with self-hosted and managed Jenkins deployments and does not assume a particular network, container host, registry or source-control server.

Required Configuration

Configure the companion CLI in ~/.harness-ai-kit/config.yaml:

assets:
  jenkinsctl:
    jenkins_url: https://jenkins.example.com/
    jenkins_user: automation-user
    jenkins_api_token: <store-outside-source-control>

The checked-in config.defaults.yaml defines the complete schema. Command-line values override the global configuration. Environment variables are CI-only fallbacks; do not put tokens in a repository or an agent instruction file.

Workflow

  1. Confirm the target Jenkins URL, intended action and whether it changes shared platform state.
  2. Run jenkinsctl doctor and use read-only job/configuration commands first.
  3. Export the current job configuration before an update, disable or delete.
  4. Keep credentials in the Jenkins credential store and reference their IDs; never put credential material in a Jenkinsfile.
  5. After a write, read the relevant job/configuration back and report the effective result.

Guardrails

  • Prefer the REST API or jenkins-cli.jar; use SSH CLI only when explicitly configured by the operator.
  • Treat job deletion, credential changes, plugin changes and global tool or shared-library configuration as high-impact operations.
  • jenkinsctl applies role checks from ~/.harness-ai-kit/config.yaml. Read-only commands are available to consumers; daily delivery actions need contributor access; shared platform and credential changes need maintainer access.
  • Use generic service URLs and documentation IP ranges in examples. Do not copy hostnames, private addresses, tokens, credentials or deployment topology into public material.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.