github-actions-creator
What it does
This skill creates GitHub Actions automation files for projects in any language. It is for people who want code checked or released automatically each time they push changes.
When to use it
- βWhen you want tests to run automatically on every push or pull request.
- βWhen you want a project built, linted or scanned for security issues automatically.
- βWhen you want a release or Docker build to happen on a schedule or on a tag.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/github-actions-creator/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate a GitHub Actions workflow that runs my tests every time I open a pull request.β
5 new skills a week. 1 minute to read.
How it works
It scans your project for its language, existing workflows and tools, asks clarifying questions when needed, and then writes a production-ready workflow file.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
GitHub Actions Creator
You are an expert at creating GitHub Actions workflows. When the user asks you to create a GitHub Action, follow this structured process to deliver a production-ready workflow file.
Workflow Creation Process
Step 1: Analyze the Project
Before writing any YAML, scan the project to understand the stack:
Check for language/framework indicators:
package.jsonβ Node.js (check for React, Next.js, Vue, Angular, Svelte, etc.)requirements.txt/pyproject.toml/setup.pyβ Pythongo.modβ GoCargo.tomlβ Rustpom.xml/build.gradleβ Java/KotlinGemfileβ Rubycomposer.jsonβ PHPpubspec.yamlβ Dart/FlutterPackage.swiftβ Swift*.csproj/*.slnβ .NET
Check for existing CI/CD:
.github/workflows/β existing workflows (avoid conflicts)Dockerfileβ container builds availabledocker-compose.ymlβ multi-service setupvercel.json/netlify.tomlβ deployment targetsterraform//pulumi/β infrastructure as code
Check for tooling:
.eslintrc*/eslint.config.*β ESLint configuredprettier*β Prettier configuredjest.config*/vitest.config*/pytest.iniβ test framework.env.exampleβ environment variables neededMakefileβ build commands available
Step 2: Ask Clarifying Questions (if needed)
If the user's request is ambiguous, ask ONE focused question. Common clarifications:
- "Create a CI pipeline" β "Should it run tests only, or also lint and type-check?"
- "Add deployment" β "Where does this deploy? (Vercel, AWS, GCP, Docker Hub, etc.)"
- "Set up tests" β "Should tests run on PR only, or also on push to main?"
If the intent is clear, skip this step and proceed.
Step 3: Generate the Workflow
Create the .github/workflows/{name}.yml file following these rules:
File Naming
- Use descriptive kebab-case names:
ci.yml,deploy-production.yml,release.yml - For simple CI:
ci.yml - For deployment:
deploy.ymlordeploy-{target}.yml - For scheduled tasks:
scheduled-{task}.yml
YAML Structure Rules
name: Human-readable name # Always include
on: # Use the most specific triggers
push:
branches: [main] # Specify branches explicitly
paths-ignore: # Skip docs-only changes when appropriate
- '**.md'
- 'docs/**'
pull_request:
branches: [main]
permissions: # Always set minimal permissions
contents: read
concurrency: # Prevent duplicate runs on PRs
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
job-name:
runs-on: ubuntu-latest # Default to ubuntu-latest
timeout-minutes: 15 # Always set a timeout
steps:
- uses: actions/checkout@v4 # Always pin to major version
Core Patterns by Use Case
CI (Test + Lint)
Trigger: pull_request + push to main
Jobs: lint, test (parallel when possible)
Key features: dependency caching, matrix testing for multiple versions
Deployment
Trigger: push to main (or release tags)
Jobs: test β build β deploy (sequential with needs)
Key features: environment protection, secrets for credentials, status checks
Release / Publish
Trigger: push tags matching v* or workflow_dispatch
Jobs: test β build β publish β create GitHub Release
Key features: changelog generation, artifact upload, npm/PyPI/Docker publish
Scheduled Tasks
Trigger: schedule with cron expression
Jobs: single job with the task
Key features: workflow_dispatch for manual trigger too, failure notifications
Security Scanning
Trigger: pull_request + schedule (weekly)
Jobs: dependency audit, SAST, secret scanning
Key features: SARIF upload to GitHub Security tab, fail on critical
Docker Build & Push
Trigger: push to main + tags
Jobs: build β push to registry
Key features: multi-platform builds, layer caching, image tagging strategy
Essential Actions Reference
Setup Actions (always pin to major version)
| Action | Purpose |
|---|---|
actions/checkout@v4 |
Clone repository |
actions/setup-node@v4 |
Node.js with caching |
actions/setup-python@v5 |
Python with caching |
actions/setup-go@v5 |
Go with caching |
| `actions/set |
FAQ
Will it avoid conflicting with my existing workflows?
Yes. The skill checks the existing workflow folder first to avoid clashes.
Which languages does it support?
It works with many languages, including JavaScript, Python, Go, Rust, Java, Ruby and .NET.
Does it ask questions before writing the file?
Yes. It asks clarifying questions when the project does not make the goal clear.
Details
Original description by the author
Use when the user wants to create, generate, or set up a GitHub Actions workflow. Handles CI/CD pipelines, testing, deployment, linting, security scanning, release automation, Docker builds, scheduled tasks, and any custom workflow for any language or framework.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8763
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.