# Create Github Action

> Scaffolds a deterministic GitHub Actions CI/CD workflow YAML. NOT for scaffolding interactive agentic workflows (use `create-agentic-workflow`) and NOT for local event-driven hooks (use `create-hook`).

- Skill: `richfrem/create-github-action` (Agent Skill, multi-file: 84 files)
- Install (CLI): `npx skillmds@latest add richfrem/create-github-action`
- Raw SKILL.md: https://api.skillmd.com/api/skills/richfrem/create-github-action/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: richfrem (https://skillmd.com/u/richfrem)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/richfrem/create-github-action

---


Follow the `create-github-action` skill workflow to scaffold a traditional deterministic
GitHub Actions CI/CD workflow (no AI at runtime).

## Inputs

- `$ARGUMENTS` — optional workflow type or purpose (e.g. `test`, `build`, `deploy`,
  `lint`, `release`, `security`). Omit to start with discovery.

## Steps

1. If `$ARGUMENTS` specifies a workflow type, use it to seed Phase 1 discovery
2. Follow the create-github-action phased workflow: confirm trigger events, runner OS,
   required secrets/environment variables, job steps, and caching strategy
3. Generate the `.github/workflows/<name>.yml` file
4. Report the workflow path and setup instructions (secrets to configure, badges, etc.)

## Output

`.github/workflows/<name>.yml` with complete job definitions, trigger events, permissions,
and inline comments explaining each step.

## Edge Cases

- If `$ARGUMENTS` is empty: begin with workflow type discovery
- If the use case involves AI agents at runtime: redirect to `create-agentic-workflow`
- If secrets or environment variables are required: list them explicitly without values

