Imported from opentidehq/opentide (
src/opentide/data/setup/skills/authoring/opentide-detection-rule/SKILL.md). Install upstream withnpx skills add opentidehq/opentide --skill opentide-detection-rule. Copyright stays with the author.
Detection rules
Author rules as rule::1.0 YAML under objects/rules/.
Shape
metadata.uuidis required.metadata.schemaisrule::1.0.detection_modelis the UUID of an objective inobjects/objectives/.- Platform query text lives under
configurations.<platform>, not a legacySchemas/orConfigurations/systemspath. - Generate a starting file with
opentide generateand edit the template it writes.
Check
opentide validate --strict
opentide lint --strict
opentide validate query --platform <platform>
opentide deploy --dry-run
validate checks schema, UUID, and references. lint checks filenames and recommended metadata. Query validation is offline syntax for the platforms that support it.
