Skip to content

feat(demos): show the demo picture in a Skill page's social card - #543

Merged
harlan-zw merged 1 commit into
mainfrom
feat/skill-demo-social-card
Oct 7, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
feat/skill-demo-social-card

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

No linked issue.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

A shared Skill page showed the plain Skill card, even when the Skill had a demo. Demo pages already show what the Agent made (#537). A Skill page only demo, such as shipreel's (#536), has no demo page, so its Skill page is the only link to share.

A Skill page with a demo now uses the Demo.takumi card: "What /{name} made", how the demo was recorded, and the film's poster frame or the page's first screen. A Skill without a demo, or with a demo that has no such picture, keeps the Skill.takumi card. demoSocialPicture now takes only the video and shots it reads, so the Skill page can pass its own demo view.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

A shared Skill page with a demo showed the plain Skill card, while its
demo page showed what the Agent made. A Skill page only demo has no demo
page, so its Skill page link is the only one to share.
@harlan-zw

Copy link
Copy Markdown
Collaborator Author

Agent check, run by hand because CI cannot render a social card:

  • I served a production build with wrangler dev, reading Skill data from skilld.dev.
  • /gh/thebstar/shipreel and /gh/anthropics/skills/frontend-design set c_Demo.takumi with "What /{name} made, on skilld" as the alt text.
  • /gh/anthropics/skills/pdf, which has no demo, still sets c_Skill.takumi.
  • The shipreel card rendered as a 1200×600 PNG with the film's title frame under the band.

@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 7, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. labels Oct 7, 2026
@harlan-zw
harlan-zw merged commit 230d842 into main Oct 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant