emit-sarif
Installation
SKILL.md
Emit SARIF Findings
Context
You have completed a security analysis of a codebase and hold one or more findings in working memory. This skill serializes those findings as a SARIF v2.1.0 log that downstream tooling — result-management systems, triage agents, and autonomous remediation agents — can consume without tool-specific knowledge.
The output contract is the AI-generated-findings profile defined in docs/ai/generating-sarif.md. That document is the normative reference; this skill is the operational wrapper that uses the Sarif.Multitool emit verbs to produce a conformant log.
When to apply this skill
Apply this skill when an agent is the originating detector (not post-processing another tool's SARIF) and needs to persist findings. Signals:
- The agent has enumerated vulnerabilities with file/line locations and CWE classifications.
- A downstream step expects a
.sarifartifact. - The orchestrator requests
ai/origin: "generated"output (orannotated/synthesized).