circleci-config
$
npx mdskill add openai/plugins/circleci-configOptimize CircleCI configs for speed, reliability, and maintainability.
- Reduces CI runtime and fixes flaky pipelines via configuration tuning.
- Integrates with CircleCI's cache, workspace, and parallelism features.
- Analyzes config files to identify bottlenecks and suggest targeted changes.
- Delivers actionable recommendations for improving pipeline performance.
SKILL.md
.github/skills/circleci-configView on GitHub ↗
--- name: circleci-config description: Optimize CircleCI configuration for speed, reliability, and maintainability. Use when users ask to improve `.circleci/config.yml`, reduce CI runtime, tune caching/workspaces/parallelism, remove pipeline waste, or fix flaky pipeline behavior caused by configuration choices. --- # CircleCI Config ## Overview Use this skill to improve CircleCI performance and stability without changing product behavior. Focus on measured bottlenecks first, then implement the smallest safe config changes with clear validation criteria. Read `references/cache-optimization.md` when the request involves `save_cache`, `restore_cache`, `persist_to_workspace`, `attach_workspace`, cache key design, dependency caching, lockfiles, or complaints about low cache hit rates, oversized caches, or wasted persistence steps. Read `references/persisting-data.md` when the request involves choosing between caches, workspaces, and artifacts, or when data is being moved between jobs inefficiently. Read `references/test-results-and-splitting.md` when the request involves slow test jobs, parallelism, flaky test visibility, missing JUnit XML, or `circleci tests run`. Read `references/patterns.md` when the request involves approvals, branch/tag filters, schedules, deploy flow structure, or environment promotion patterns. ## Inputs To Gather - `.yaml` and `.yml` files in `.circleci/` and any reusable config fragments - Current pain points: duration, flakiness, cost, or maintainability - Baseline metrics: slowest jobs, most frequent retries/failures, queue and run times - Risk tolerance for structural changes ## Workflow 1. Build a baseline. - Identify top 1-3 longest jobs and top flaky jobs. - Capture before metrics (duration, pass rate, retries). 2. Remove pipeline waste. - Eliminate duplicate jobs/workflows. - Tighten branch/tag filters and workflow triggers. 3. Improve dependency and artifact flow. - Fix cache keys to include deterministic lockfile checks. - Use workspaces/artifacts to avoid rebuilding identical outputs. - Prefer cache scopes that are narrow, reproducible, and cheap to restore. 4. Apply safe parallelism. - Parallelize only proven bottlenecks. - Keep fan-out/fan-in readable and deterministic. 5. Validate impact. - Define expected metric changes and acceptance criteria before finalizing. ## Guardrails - Prefer configuration fixes before proposing application code changes. - Do not add blanket retries to hide deterministic failures. - Preserve deployment safety gates while optimizing build/test stages. - Keep changes incremental and easy to revert. - Prefer language-specific cache directories over broad project snapshots. - Avoid cache keys that rotate every run unless the user explicitly wants effectively write-only caches. ## Output Contract Provide: 1. Baseline bottleneck summary. 2. Proposed or applied config changes with rationale. 3. Expected runtime/reliability impact. 4. Validation plan and rollback note.
More from openai/plugins
- accessibility-and-inclusive-visualizationMake data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.
- agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.
- agent-browser-verifyAutomated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass/fail before continuing.
- agents-sdkBuild AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
- ai-elementsAI Elements component library guidance — pre-built React components for AI interfaces built on shadcn/ui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.
- ai-gatewayVercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.
- ai-generation-persistenceAI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation
- ai-sdkVercel AI SDK expert guidance. Use when building AI-powered features — chat interfaces, text generation, structured output, tool calling, agents, MCP integration, streaming, embeddings, reranking, image generation, or working with any LLM provider.
- aiq-deploy|
- aiq-research|