github-actions
GitHub Actions workflow security, performance optimization, and best practices
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
GitHub Actions workflow security, performance optimization, and best practices
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | github-actions |
| description | GitHub Actions workflow security, performance optimization, and best practices |
| metadata | {"version":"1.1.0"} |
${{ }} expressions. Escape or validate all user-provided data before use. Never interpolate untrusted user input${{ }} expressions in workflow logs or error messages. Ensure all variables are declared and sourced safely@v1 or @main)permissions block (principle of least privilege)secrets.GITHUB_TOKEN instead of PATs when possiblepermissions:
contents: read # Minimal by default
# Add only what's needed:
# pull-requests: write
# issues: write
::add-mask::actions/cache or built-in)concurrency to cancel redundant runstimeout-minutes to prevent hung jobsif: conditions to skip unnecessary jobspaths and branches filtersworkflow_dispatch for manual triggerspull_request_target security implicationsactions/checkout with persist-credentials: true unless neededpush to all branchesactionlintcontinue-on-error: false as default (explicit failure)fail-fast: true for matrix jobs to stop on first failurecontinue-on-error: true when failure is acceptableAngular component architecture, RxJS patterns, change detection, and module organization
Azure DevOps pipeline security, YAML structure, variable management, and deployment patterns
Azure Bicep IaC patterns, parameterization, security, and modular design
Dockerfile best practices, security hardening, multi-stage builds, and image optimization
ASP.NET Core patterns, dependency injection, middleware, async/await, and security
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns