Skill v1.0.2
currentAutomated scan100/100~2 modified
name: opentide-detection-rule description: >- Shape and checks for opentide detection rules (rule::1.1 YAML under objects/rules/, one configurations.<platform> block per platform). Use when creating or editing a rule; pair with the opentide-rule skill and the platform's skill for authoring. metadata: version: "1.0.2"
Detection rules
Author rules as rule::1.1 YAML under objects/rules/.
Shape
metadata.uuidis required.metadata.schemaisrule::1.1.detection_modelis the UUID of an objective inobjects/objectives/.- Platform query text lives under
configurations.<platform>, and each block'sschemaisplatform::<platform>::1.0. - Start a new rule with
opentide new rule, which writes it from the current template.
Check
opentide --json validate --strictopentide --json lint --strictopentide validate query --platform <platform> --live --file <rule file>opentide deploy --dry-run --strategy PREVIEW --all
With --json, stdout is one JSON document. Each finding has code, path, line, column, help and fix: apply fix.edits (replace the text from (line, column) up to (end_line, end_column) with replacement; check an edit that is not safe against help), run opentide explain <code> when there is none, and repeat until the exit code is 0. On a non-zero exit, failure.code says why; follow next_actions.
validate checks schema, UUID, and references. lint checks filenames and recommended metadata. Query validation checks the tenant (--live) for the platforms that support it; --file limits it to the rule you are writing. A bare command refuses.
For descriptions, response procedures, exclusions and the platform skill to pair with each configurations.<platform>, install the full authoring skill and the platform's: opentide setup skills --install opentide-rule --generic --yes, and opentide setup skills discover --query <platform>.