Skip to content

Add Jenkins declarative pipeline skill and prompt - #61

Merged
rmkr-dev merged 2 commits into
mainfrom
skillbook/jenkins-declarative-pipeline
Oct 17, 2026
Merged

rmkr-dev merged 2 commits into
mainfrom
skillbook/jenkins-declarative-pipeline

Conversation

@rmkr-dev

Copy link
Copy Markdown
Owner

Summary

Adds a paired Skillbook skill and Promptbook prompt for Jenkins Declarative pipelines — the first entry aimed at Jenkinsfiles specifically (the existing CI entries cover GitHub Actions).

  • Skill: jenkins-declarative-pipeline-guardrails — Declarative first with tiny script {} blocks, build logic in scripts and build tools because pipeline Groovy runs on the controller, no builds on the built-in node, pinned agents/images/toolchains, timeout + buildDiscarder + timestamps + concurrency policy on every run (noting that stage-level timeouts include agent provisioning), credentials via withCredentials/credentials() referenced only in single-quoted sh strings, no sandbox bypasses or overridden built-in steps, pinned @Library versions, approval gates that don't hold agents plus lock/milestone on deploys, post blocks that publish results and run cleanWs(), fork-PR trust, and a Declarative lint check. Includes Copilot / Claude Code / Codex placement notes.
  • Prompt: harden-jenkinsfile — one-shot review with {{JENKINSFILE_PATH}} / {{JOB_TYPE}} / {{BUILD_STACK}} / {{AGENTS}} / {{LIBRARIES}} / {{CREDENTIAL_IDS}} / {{DEPLOY_TARGETS}} / {{PAIN}} placeholders: inventory, risk-ranked findings (secret exposure first), fixes, lint and masked-log verification, and a findings table + diff + admin follow-ups as output.

Catalogs: 31 → 32 skills, 31 → 32 prompts.

Test plan

  • node scripts/site-check.mjs locally (OK, 0 warnings)
  • PR site-checks workflow green

@rmkr-dev
rmkr-dev merged commit 01dd2b3 into main Oct 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant