Skip to content

push: add --description for the canvas OG unfurl#1

Open
johnkueh wants to merge 1 commit into
mainfrom
feat/og-description
Open

push: add --description for the canvas OG unfurl#1
johnkueh wants to merge 1 commit into
mainfrom
feat/og-description

Conversation

@johnkueh

@johnkueh johnkueh commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Companion to johnkueh/drafty#1 (the web side).

The canvas unfurl now shows a full-bleed screenshot of the artifact plus a title and
a one-line description — like a Claude public-artifact link. The description is
og:description, written by the publishing agent (it has the full content in context).

  • canvas.tspush takes --description, sent in the body when present.
    Re-pushing without it keeps the existing one.
  • SKILL.md — always pass --title and --description on publish; one plain
    sentence (~120 chars), no marketing voice. Updated the command table and example.

Depends on the web PR (stores description, emits the meta tags). Until that ships,
--description is simply ignored, so this is safe to merge independently.

The web app now uses an agent-written one-line description as og:description on
the canvas link preview (full-bleed artifact image + title + description, like a
Claude public-artifact link). Add the flag and tell the skill to write it on
publish — the agent has the full content in context.

- canvas.ts: --description flag, sent in the push body when present. Re-pushing
  without it keeps the existing description.
- SKILL.md: always pass --title and --description on publish; one plain sentence,
  no marketing voice. Updated the command table and example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant