<< All versions

Skill v1.0.2

currentAutomated scan100/100
opentidehq/opentide/opentide-detection-rule

~2 modified

──Details
PublishedNovember 28, 2026 at 10:17 AM
Content Hashsha256:d5e1d3d681e61e04...
Git SHA400880158403
Bump Typepatch
Compare with v1.0.1
──Files
Files (1 file, 1.9 KB)
SKILL.md1.9 KBactive
SKILL.md · 36 lines · 1.9 KB

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.uuid is required. metadata.schema is rule::1.1.
  • detection_model is the UUID of an objective in objects/objectives/.
  • Platform query text lives under configurations.<platform>, and each block's schema is platform::<platform>::1.0.
  • Start a new rule with opentide new rule, which writes it from the current template.

Check

bash
opentide --json validate --strict
opentide --json lint --strict
opentide 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>.

← v1.0.1All versions