AgentSkillsCN

local-deploy

构建插件并将其部署至本地Obsidian知识库进行测试。

SKILL.md
--- frontmatter
name: local-deploy
description: Build the plugin and deploy it to a local Obsidian vault for testing.
disable-model-invocation: true
allowed-tools: Bash(npm*), Bash(node*), Bash(npx*), Bash(mkdir*), Bash(cp*), Read, Glob

Deploy powerbase to the local Obsidian vault for testing. Do NOT build first — just copy the already-built files.

Target

D:/GitHub/work/.obsidian/plugins/powerbase/

Steps

  1. Create the plugin directory if it doesn't exist.

  2. Copy these files into the target directory:

    • main.js
    • manifest.json
    • styles.css
    • plugin-docs/CLAUDE.mdCLAUDE.md
  3. Report success and remind the user to reload Obsidian (Ctrl+R) or toggle the plugin off/on in Settings.