github-actions-creator▌
davila7/claude-code-templates · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
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.
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/setup-java@v4 |
Java/Kotlin |
dtolnay/rust-toolchain@stable |
Rust toolchain |
ruby/setup-ruby@v1 |
Ruby with bundler cache |
actions/setup-dotnet@v4 |
.NET SDK |
Build & Deploy Actions
| Action | Purpose |
|---|---|
docker/build-push-action@v6 |
Docker multi-platform builds |
docker/login-action@v3 |
Docker registry authentication |
aws-actions/configure-aws-credentials@v4 |
AWS authentication |
google-github-actions/auth@v2 |
GCP authentication |
azure/login@v2 |
Azure authentication |
cloudflare/wrangler-action@v3 |
Cloudflare Workers deploy |
amondnet/vercel-action@v25 |
Vercel deployment |
Quality & Security Actions
| Action | Purpose |
|---|---|
github/codeql-action/analyze@v3 |
CodeQL SAST scanning |
aquasecurity/trivy-action@master |
Container vulnerability scan |
codecov/codecov-action@v4 |
Coverage upload |
actions/dependency-review-action@v4 |
Dependency audit on PRs |
Utility Actions
| Action | Purpose |
|---|---|
actions/cache@v4 |
Generic caching |
actions/upload-artifact@v4 |
Store build artifacts |
actions/download-artifact@v4 |
Retrieve artifacts between jobs |
softprops/action-gh-release@v2 |
Create GitHub Releases |
slackapi/slack-github-action@v2 |
Slack notifications |
peter-evans/create-pull-request@v7 |
Automated PR creation |
Security Best Practices (ALWAYS follow)
- Minimal permissions: Always declare
permissionsat workflow or job level - Pin actions to major version: Use
@v4not@mainor full SHA for readability - Never echo secrets: Secrets are masked but avoid
echo ${{ secrets.X }} - Use environments: For production deploys, use GitHub Environments with protection rules
- Validate inputs: For
workflow_dispatch, validate input values - Avoid script injection: Never use
${{ github.event.*.body }}directly inrun:— pass via environment variables - Use GITHUB_TOKEN: Prefer
${{ secrets.GITHUB_TOKEN }}over PATs when possible - Concurrency controls: Use
concurrencyto prevent parallel deploys
# WRONG - script injection vulnerability
- run: echo "${{ github.event.issue.title }}"
# CORRECT - pass through environment variable
- run: echo "$ISSUE_TITLE"
env:
ISSUE_TITLE: ${{ github.event.issue.title }}
Caching Strategies
Node.js
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm' # or 'yarn' or 'pnpm'
Python
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip' # or 'poetry' or 'pipenv'
Go
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
Rust
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
Docker
- uses: docker/build-push-action@v6
with:
cache-from: type=gha
cache-to: type=gha,mode=max
Matrix Testing Patterns
Multiple Node.js versions
strategy:
matrix:
node-version: [18, 20, 22]
fail-fast: false
Multiple OS
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
Complex matrix with exclusions
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18, 20]
exclude:
- os: windows-latest
node-version: 18
Cron Syntax Quick Reference
| Schedule | Cron |
|---|---|
| Every hour | 0 * * * * |
| Daily at midnight UTC | 0 0 * * * |
| Weekdays at 9am UTC | 0 9 * * 1-5 |
| Weekly on Sunday | 0 0 * * 0 |
| Monthly 1st | 0 0 1 * * |
Output Format
After creating the workflow file, provide:
- What the workflow does — one-paragraph summary
- Required secrets — list any secrets the user needs to configure in Settings > Secrets
- Required permissions — if the workflow needs non-default repository permissions
- How to test — how to trigger the workflow (push, create PR, manual dispatch)
Common Patterns to Combine
When the user asks for something generic like "set up CI/CD", create a single workflow with multiple jobs:
jobs:
lint: # Fast feedback
test: # Core validation
build: # Ensure it compiles/How to use github-actions-creator on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add github-actions-creator
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches github-actions-creator from GitHub repository davila7/claude-code-templates and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate github-actions-creator. Access the skill through slash commands (e.g., /github-actions-creator) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.7★★★★★42 reviews- ★★★★★Advait Khan· Dec 28, 2024
We added github-actions-creator from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Sophia Verma· Dec 24, 2024
github-actions-creator has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Dev Rahman· Dec 20, 2024
Useful defaults in github-actions-creator — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Sophia Tandon· Nov 19, 2024
Registry listing for github-actions-creator matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Advait Smith· Nov 19, 2024
Solid pick for teams standardizing on skills: github-actions-creator is focused, and the summary matches what you get after install.
- ★★★★★William Johnson· Nov 15, 2024
github-actions-creator fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Yuki Brown· Nov 11, 2024
github-actions-creator is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Pratham Ware· Oct 26, 2024
github-actions-creator reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Dev Ghosh· Oct 10, 2024
github-actions-creator reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Amelia Sharma· Oct 10, 2024
github-actions-creator has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 42