Skills: Fix create, newtab and console examples, and describe all six skills

A template replaces content= in create, newtab only works with open,
and dev:console keeps only messages logged after dev:debug on, so turn
it on before reloading. The Claude manifest and marketplace now use the
description that covers all six skills. bump.sh runs from any directory
and rejects versions it can't bump later.
This commit is contained in:
Steph Ango
2026-11-06 15:06:07 -08:00
parent 330aed55c3
commit 60b7f25b04
5 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
{
"name": "obsidian",
"source": "./plugins/obsidian",
"description": "Claude Skills for Obsidian",
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, web extraction, and templates.",
"version": "1.1.0"
}
]
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "obsidian",
"version": "1.1.0",
"description": "Create and edit Obsidian vault files including Markdown, Bases, and Canvas. Use when working with .md, .base, or .canvas files in an Obsidian vault.",
"description": "Work with local Obsidian vaults using the Obsidian CLI and skills for Markdown, Bases, Canvas, web extraction, and templates.",
"author": {
"name": "Obsidian",
"url": "https://obsidian.md/"
+1 -1
View File
@@ -225,7 +225,7 @@ Generate 16-character lowercase hexadecimal strings (64-bit random value):
| File preview | 300-500 | 200-400 | 450-750 |
| Link preview | 250-400 | 100-200 | 375-600 |
**CJK text sizing**: CJK characters (Chinese, Japanese, Korean) are approximately 2× wider than Latin characters. For content primarily in CJK languages, multiply the suggested width by ~1.5× to avoid cramped layouts and awkward line breaks.
**CJK text sizing**: CJK characters (Chinese, Japanese, Korean) are wider than Latin characters. For content primarily in CJK languages, multiply the suggested width by ~1.5× to avoid cramped layouts and awkward line breaks.
## Validation Checklist
@@ -35,7 +35,7 @@ obsidian create name="My Note" open overwrite
Use `overwrite` only when replacing an existing file is intended.
Opening is opt-in: pass `open` (or `newtab` where supported) when you want the file to open. There is no `silent` flag.
Opening is opt-in: pass `open` to open the file, and add `newtab` to open it in a new tab. There is no `silent` flag.
In `content=`, `\n` becomes a newline and `\t` a tab. Every `\n` and `\t` is converted and there's no escape, so text such as the LaTeX `\theta` or the path `C:\notes` is corrupted. Write content that contains backslashes, or is longer than about 4 KB, directly to the note's file instead.
@@ -62,7 +62,7 @@ Use `vault=` when the user has selected a vault. If the target is unclear and th
```bash
obsidian read file="My Note"
obsidian create name="New Note" content="# Hello" template="Template"
obsidian create name="New Note" template="Template" # a template replaces content=
obsidian create name="New Note" content="# Hello" open # also open in Obsidian
obsidian append file="My Note" content="New line"
obsidian rename path="folder/note.md" name="New name"
@@ -94,7 +94,7 @@ obsidian tasks todo format=json # many list commands also accept format=
### Develop/test cycle
After making code changes to a plugin or theme, follow this workflow:
Turn on console capture once with `obsidian dev:debug on`, so messages from the reload are kept. After making code changes to a plugin or theme, follow this workflow:
1. **Reload** the plugin to pick up changes:
```bash
@@ -109,9 +109,8 @@ After making code changes to a plugin or theme, follow this workflow:
obsidian dev:screenshot
obsidian dev:dom selector=".workspace-leaf" text
```
4. **Check console output** for warnings or unexpected logs. Turn on capture with `dev:debug on` first:
4. **Check console output** for warnings or unexpected logs:
```bash
obsidian dev:debug on
obsidian dev:console level=error
```
+8 -3
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
if [[ $# -ne 1 ]]; then
echo "Usage: $0 <major|minor|patch|x.y.z>" >&2
exit 1
@@ -19,10 +21,13 @@ case "$1" in
major) new_version="$((major + 1)).0.0" ;;
minor) new_version="$major.$((minor + 1)).0" ;;
patch) new_version="$major.$minor.$((patch + 1))" ;;
[0-9]*.[0-9]*.[0-9]*) new_version="$1" ;;
*)
echo "Usage: $0 <major|minor|patch|x.y.z>" >&2
exit 1
if [[ "$1" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
new_version="$1"
else
echo "Usage: $0 <major|minor|patch|x.y.z>" >&2
exit 1
fi
;;
esac