One-click install
npx skills add https://github.com/getsentry/sentry-options --skill add-option
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-option
Source: https://github.com/getsentry/sentry-options/tree/main/.claude/skills/add-option
Command: npx skills add https://github.com/getsentry/sentry-options --skill add-option

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding new feature flags or tunable parameters to services already integrated with Sentry's sentry-options platform, ensuring schema consistency and proper integration.

Core Features & Use Cases

  • Schema Extension: Safely adds new options to existing sentry-options schemas.
  • Type and Default Handling: Guides the user through defining the new option's name, type, default value, and description.
  • Workflow Guidance: Provides clear next steps for schema validation, PR creation, and updating the sentry-options-automator for full deployment.
  • Use Case: A product manager wants to introduce a new A/B testing feature for a specific user segment. This skill helps them define the new feature flag (feature.new_experiment.enabled) in the relevant service's schema and guides them through the deployment process.

Quick Start

Use the add-option skill to add a new boolean option named 'feature.new_dashboard.enabled' with a default value of false and a description 'Enable the new user dashboard' to the 'web' namespace schema.

Frequently Asked Questions about add-option

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new feature flag to a sentry-options schema?

You can add a feature flag to a sentry-options schema by defining the parameter name, selecting a supported type, assigning a default value, and providing a description within a specific namespace.

What data types are supported when adding options to Sentry schemas?

Sentry schema options support string, integer, number, boolean, and array types, allowing you to define tunable parameters and feature flags with appropriate default values and descriptions.

What is the process for schema evolution in sentry-options?

Schema evolution in sentry-options involves adding new parameters to existing schemas, validating the changes, creating a pull request, and updating the sentry-options-automator to complete the full deployment cycle.

Can I introduce A/B testing parameters using sentry-options?

Yes, you can introduce A/B testing parameters by adding a new boolean feature flag to the relevant service's schema, defining the default state, and following the guided workflow for schema validation and deployment.

What are the next steps after defining a new option in a Sentry schema?

After defining a new option in a Sentry schema, the next steps are to validate the schema changes, create a pull request, and update the sentry-options-automator to ensure the new parameter is fully deployed.

Do I need to update the sentry-options-automator when adding new schema options?

Yes, updating the sentry-options-automator after adding new schema options is required to ensure the newly defined tunable parameters or feature flags are fully deployed and integrated across the platform.