Commit Graph

3 Commits

Author SHA1 Message Date
pablo-mano e30c0eb9cc Add template:insert error message to docs
Clarifies exact error returned when no file is active in Obsidian UI:
"Error: No active editor. Open a file first."

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 23:51:30 +01:00
pablo-mano 462a38b164 Fix command-reference: correct 6 tested inaccuracies, add undiscovered commands
- files: remove format=json (returns plain text, not JSON)
- search matches: note it does not return match context in v1.12
- search format=json: clarify it returns array of path strings
- tasks: note that no-args returns all tasks (same as tasks all) in v1.12
- plugins versions: note version numbers only shown for community plugins
- plugin:uninstall: add undiscovered command
- themes versions: add undiscovered subcommand, remove nonexistent install/switch
- template:insert: clarify it targets the active Obsidian UI file, not a path
- dev:screenshot: note path must be vault-relative (absolute paths silently fail)
- dev:debug on/off: add undiscovered commands required before dev:console
- dev:console: note requires dev:debug on first
- jq example: fix .[].path -> .[] (search returns strings, not objects)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 23:39:59 +01:00
pablo-mano 47d3d78f66 Restructure to valid Claude Code plugin format
- Move plugin manifest to .claude-plugin/plugin.json (correct location)
- Move SKILL.md to skills/obsidian-cli/SKILL.md (auto-discovered by Claude Code)
- Move references/ inside skill directory to preserve relative paths
- Update README: Claude Code install uses --plugin-dir, fix reference paths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 22:50:13 +01:00