What problem does it solve? Writing YARA rules that catch malware without flooding analysts with false positives is hard: strings must generate good atoms, conditions must be ordered for performance, and rules must be validated against goodware before deployment. This Skill guides the authoring of high-quality YARA-X detection rules, covering string selection, performance optimization, and migration from legacy YARA. ## Core Features & Use Cases - Rule authoring guidance: Naming conventions, required metadata, string selection decision trees, and condition ordering patterns for PE, Mach-O, JavaScript, npm packages, Office docs, Chrome extensions (crx module), and Android apps (dex module). - Validation scripts: Run yara_lint.py to check style and metadata, and atom_analyzer.py to score string atom quality and flag performance-killing patterns like short strings, repeated bytes, and unbounded regex. - Migration support: Fix common legacy YARA incompatibilities (unescaped braces, invalid escapes, base64 length requirements) using yr check and yr fmt. - Use Case: You receive a new malware family sample. Use this Skill to extract candidate strings with yarGen, filter out API names and common paths, write a rule with proper metadata, validate it with yr check and the linter, and confirm zero matches against a goodware corpus before deployment. ## Quick Start Ask the AI to write a YARA-X rule detecting a specific malware family from your samples, then validate it with the atom analyzer and linter scripts.