Diagnose and fix plugin build, Vault synchronization, and hot-reload chains.
Natural-language requests are sufficient to trigger execution; no legacy slash path, argument interpolation, or designated assistant is required. Explicitly resolve the project, target files, options, and output location in the current request; use the file, search, CLI, and browser capabilities actually provided by the current host.
Verify project dependency versions and external APIs at execution time; do not assume examples represent current configurations. Resolve bundled scripts from the Skill root and business files from the target project root. Read the current state first and protect existing uncommitted changes and the staging areas of other tasks.
Keep analysis and preview requests read-only; perform modifications, commits, pushes, deployments, and releases only within the explicit scope of the current request.
Do not bypass protections, automatically send messages, forcibly terminate user processes, or take over the foreground. On failure, preserve the original error for diagnosis.
-
Read the manifest id, build/dev scripts, esbuild configuration, and current output directory; confirm that this is an Obsidian plugin and distinguish the dist build from post-production conversion steps.
-
Resolve the explicit OBSIDIAN_PLUGIN_PATH or project OBSIDIAN_VAULT_PATH. Project configuration takes precedence over unrelated leftover shell values. If the target path cannot be determined, stop all writes and do not write to a placeholder Vault path.
-
Inspect the post-build synchronization hook, copying of manifest/styles/main, and .hotreload; synchronize only when there are no build errors, and preserve data.json and user settings within the Vault.
-
Add safe file copying or parameterized rsync using the tools actually available; avoid concatenating paths with execSync. Propagate and record failures. The development chain must include all required postbuild transformations.
-
Check the actual id and resources of the hot-reload plugin. If missing, verify them against a currently trusted source before installing into the specified Vault; do not overwrite community-plugins.json or claim that the plugin has been enabled in the UI.
-
Reuse the running watcher to verify checksums of built files, Vault files, and available runtime logs. Report static configuration correctness, file synchronization, and actual hot reload separately.
Before execution, read this package’s
and
Profile Contract. The priority order is the current request, project context, this Skill’s records, shared preferences, brand/user Profile, and security defaults.
Read only declared fields; hosts without a dedicated runtime may use
to read the shared Profile.
If configuration is missing, ask only one question that affects the result. Values the user explicitly requests to store long-term are written atomically through this script, and their actual paths must be reported; do not store inferred information, credentials, or materials from other tasks.