Skip to content

Interface: MarkdownFrontmatterSourceNode<T> ​

Defined in: core/dist/ast/domain/markdown-frontmatter-source-node.d.ts:9

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 ​

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TunknownResolved rule or skill payload type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__dataType?readonlyBivariantCallback<[data: T], void>Phantom type brand preserving the resolved content type T.BaseSourceASTNode.__dataTypecore/dist/ast/base/base-source-ast-node.d.ts:17
idreadonlystringLogical identifier of the source descriptor.BaseSourceASTNode.idcore/dist/ast/base/base-source-ast-node.d.ts:15
kind?readonly| "global-rules" | "scoped-rule" | "scoped-rules" | "skill" | "skills" | "frontmatter"Optional loader kind discriminant distinguishing rules and skills.-core/dist/ast/domain/markdown-frontmatter-source-node.d.ts:13
pathOrGlobreadonlystringFile path or glob pattern targeting Markdown documents with YAML frontmatter.-core/dist/ast/domain/markdown-frontmatter-source-node.d.ts:11
typereadonly"markdown:frontmatter"Unique string-literal discriminant of the source node.BaseSourceASTNode.typecore/dist/ast/base/base-source-ast-node.d.ts:13

Released under the MIT License.