feat: add Claude Code plugin with Skill-based integration #786
+105
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Add Claude Code plugin support with intelligent, skill-based Context7 integration.
Changes
.claude-plugin/plugin.json): Configure MCP server with npx execution and optional API key supportskills/context7/SKILL.md): Intelligent, on-demand activation when working with libraries or frameworksArchitecture Decision: Skill vs SessionStart Hook
This implementation uses Skills instead of SessionStart hooks for better token efficiency and user experience:
Why Skills?
Previous Approach (SessionStart Hook)
Benefits
/plugin installcommandCONTEXT7_API_KEYenvironment variable for higher rate limitsUsage
https://plugins.pleaseai.dev/?install=context7
The skill automatically activates when you:
Claude intelligently detects these scenarios and fetches up-to-date documentation seamlessly.
Skill Activation Example
When you ask:
Claude automatically:
resolve-library-idto find Next.js docsget-library-docsto fetch current middleware documentationNo need to explicitly say "use context7" - it just works!
References