akin-ozer/cc-devops-skills/github-actions-generator
Claude Code and agent skill by akin-ozer/cc-devops-skills
- community
Checking that the SKILL.md file is still in the repository.
Create, generate, or scaffold GitHub Actions workflows, action.yml, or .github/workflows CI/CD pipelines.
Install
npx vskill@latest install akin-ozer/cc-devops-skills/github-actions-generatorSKILL.md
GitHub Actions Generator
Generate production-ready GitHub Actions workflows and custom actions following current best practices, security standards, and naming conventions. All generated resources are automatically validated using the devops-skills:github-actions-validator skill.
Quick Reference
| Capability | When to Use | Reference | |
|---|---|---|---|
| Workflows | CI/CD, automation, testing | references/best-practices.md | |
| Composite Actions | Reusable step combinations | references/custom-actions.md | |
| Docker Actions | Custom environments/tools | references/custom-actions.md | |
| JavaScript Actions | API interactions, complex logic | references/custom-actions.md | |
| Reusable Workflows | Shared patterns across repos | references/advanced-triggers.md | |
| Security Scanning | Dependency review, SBOM | references/best-practices.md | |
| Modern Features | Summaries, environments | references/modern-features.md |
Trigger Decision Tree
Route every request through this decision tree before reading references or generating files:
- If the user asks for
.github/workflows/*.ymlCI/CD automation, choose Workflow Generation. - If the user asks for
action.ymlor a reusable step package, choose Custom Action Generation. - If the user asks for
workflow_callor shared pipelines across repositories, choose Reusable Workflow Generation. - If the request includes security-only scanning (dependency review, SBOM, CodeQL), stay on Workflow Generation with the security pattern.
- If intent is ambiguous, ask one disambiguation question: "Do you want a workflow, a custom action, or a reusable workflow?"
Progressive Disclosure Route
Load only what is needed for the selected route, in this order:
| Route | Load First (required) | Load Next (only if needed) | Primary Template | |
|---|---|---|---|---|
| Workflow Generation | references/best-practices.md | references/common-actions.md, references/expressions-and-contexts.md, references/modern-features.md | assets/templates/workflow/basic_workflow.yml | |
| Custom Action Generation | references/custom-actions.md | references/best-practices.md | assets/templates/action/composite/action.yml, assets/templates/action/docker/, assets/templates/action/javascript/ | |
| Reusable Workflow Generation | references/advanced-triggers.md | references/best-practices.md, references/common-actions.md | assets/templates/workflow/reusable_workflow.yml |
If a required reference/template is unavailable, continue with the closest available reference and report the fallback explicitly in output.
Core Capabilities
1. Generate Workflows
Triggers: "Create a workflow for...", "Build a CI/CD pipeline..."
Process:
- Understand requirements (triggers, runners, dependencies)
- Define trust boundaries (internal branches vs fork PRs vs external triggers)
- Set default
permissionsto read-only, then elevate only per job when required - Reference
references/best-practices.mdfor patterns - Reference
references/common-actions.mdfor action versions - Generate workflow with:
- Semantic names, pinned actions (SHA), explicit permissions
- Concurrency controls, caching, matrix strategies
- Fork-safe PR handling (no secrets in untrusted contexts)
- Validate with devops-skills:github-actions-validator skill
- Fix issues and re-validate if needed
Minimal Example:
Untrusted PR Guardrail (required for secret-using jobs):
2. Generate Custom Actions
Triggers: "Create a composite action...", "Build a Docker action...", "Create a JavaScript action..."
Types:
- Composite: Combine multiple steps → Fast startup
- Docker: Custom environment/tools → Isolated
- JavaScript: API access, complex logic → Fastest
Process:
- Use templates from
assets/templates/action/ - Follow structure in
references/custom-actions.md - Include branding, inputs/outputs, documentation
- Validate with devops-skills:github-actions-validator skill
See references/custom-actions.md for:
- Action metadata and branding
- Directory structure patterns
- Versioning and release workflows
3. Generate Reusable Workflows
Triggers: "Create a reusable workflow...", "Make this workflow callable..."
Key Elements:
workflow_calltrigger with typed inputs- Explicit secrets (avoid
secrets: inherit) - Explicit trusted-caller expectations (document org/repo boundaries)
- Outputs mapped from job outputs
- Minimal permissions
When secrets are required, pass only the exact secret names needed and prefer environment protection rules for deployment stages.
See references/advanced-triggers.md for complete patterns.
4. Generate Security Workflows
Triggers: "Add security scanning...", "Add dependency review...", "Generate SBOM..."
Components:
- Dependency Review:
actions/dependency-review-action@v4 - SBOM Attestations:
actions/attest-sbom@v2 - CodeQL Analysis:
github/codeql-action
Permission Model: Use a read-only workflow-level baseline, then elevate only in the security job that requires write scopes.
See references/best-practices.md section on security.
5. Modern Features
Triggers: "Add job summaries...", "Use environments...", "Run in container..."
See references/modern-features.md for:
- Job summaries (
$GITHUB_STEP_SUMMARY) - Deployment environments with approvals
- Container jobs with services
- Workflow annotations
6. Third-Party Action Documentation and Citation
When using third-party actions (any uses: entry not in the same repository):
- Search for documentation:
`` "[owner/repo] [version] github action documentation" ``
- Or use Context7 MCP:
mcp__context7__resolve-library-idto find actionmcp__context7__query-docsfor documentation
- Pin to SHA with version comment:
```yaml
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
```
- Cite source and version in the response:
- Action source (repository URL)
- Version source (release/tag/changelog URL)
- Selected commit SHA and human-readable version
- Access date for the source used
See references/common-actions.md for pre-verified action versions.
Validation Workflow
CRITICAL: Every generated resource MUST be validated.
- Generate workflow/action file
- Invoke
devops-skills:github-actions-validatorskill - If errors: fix and re-validate
- If success: present with usage instructions
Skip validation only for:
- Partial code snippets
- Documentation examples
- User explicitly requests skip
Fallback Behavior (Tooling and Environment Constraints)
If required tooling or network access is unavailable, use this deterministic fallback order:
- If
devops-skills:github-actions-validatoris unavailable, run local fallback checks:
actionlint(if installed)yamllint(if installed)- manual YAML/schema review with a clear "not tool-validated" note
- If Context7 or internet access is unavailable:
- use
references/common-actions.mdfor known action versions - state that external version verification could not be completed
- If a template path is missing:
- generate from the closest template pattern in
assets/templates/ - document which template was substituted
Fallback usage must always be reported in the final output.
Mandatory Standards
All generated resources must follow:
| Standard | Implementation | |
|---|---|---|
| Security | Pin to SHA, minimal permissions, mask secrets | |
| Performance | Caching, concurrency, shallow checkout | |
| Naming | Descriptive names, lowercase-hyphen files | |
| Error Handling | Timeouts, cleanup with if: always() |
See references/best-practices.md for complete guidelines.
Resources
Reference Documents
| Document | Content | When to Use | |
|---|---|---|---|
references/best-practices.md | Security, performance, patterns | Every workflow | |
references/common-actions.md | Action versions, inputs, outputs | Public action usage | |
references/expressions-and-contexts.md | ${{ }} syntax, contexts, functions | Complex conditionals | |
references/advanced-triggers.md | workflow_run, dispatch, ChatOps | Workflow orchestration | |
references/custom-actions.md | Metadata, structure, versioning | Custom action creation | |
references/modern-features.md | Summaries, environments, containers | Enhanced workflows |
Templates
| Template | Location | |
|---|---|---|
| Basic Workflow | assets/templates/workflow/basic_workflow.yml | |
| Reusable Workflow | assets/templates/workflow/reusable_workflow.yml | |
| Composite Action | assets/templates/action/composite/action.yml | |
| Docker Action | assets/templates/action/docker/ | |
| JavaScript Action | assets/templates/action/javascript/ |
Common Patterns
Matrix Testing
Conditional Deployment
Artifact Sharing
Third-Party Action Citation Block
Done Criteria
The task is complete only when all checks below pass:
- The request route was selected using the trigger decision tree.
- Only the minimum required references/templates were loaded first.
- Every third-party action is pinned to a commit SHA and has source/version citation.
- Validation was run, or a skip exception/fallback path was explicitly documented.
- Output includes assumptions, security-sensitive decisions (permissions/secrets), and generated file paths.
Workflow Summary
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassedPattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevops-skills-plugin/skills/github-actions-generator/SKILL.md
Popularity
- Repository stars
- 234
- Repository forks
- 28
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/akin-ozer/cc-devops-skills/github-actions-generator)