obsidian-reference-architecture

Featured

Implement Obsidian reference architecture with best-practice project layout. Use when designing new plugins, reviewing project structure, or establishing architecture standards for Obsidian development. Trigger with phrases like "obsidian architecture", "obsidian project structure", "obsidian best practices", "organize obsidian plugin".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Obsidian Reference Architecture ## Overview Architecture patterns for complex Obsidian plugins: modular project structure with separate files for views, commands, settings, and services; state management; a service layer for vault operations; command registry; view manager; and CSS scoping. ## Prerequisites - TypeScript and Obsidian API familiarity - Working build pipeline (esbuild recommended) - Plugin scaffolding complete (`manifest.json`, `package.json`, `tsconfig.json`) ## Instructions ### Step 1: Project Structure ``` my-plugin/ ├── src/ │ ├── main.ts # Plugin entry — thin orchestrator │ ├── types.ts # Shared interfaces and type definitions │ ├── constants.ts # Plugin-wide constants │ ├── commands/ │ │ ├── index.ts # Command registry │ │ ├── insert-template.ts │ │ └── toggle-sidebar.ts │ ├── views/ │ │ ├── index.ts # View registry │ │ ├── sidebar-view.ts │ │ └── modal-view.ts │ ├── settings/ │ │ ├── settings.ts # Settings interface and defaults │ │ └── settings-tab.ts # Settings UI tab │ └── services/ │ ├── vault-service.ts # File read/write/search operations │ ├── metadata-service.ts # Frontmatter and cache operations │ └── sync-service.ts # External sync or background tasks ├── styles.css ├── manifest.json ├── versions.json ├── package.json ├── tsconfig.json └── esbuild.config.mjs ``` ### Step 2: Thin Main Entry Point ```typescript // ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

obsidian-install-auth

Set up Obsidian plugin development environment with Node.js and TypeScript. Use when starting a new plugin project, configuring the dev environment, or initializing Obsidian plugin development from scratch. Trigger with phrases like "obsidian setup", "obsidian plugin dev", "create obsidian plugin", "obsidian development environment".

2,266 Updated today
jeremylongshore
Data & Documents Solid

obsidian

Comprehensive guidelines for Obsidian.md plugin development including ESLint rules from eslint-plugin-obsidianmd v0.3.0, TypeScript best practices, memory management, API usage (requestUrl vs fetch), UI/UX standards, popout window compatibility, community.obsidian.md submission process, and Scorecard optimization. Use when working with Obsidian plugins, main.ts files, manifest.json, Plugin class, MarkdownView, TFile, vault operations, or any Obsidian API development.

143 Updated 3 days ago
gapmiss
AI & Automation Featured

obsidian-core-workflow-a

Create an Obsidian plugin from scratch with full project scaffolding. Covers Plugin class, ribbon icons, commands, settings tab, esbuild config, manifest.json, and building/testing. Use when starting a new plugin, scaffolding a project, or learning the plugin lifecycle. Trigger with "create obsidian plugin", "scaffold obsidian plugin", "new obsidian plugin", "obsidian plugin from scratch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

obsidian-hello-world

Create a minimal working Obsidian plugin with commands, settings, modals, and ribbon icons. Use when building your first plugin feature, testing your setup, or learning basic Obsidian plugin patterns. Trigger with phrases like "obsidian hello world", "first obsidian plugin", "obsidian quick start", "simple obsidian plugin".

2,266 Updated today
jeremylongshore
AI & Automation Featured

obsidian-observability

Implement structured logging, metrics, error tracking, and a debug panel for Obsidian plugins. Use when adding debug logging, tracking plugin performance, building a diagnostics view, or setting up error reporting. Trigger with phrases like "obsidian logging", "obsidian monitoring", "obsidian debug panel", "track obsidian plugin performance".

2,266 Updated today
jeremylongshore