Gsd-2 github-workflows
Work with GitHub Actions CI/CD workflows - read live syntax, monitor runs, and debug failures. Use when writing, running, or debugging GitHub Actions workflows.
install
source · Clone the upstream repo
git clone https://github.com/gsd-build/gsd-2
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/gsd-build/gsd-2 "$T" && mkdir -p ~/.claude/skills && cp -r "$T/src/resources/skills/github-workflows" ~/.claude/skills/gsd-build-gsd-2-github-workflows && rm -rf "$T"
manifest:
src/resources/skills/github-workflows/SKILL.mdsource content
GitHub Workflows
Mission: Work with GitHub Actions without using stale training data. All syntax, versions, and parameters come from live sources.
Structural Principle
All CI operations go through ci_monitor.cjs. Never reach for
gh CLI directly — the script wraps it with observable output.
Primary Tool: ci_monitor.cjs
Path:
scripts/ci_monitor.cjs
node scripts/ci_monitor.cjs <command>
Before using any command:
- Run
to discover available arguments--help
Routing Table:
| When You Need | Command |
|---|---|
| List recent runs | |
| Monitor running workflow | |
| Fail fast in scripts | |
| See why run failed | |
| Test pass/fail counts | |
| Check action versions | |
| Search logs | |
| Wait for deployment | |
Documentation Routing
Base URL:
https://docs.github.com/en/actions/reference/workflows-and-actions/
Before writing any workflow syntax:
- Fetch the relevant
file from the URL above.md - Read only the section you need
| Task | File | Section |
|---|---|---|
| Create workflow | workflow-syntax.md | , , |
| Set triggers | workflow-syntax.md | |
| Set permissions | workflow-syntax.md | |
| Concurrency | workflow-syntax.md | |
| Reusable workflow | workflow-syntax.md | |
| Annotations | workflow-commands.md | "Setting an error/warning/notice message" |
| Output variables | workflow-commands.md | "Environment files" |
| Conditionals | expressions.md | "Operators", "Functions" |
| Contexts | contexts.md | "<context> context" |
| Events | events-that-trigger-workflows.md | Event tables |
Version Verification
| What | Where |
|---|---|
| Action versions | |
| Node.js LTS | |
Validation Constraint
"No errors" is not validation. Prove observable change:
BEFORE: [specific state] AFTER: [different state] EVIDENCE: [output from ci_monitor.cjs]
References
— gh CLI referencereferences/gh/SKILL.md