Skip to content

fix(skill): avoid unnecessary auth, reinforce auto-detection, fix field examples#599

Merged
BYK merged 1 commit intomainfrom
fix/skill-auth-autodetect-fields
Mar 30, 2026
Merged

fix(skill): avoid unnecessary auth, reinforce auto-detection, fix field examples#599
BYK merged 1 commit intomainfrom
fix/skill-auth-autodetect-fields

Conversation

@BYK
Copy link
Copy Markdown
Member

@BYK BYK commented Mar 30, 2026

Summary

  • Add "Just run the command" as the first key principle so agents stop pre-authenticating or looking up org/project before every command
  • Fix --fields example from count,userCount,lastSeen (often null) to priority,level,status (reliably populated)
  • Remove sentry auth status pre-check from Safety Rules — the CLI's auto-auth middleware handles this
  • Drop explicit my-org/my-project from all workflow pattern examples to reinforce auto-detection as the default
  • Rewrite Common Mistakes entries: "Forgetting auth" → "Pre-authenticating unnecessarily", "Org/project ambiguity" → "Specifying org/project when not needed"

Closes #598

…ld examples

- Add "Just run the command" as first key principle so agents don't
  pre-authenticate or pre-lookup org/project before every command
- Update --fields example from count,userCount,lastSeen (often null) to
  priority,level,status (reliably populated)
- Remove sentry auth status pre-check from Safety Rules
- Drop explicit my-org/my-project from all workflow pattern examples
- Rewrite Common Mistakes: "Forgetting auth" → "Pre-authenticating
  unnecessarily", "Org/project ambiguity" → "Specifying when not needed"

Closes #598
@github-actions
Copy link
Copy Markdown
Contributor

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

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


Bug Fixes 🐛

  • (skill) Avoid unnecessary auth, reinforce auto-detection, fix field examples by BYK in #599

Internal Changes 🔧

  • Regenerate skill files and command docs by github-actions[bot] in 664362ca

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/pr-preview/pr-599/

Built to branch gh-pages at 2026-03-30 10:14 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Copy Markdown
Contributor

Codecov Results 📊

129 passed | Total: 129 | Pass Rate: 100% | Execution Time: 0ms

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 1267 uncovered lines.
✅ Project coverage is 95.69%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    95.69%    95.69%        —%
==========================================
  Files          202       202         —
  Lines        29415     29415         —
  Branches         0         0         —
==========================================
+ Hits         28148     28148         —
- Misses        1267      1267         —
- Partials         0         0         —

Generated by Codecov Action

@BYK BYK marked this pull request as ready for review March 30, 2026 10:16
@BYK BYK merged commit bce0f12 into main Mar 30, 2026
23 checks passed
@BYK BYK deleted the fix/skill-auth-autodetect-fields branch March 30, 2026 10:26
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.

Improve skill: Avoid auth on every request, and improve knowledge about auto project detection

1 participant