Interface: MarkdownFrontmatterSourceNode<T>
Defined in: ast/domain/markdown-frontmatter-source-node.ts:10
Passive AST node loading frontmatter-annotated rules or skills from Markdown files (md.*).
Always resolves control-plane rule and skill paths against the immutable host repository root.
Extends
BaseSourceASTNode<"markdown:frontmatter",T>
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | unknown | Resolved rule or skill payload type. |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
__dataType? | readonly | BivariantCallback<[data: T], void> | Phantom type brand preserving the resolved content type T. | BaseSourceASTNode.__dataType | ast/base/base-source-ast-node.ts:18 |
id | readonly | string | Logical identifier of the source descriptor. | BaseSourceASTNode.id | ast/base/base-source-ast-node.ts:16 |
kind? | readonly | | "skill" | "global-rules" | "scoped-rule" | "scoped-rules" | "skills" | "frontmatter" | Optional loader kind discriminant distinguishing rules and skills. | - | ast/domain/markdown-frontmatter-source-node.ts:15 |
pathOrGlob | readonly | string | File path or glob pattern targeting Markdown documents with YAML frontmatter. | - | ast/domain/markdown-frontmatter-source-node.ts:13 |
type | readonly | "markdown:frontmatter" | Unique string-literal discriminant of the source node. | BaseSourceASTNode.type | ast/base/base-source-ast-node.ts:14 |