obsidian
CommandLoad Obsidian plugin development guidelines and best practices
Interactive guide for creating a new Obsidian plugin with best practices
description: Interactive guide for creating a new Obsidian plugin with best practices
You are helping the user create a new Obsidian plugin. Follow these steps:
Present the user with two options:
1. **Automated Setup** (Recommended): Use the interactive boilerplate generator script
2. **Manual Setup**: Guide the user through creating files step-by-step
Once the boilerplate is created (either way):
1. Verify all files follow the skill's best practices:
2. Help customize the plugin:
3. Guide through initial development:
The generated `package.json` contains a temporary `overrides` entry forcing `minimatch` to `^11.0.5`, explained by a `"//"` key next to it. It fixes advisory GHSA-g3hv-75wg-m249 in the lint toolchain (`typescript-eslint` and `@microsoft/eslint-plugin-sdl`, bundled by `eslint-plugin-obsidianmd`, still depend on vulnerable `minimatch` 10 and 9).
Ask the user which setup option they prefer, then proceed accordingly.
A comprehensive agent skill for developing high-quality Obsidian plugins that follow best practices, pass code review, and adhere to official submission guidelines.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.