obsidian-sdk-patterns

Installation
SKILL.md

Obsidian SDK Patterns

Overview

Six production patterns that prevent the most common Obsidian plugin bugs: lost settings on upgrade, null-reference crashes on deleted files, memory leaks from unregistered events, stale metadata, and UI jank from rapid file changes. Each pattern is self-contained and copy-pasteable.

Prerequisites

  • A working Obsidian plugin (see obsidian-core-workflow-a)
  • TypeScript strict mode enabled ("strictNullChecks": true in tsconfig)
  • Familiarity with Plugin.onload() / onunload() lifecycle

Instructions

Step 1: Typed settings with versioned migration

Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
Security Audits
obsidian-sdk-patterns — jeremylongshore/tons-of-skills-marketplace