What problem does it solve?
This Skill helps you reliably configure and execute CodeQL code scanning so you can find security issues early, consistently upload SARIF results, and avoid common failures during setup and analysis.
Core Features & Use Cases
- GitHub Actions workflow setup: Configure CodeQL analysis in a workflow such as .github/workflows/codeql.yml with correct permissions and triggers.
- CLI-based database build and analysis: Create CodeQL databases, run queries, and upload or review SARIF outputs using the CodeQL CLI.
- Troubleshooting and hardening: Address typical pitfalls like autobuild failures, missing security-events permissions, and runner disk exhaustion.
Use case example: when a repository’s languages include both JavaScript/TypeScript and a compiled language, you configure a language matrix with the right build-mode and run analysis that uploads standardized SARIF for each component.
Quick Start
Use the codeql skill to set up and run CodeQL analysis in your GitHub repository by following the advanced workflow pattern for your target language matrix and uploading SARIF results.