Skip to content

feat: add context file support and MCP/Context badges#3

Merged
amondnet merged 1 commit intomainfrom
feat/context-file-support-with-badges
Oct 15, 2025
Merged

feat: add context file support and MCP/Context badges#3
amondnet merged 1 commit intomainfrom
feat/context-file-support-with-badges

Conversation

@amondnet
Copy link
Copy Markdown
Contributor

Summary

  • Add contextFileName support to Claude Code plugins for automatic context loading
  • Display Context and MCP badges in marketplace UI
  • Enable seamless migration from Gemini CLI extensions

Changes

Plugin Configuration

  • Added contextFileName field to plugin.json for all plugins (nanobanana, flutter, code-review, security)
  • Updated context.sh hook to read from plugin.json with fallback to gemini-extension.json
  • Added SessionStart hooks for plugins missing them (nanobanana, flutter)

Marketplace UI

  • Added purple "Context" badge for plugins with context files
  • Added blue "MCP" badge for plugins with MCP servers
  • Badges displayed with icons and tooltips in PluginCard component

Documentation

  • Updated CLAUDE.md with context file support documentation
  • Created ADR 001: Context File Support decision record
  • Updated README.md with usage examples and plugin creation guide

Test Plan

  • Verify PluginCard component compiles without errors
  • Confirm dev server runs successfully (http://localhost:3003)
  • Check that context.sh hook reads contextFileName from plugin.json
  • Test Context badge displays for plugins with contextFileName
  • Test MCP badge displays for plugins with mcpServers
  • Verify context files load automatically on session start

Related

  • Enables Gemini CLI → Claude Code plugin migration
  • Provides visual indication of plugin capabilities in marketplace

Add contextFileName field support in plugin.json to enable automatic
context loading via SessionStart hooks. Display visual badges in
marketplace UI for plugins with Context files and MCP servers.

- Add contextFileName field to all plugin.json files
- Implement context.sh hook to load context from plugin.json or gemini-extension.json
- Add Context and MCP badges to PluginCard component
- Update CLAUDE.md with context file documentation
- Create ADR 001 documenting context file support decision
- Update README.md with context file usage examples
@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 15, 2025

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 0:29am

@amondnet amondnet merged commit 1f938b8 into main Oct 15, 2025
1 of 2 checks passed
@amondnet amondnet deleted the feat/context-file-support-with-badges branch October 15, 2025 12:29
@amondnet amondnet self-assigned this Oct 15, 2025
@pleaseai pleaseai Bot mentioned this pull request Oct 15, 2025
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