Skip to content
cccskills
FreePublished on GitHub

circleci-config

Improve CircleCI build and test pipelines by identifying slow or unreliable jobs, then adjusting caching, data sharing between jobs, triggers, and parallel execution. Receive incremental configuration changes with expected effects, validation criteria, and rollback guidance.

OriginalShow the original 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.

See how to install

Good for

  • Reduce long CI build and test times
  • Improve dependency cache reuse
  • Remove duplicate jobs and unnecessary runs
  • Investigate configuration-related intermittent failures

Files included (6)

  • SKILL.md2.9 KB
  • agents/openai.yaml119 B
  • references/cache-optimization.md5.7 KB
  • references/patterns.md3.3 KB
  • references/persisting-data.md3.1 KB
  • references/test-results-and-splitting.md2.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review charts, diagrams, and dashboards for accessibility, including color contrast, keyboard access, and text alternatives. Get specific guidance for preserving key findings in screen readers, static exports, and reduced-motion views.

  • Reviewing dashboard colors and keyboard access
  • Writing chart alt text and long descriptions
  • Preparing accessible figures for PDF reports
openai/plugins7.5KUpdated Oct 8, 2026

Give a photo collection a consistent look using Adobe tools to adjust color, tone, presets, and optional crops. Review a before-and-after sample before processing the full set, then receive links to the edited images.

  • Giving travel photos a consistent look
  • Unifying photos taken in mixed lighting
  • Applying a warm or cinematic style across a photo set
openai/plugins7.5KUpdated Oct 8, 2026

Visualize a logo, sketch, or design on products such as mugs, shirts, and business cards. Review a pilot image, generate a visually consistent set, and collect the results on a shareable Firefly Board.

  • Preview a logo on mugs and shirts
  • Turn a hand-drawn sketch into product mockups
  • Create consistent brand presentation images
openai/plugins7.5KUpdated Oct 8, 2026

Prepare images and videos for social platforms using Adobe tools. Create image crops that keep the subject in view, expand backgrounds when available, preview a full-set sample, and resize videos while preserving their aspect ratio.

  • Creating image variants for multiple social platforms
  • Cropping photos for Instagram Stories
  • Preparing LinkedIn images and YouTube thumbnails
openai/plugins7.5KUpdated Oct 8, 2026

Create flyers, social posts, business cards, and other visuals from Adobe Express templates. Choose a template, customize its text and background color, and receive a design link, with additional editing and export options depending on the available tools.

  • Creating an event flyer
  • Designing an Instagram post
  • Customizing business card text and colors
openai/plugins7.5KUpdated Oct 8, 2026

Turn an uploaded video into three highlight edits with Adobe Quick Cut. Choose a target length and style, then compare versions that feature different moments and download the ones you prefer.

  • Creating a short highlight video for social media
  • Condensing interview footage into a highlight reel
  • Comparing three edits with different moment selections
openai/plugins7.5KUpdated Oct 8, 2026

See all skills by openai

Report a problem with this skill