agentsclimarketplace

Gavel ci check

Skill dsolisp/gavel/skills/gavel-ci-check

Diff-based CI safety verdict. Scans branch changes for new env vars, secrets, npm deps, workflow steps, and process.env references that aren't provisioned by CI. One-shot report: safe or unsafe to merge. Use when the user says "gavel-ci-check", "/gavel-ci-check", "will this break CI", "check CI safety", or "env var audit before merge".From its SKILL.md

Install
npx -y skills add dsolisp/gavel --skill gavel-ci-check

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.7 KB, as published. Nobody here has run it

Gavel CI Check

Deliver a verdict on whether the current branch is safe to merge without breaking CI. Scans the diff against main for environment, secrets, and dependency changes.

Scan Steps

1. Identify CI Workflow

Find the CI definition:

  • GitHub Actions: .github/workflows/*.yml
  • GitLab CI: .gitlab-ci.yml
  • Jenkins: Jenkinsfile
  • Azure DevOps: azure-pipelines.yml

2. Diff-Based Environment Audit

Run git diff origin/main..HEAD and check:

SignalRiskVerdict
New process.env.X in added linesMissing CI env varunsafe
New os.environ["X"] in added linesMissing CI env varunsafe
New import of a package not in lock fileMissing CI dependencyunsafe
New npm/pip package in package.json/requirements.txt not in lockBuild breakunsafe
Changes to .github/workflows/*.ymlCI pipeline changereview
Changes to Dockerfile or docker-composeInfrastructure changereview
New hardcoded URL, IP, or portEnv mismatchreview
New secret/token referenceMissing CI secretunsafe

3. Cross-Reference CI Provisions

For each process.env.X or os.environ["X"] found in the diff:

  1. Check if the CI workflow sets it (inline, env-file, or secrets)
  2. Check if .env.example documents it
  3. Check if it has a sensible fallback/default

4. Credential Scan

Check diff for accidentally committed credentials:

  • password, secret, token, api_key, private_key in non-env files
  • .pem, .key files
  • Base64-encoded blocks > 100 chars

Output

gavel-ci-check verdict:

  Branch: <branch-name>
  Diff:   <N> files, +<ins>/-<del> lines

  Environment:
    New process.env references: <count>
    CI-provisioned: <count>/<total>
    Missing in CI: <list>

  Dependencies:
    New packages: <count>
    Lock file in sync: yes/no

  Workflow changes: <count> files
  Credential leaks: <count>

  VERDICT: <SAFE | UNSAFE | REVIEW>

  <If UNSAFE: list what to add to CI>
  <If REVIEW: list what to double-check>

Safe verdict: Verdict: Safe. Ship it. Unsafe verdict: Verdict: Unsafe. Fix: <list>.

Boundaries

Read-only. Scans diff and CI config. Does not modify any files. Does not run CI. Does not check test correctness. "gavel-ci-check" or "/gavel-ci-check" to invoke. "stop gavel-ci-check" or "normal mode" to revert.

Keep looking

Skills are one crate of 609,689. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.