sentry-top-issue
Installation
SKILL.md
Skill behaviour
Inputs ($ARGUMENTS)
All optional, space-separated key=value tokens plus bare flags:
- org= — Sentry organization slug
- project= — Sentry project slug
- region= — Sentry region URL (default: https://sentry.io)
- env= — environment filter (default: production)
- fixer= — override the handoff skill (default: sentry-issue-fixer)
- dry-run — pick and print only; do not invoke the fixer
- no-pr-filter — skip the "open PR already exists" check (useful when gh isn't configured); also skips the merged-commit filter in Phase 3b, since both live behind the same flag
Phase 1 — Preflight (scope + gh install + PR cap)
Phase 1a — Run preflight
preflight.sh is the single source of truth for scope discovery, the gh install check, and the open-[SENTRY …] PR cap. Invoke it unconditionally with any explicit values from $ARGUMENTS forwarded as flags — if scope can't be resolved, the script self-skips with a structured reason. Do not pre-check scope yourself; let the script speak.