SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-06-27 10:44 UTC

claude-pluginsv0.2.0

Version [0.2.0] committed by devin-ai-integration. Update Category: Feature Addition & Enhancement. Commit details: fix: normalize tweet entities to prevent skills-discovery 500 error (#115). This update introduces new capabilities and module extensions.

devin-ai-integration aec166c Kamalnrf/claude-plugins

CommitRaw commit message

fix: normalize tweet entities to prevent skills-discovery 500 error (#115)

* fix: normalize tweet entities to prevent skills-discovery 500 error

react-tweet@3.3.0 iterates tweet.entities.hashtags, .user_mentions,
and .symbols without null checks. The Twitter API omits these arrays
when a tweet has none, causing 'entities is not iterable' TypeError
during SSR and a 500 on the skills-discovery page.

Default the missing arrays to [] before passing to EmbeddedTweet.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix: also normalize quoted_tweet entities

Address review feedback: enrichTweet in react-tweet also calls
getEntities on tweet.quoted_tweet, so apply the same entity
normalization to quoted tweets to prevent the same TypeError.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Kamal Mukkamala <kamalnrf@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>