obsidian-plugin-modals
Installation
SKILL.md
Obsidian Plugin Modals
This skill covers building modal dialogs, suggestion popups, and context menus in Obsidian plugins. It focuses on the concrete API classes you extend or instantiate, the lifecycle hooks you implement, and the patterns that keep modal code maintainable.
When to Use This Skill
- Building a custom popup that accepts user input
- Creating an autocomplete-style picker over a list of files, tags, or custom objects
- Adding fuzzy search to a command palette-like experience
- Showing confirmation dialogs before destructive actions
- Building right-click context menus in custom views or ribbon icons
- Chaining multiple modal steps into a wizard-like flow
- Returning data from a modal back to the calling command or view
Overview
Obsidian provides a family of modal classes under the obsidian package: