Diagnoses and optimizes slow, flaky, or expensive CI/CD pipelines by analyzing critical path, cache efficiency, and runner contention while preserving required security gates.
Ships in use-sentry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Diagnose slow CI/CD from evidence, optimize the critical path, close the feedback loop on the exact commit, and prove the pipeline remains effective. Never make a pipeline faster by deleting the checks that make it useful.
Use for: slow median or p95 feedback; long runner queues; repeated setup or dependency restore; cache misses and expensive cache transfers; excessive test time or flakiness; duplicate/stale/irrelevant runs; runner sizing and pool contention; CI cost; watching a pushed commit to a terminal verdict; deployment pipeline convergence and artifact identity.
Not for:
Reading configuration and history, computing baselines, drafting recommendations, editing local files on request, and running validators are normal work — proceed. The following change shared or external state and require explicit authorization every time, no matter how confident the analysis is:
Follow the full engagement sequence in
references/optimization-workflow.md — read it before touching any
workflow YAML. The compressed shape:
references/measurement.md.references/feedback-loops.md and scripts/ci-watch.py.
Compare matched before/after runs; report the evidence rung reached.references/github-actions.md, references/change-based-ci.md.references/capacity-and-contention.md, then
references/runners-and-autoscaling.md.references/typescript-toolchain.md, references/caching.md.references/network-and-artifacts.md.references/change-based-ci.md, references/monorepos.md.references/testing-and-flakiness.md,
references/integration-environments.md.references/containers.md.references/security-gates.md.references/deployment.md.references/swift-xcode.md.references/github-actions.md,
references/gitlab-ci.md, references/circleci.md,
references/buildkite.md.references/bazel-and-remote-execution.md.references/feedback-loops.md; run scripts/ci-watch.py (do not read
its source — --help documents the contract).references/effectiveness-contract.md first.references/evidence-and-sources.md.| Pitfall | Better move |
|---|---|
| Optimizing before measuring | Baseline queue/setup/execution/critical path first. |
Duplicate push and PR runs | PR events for PRs; push only for main/release. |
| Draft PRs start expensive jobs | Cheap planner always; expensive jobs gated on ready-for-review. |
Caching node_modules by default | Cache the package-manager store; measure restore vs install vs registry proxy. |
| Cache key from manifest only | Key on the lockfile too; manifest-only keys serve stale trees. |
| Workflow path filter blocks required checks | Cheap change-detection job conditions expensive jobs; checks always report. |
| Affected detection on shallow clone | Fetch needed history or use event SHAs; on any diff error, run everything. |
| Planner exempts itself | Planner/config/workflow changes route to full validation. |
Artificial needs chains | Start independent lint/typecheck/build together. |
| More shards past the concurrency ceiling | Shards above the ceiling serialize and add setup; merge toward the ceiling. |
| More/bigger runners without queue evidence | Measure per-pool queue p95 and utilization first; bigger classes can queue longer. |
| Watching branch-latest instead of the SHA | Pin the full SHA; supersession is a distinct outcome from failure. |
| Retrying flakes forever | Bound retries, quarantine, assign ownership, track first-time pass rate. |
| Rebuilding deploy artifacts per environment | Build once; promote the same immutable digest. |
| Remote cache writable by untrusted PRs | Read-only PR cache or isolated namespace. |
| Large cache entries with zero hits | Check hit counts; cold entries burn quota and slow every save. |
| A/B timings under different pool load | Interleave experiment runs; record pool state with each sample. |
| File | Read when |
|---|---|
references/optimization-workflow.md | Starting any engagement: the ordered inspect→measure→experiment→verify→report sequence and its stop rules. |
references/measurement.md | Building the baseline, percentiles, critical path, queue vs execution split, or proving a result. |
references/effectiveness-contract.md | Deciding whether a proposed speedup weakens validation, security, or artifact identity. |
references/feedback-loops.md | Waiting on a CI run without blocking or false greens: exact-SHA watching, scripts/ci-watch.py, verdicts, reacting to red. |
references/capacity-and-contention.md | Queue delays, concurrency ceilings, pool saturation, merge-vs-split decisions, contention-safe A/B tests. |
references/caching.md | Dependency/build cache design, restore keys, hit-rate economics, poisoning, or transfer cost. |
references/change-based-ci.md | Path filters, affected commands, merge-base correctness, planner safety, full-run fallback. |
references/github-actions.md | GitHub Actions workflows, caches, concurrency, reusable workflows, merge queues, required checks. |
references/gitlab-ci.md | GitLab needs, child pipelines, cache/artifacts, interruptible jobs, resource groups, runners. |
references/circleci.md | CircleCI caching, workspaces, test splitting, dynamic config, Docker layer caching, resource classes. |
references/buildkite.md | Buildkite dynamic pipelines, queues, autoscaling, concurrency groups, artifacts, hosted agents. |
references/monorepos.md | Nx, Turborepo, affected graphs, remote caches, distributed execution, task inputs. |
references/bazel-and-remote-execution.md | Bazel, hermetic builds, remote cache/execution, graph-native build adoption. |
references/typescript-toolchain.md | npm/pnpm/Yarn/Bun installs, Corepack, TS project references, tsbuildinfo, bundlers. |
references/testing-and-flakiness.md | Sharding, historical timing, retries, flake ownership, coverage merging, rerun interpretation. |
references/integration-environments.md | Testcontainers, service containers, database templates, fixtures, contract tests. |
references/containers.md | BuildKit, multi-stage Dockerfiles, cache mounts/backends, multi-platform, provenance. |
references/security-gates.md | Fast but effective SAST, dependency, secret, container, SBOM, provenance gates. |
references/runners-and-autoscaling.md | Hosted vs self-hosted, ephemeral runners, spot capacity, ARM/x64/macOS, Kubernetes fleets. |
references/network-and-artifacts.md | Checkout depth, sparse/partial clone, LFS, package proxies, artifact compression, registry locality. |
references/deployment.md | Immutable artifacts, build-once-deploy-many, rollout verification, migrations, rollback. |
references/swift-xcode.md | Swift/Xcode builds, SwiftPM, test plans, simulator sharding, macOS runners, DerivedData. |
references/evidence-and-sources.md | Verifying claims, dated source ledger, refreshing stale vendor behavior. |
Read only when the repository runs on Avrea (runs-on: labels start with
avrea-) or Avrea is being evaluated as a runner change. The core loop is
provider-neutral. Probe first: command -v avr && avr --version && avr auth status.
| File | Read when |
|---|---|
references/avrea/cli-evidence.md | Building an Avrea-backed baseline with avr: median/p95, start offsets, queue time, VM metrics, flake and cache-hit counts. |
references/avrea/cli-core-reference.md | Exact avr syntax, flags, JSON fields, output behavior, exit codes, and mutation class for released 0.1.6 read/evidence commands. |
references/avrea/cli-admin-reference.md | Any Avrea command that changes local config, shared CI state, org settings, firewall, billing, cache entries, or opens live SSH. |
references/avrea/cli-auth-and-portability.md | AVR_CONFIG_DIR, .envrc, host/org/repo resolution, noninteractive CI usage, pager/JSON behavior, and multi-account portability. |
references/avrea/platform-and-runners.md | Runner labels/sizing, migration, A/B shadowing, observability, SSH debugging, trust boundary. |
references/avrea/caching.md | Avrea cache layers, Docker/Turborepo wiring, registry proxy caveats, quota/eviction, cold entries. |
references/evidence-and-sources.md.
Version-sensitive pins in examples carry a verify-current note.command -v, --version,
auth status); fall back to provider-native evidence when absent.--yes
flags are mechanics, not permission.head_sha and artifact
digest. Stale-SHA greens, wrong-branch greens, and retried-into-green
flakes are not proof.Complete work reports, in order: baseline (window, sample size, median/p95,
queue vs execution split); the chosen bottleneck with critical-path
evidence; the exact change (files/config); before/after comparison on
matched runs with exact run IDs and head_sha; effectiveness checks
(gates, cache trust, artifact identity); cost effect; remaining risks and
rollback; the evidence rung actually reached (config review → syntax check
→ one run → repeated runs → production); disproved or neutral hypotheses;
and any provider branch not exercised. Missing evidence is stated, never
implied away.
agents/openai.yaml (opens in a new tab)references/avrea/caching.md (opens in a new tab)references/avrea/cli-admin-reference.md (opens in a new tab)references/avrea/cli-auth-and-portability.md (opens in a new tab)references/avrea/cli-core-reference.md (opens in a new tab)references/avrea/cli-evidence.md (opens in a new tab)references/avrea/platform-and-runners.md (opens in a new tab)references/bazel-and-remote-execution.md (opens in a new tab)references/buildkite.md (opens in a new tab)references/caching.md (opens in a new tab)references/capacity-and-contention.md (opens in a new tab)references/change-based-ci.md (opens in a new tab)references/circleci.md (opens in a new tab)references/containers.md (opens in a new tab)references/deployment.md (opens in a new tab)references/effectiveness-contract.md (opens in a new tab)references/evidence-and-sources.md (opens in a new tab)references/feedback-loops.md (opens in a new tab)references/github-actions.md (opens in a new tab)references/gitlab-ci.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/yigitkonur-use-sentry:ci-cd-optimizefrom use-sentry
Generated from the plugin's indexed repository (yigitkonur/skills-by-yigitkonur) — no native marketplace selected
npx claudepluginhub p/yigitkonur-use-sentry31 skills in this plugin
/audit-agentic-cliUse if auditing or designing a CLI for agent/LLM use — JSON output, exit codes, non-interactive./audit-agentic-mcpUse if auditing or designing an MCP server for agent-readiness — framework, security, context./audit-completionUse if verifying claimed-done work or auditing session/plan/branch completion with evidence./audit-skill-by-derailmentUse if testing a skill with an agent execution trace; never for ordinary code, PR, or workflow review./audit-ui-uxUse if auditing web or mobile UI/UX via vision-first screenshot evaluation across design precision, usability heuristics, and cognitive laws./build-chrome-extensionUse if building or debugging a Chrome MV3 extension — manifest v3, service_worker, content_scripts.Other plugins' skills for the same job