Obsidian Plugin Development Guidelines
A rule-by-rule guide for writing, reviewing and submitting Obsidian plugins that pass the official ESLint, accessibility and Scorecard checks.
Dev & CodingIntermediate★ 201⑂ 15AI score 8/10Last updated: Nov 14, 2026
What it does
- Condenses 40+ rules from
eslint-plugin-obsidianmdv0.4.2 into ✅/❌ tables and applies them while you write or review code. - Covers API choices: memory/lifecycle (
registerEvent,registerDomEvent), type safety (instanceofover casts), networking (requestUrlinstead offetch), vault operations (Vault.process,FileManager.trashFile), path handling (normalizePath). - Handles Obsidian 1.13+ declarative settings (
getSettingDefinitions()), popout-window pitfalls withactiveDocument/activeWindow, CSS-variable theming, and mandatory accessibility requirements. - Adds a 7-step community.obsidian.md submission workflow, Scorecard improvement tips, and a boilerplate generator script (
tools/create-plugin.js).
Who it's for
- Developers building their first Obsidian community plugin or preparing a submission.
- Maintainers who want to clear every ESLint warning and raise their public Scorecard.
- Anyone who has been rejected for mobile, popout-window or accessibility problems.
Examples
- "Review my main.ts against Obsidian's rules" → flags missing event cleanup,
anycasts, Title Case UI strings and proposes fixes. - "Migrate my settings tab to the 1.13 declarative API" → replaces
display()withgetSettingDefinitions()and checksminAppVersiongating. - "Pre-submission check" → runs ESLint, validates manifest and LICENSE, audits mobile/keyboard support, and sets up a matching GitHub Release.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/gapmiss/obsidian-plugin-skill/HEAD/.agents/skills/obsidian/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the .agents/skills/obsidian folder from the GitHub repo gapmiss/obsidian-plugin-skill into my ~/.claude/skills/obsidian/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/gapmiss/obsidian-plugin-skill.git /tmp/obsidian-plugin-skill && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-plugin-skill/.agents/skills/obsidian ~/.claude/skills/obsidian⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/gapmiss/obsidian-plugin-skill.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r obsidian-plugin-skill/.agents/skills/obsidian ~/.claude/skills/obsidian - Confirm the
reference/folder andtools/create-plugin.jscame along — they hold the detailed guides and the boilerplate generator. - Restart Claude Code, open your plugin project, and ask something like "review this plugin against the Obsidian guidelines" to trigger the skill.
View source on GitHub ↗License: MIT