diff --git a/README.md b/README.md index c95df28..4cd8693 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,16 @@ Set up OTel Collector with Sentry exporter ### Claude Code +Add the Sentry marketplace: + +```bash +claude plugin marketplace add getsentry/sentry-for-ai +``` + +Then install the plugin: + ```bash -/install-plugin sentry +claude plugin install sentry@sentry-plugin-marketplace ``` Restart Claude Code to activate, then verify: @@ -57,18 +65,51 @@ Restart Claude Code to activate, then verify: Search for **Sentry** in Cursor Settings > Extensions and install. -### From Source +## Installing Skills Without the Plugin + +If you want to install individual Sentry skills directly into your project without the full plugin, use [dotagents](https://dotagents.sentry.dev): + +### Quick Start + +1. **Initialize dotagents in your project:** + +```bash +npx @sentry/dotagents init +``` + +This creates an `agents.toml` file and `.agents/skills/` directory. + +2. **Add Sentry skills:** ```bash -git clone https://github.com/getsentry/sentry-for-ai.git +# Install all Sentry skills +npx @sentry/dotagents add getsentry/sentry-for-ai --all + +# Or install specific skills +npx @sentry/dotagents add getsentry/sentry-for-ai --skill sentry-nextjs-sdk +npx @sentry/dotagents add getsentry/sentry-for-ai --skill sentry-python-sdk +npx @sentry/dotagents add getsentry/sentry-for-ai --skill sentry-fix-issues +``` -# Claude Code -/install-plugin file:///path/to/sentry-for-ai +3. **Install dependencies:** -# Cursor -# Add the plugin path in Cursor Settings > Extensions > Install from path +```bash +npx @sentry/dotagents install ``` +### Dotagents Commands + +| Command | Description | +|---------|-------------| +| `init` | Create `agents.toml` and `.agents/skills/` directory | +| `add ` | Add a skill dependency | +| `install` | Install all skills from `agents.toml` | +| `update [name]` | Update skills to latest versions | +| `list` | Show installed skills and status | +| `remove ` | Remove a skill | + +Dotagents works with **Claude Code, Cursor, Codex, VS Code, and OpenCode** from a single `agents.toml` configuration file. Learn more at [dotagents.sentry.dev](https://dotagents.sentry.dev). + ## Skills ### SDK Setup Wizards