← ClaudeAtlas

md-weblisted

Use when the user explicitly asks to publish Markdown online or obtain a public share link through their S3 bucket. 发布 Markdown / 生成公开分享链接 / /md-web. Reads ~/.md-web/config.json. Viewer setup overwrites bucket-root files; optional expire_days manages retention. Local preview uses a local tool.
rockbenben/aishort-skills · ★ 0 · Data & Documents · score 75
Install: claude install-skill rockbenben/aishort-skills
# MD Web - Markdown to Web Page Upload one raw `.md` file to the user's S3-compatible bucket; a Docsify viewer already in that bucket renders it at a public URL. `{SKILL_DIR}` below is this skill's base directory — always keep it quoted. ## Data and writes - Publishing writes one Markdown object under the configured bucket's `md-web/` prefix. Re-publishing creates a new link. - Separate `--setup` uploads `assets/<bundle-hash>/` and replaces root `README.md` / `index.html`, which all document links share. Old assets remain available to cached pages. - Optional `expire_days` manages one lifecycle rule for `md-web/`; uploads expire after N days, and `0` removes the rule. Other rules are preserved. - Configuration and the deployment hint live in `~/.md-web/config.json` and `~/.md-web/.deployed`. Requests go to the configured S3 endpoint; publishing checks the active remote viewer. Legacy adjacent config is migrated automatically. ## Ground rules - **Document publishing.** An explicit request for online publication or a public/shareable Markdown link authorizes uploading that document, including retries. Tell the user the link is public before uploading; resolve unclear sharing scope first. Local preview or text organization stays local. - **Viewer setup.** Running `--setup` overwrites bucket-root files used by all published documents. Explain the affected paths and obtain authorization for setup, unless the user already authorized it in this task. - **Retention.** Adding, ch