Defines engineering loops and security protocols for CI/CD and secret leakage prevention.

Install

mkdir -p .claude/skills/ci-cd-jgreen021 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19198" && unzip -o skill.zip -d .claude/skills/ci-cd-jgreen021 && rm skill.zip

Installs to .claude/skills/ci-cd-jgreen021

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

This standard defines the "Inner vs. Outer Loop" lifecycle and the defensive protocols for preventing resource sprawl and security leaks.
137 chars · catalog descriptionno explicit “when” trigger
Intermediate

Key capabilities

  • Distinguish between Inner Loop (local) and Outer Loop (Jenkins) execution tiers
  • Enforce pre-push gauntlet for Git operations
  • Audit for secret leaks before `git push`
  • Ensure plain-text secrets are never committed
  • Troubleshoot common CI/CD issues
  • Redact leaked secrets if detected

How it works

This skill defines a two-tier execution model (Inner/Outer Loop) and mandates a pre-push gauntlet including unit tests, static analysis, and a critical secret leak audit. It halts operations and redacts files if secrets are detected.

Inputs & outputs

You give it
Local code changes ready for commit and push
You get back
Verified code changes pushed to Git, free of secrets and passing checks

When to use ci-cd

  • Setting up CI/CD pipelines
  • Auditing for leaked secrets
  • Defining local development loops

About this skill

Skill: CI/CD Strategy & Secret Protection

This standard defines the "Inner vs. Outer Loop" lifecycle and the defensive protocols for preventing resource sprawl and security leaks.

1. The Engineering Loops

To maintain high velocity and protect host resources, we distinguish between two execution tiers.

Tier 1: The Inner Loop (Local JVM/NPM)

  • Goal: Sub-second feedback.
  • Requirement: Never use Docker for logic verification. Run via ./gradlew test (Backend) or npm test (UI).
  • Infrastructure: Keep support services (Oracle, Kafka, Vault) UP in a long-running, stable container set. Never restart these for logic changes.

Tier 2: The Outer Loop (Jenkins)


2. The "Agent's Pre-Push Gauntlet"

Before initiating a git push, the agent MUST execute and pass this checklist. Failure to do so constitutes an engineering violation.

StepActionCommand
LogicUnit & Integration Tests./gradlew test
StyleStatic Analysis./gradlew checkstyleMain
SafetySecret Leak Audit`git diff --cached
IntegrityBuild Verification./gradlew bootJar

3. Zero Secret Leak Mandate

  • Rule: Plain-text secrets MUST NEVER be committed to source code or property files (.properties, .yml, .json, .ts).
  • Storage: All credentials must reside in Sovereign Vault.
  • Audit: If an agent detects a leaked secret in a local file, it MUST halt, notify the user, and redact the file before proceeding.

4. Troubleshooting Guardrails

  • Connection Refused: Do not rebuild images. Verify .env port mappings and container status with docker ps.
  • Out of Memory: Check for "Zombie Daemons." Run ./gradlew --stop and docker system prune -f (if images > 10).
  • Broken Pipe: Verify /var/run/docker.sock visibility in the development environment.

When not to use it

  • When Docker is used for logic verification in the Inner Loop
  • When plain-text secrets are intentionally committed to source code
  • When troubleshooting by rebuilding images for connection refused errors

Limitations

  • Plain-text secrets MUST NEVER be committed to source code or property files
  • Requires all credentials to reside in Sovereign Vault
  • Agent MUST halt and notify user if a leaked secret is detected

How it compares

This skill enforces a strict pre-push checklist with secret auditing and a clear distinction between local and CI/CD environments, preventing common security and resource sprawl issues before code is committed.

Compared to similar skills

ci-cd side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ci-cd (this skill)03moReviewIntermediate
secrets-management53moReviewAdvanced
supply_chain_security04moReviewIntermediate
odoo-image-supply-chain03moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry