What problem does it solve?
This guide collects Obsidian plugin architecture, API conventions, Vault interactions, and build practices so TypeScript developers can ship features without guessing the runtime rules.
Core Features & Use Cases
- Plugin Anatomy & Registration: outlines the src/main.ts entry point, manifest expectations, Plugin class setup, register* helpers, commands, views, modals, and settings tabs so everything cleans up on unload.
- API & Platform Guidance: highlights Vault read/write/adapter usage, Workspace and Vault events, requestUrl requirements, and Platform detection for safe desktop and mobile behavior.
- Build & Deployment Workflow: details the esbuild config, tsconfig choices, version bump script, and symlink-based development cycle that keeps bundles compatible with Obsidian.
- Use Case: while implementing a new command that touches vault files, rely on this skill to configure settings, register events, respect mobile-safe HTTP/crypto, and keep the plugin lifecycle clean.
Quick Start
Request a plugin skeleton that registers commands, Vault events, and requestUrl-based HTTP helpers while following register* cleanup conventions.