publish

Installation
SKILL.md

brewdoc:publish

Publish content to brewpage.app — free instant hosting for HTML pages, JSON documents, files, and multi-file sites. No sign-up required.

Prompt contract

Position 1 of $ARGUMENTS is a free-form prompt (RU/EN) — the content (text, file/dir/zip path), --ttl and --entry are optional and may follow in any order. Nobody types keys: resolve WHAT to publish FROM the prompt.

  1. Strip --ttl N and --entry <filename> flags.
  2. Extract the content to publish (rule 3 below) — this doubles as the content-type detection in Step 2, scored by the keyword table there.
  3. Prose resolution (mandatory): a sentence naming a file/dir resolves to that file/dir (e.g. "publish my report.md" -> content_arg = report.md, resolved against cwd); a sentence with no path and no inline text/JSON has nothing to publish -> ONE AskUserQuestion asking what to publish. Never guess, never silently fall back to an empty HTML page.
  4. Outcome-changing ambiguity (namespace, password) -> the two dedicated AskUserQuestion calls in Steps 4-5; nothing else asks.
Installs
1
GitHub Stars
31
First Seen
9 days ago
publish — kochetkov-ma/claude-brewcode