What problem does it solve? Writing production-quality SPL for Splunk Enterprise and Enterprise Security is error-prone: missing index constraints, unbounded time ranges, misuse of join and subsearches, and unverified CIM data model assumptions silently produce slow or empty detections. This Skill encodes the discipline needed to author fast, portable, tunable SPL detections. ## Core Features & Use Cases - SPL authoring discipline: Enforces index/sourcetype/time constraints, streaming-before-transforming command order, tstats with accelerated CIM data models, and TERM()/PREFIX() anchoring for leading wildcards. - ES correlation searches and RBA: Covers scheduled vs real-time searches, throttling, notable and risk event field shaping, and the three-layer macro architecture (source, process, filter) used by ESCU and OpenTide. - Reference catalogues: Ships anti-pattern rejection checklists (AP-S1 to AP-S12), CIM data model field mappings, detection-type patterns (TTP, anomaly, hunting, RBA, baseline), eval/stats function tables, and idioms like beaconing and impossible travel. - Use Case: Translate a KQL hunting hypothesis into a production Splunk correlation search with proper tstats acceleration, Layer 3 filter macros, throttling, and documented risk-score rationale. ## Quick Start Ask the assistant to write a Splunk detection for suspicious encoded PowerShell execution using tstats against the Endpoint.Processes data model with proper time bounds and a filter macro.