
The npx template for vibe-coded Obsidian plugins.
Create a new plugin instantly:
cd into the .obsidian/plugins folder of your Obsidian notebook and run:
npx pochade-obsidian {name of my new plugin}
This interactive CLI will set you up with:
src/ structure separating commands, settings, and main logic.LLM.md and AGENTS.md to help AI coding assistants understand your codebase immediately.I think vibe coding on production is a really bad idea. But for writing plugins for Obsidian I think itβs amazing.
With great power comes great responsibility, etc.
Instead of dumping everything into main.ts, Pochade organizes your code for the long haul:
my-plugin-name/
βββ .hotreload # Ready for hot-reload plugin
βββ AGENTS.md # System prompts for your AI agent
βββ LLM.md # Context on Obsidian API for LLMs
βββ src/
β βββ main.ts # Lifecycle management
β βββ settings.ts # Settings UI
β βββ commands/ # One file per command
β βββ insert-date.ts
β βββ ...
βββ styles.css # Clean, separate styling
cd my-new-plugin
npm run dev
<Vault>/.obsidian/plugins/.Unlicense (Public Domain). Build something beautiful.