Feature Note
This skill adds the featured tag to a specific note to mark it as important or featured.
Instructions
Identify Note
- Locate the markdown file corresponding to the user's request (by filename or path).
- If the path is not provided, search for the note by title.
Edit Frontmatter
- Read the file content.
- Parse the YAML Frontmatter.
- Check the
tagslist. - Action:
- If
tagsexists: Appendfeaturedif it's not already present. - If
tagsdoes not exist: Create the fieldtags: [featured].
- If
Save Changes
- Update the file with the modified Frontmatter.
- Preserve the rest of the file content exactly as is.