skills/obsidian/obsidian-plugin-deploy/SKILL.md
Build and deploy Obsidian plugins to Windows test vault from WSL or Windows environment. Use when working on Obsidian plugin development and need to test changes in the actual Obsidian application. Handles npm build, file copying to vault paths, and creates plugin directory structure automatically. Cross-platform support for WSL and native Windows.
npx skillsauth add atman-33/atman-workspace obsidian-plugin-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill automates the build and deployment process for Obsidian plugins when developing in WSL or Windows environments. It builds the plugin, creates the necessary directory structure, and copies files to the correct location in the vault.
Deploy the current plugin to test vault:
python3 .claude/skills/obsidian-plugin-deploy/scripts/deploy.py
Or on Windows:
python .claude/skills/obsidian-plugin-deploy/scripts/deploy.py
The script will:
npm run build to compile the plugin/mnt/c/ or Windows C:\)<vault>/.obsidian/plugins/ai-terminal/main.js, manifest.json, and styles.css to the plugin directoryAfter deployment, reload Obsidian (Ctrl+R) to see the changes.
The deployment script uses these default values:
ai-terminal/mnt/c/obsidian/testC:\obsidian\testTo modify these values, edit the script configuration:
# In .claude/skills/obsidian-plugin-deploy/scripts/deploy.py
PLUGIN_ID = "your-plugin-id"
OBSIDIAN_TEST_VAULT = Path("/mnt/c/path/to/your/vault")
The script automatically detects the environment and adjusts paths accordingly.
Build fails: Check that npm install has been run and package.json is configured correctly.
Permission denied: Ensure the vault path is accessible and you have write permissions.
Plugin not appearing: Verify the plugin directory was created and contains all required files (main.js, manifest.json).
Changes not reflected: Make sure to reload Obsidian after deployment (Ctrl+R or restart the app).
Path not found: The script auto-detects WSL vs Windows paths. If detection fails, manually edit OBSIDIAN_TEST_VAULT in the script.
Executable code (Python/Bash/etc.) that can be run directly to perform specific operations.
Examples from other skills:
fill_fillable_fields.py, extract_form_field_info.py - utilities for PDF manipulationdocument.py, utilities.py - Python modules for document processingAppropriate for: Python scripts, shell scripts, or any executable code that performs automation, data processing, or specific operations.
Note: Scripts may be executed without loading into context, but can still be read by Codex for patching or environment adjustments.
Documentation and reference material intended to be loaded into context to inform Codex's process and thinking.
Examples from other skills:
communication.md, context_building.md - detailed workflow guidesAppropriate for: In-depth documentation, API references, database schemas, comprehensive guides, or any detailed information that Codex should reference while working.
Files not intended to be loaded into context, but rather used within the output Codex produces.
Examples from other skills:
Appropriate for: Templates, boilerplate code, document templates, images, icons, fonts, or any files meant to be copied or used in the final output.
Not every skill requires all three types of resources.
tools
Zenn記事のMarkdown校正を行うスキル。記事を読み、Zenn独自記法の正確性・見出し構造・コードブロック・リンク・画像・テーブル・埋め込み・メッセージ/アコーディオン記法をチェックし、改善提案を行う。ユーザーが「Zenn記事を校正して」「Zennの記法をチェックして」「記事をレビューして」「Markdown確認して」と依頼した際に使用する。
tools
Develop React applications for VS Code Webview surfaces. Use when working on the `webview-ui` package, creating features, components, or hooks for VS Code extensions. Includes project structure, coding guidelines, and testing instructions.
testing
Best practices for reliable terminal command execution and output capture. Use this skill when running shell commands, especially in environments like WSL where output might be truncated or lost, to ensure results are properly captured and inspected.
databases
Supabaseデータベースマイグレーションの準備を行うスキル。バックアップの作成と差分マイグレーションファイルの生成を実施します。ユーザーが「マイグレーションを準備」「バックアップと差分を作成」「マイグレーションファイルを生成」などのリクエストをした際に使用します。