agentleFS
MasriyanMasriyan/gemini-security-skills/devsecops/SKILL.md

devsecops

Skill4 starsChanged 5 months agoMITView on GitHub

DevSecOps skill for securing CI/CD pipelines, infrastructure as code, containers, Kubernetes, cloud deployments, secrets handling, dependency management, SAST/DAST/SCA, release gates, supply-chain controls, SBOMs, policy-as-code, and secure SDLC workflows. Use for pipeline hardening, deployment risk reviews, security automation, and remediation planning.

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer incremental controls that developers can keep using over heavyweight gates that will be bypassed.

    line 11
  2. Distinctive:

    Treat credentials, artifacts, build provenance, and deployment permissions as first-class risks.

    line 12
  3. Distinctive:

    Add or improve controls: least privilege, pinned dependencies, scanning, signing, SBOM, policy checks, and audit logging.

    line 19
  4. Distinctive:

    Verify with local checks, CI dry runs, or policy evaluation where available.

    line 21
  5. Distinctive:

    Use short-lived credentials or OIDC federation instead of long-lived secrets.

    line 26
  6. Very specific:

    Run SAST/SCA/container/IaC checks with documented exception handling.

    line 27

“Common” is measured: kept by at least 6 in 10 of the 5 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.

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

DevSecOps

Operating Rules

  • Inspect the repo, pipeline files, deployment manifests, and current security tooling before recommending changes.
  • Prefer incremental controls that developers can keep using over heavyweight gates that will be bypassed.
  • Treat credentials, artifacts, build provenance, and deployment permissions as first-class risks.
  • Separate blocking release criteria from advisory findings.

Workflow

  1. Map the path from commit to production: source, build, test, artifact, deploy, runtime.
  2. Identify trust boundaries, identities, secrets, third-party actions/images, and artifact storage.
  3. Add or improve controls: least privilege, pinned dependencies, scanning, signing, SBOM, policy checks, and audit logging.
  4. Tune severity and false-positive handling so the pipeline remains usable.
  5. Verify with local checks, CI dry runs, or policy evaluation where available.

Baseline Controls

  • Pin third-party CI actions and container base images.
  • Use short-lived credentials or OIDC federation instead of long-lived secrets.
  • Run SAST/SCA/container/IaC checks with documented exception handling.
  • Generate SBOMs and preserve build provenance for release artifacts.
  • Enforce least-privilege deploy roles per environment.

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.