FileClass Management Skill
Core Principle
ALWAYS define fileClass explicitly in frontmatter when creating or modifying notes.
FileClass Definitions
All fileClass definitions are stored in: fileClasses/
Before creating or modifying a note:
- •Read the appropriate fileClass definition file (e.g.,
fileClasses/Contact.md) - •Use the properties and valid values defined there
- •Always include
fileClass: ClassNameas the first frontmatter property
Priority Rules
When multiple fileClasses could apply:
- •Explicit
fileClassin frontmatter (highest - always use this) - •Folder-based query
- •Tag-based mapping (lowest)
Always use explicit frontmatter declaration to avoid ambiguity.
Creating New FileClasses
When user needs a new note type:
- •Create definition file in
fileClasses/NewType.md - •Define properties with types (Input, Select, Multi, Date, etc.)
- •Update Metadata Menu config if folder-based auto-assignment needed