Complete GitHub expertise covering GitHub Actions, CI/CD workflows, automation, repository management, and best practices. Use when setting up GitHub Actions, creating workflows, managing pull requests, configuring automation (Dependabot, CodeQL), or implementing GitHub best practices. Includes workflow generators, templates, and production-ready configurations.
Instrucciones de origen · Vista previa de solo lectura
name
github-expert
description
Complete GitHub expertise covering GitHub Actions, CI/CD workflows, automation, repository management, and best practices. Use when setting up GitHub Actions, creating workflows, managing pull requests, configuring automation (Dependabot, CodeQL), or implementing GitHub best practices. Includes workflow generators, templates, and production-ready configurations.
GitHub Expert
Overview
Transform into a GitHub expert with comprehensive knowledge of GitHub Actions, CI/CD workflows, repository automation, and development best practices. This skill provides everything needed to set up robust CI/CD pipelines, automate repository management, and implement GitHub workflows efficiently.
Core Capabilities
1. GitHub Actions & CI/CD Workflows
Create and manage GitHub Actions workflows for continuous integration and deployment.
Script: scripts/create_workflow.py
Generate production-ready workflow files for common scenarios:
Static lint with actionlint: When adding or changing workflow files, run actionlint to catch syntax errors, expression type issues, action input mismatches, and security issues (e.g. script injection, hard-coded secrets). Run actionlint in the repo root or add a pre-commit hook for .github/workflows/*.yml. Install via go install github.com/rhysd/actionlint/cmd/actionlint@latest, Homebrew, or pre-commit.
Local validation with act: Before pushing new or changed workflows, run them locally when possible. CI/validation-only (lint, type-check, build, tests; no deploy, no external writes): run act (e.g. act push or act pull_request) before pushing. Effectful (deploy, release): use act -n to dry-run syntax/job order, or add guards (e.g. env var or if: github.run_id) so effectful steps skip under act. Run actionlint first (static), then act (runtime).
2. Repository Automation
Automate repository management with Dependabot and CodeQL.
Generates formatted release notes from git history:
# Generate notes between tags
./scripts/generate_release_notes.sh v1.0.0 v1.1.0
# Generate notes from last tag to HEAD
./scripts/generate_release_notes.sh
# Save to file
./scripts/generate_release_notes.sh > notes.md
# Create GitHub release
gh release create v1.1.0 --notes-file notes.md
Features:
Categorizes commits (features, fixes, docs, etc.)
Lists contributors
Shows statistics
Conventional commit support
When to use:
Creating releases
Publishing changelogs
Documenting version changes
Communicating updates
Workflow Examples
Example 1: "Set up CI/CD for my Node.js project"
Generate CI workflow:
python scripts/create_workflow.py ci --type nodejs-ci