Skip to main content

Module rules

Module rules 

Source
Expand description

Rule configuration and disk-descriptor model.

A rule is a markdown instruction fragment an organisation ships to its agents through a plugin bundle. DiskRuleConfig is the per-rule on-disk descriptor at rules/<id>/config.yaml, naming the markdown file that carries the rule text. Unlike the skill and hook descriptors this one is also serialisable: the marketplace importer writes these files from an Anthropic rules/*.md tree, so read and write share one shape.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

DiskRuleConfig

Constants§

DEFAULT_RULE_CONTENT_FILE
RULE_CONFIG_FILENAME