-
Notifications
You must be signed in to change notification settings - Fork 212
Add semgrep-scanner and semgrep-triager agents to static-analysis #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Introduces formal agent definitions for the scanning and triage workflows. Updates SKILL.md to reference agents and bumps version to 1.1.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Update scanner-task-prompt.md to reference semgrep-scanner subagent type instead of Bash (consistent with SKILL.md Step 4 change) - Update triage-task-prompt.md to reference semgrep-triager subagent type instead of general-purpose (consistent with SKILL.md Step 5 change) - Add Agents Included section to README.md documenting new agents - Fix Agents table column header in SKILL.md from "Type" to "Tools" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Code Review SummaryFindings by severity
Fixed (3 P2 + 1 P3)
Dismissed (2 P3)
Informational (P4, no action taken)
Quality pipelineAll validation checks pass:
Fixes committed as |
Plugin agents require the `plugin-name:agent-name` format at runtime, but the skill referenced bare names (`semgrep-scanner`, `semgrep-triager`) causing "Agent type not found" errors when spawning scan/triage Tasks. Also adds agent types to the Step 3 plan template and pre-scan checklist so they appear in generated plans and survive context clearing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Running into permission issues when spawning
Tool permissions seem correct as currently defined, but require further debugging. |
Summary
semgrep-scanneragent (Bash) for parallel semgrep CLI scans per language categorysemgrep-triageragent (Read, Grep, Glob, Write) for classifying findings as true/false positivesNew files
plugins/static-analysis/agents/semgrep-scanner.md(71 lines)plugins/static-analysis/agents/semgrep-triager.md(107 lines)Test plan
{baseDir}/skills/semgrep/references/scanner-task-prompt.mdresolves correctly{baseDir}/skills/semgrep/references/triage-task-prompt.mdresolves correctly🤖 Generated with Claude Code