agentleFS
SentryKnown publishergetsentry/sentry-options/.claude/skills/add-option/SKILL.md

add-option

Skill4 starsChanged 6 months agoApache-2.0View on GitHub

Add a new option to an existing sentry-options schema. Use when adding feature flags or tunable parameters to a service already using sentry-options.

The file

Files
SKILL.md

Add an Option to a sentry-options Schema

Guide the user through adding an option (or feature flag) to a service that's already onboarded to sentry-options. The authoritative steps and the full type reference live in the options guide — follow it rather than reproducing details here. This skill defers specifics (type shapes, evolution rules) to the docs so it can't drift.

Options guide: https://github.com/getsentry/sentry-options/blob/main/docs/options.md#adding-an-option

How to run this

  1. Confirm the service is onboarded — it should already have sentry-options/schemas/{namespace}/schema.json. If not, use /onboard first.
  2. Gather the new option from the user: namespace, name, type (string, integer, number, boolean, array, object, or a feature.-prefixed flag), default, and description.
  3. Add it under properties in sentry-options/schemas/{namespace}/schema.json. For the exact shape of each type — arrays (items), structs (properties), dicts (additionalProperties), optional fields, and feature $refs — read the options guide; don't write type rules from memory.
  4. Tell the user the workflow: open a PR in the service repo (CI validates the change is additive per the schema-evolution rules), merge it, then optionally set a non-default value in sentry-options-automator. The option uses its schema default until a value is set.

For the schema-evolution rules and how to set values, see the options guide.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.