lightning-blog
Installation
SKILL.md
Lightning AI blog (author, edit and publish lightning.ai/blog posts)
A blog post on lightning.ai/blog is two objects:
| Object | Owns | Endpoint | Update semantics |
|---|---|---|---|
blog post (bp_…) |
title, description, category, social image, author, customer name/logo, published date, share-while-draft flag | /v1/blog-posts |
PUT is a partial merge: send only what changes |
lit page (01k…) |
the body (EditorJS JSON), the URL slug (path), the published flag |
/v1/lit-pages/{id} |
PUT is a full replace: omitting published unpublishes a live post, omitting path fails with 500 and loses the edit |
Creating a blog post creates its lit page. The public URL is https://lightning.ai/blog/<path>.
Two rules above everything else:
- Never publish without explicit confirmation, in that message, for that post. Work draft-first and share a review link instead.
- Change the lit page only through
put_pagebelow, which carries the current body,pathandpublishedthrough unless you mean to change them.