github-actions skill
✓ VerifiedConfigure CI/CD workflows for automated testing, linting, building, and deploying fullstack applications.
- GitHub stars
- 32
- Files
- 1
- Last commit
- Oct 6, 2026
- License
- MIT
- Allowed tools
- —
What does the github-actions skill do?
github-actions is an agent skill. Configure CI/CD workflows for automated testing, linting, building, and deploying fullstack applications.
Summary generated from the skill's SKILL.md.
About the github-actions skill
Automating CI/CD pipelines for fullstack applications is what this skill enables. Developers can generate comprehensive GitHub Actions workflows to handle the entire software development lifecycle, from initial code linting to final production deployment. It provides structured patterns for running unit, integration, and end-to-end tests using tools like Playwright and services like Postgres and Redis.
When an agent loads this skill, it can produce YAML configuration files for various automation needs, such as validating pull request titles or managing complex deployment sequences to platforms like Railway and Vercel. The workflows are designed to use pnpm for efficient package management and include advanced caching strategies for node_modules and Next.js builds to optimize execution speed. It ensures reliability by enforcing strict rules, such as requiring successful test runs before any deployment occurs and utilizing frozen lockfiles for reproducible environments.
What an agent can do with it
- 1Set up full CI pipelinesCreate a complete testing workflow that includes linting, type checking, and unit testing for a monorepo.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the github-actions skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the github-actions skill in Plugin
/plugin marketplace add sabahattink/antigravity-fullstack-hq /plugin install full-stack-hq@full-stack-hq
Install the github-actions skill in Claude Code
~/.claude/skills/github-actions/SKILL.md
$ npx degit sabahattink/antigravity-fullstack-hq/skills/github-actions ~/.claude/skills/github-actionsInstall the github-actions skill in Claude Code (project)
.claude/skills/github-actions/SKILL.md
$ npx degit sabahattink/antigravity-fullstack-hq/skills/github-actions .claude/skills/github-actionsInstall the github-actions skill in Codex
~/.agents/skills/github-actions/SKILL.md
$ npx degit sabahattink/antigravity-fullstack-hq/skills/github-actions ~/.agents/skills/github-actionsInstall the github-actions skill in Gemini CLI
~/.gemini/skills/github-actions/SKILL.md
$ npx degit sabahattink/antigravity-fullstack-hq/skills/github-actions ~/.gemini/skills/github-actionsInstall the github-actions skill in Claude.ai
npx degit sabahattink/antigravity-fullstack-hq/skills/github-actions github-actions && zip -r github-actions.zip github-actions # claude.ai → Customize → Skills → + → Create skill → Upload a skill → github-actions.zip
Automated checks
Ran Nov 16, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work
- Source repository linked and reachablesabahattink/antigravity-fullstack-hq/skills/github-actions is public and reachablegithub.com/sabahattink/antigravity-fullstack-hq/tree/HEAD/sk ↗Pass
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit 2026-10-06github.com/sabahattink/antigravity-fullstack-hq/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/sabahattink/antigravity-fullstack-hq/blob/HEAD/sk ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/sabahattink/antigravity-fullstack-hq/blob/HEAD/sk ↗Pass
- SKILL.md follows the Agent Skills formatValid name and description; says when to use it; 377 linesgithub.com/sabahattink/antigravity-fullstack-hq/blob/HEAD/sk ↗Pass
SKILL.md
View on GitHubGitHub Actions
Full CI Pipeline
# .github/workflows/ci.yml
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true # Cancel stale runs on new push
jobs:
# ─── Lint & Type Check ─────────────────────────────────────
lint:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Type check (API)
run: pnpm --filter api run type-check
- name: Type check (Web)
run: pnpm --filter web run type-check
- name: Lint
run: pnpm run lint
# ─── Unit Tests ────────────────────────────────────────────
test-unit:
name: Unit Tests
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Run unit tests
run: pnpm --filter api run test:cov
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./apps/api/coverage/lcov.info
# ─── Integration Tests ─────────────────────────────────────
test-integration:
name: Integration Tests
runs-on: ubuntu-latest
needs: lint
services:
postgres:
image: postgres:16-alpine
env:
POSTGRES_DB: test_db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 5s
--health-timeout 5s
--health-retries 5
redis:
image: redis:7-alpine
ports: ["6379:6379"]
options: >-
--health-cmd "redis-cli ping"
--health-interval 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with: { node-version: 22, cache: pnpm }
- run: pnpm install --frozen-lockfile
- name: Run migrations
run: pnpm --filter api run migration:run
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_db
- name: Run integration tests
run: pnpm --filter api run test:integration
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test_db
REDIS_URL: redis://localhost:6379
JWT_SECRET: test-secret-32-chars-minimum-length
# ─── E2E Tests ─────────────────────────────────────────────
test-e2e:
name: E2E Tests (Playwright)
runs-on: ubuntu-latest
needs: [test-unit, test-integration]
timeout-minutes: 20
services:
postgres:
image: postgres:16-alpine
env: { POSTGRES_DB: e2e_db, POSTGRES_USER: postgres, POSTGRES_PASSWORD: postgres }
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with: { node-version: 22, cache: pnpm }
- run: pnpm install --frozen-lockfile
- name: Cache Playwright browsers
uses: actions/cache@v4
id: pw-cache
with:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('**/package.json') }}
- name: Install Playwright browsers
if: steps.pw-cache.outputs.cache-hit != 'true'
run: pnpm exec playwright install --with-deps chromium
- name: Build apps
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/e2e_db
run: pnpm run build
- name: Run E2E tests
run: pnpm run test:e2e
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/e2e_db
PLAYWRIGHT_BASE_URL: http://localhost:3000
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 7
Deploy Workflow
# .github/workflows/deploy.yml
name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
inputs:
environment:
description: Target environment
required: true
default: staging
type: choice
options: [staging, production]
jobs:
deploy-backend:
name: Deploy API to Railway
runs-on: ubuntu-latest
environment: ${{ github.event.inputs.environment || 'staging' }}
steps:
- uses: actions/checkout@v4
- name: Install Railway CLI
run: npm i -g @railway/cli
- name: Deploy to Railway
run: railway up --service api --detach
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
- name: Wait for deployment health
run: |
for i in {1..12}; do
STATUS=$(curl -s -o /dev/null -w "%{http_code}" ${{ vars.API_URL }}/health/liveness)
if [ "$STATUS" == "200" ]; then
echo "API is healthy"
exit 0
fi
echo "Attempt $i: status=$STATUS, waiting..."
sleep 10
done
echo "Health check failed after 2 minutes"
exit 1
deploy-frontend:
name: Deploy Web to Vercel
runs-on: ubuntu-latest
needs: deploy-backend
environment: ${{ github.event.inputs.environment || 'staging' }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with: { node-version: 22, cache: pnpm }
- run: pnpm install --frozen-lockfile
- name: Deploy to Vercel
run: |
pnpm dlx vercel \
--token=${{ secrets.VERCEL_TOKEN }} \
--prod \
${{ github.event.inputs.environment == 'production' && '--prod' || '' }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
Reusable Workflow
# .github/workflows/_setup-node.yml
name: Setup Node (Reusable)
on:
workflow_call:
inputs:
node-version:
type: string
default: '22'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
# Usage:
# jobs:
# setup:
# uses: ./.github/workflows/_setup-node.yml
PR Checks & Branch Protection
# .github/workflows/pr-checks.yml
name: PR Checks
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
pr-title:
name: Validate PR Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: [feat, fix, refactor, docs, test, chore, perf, ci]
requireScope: false
check-diff:
name: Check Changed Files
runs-on: ubuntu-latest
outputs:
api-changed: ${{ steps.changes.outputs.api }}
web-changed: ${{ steps.changes.outputs.web }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
api:
- 'apps/api/**'
- 'packages/**'
web:
- 'apps/web/**'
- 'packages/**'
Secrets Required
# Repository → Settings → Secrets and variables → Actions
RAILWAY_TOKEN — Railway API token for backend deploys
VERCEL_TOKEN — Vercel CLI token
VERCEL_ORG_ID — Vercel organization ID
VERCEL_PROJECT_ID — Vercel project ID
CODECOV_TOKEN — Codecov upload token
# Variables (non-secret)
API_URL — https://api.example.com (for health checks)
Caching Strategy
# Cache node_modules (pnpm store)
- uses: actions/cache@v4
with:
path: ~/.local/share/pnpm/store
key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: pnpm-${{ runner.os }}-
# Cache Next.js build
- uses: actions/cache@v4
with:
path: ${{ github.workspace }}/apps/web/.next/cache
key: nextjs-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('apps/web/**/*.ts', 'apps/web/**/*.tsx') }}
restore-keys: nextjs-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-
Forbidden Patterns
- Never hardcode secrets as plain text in workflow files
- Never use
continue-on-error: trueto hide test failures - Never deploy without a prior successful test run
- Never use
actions/checkout@v2or older — use v4 - Never skip
--frozen-lockfile— it ensures reproducible installs - Never give workflows more permissions than needed (use
permissions: read-allas default) - Never run E2E tests before unit/integration pass — it wastes expensive minutes
Files in this skill
1github-actions skill questions
How do I install the github-actions skill in Claude Code?
Run npx degit sabahattink/antigravity-fullstack-hq/skills/github-actions ~/.claude/skills/github-actions. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the github-actions skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
What secrets are required for these deployment workflows?
You need RAILWAY_TOKEN, VERCEL_TOKEN, VERCEL_ORG_ID, VERCEL_PROJECT_ID, and CODECOV_TOKEN configured in your repository secrets.
How can I optimize the speed of my Node.js workflows?
You can use caching strategies for the pnpm store and Next.js build directories to speed up subsequent runs.