AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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-obsidianmd v0.4.2 into ✅/❌ tables and applies them while you write or review code.
  • Covers API choices: memory/lifecycle (registerEvent, registerDomEvent), type safety (instanceof over casts), networking (requestUrl instead of fetch), vault operations (Vault.process, FileManager.trashFile), path handling (normalizePath).
  • Handles Obsidian 1.13+ declarative settings (getSettingDefinitions()), popout-window pitfalls with activeDocument/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

  1. "Review my main.ts against Obsidian's rules" → flags missing event cleanup, any casts, Title Case UI strings and proposes fixes.
  2. "Migrate my settings tab to the 1.13 declarative API" → replaces display() with getSettingDefinitions() and checks minAppVersion gating.
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/gapmiss/obsidian-plugin-skill.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r obsidian-plugin-skill/.agents/skills/obsidian ~/.claude/skills/obsidian
  5. Confirm the reference/ folder and tools/create-plugin.js came along — they hold the detailed guides and the boilerplate generator.
  6. Restart Claude Code, open your plugin project, and ask something like "review this plugin against the Obsidian guidelines" to trigger the skill.