agentleFS
jaydubya818jaydubya818/MissionControl/skills/ci-cd-and-automation/SKILL.md

ci-cd-and-automation

Skill1 starsChanged 9 months agoMITView on GitHub

Create or change CI/CD pipelines, quality gates, and delivery controls.

86 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use accessibility-engineering, constraint-driven-development and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • steven123397Skill

    accessibility-engineering

    Audits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping.

    Also in 4 projects that use this

  • MrCipherSmithSkill

    constraint-driven-development

    Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.

    Also in 19 projects that use this

  • HK-hubSkill

    source-driven-development

    Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

    Also in 44 projects that use this

  • seikaikyoSkill

    doubt-driven-development

    對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。

    Also in 37 projects that use this

  • HK-hubSkill

    code-simplification

    Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

    Also in 43 projects that use this

  • seikaikyoSkill

    interview-me

    需求不明時的意圖萃取訪談:一次一題、每題附上自己的猜測、聽出「真正想要 vs 覺得應該要」,直到能預測使用者反應(約 95% 信心)才動工。適用:需求缺少對象 / 動機 / 成功標準 / 約束,或使用者點名「訪談我」「先確認一下」「我們確定嗎」。明確自足的指示、純資訊查詢、機械性操作不適用。

    Also in 34 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 83 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this workflow to create or change build and delivery pipelines.

    line 17
  2. Distinctive:

    Run the repository's actual commands locally where possible.

    line 24
  3. Distinctive:

    Put inexpensive checks early.

    line 27
  4. Distinctive:

    Use the authoritative lockfile and supported frozen-install mechanism.

    line 30
  5. Distinctive:

    Check trigger and path-filter behavior: a required status must not remain pending forever when its workflow is skipped.

    line 38
  6. Distinctive:

    Use the host's current security documentation when choosing events and tokens.

    line 44
  7. Distinctive:

    Treat PR titles, branch names, workflow inputs, caches, and artifacts as untrusted.

    line 50
  8. Distinctive:

    Use disposable runners for untrusted contributions.

    line 56

“Common” is measured: kept by at least 6 in 10 of the 83 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

CI/CD and automation

Use this workflow to create or change build and delivery pipelines. Read the repository's runtime versions, lockfiles, existing checks, runner model, and release policy before writing configuration. Repairing one failed check does not require redesigning the pipeline.

Build the smallest useful pipeline

  1. Run the repository's actual commands locally where possible. Map each job to a failure it catches and a meaningful output. Do not add a Node toolchain, browser suite, or coverage target to a project that does not need it.
  2. Put inexpensive checks early. Parallelize independent work when useful; preserve dependencies between build artifacts and their tests. Test the merge candidate or merge-queue revision used by the repository.
  3. Use the authoritative lockfile and supported frozen-install mechanism. Key caches by relevant platform, runtime, and dependency inputs. Cache hits do not replace integrity checks or authorization. Cache the package manager's supported download store rather than treating restored installed dependencies as a frozen-install substitute.
  4. Give jobs bounded timeouts. Preserve useful failure output and test reports without uploading credentials or private fixtures. Triage flaky tests rather than silently skipping them or retrying until a green result appears.
  5. Check trigger and path-filter behavior: a required status must not remain pending forever when its workflow is skipped. Document which check names branch protection expects; changing repository settings is a separate action.

Keep untrusted code away from delivery credentials

Use the host's current security documentation when choosing events and tokens. For GitHub Actions, start with read-only permissions and grant writes only to the job that needs them. Pull-request tests should run without production credentials. Do not execute untrusted PR code, scripts, or artifacts in a privileged pull_request_target or workflow_run job.

Treat PR titles, branch names, workflow inputs, caches, and artifacts as untrusted. Pass text through environment variables or structured arguments instead of interpolating it into shell source. Validate release identifiers against permitted artifacts. Follow the repository's action-pinning policy; verify any new immutable action revision against the official upstream.

Use disposable runners for untrusted contributions. Separate test credentials from deployment credentials and limit environment access. Prefer short-lived deployment identity where the chosen provider supports it. Do not introduce new secrets or production access merely to make a check pass.

Delivery and recovery

Build and test an identifiable artifact, then promote that same artifact. Define target environment, rollout health signals, observation window, and recovery steps before enabling delivery. Scope concurrency per environment; canceling an old validation job is different from interrupting a live deploy. A feature flag cannot reverse data mutations.

Preserve existing authorization and environment approval gates. A request to write CI configuration does not grant permission to publish, merge, deploy, change branch protection, or enable automatic merging. Use authorization already present in the task without asking for it again.

Verify

Validate configuration and execute relevant jobs on the exact candidate. Check failure propagation, fork behavior, permissions, artifact identity, and skipped job semantics. Prove each new quality gate with a known violation and a clean control. A scanner's successful exit or generated report does not necessarily enforce the agreed severity threshold; scanner errors must fail the gate too. Rehearse delivery and recovery only in an authorized environment. Report which paths ran, which were inspected, and which remain untested.

Reference: GitHub Actions secure use.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.