Skip to content

feat: add Sentry Claude plugin - #783

Merged
keito4 merged 1 commit into
mainfrom
chore/add-sentry-claude-plugin
Jun 1, 2026
Merged

feat: add Sentry Claude plugin#783
keito4 merged 1 commit into
mainfrom
chore/add-sentry-claude-plugin

Conversation

@keito4

@keito4 keito4 commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add sentry@claude-plugins-official to the Claude plugin manifest
  • Persist the Claude CLI-installed plugin enablement and marketplace declarations in shared settings
  • Update documentation to list Sentry alongside the pre-installed official plugins

Verification

  • make claude-setup
  • jq empty .claude/settings.json .claude/plugins/known_marketplaces.json.template
  • git diff --check
  • npx prettier --check README.md docs/using-config-base-image.md .claude/settings.json
  • npm test via pre-commit: 25 suites / 564 tests passed

Note: TypeScript LSP was already present as typescript-lsp@claude-plugins-official and remains enabled.

Summary by CodeRabbit

  • Chores

    • Added Sentry monitoring integration for error tracking and observability
    • Expanded available development plugins and tools, including code review, database utilities, and browser automation
    • Configured additional plugin marketplaces for extended functionality
  • Documentation

    • Updated documentation to reflect newly available plugins and monitoring capabilities

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds Sentry error monitoring to the Claude Code plugin configuration by enabling the sentry@claude-plugins-official plugin in the devcontainer build setup, configuring its marketplace sources, and documenting it across README and configuration documentation.

Changes

Sentry Plugin Integration

Layer / File(s) Summary
Plugin enablement and marketplace configuration
.claude/plugins/plugins.txt, .claude/settings.json
A "Monitoring" section with sentry@claude-plugins-official is added to the plugin installation list. The enabledPlugins array is expanded with additional plugins and templates. The extraKnownMarketplaces object is populated with git repository mappings for claude-plugins-official, agent-browser, claude-code-workflows, intellectronica-skills, and supabase-agent-skills.
Documentation updates
README.md, docs/using-config-base-image.md
The "Pre-installed Plugins" section in README and official plugins documentation are updated to include sentry in the list of available monitoring tools.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • keito4/config#168: Introduces repository-managed plugins.txt and automated plugin-install/sync workflow that this PR builds upon.
  • keito4/config#180: Previously modified sentry@claude-plugins-official entries in the same plugin list configuration.
  • keito4/config#184: Adds other dev plugins like code-review-ai@claude-plugins-official to .claude/plugins/plugins.txt using the same pattern.

Suggested labels

released, size/S

Poem

🐰 A sentinel watches the code unfold,
Sentry stands guard, both brave and bold,
Errors are caught before they run wild,
Configuration complete, clean, and styled! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description provides a clear summary and verification steps but does not follow the repository's required template structure with all specified sections. Restructure the description to match the repository template: add 'Why', 'What', 'How to test', 'Checklist', and 'Related' sections with proper formatting.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically summarizes the main change: adding the Sentry Claude plugin to the codebase.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add-sentry-claude-plugin

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@claude

claude Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Claude finished @keito4's task in 1m 8s —— View job


コードレビュー: feat: add Sentry Claude plugin

タスクリスト

  • 変更ファイルの読み込み・差分確認
  • コードレビュー実施
  • レビューコメント投稿

全体評価: ✅ APPROVE

変更内容は目的を達成しており、既存の構造・規則に従っています。テストもパスしています。ただし、いくつか確認・改善ポイントを挙げます。


観点別レビュー

🔒 Security(セキュリティ)

[Recommendation] .claude/settings.jsonextraKnownMarketplaces に追加されたマーケットプレース定義のうち、個人/組織リポジトリへの参照が含まれています:

"claude-code-workflows": {
  "source": { "url": "https://github.com/wshobson/agents.git" }
},
"intellectronica-skills": {
  "source": { "url": "https://github.com/intellectronica/agent-skills.git" }
}

