Skip to content

feat: add author badges for Google and Anthropic plugins - #5

Merged
amondnet merged 1 commit into
mainfrom
feat/add-author-badges
Oct 15, 2025
Merged

feat: add author badges for Google and Anthropic plugins#5
amondnet merged 1 commit into
mainfrom
feat/add-author-badges

Conversation

@amondnet

Copy link
Copy Markdown
Contributor

Summary

  • Add visual badges to distinguish plugins by their author organization
  • Display Google badge (warning color) for Google-developed plugins
  • Display Anthropic badge (error color) for Anthropic-developed plugins
  • Add author metadata to plugin.json for all Google plugins

Changes

  • PluginCard.vue: Add author badge display logic with conditional rendering for Google and Anthropic
  • nuxt.config.ts: Add Tailwind safelist for badge colors (deprecated, will be removed as Nuxt UI colors are used)
  • Submodules: Update nanobanana, security, flutter, and code-review plugins to include author metadata

Implementation Details

  • Uses Nuxt UI's valid color values: warning (Google), error (Anthropic), info (Context), primary (MCP)
  • Handles both string and object formats for author field
  • Fetches author metadata from plugin.json via GitHub raw URLs
  • Fully prepared for future Anthropic plugins

Test Plan

  • Google badges display correctly on nanobanana, security, flutter, and code-review plugins
  • Badge colors render properly in browser
  • Author metadata fetched successfully from submodules
  • No TypeScript/Vue errors

Add visual badges to distinguish plugins by author organization:
- Display Google badge (warning color) for Google-developed plugins
- Display Anthropic badge (error color) for Anthropic-developed plugins
- Add author metadata to plugin.json for all Google plugins (nanobanana, security, flutter, code-review)
- Update badge colors to use valid Nuxt UI color values (warning, error, info, primary)
- Add authorName computed property to handle both string and object author formats
- Update submodules to include author metadata changes

This improves plugin discoverability and helps users identify official plugins from major AI companies.
@vercel

vercel Bot commented Oct 15, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
claude-code-plugins Ready Ready Preview Comment Oct 15, 2025 1:00pm

@amondnet
amondnet merged commit bf6b6fa into main Oct 15, 2025
1 of 2 checks passed
@pleaseai pleaseai Bot mentioned this pull request Oct 15, 2025
@amondnet
amondnet deleted the feat/add-author-badges branch October 15, 2025 20:12
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