Skip to content

Conversation

@codyde
Copy link
Contributor

@codyde codyde commented Jan 13, 2026

Summary

This PR adds a new wizard feature that installs Sentry agent skills for various AI coding assistants.

Supported Editors

  • Claude Code (.claude/skills/)
  • OpenAI Codex (.codex/skills/)
  • OpenCode (.opencode/skill/)
  • Cursor (.cursor/skills/)
  • GitHub Copilot (.github/skills/)
  • Factory Droid (.factory/skills/)

Features

  • Interactive mode with scope and editor selection prompts
  • Headless mode: --skills claude-code opencode
  • Project-scoped (default) or user-scoped installation: --scope user
  • Smart update logic: updates Sentry skills, preserves user-created skills
  • Downloads skills from getsentry/sentry-agent-skills GitHub releases

Usage

# Interactive mode
npx @sentry/wizard --skills

# Headless mode - specify editors
npx @sentry/wizard --skills claude-code cursor

# Install to user profile instead of project
npx @sentry/wizard --skills claude-code --scope user

Changes

  • bin.ts - Added --skills and --scope CLI arguments
  • src/agent-skills/agent-skills-wizard.ts - Main wizard implementation
  • src/agent-skills/editor-configs.ts - Editor configuration and path helpers
  • src/run.ts - Route to agent skills wizard when --skills flag is present

Testing

  • Manual testing with each supported editor
  • Unit tests (TODO)
  • E2E tests (TODO)

This adds a new wizard feature that installs Sentry agent skills for
various AI coding assistants:

- Claude Code (.claude/skills/)
- OpenAI Codex (.codex/skills/)
- OpenCode (.opencode/skill/)
- Cursor (.cursor/skills/)
- GitHub Copilot (.github/skills/)
- Factory Droid (.factory/skills/)

Features:
- Interactive mode with scope and editor selection prompts
- Headless mode: --skills claude-code opencode
- Project-scoped (default) or user-scoped installation: --scope user
- Smart update logic: updates Sentry skills, preserves user-created skills
- Downloads skills from getsentry/sentry-agent-skills GitHub releases

Usage:
  npx @sentry/wizard --skills                    # Interactive
  npx @sentry/wizard --skills claude-code cursor # Headless
  npx @sentry/wizard --skills claude-code --scope user # User profile
@github-actions
Copy link

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Features

  • (agent-skills) Add --skills command to install Sentry agent skills by codyde in #1187

🤖 This preview updates automatically when you update the PR.

@codyde codyde requested a review from Lms24 January 13, 2026 08:19
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.

2 participants