.agents/skills/github-workflows/SKILL.md
Create, edit, and troubleshoot GitHub Actions workflow files (.github/workflows/*.yml). Use when the user needs to set up CI/CD pipelines, PR automation, release workflows, scheduled tasks, Docker builds, deployment pipelines, or any GitHub Actions workflow. Covers workflow syntax, common actions, best practices, security hardening, and reusable workflow patterns. Includes starter templates for common workflow types.
npx skillsauth add prulloac/git-blame-vsc github-workflowsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create and maintain GitHub Actions workflow YAML files in .github/workflows/. Includes starter templates for common workflow types and reference documentation for syntax, actions, and best practices.
assets/ to .github/workflows/ as a starting point.package.json, go.mod, Cargo.toml, pyproject.toml, Makefile, Dockerfile, etc.Start from these templates in assets/:
| Template | File | Use Case |
|---|---|---|
| CI | assets/ci.yml | Build, lint, and test on push/PR |
| Deploy | assets/deploy.yml | Deploy to staging/production environments |
| Release | assets/release.yml | Create releases on tag push, publish packages |
| PR Checks | assets/pr-checks.yml | Auto-label, size checks, PR automation |
| Scheduled | assets/scheduled.yml | Cron-based maintenance, cleanup, reports |
| Docker | assets/docker.yml | Build and push container images to GHCR |
Copy the relevant template, then replace TODO comments with project-specific configuration.
Detect the project ecosystem and apply appropriate setup:
| Indicator File | Setup Action | Cache | Lockfile |
|---|---|---|---|
| package.json | actions/setup-node@v4 | npm/yarn/pnpm | package-lock.json, yarn.lock, pnpm-lock.yaml |
| pyproject.toml, requirements.txt | actions/setup-python@v5 | pip/poetry | requirements.txt, poetry.lock |
| go.mod | actions/setup-go@v5 | true | go.sum |
| Cargo.toml | dtolnay/rust-toolchain@stable | manual | Cargo.lock |
| pom.xml | actions/setup-java@v4 | maven | N/A |
| build.gradle | actions/setup-java@v4 | gradle | N/A |
| Dockerfile | docker/setup-buildx-action@v3 | type=gha | N/A |
Node.js: npm ci, npm run lint, npm test, npm run build
Python: pip install -e ".[dev]", ruff check ., pytest, python -m build
Go: go vet ./..., golangci-lint run, go test ./..., go build ./...
Rust: cargo fmt --check, cargo clippy -- -D warnings, cargo test, cargo build --release
Always add concurrency to prevent redundant runs:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true # false for deploy workflows
permissions: read-all # Workflow-level default
jobs:
deploy:
permissions:
contents: read
id-token: write # Escalate only where needed
Extract shared logic into .github/workflows/reusable-*.yml using workflow_call trigger. Callers invoke with uses: ./.github/workflows/reusable-build.yml.
For deployment workflows, use GitHub environments with protection rules:
jobs:
deploy:
environment:
name: production
url: ${{ steps.deploy.outputs.url }}
After creating or editing a workflow, verify:
on and jobs are present at top leveltimeout-minutes set@v4), not @main/@master${{ secrets.* }} references correspond to configured secretspaths and paths-ignore are not used together on the same triggershell: bashLoad these references when:
tools
Guide for creating Visual Studio Code extensions/plugins. Use when users want to build VS Code extensions, add functionality to VS Code, create language support, add themes, build webviews, implement debuggers, or any VS Code plugin development task. Helps navigate VS Code Extension API documentation and provides guidance on extension capabilities, project setup, and best practices.
development
Validate agent system prompts (such as agents.md) for being objective-driven, clear, readable, free of duplicated intentions, without missing or broken links, and ensuring required sections like general agentic guidelines, code review, and code generation are present. Use when validating or reviewing agent prompt files.
testing
Validate agent skills for correctness, readability, workflow clarity, and isolation, ensuring they can be installed independently without dependencies on other skills.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.