By arash77
Generate production-hardened GitHub Actions CI/CD workflows enforcing least-privilege permissions, concurrency groups, timeout guards, dependency caching, and latest major version action tags. Always co-generates a .github/dependabot.yml.
A Claude Code skill that generates production-hardened GitHub Actions CI/CD workflows enforcing security best practices by default.
Every workflow generated by this skill enforces five hardening principles:
| Principle | Why It Matters |
|---|---|
| Job-level least-privilege permissions | Limits blast radius if a step is compromised by a malicious dependency |
Latest major version action pins (@v4) | Prevents silent breaking changes from @latest / @main moving targets |
| Concurrency groups | Cancels stale PR runs; never cancels in-flight production deploys |
| Timeout guards | Stops hung jobs from consuming 6 hours of runner minutes per incident |
| Native dependency caching | Cuts redundant network I/O — the single biggest source of avoidable CI latency |
It also co-generates a .github/dependabot.yml with every workflow so action versions stay current automatically.
npx skills (skills.sh)# Project-level (committed with your repo)
npx skills add arash77/github-actions-skill
# Global (available across all projects)
npx skills add arash77/github-actions-skill -g
# Target Claude Code specifically, auto-confirm
npx skills add arash77/github-actions-skill -g -a claude-code -y
# Step 1 — add this repo as a marketplace (once per machine)
/plugin marketplace add arash77/github-actions-skill
# Step 2 — install the plugin
/plugin install github-actions-hardened@github-actions-skill
--plugin-dir (local dev / one-off)git clone https://github.com/arash77/github-actions-skill
claude --plugin-dir ./github-actions-skill
Once installed, ask Claude Code for any GitHub Actions workflow and it will apply all five hardening principles automatically:
Create a CI workflow for my TypeScript monorepo using pnpm
Set up a hardened Docker build pipeline that pushes to GHCR
Generate a release workflow that creates GitHub Releases on version tags
Skills are namespaced when installed via the plugin marketplace:
/github-actions-hardened:github-actions-hardened
# .github/dependabot.yml
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
groups:
github-actions:
patterns: ["*"]
commit-message:
prefix: "chore(ci)"
labels:
- "dependencies"
- "ci"
github-actions-templates| Scenario | Use |
|---|---|
| Production, externally visible, or compliance-scoped project | this skill |
| Security audit, SOC 2, or third-party actions involved | this skill |
| Quick throwaway prototype, purely internal script | github-actions-templates |
github-actions-skill/
├── .claude-plugin/
│ ├── plugin.json # Claude Code plugin manifest
│ └── marketplace.json # Plugin marketplace catalog
├── skills/
│ └── github-actions-hardened/
│ ├── SKILL.md # Skill instructions
│ └── references/
│ └── dependabot-config.md
├── evals/
│ └── evals.json # Evaluation test cases
└── README.md
The evals/evals.json file contains six test cases covering:
pull_request_target security warning and safe alternative patternsMIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub arash77/github-actions-skill --plugin github-actions-hardenedGalaxy development tools: migrations, API endpoints, testing, linting, and codebase exploration
GitHub Actions CI/CD - workflows, authentication, inspection
CI/CD pipeline design, GitHub Actions workflows, deployment automation, and release management. Opinionated patterns for agentic deployments.
DevsForge Enterprise CI/CD Automation Architect delivering comprehensive pipeline optimization, deployment automation, and continuous integration frameworks that transform DevOps from operational necessity into strategic business value creation and development excellence catalyst
GitHub repository automation (CI/CD, issue templates, Dependabot, CodeQL). Use for project setup, Actions workflows, security scanning, or encountering YAML syntax, workflow configuration, template structure errors.
Build CI/CD pipelines for GitHub Actions, GitLab CI, Jenkins, and more
Validation and quality enforcement for GitHub Actions workflows with act local testing.