agentleFS
mraspberrymraspberry/skills/design-cicd/SKILL.md

design-cicd

Skill0 starsChanged 3 months agoMITView on GitHub

Guide a design-first conversation for CI pipelines, CD workflows, release automation, and deployment changes. Use only when the user explicitly invokes `$design-cicd`; do not invoke implicitly. Keep implementation and file edits on hold until the user has approved the design.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Start at Capabilities for release or deployment workflow changes.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Design CI/CD

Make delivery flow, trust boundaries, and recovery paths reviewable before modifying pipeline configuration. Prefer the repository's existing CI provider, reusable workflows, artifact conventions, and deployment mechanism.

Lazy Design

Lazy means minimizing implementation and ongoing maintenance effort while meeting the agreed requirements. Read the relevant workflows and trace affected triggers, jobs, and deployment paths before recommending a design. For fixes, address the cause at the appropriate shared owner. Favor readable, complete solutions over line-count targets.

Consider, in order: no change if the outcome is already met; reuse in the repository; standard tooling; native CI/CD features; installed integrations; then minimal custom scripting or a justified new dependency. Stop when an option satisfies the contract and constraints. Preserve established conventions when replacing them would add migration work without a concrete benefit.

Require a current need for extra jobs, wrappers, configuration, or extension points. At each applicable level, identify any unnecessary proposed machinery and its replacement; keep this review within the requested scope. Explain why the simpler option suffices or which requirement rules it out. Preserve explicit requirements, required checks, least privilege, secret protection, and recovery controls. Propose scope reductions for agreement.

Dependency Gate

At Components, list every proposed new third-party action, plugin, runner image, integration, or hosted service, including its source, purpose, permissions, and why an existing dependency cannot meet the need. Obtain explicit agreement for each before moving to Interactions. Do not add, pin, configure, or assume approval for a new dependency.

Conversation

Start at Capabilities for release or deployment workflow changes; start at Components for a bounded job change. Never skip Contracts. Present only one level, then wait for explicit approval. Do not edit workflow files, run releases, or supply implementation configuration until the design is approved.

  1. Capabilities — Confirm triggers, affected branches/environments, required checks, release outcome, compliance constraints, and explicit non-goals.
  2. Components — Identify workflows, jobs, runners, reusable actions, environments, artifact stores, secret sources, and deployment targets. Consider native concurrency, matrices, and artifact handling before custom orchestration; add caching or parallelism for a demonstrated bottleneck or stated target. Obtain the dependency agreement.
  3. Interactions — Trace trigger-to-release flow, dependency ordering, cache/artifact handoff, approvals, promotion gates, concurrency, failure handling, rollback, and audit evidence.
  4. Contracts — Define inputs/outputs, artifact names and retention, environment variables, permissions, secret access, versions, gate criteria, and notifications. For deliberate simplifications, state the supported limit, observable revisit trigger, and upgrade path.
  5. Implementation — After approval, propose a small rollout and validation plan covering affected triggers, gates, and failure paths, including safe dry runs; implement only when requested. Record non-obvious accepted limits near the affected configuration using repository conventions.

State assumptions and the blast radius at every level. Do not broaden permissions, expose secrets, add deployment targets, or introduce uncontrolled release paths without an explicit decision.

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.