From 602842d93714c4bdc8de23bb75f006dae2ec14a7 Mon Sep 17 00:00:00 2001 From: Sam Collins <81678+smcllns@users.noreply.github.com> Date: Thu, 14 May 2026 18:21:48 -0700 Subject: [PATCH] docs: Add HTML authoring skill release artifact --- .agents/SKILL.md | 102 ++++++++++++++++++ .../2026-05-14-authoring-skill-release.md | 24 +++++ .github/workflows/release.yml | 2 + README.md | 7 ++ docs/handoffs/authoring-skill-release.md | 31 ++++++ esbuild.config.mjs | 1 + 6 files changed, 167 insertions(+) create mode 100644 .agents/SKILL.md create mode 100644 .agents/plans/2026-05-14-authoring-skill-release.md create mode 100644 docs/handoffs/authoring-skill-release.md diff --git a/.agents/SKILL.md b/.agents/SKILL.md new file mode 100644 index 0000000..eb766a9 --- /dev/null +++ b/.agents/SKILL.md @@ -0,0 +1,102 @@ +--- +name: obsidian-html-docs +description: Author HTML files for the Obsidian HTML Docs plugin (smcllns/obsidian-plugin-html-docs). Use when creating .html docs intended to render inline in Obsidian: theme tokens, sandbox constraints, asset rules, embed sizing, and things that silently do not work. +--- + +# Obsidian HTML Docs authoring guide + +The HTML Docs plugin lets users view `.html` files inside Obsidian tabs, markdown embeds, and Canvas cards. It renders each file in a sandboxed iframe via Blob URL. The iframe is sealed (`sandbox="allow-scripts allow-popups allow-forms"`, no `allow-same-origin`) so it cannot reach into Obsidian or the vault. Everything below works within that envelope. + +## Default to Obsidian context unless asked otherwise + +Before creating the Blob URL, the plugin appends a `