跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

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

包含的文件(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(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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/plugins75042026年10月8日 更新

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/plugins75042026年10月8日 更新

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/plugins75042026年10月8日 更新

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/plugins75042026年10月8日 更新

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/plugins75042026年10月8日 更新

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/plugins75042026年10月8日 更新

查看 openai 的全部技能

报告此技能的问题