feat(github): add SessionStart hook to prefer MCP tools - #19
Conversation
Adds a SessionStart hook that reminds Claude to prefer GitHub MCP tools over gh CLI and WebFetch for all GitHub operations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
WalkthroughThis PR bumps the Claude plugin version from 1.0.0 to 1.1.0 and adds a new SessionStart hook configuration that provides user guidance on preferring MCP tools over alternative GitHub CLI and WebFetch approaches. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
SessionStarthook to the GitHub MCP plugin that reminds Claude to prefer MCP tools overghCLI andWebFetchfor all GitHub operationsraw.githubusercontent.comURLs via theget_file_contentsMCP tool1.0.0to1.1.0Changes
github/hooks/hooks.json— New SessionStart hook with echo commandgithub/.claude-plugin/plugin.json— Version bump to1.1.0Test plan
claude plugin validate ./githubpasses🤖 Generated with Claude Code
Summary by CodeRabbit