ci-cd-workflows
Skill1 starsChanged 30 days agoMITView on GitHub
Design, modify, debug, and verify continuous integration and deployment workflows. Use for build/test pipelines, release automation, deployment gates, and CI reliability or performance. Preserve trust boundaries and existing required checks; pipeline changes do not authorize deployments or repository policy changes.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-feedbackSkill
- agent-planningSkill
- anti-ai-writingSkill
- api-designSkill
- code-reviewSkill
- decision-partnerSkill
- explain-itSkill
- frontend-engineeringSkill
- git-deliverySkill
- implement-planSkill
- jira-ticketsSkill
- readme-designSkill
- release-readinessSkill
- review-lenseSkill
- root-cause-debugSkill
- safe-migrationsSkill
- skill-authoringSkill
- technical-documentationSkill
- test-authoringSkill
- using-skillsSkill
- writing-clean-simple-codeSkill
- writing-optimized-sqlSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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
- Distinctive: line 12
Never dismiss reviews or approvals, or enable automatic stale-review dismissal in repository settings or workflows.
- Distinctive: line 15
Read anti-ai-writing before drafting comments or reports.
- Distinctive: line 18
Use the project's provider and tools.
- Distinctive: line 26
Before renaming, filtering, or splitting jobs, map the affected pipeline:
- Distinctive: line 40
Use repository commands and explicit working directories.
- Distinctive: line 65
Use isolated test data, bounded service readiness checks, timeouts, and deterministic cleanup.
- Distinctive: line 76
Do not treat caches as release artifacts or share writable caches across trust boundaries.
- Distinctive: line 79
Check path filters against shared libraries, workflow files, lockfiles, generated inputs, and dependencies.
- Distinctive: line 108
Use code-review for consequential trust or release changes when independent review is available and authorized.
≈ “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.
Files
CI/CD Workflows
Never dismiss reviews or approvals, or enable automatic stale-review dismissal in repository settings or workflows. Preserve history and use authorized re-review requests.
Read anti-ai-writing before drafting comments or reports. Inspect existing workflows, repository instructions, package scripts, lockfiles, runtime versions, runner configuration, and actual failed runs before proposing changes. Use the project's provider and tools; verify unfamiliar syntax and APIs against current official documentation and supported versions. Do not copy example versions or adopt a new provider without a requirement. For GitHub Actions, pin actions to commit SHAs on current supported majors and keep those pins updated; see GitHub Actions guidance.
1. Establish pipeline contracts
Before renaming, filtering, or splitting jobs, map the affected pipeline:
- Execution: triggers, checked-out revisions, job dependencies, and artifacts.
- Trust: permissions, secrets, environments, and release destinations.
- Merge gates: required check names and branch or merge-queue expectations.
Establish authorization separately for workflow edits, remote execution, environment changes, branch protection changes, auto-merge, and production deployment.
For GitHub Actions, read GitHub Actions guidance. For other providers, apply equivalent trust boundaries using their documented behavior.
2. Build reliable verification
Use repository commands and explicit working directories. Select lint, type checks, tests, builds, integration checks, and security analysis according to project contracts and risk, rather than imposing the same stack on every repository. Parallelize independent checks; order jobs when they consume outputs or depend on earlier validation.
Install dependencies from lockfiles with reproducible tooling. Keep development and CI commands aligned. Test required runtime/platform combinations with a purposeful matrix. Confirm tests are selected and failures propagate through scripts, pipes, matrix jobs, and aggregate gates. Do not hide failures with ignored exit codes or continue-on-error on required paths.
Make progress observable during execution: name steps for their purpose, stream meaningful test/build output, and identify the revision and runtime/platform. Group long output by task and report useful failure details and a concise run summary. Do not buffer all output until completion or enable shell tracing that could expose secrets. Preserve exit status when logging through pipes. Use bounded progress messages for otherwise silent long-running operations, not fabricated percentages or noisy command narration.
Validate scripts with tools for their declared interpreter and exercise important behavior in isolated destinations. Use native OS runners where filesystem, permissions, shell, or path behavior differs. Keep shared logic separate from platform-specific entrypoints; Bash checks do not validate PowerShell or establish Windows compatibility. Add platform coverage when that implementation exists.
Use isolated test data, bounded service readiness checks, timeouts, and deterministic cleanup. Retain useful reports on failure with suitable retention and access. Treat logs and artifacts as potentially sensitive and untrusted; do not print credentials. For CI failures, use root-cause-debug, distinguishing application defects, tooling/configuration, runner differences, and transient outages. Retries need a bounded, understood reason; rerunning until green does not repair flakiness.
3. Optimize without weakening coverage
Measure job and queue duration before optimizing. Cache reusable dependencies with keys reflecting lockfiles, platform, and tool versions; verify cache misses still work. Do not treat caches as release artifacts or share writable caches across trust boundaries. Shard independent tests and avoid redundant builds when verified outputs can be reused.
Check path filters against shared libraries, workflow files, lockfiles, generated inputs, and dependencies. Preserve required status behavior for skipped work. Cancellation can discard obsolete CI runs, but do not interrupt a deployment or migration without understanding partial effects. Do not move required checks off the merge path merely to shorten reported CI duration.
4. Release and deploy deliberately
Build an identified artifact and promote that tested artifact through environments instead of rebuilding a mutable branch for each stage. Record source revision, artifact digest, and relevant build inputs. Use provenance, attestations, or signing when the supply-chain requirements justify them; do not claim compliance from one setting.
Separate validation credentials from deployment credentials. Preserve existing approval and environment protections. Define health checks and rollout/abort criteria appropriate to the service. Assess database compatibility, irreversible migrations, and partial failures before claiming rollback is available. Prepare a rollback or recovery path and verify it in a safe environment when authorized. Do not assume redeploying an old binary reverses data changes.
5. Verify and report actual state
Validate syntax with provider-aware tooling, inspect the complete job graph, and run relevant underlying commands. Exercise affected triggers and success/failure paths in an authorized sandbox or remote run when feasible. A YAML parser cannot establish provider semantics, permissions, or deployment correctness.
Report local validation separately from a remote run, tying results to the candidate SHA and event. State untested triggers, unavailable settings, and deployment limits. Use code-review for consequential trust or release changes when independent review is available and authorized. Commit and push only through authorized git-delivery; do not trigger deployments as a side effect of verification without applicable authorization.
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
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.

