sast-configuration
Skill by Reihantt6
Guides setup and configuration of SAST tools Semgrep, SonarQube and CodeQL for security scanning of application code. Aimed at developers and security teams adding automated vulnerability checks to CI/CD pipelines.
Install sast-configuration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Reihantt6/sns-myagent /tmp/sns-myagent && mkdir -p ~/.claude/skills && cp -r /tmp/sns-myagent/agent/skills/sast-configuration ~/.claude/skills/sast-configurationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Reihantt6/sns-myagent /tmp/sns-myagent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sns-myagent/agent/skills/sast-configuration ~/.gemini/antigravity-cli/skills/sast-configurationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives guidance for setting up and configuring Static Application Security Testing (SAST) tools. It covers Semgrep, SonarQube and CodeQL, including custom rule creation, quality gates and SARIF result processing. The source includes setup commands, a GitHub Actions example and a pre-commit hook for Semgrep.
The tool comparison lists Semgrep as free or enterprise, SonarQube as free or commercial, and CodeQL as free for open source. The skill is aimed at teams that want to add security scanning to CI/CD pipelines or DevSecOps practices. It also includes best practices, troubleshooting notes and a next steps checklist, and it links to related skills for OWASP Top 10, container security and dependency scanning.
Written from the project's SKILL.md and checked against it.
What it can do
- Semgrep configurationCovers custom rule creation, language-specific security rules, CI/CD integration and false positive tuning.
- SonarQube setupCovers quality gate configuration, security hotspot analysis and custom quality profiles.
- CodeQL analysisCovers GitHub Advanced Security integration, custom queries, variant analysis and SARIF processing.
- CI/CD pipeline integrationProvides a GitHub Actions example using the Semgrep action with security audit rulesets.
- Pre-commit hookProvides a .pre-commit-config.yaml example that runs Semgrep before commits.
- Compliance scanningShows a Semgrep scan focused on the PCI-DSS ruleset with JSON output.
What you need
- Python, for installing Semgrep with pip
- Docker, for running the SonarQube container
- GitHub CLI with the codeql extension, for CodeQL
Try asking
- Set up Semgrep in my GitHub Actions workflow with the security-audit ruleset
- Write a Semgrep rule that flags hardcoded JWT secrets in my code
- Run a PCI-DSS focused Semgrep scan and save the results as JSON
Good to know
- The custom rule section points to references/semgrep-rules.md, which is not included in the source.
- The new project setup example calls ./scripts/run-sast.sh, which is not included in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent/skills/sast-configuration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sast-configuration
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
sast-configuration: common questions
Which SAST tools does this skill cover?
The skill covers Semgrep, SonarQube and CodeQL. It describes setup, configuration and custom rules for each.
Does it include CI/CD examples?
Yes. The source includes a GitHub Actions example that runs the Semgrep action, along with a pre-commit hook configuration for Semgrep.
Is it free to use?
The tool comparison lists Semgrep as free or enterprise, SonarQube as free or commercial, and CodeQL as free for open source.
How do I install sast-configuration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sast-configuration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sast-configuration safe to use?
It scores 54 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sast-configuration?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
