Description
In the obsidian-bases skill (skills/obsidian-bases/SKILL.md), the sort property/block is completely undocumented. While the schema and examples reference groupBy, they do not explain or show how to use sort to order base results (which is natively supported by the Obsidian Bases plugin).
This omission can lead AI coding assistants to overlook or fail to generate valid sorting configurations in .base files.
Proposed Changes
- Update the Schema section in
SKILL.md to include the sort list:
# Define one or more views
views:
- type: table | cards | list | map
name: "View Name"
limit: 10 # Optional: limit results
groupBy: # Optional: group results
property: property_name
direction: ASC | DESC
sort: # Optional: sort results (supports multiple properties)
- property: property_name
direction: ASC | DESC
- Update the Examples section to show how multiple sorting criteria can be combined (e.g., sorting by folder first, then by volume, and finally by name):
sort:
- property: file.folder
direction: ASC
- property: volume
direction: ASC
- property: file.name
direction: ASC
Description
In the
obsidian-basesskill (skills/obsidian-bases/SKILL.md), thesortproperty/block is completely undocumented. While the schema and examples referencegroupBy, they do not explain or show how to usesortto order base results (which is natively supported by the Obsidian Bases plugin).This omission can lead AI coding assistants to overlook or fail to generate valid sorting configurations in
.basefiles.Proposed Changes
SKILL.mdto include thesortlist: