github-actions-cicd
Skill9 starsChanged 8 days agoMITView on GitHub
GitHub Actions workflow structure and security conventions. Load before writing, reviewing, or debugging any .github/workflows/*.yml pipeline.
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- ai-enhanced-engineer/aiee-skillstheir own version, first seen Nov 1, 2026
- jenreh/appkittheir own version, first seen Jul 8, 2026
- julweber/ai_agent_skillstheir own version, first seen Mar 20, 2026
- Kubementat/ai_agent_skillstheir own version, first seen Mar 20, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- ai-enhanced-engineer/aiee-skills★ 4same name
- jenreh/appkit★ 4same name
- julweber/ai_agent_skills★ 2same name
- Kubementat/ai_agent_skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-debugSkill
- comprehension-workflowSkill
- dev-cleanupSkill
- angular-patternsSkill
- dotnet-conventionsSkill
- python-conventionsSkill
- npm-debugSkill
- structural-searchSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Keep workflows simple; add complexity incrementally rather than front-loading a complex pipeline [web:65].
- Distinctive: line 26
Avoid self-hosted runners on shared/production infrastructure.
- Distinctive: line 31
Use GitHub Environments with protection rules for staging/production deploys, requiring manual approval for prod [web:65].
- Very specific: line 36
Check for: unpinned action versions, secrets exposed in logs or run: commands, missing needs: dependencies that let deploy run before tests …
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
GitHub Actions CI/CD Conventions
Workflow Structure
- Split logically distinct phases into separate jobs (build, test, lint, security scan, deploy) rather than one monolithic job [web:66][web:64].
- Split deployment targets into separate workflows or jobs per environment (dev/staging/prod) with explicit GitHub Environments and required approvals for prod [web:65].
- Keep workflows simple; add complexity incrementally rather than front-loading a complex pipeline [web:65].
- Parallelize independent jobs to reduce total pipeline time [web:65].
Caching and Performance
- Cache dependencies (npm/NuGet/pip) and build artifacts between runs using
actions/cache[web:65]. - Reuse composite actions or reusable workflows for logic repeated across pipelines instead of copy-pasting steps.
Security
- Store all credentials and API keys in GitHub Secrets, never in workflow YAML or committed files [web:65].
- Restrict third-party actions to pinned versions (commit SHA or exact tag), not floating
@main/@latest. - Avoid self-hosted runners on shared/production infrastructure; isolate them in a dedicated environment [web:60].
- Scope
GITHUB_TOKENpermissions to the minimum required (permissions:block) rather than defaulting to full write access.
Deployment
- Use GitHub Environments with protection rules for staging/production deploys, requiring manual approval for prod [web:65].
- Fail fast: run lint/test/security jobs before the deploy job, and make deploy depend on their success (
needs:).
When Reviewing or Debugging
Check for: unpinned action versions, secrets exposed in logs or run: commands, missing needs: dependencies that let deploy run before tests pass, and overly broad token permissions — these are higher priority than formatting nits.
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.