wshobson/agents は個人リポジトリです。これらが既に plugins.txt で使用中であれば問題ない範囲ですが、サードパーティリポジトリのコンプロマイズリスクを念頭に置いてピン留め(特定コミットハッシュ指定)を検討してもよいかもしれません。現時点では設定情報を共有化する変更であり、実質的なリスク増加は限定的です。


⚡ Performance / Quality(品質)

[Minor] settings.json の変更スコープが PR タイトル・サマリーより広い点

PR の説明は「Sentry プラグインの追加」ですが、enabledPlugins に新たに有効化されたプラグインは 8 件です:

追加されたプラグイン 備考
commit-commands@claude-plugins-official plugins.txt には既存、enabledPlugins には未記載だった
hookify@claude-plugins-official 同上(hookify@claude-code-plugins は既存)
plugin-dev@claude-plugins-official 同上
code-review@claude-plugins-official 同上
sentry@claude-plugins-official 今回の主目的
postgres-best-practices@supabase-agent-skills plugins.txt には既存
agent-browser@agent-browser 同上
context7@intellectronica-skills 同上

「plugins.txt に記載済みだが enabledPlugins に未登録だったものを一括で同期」という意図であれば PR サマリーに明記するとレビュアーが把握しやすくなります。Fix this →


🤖 AI Residuals / Git Conventions

[Minor] ブランチ命名規則の不一致

.claude/rules/git-conventions.md では feat|fix|chore/<issue#>-slug が必須ですが、ブランチ名 chore/add-sentry-claude-plugin に Issue 番号がありません。また PR 本文に Linked Issue の参照がありません。


肯定的な点

  • plugins.txt のコメント構造(# Monitoring セクション)は既存フォーマットと一貫しています
  • extraKnownMarketplaces の追加により、マーケットプレースのソースが settings.json 内で明示化され、依存関係の把握が容易になります
  • README と docs/using-config-base-image.md の両方を同時に更新しており、ドキュメント整合性が保たれています
  • 事前に prettier --checknpm test (25 suites / 564 tests) をパスしていることが確認済みです

Verdict: Critical / Major な問題はなし。上記の Minor 点は任意改善として承認します。

@keito4 keito4 self-assigned this Jun 1, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.claude/settings.json (1)

307-337: 💤 Low value

Potentially drop the redundant claude-plugins-official marketplace declaration (with a Windows caveat)
Claude Code pre-registers claude-plugins-official for Discover/plugins, so extraKnownMarketplaces.claude-plugins-official (308-313) is usually unnecessary. Keeping it can still be helpful for environments where the official marketplace doesn’t auto-register (reported on some Windows setups). The source.source/url shape and git URL mappings look correct.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.claude/settings.json around lines 307 - 337, Remove the redundant
extraKnownMarketplaces entry for "claude-plugins-official" in
.claude/settings.json (the object keyed by extraKnownMarketplaces ->
claude-plugins-official) because Claude Code already pre-registers that
marketplace; if you need to preserve it for specific Windows environments where
auto-registration may fail, wrap or document the entry as an environment- or
platform-specific fallback (or leave it commented) so normal setups don't
duplicate the official marketplace registration.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In @.claude/settings.json:
- Around line 307-337: Remove the redundant extraKnownMarketplaces entry for
"claude-plugins-official" in .claude/settings.json (the object keyed by
extraKnownMarketplaces -> claude-plugins-official) because Claude Code already
pre-registers that marketplace; if you need to preserve it for specific Windows
environments where auto-registration may fail, wrap or document the entry as an
environment- or platform-specific fallback (or leave it commented) so normal
setups don't duplicate the official marketplace registration.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 643d6493-caa7-40d6-89b6-c876378af215

📥 Commits

Reviewing files that changed from the base of the PR and between c5c9629 and 4b0e51b.

📒 Files selected for processing (4)
  • .claude/plugins/plugins.txt
  • .claude/settings.json
  • README.md
  • docs/using-config-base-image.md

@keito4
keito4 merged commit a4b66d8 into main Jun 1, 2026
15 checks passed
@keito4
keito4 deleted the chore/add-sentry-claude-plugin branch June 1, 2026 01:54
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.113.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released リリース済み label Jun 1, 2026
@claude claude Bot mentioned this pull request Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released リリース済み

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant