Skip to content

docs: Fix documentation gaps identified in comprehensive audit#909

Draft
cursor[bot] wants to merge 1 commit intomainfrom
cursor/sentry-cli-docs-gaps-e707
Draft

docs: Fix documentation gaps identified in comprehensive audit#909
cursor[bot] wants to merge 1 commit intomainfrom
cursor/sentry-cli-docs-gaps-e707

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 4, 2026

Summary

This PR addresses documentation gaps found through a comprehensive audit comparing the CLI implementation against its documentation. The audit read all root docs, command fragments, route maps, installation code, auth/config code, and the plugin/skills system.

Changes

Fixes Applied

  1. self-hosted.md: Added --url flag as the recommended authentication method (more secure than env vars — registers a trust anchor). Added TLS/CA certificate section with sentry cli defaults ca-cert and NODE_EXTRA_CA_CERTS.

  2. getting-started.mdx: Added Node.js 22.12+ requirement note next to package manager installation commands.

  3. README.md: Added yarn to installation methods (was already in getting-started.mdx). Added Node.js version requirement note.

  4. AGENTS.md: Updated architecture tree to include replay/ directory, explore.ts command, and archive in issue subcommands — all were missing from the tree.

  5. agentic-usage.md: Documented Claude plugin marketplace installation path and Cursor-specific skill location.

Gap Report

A full docs/DOCUMENTATION_GAP_REPORT.md is included with structured findings across 10 categories:

  • A. Undocumented commands/subcommands
  • B. Undocumented flags (key: --url on auth login, --offline on upgrade, replay sort/period)
  • C. Missing usage examples
  • D. Stale descriptions (none found — generators keep briefs in sync)
  • E. Missing skill route mappings (none — auto-mapping eliminated manual map)
  • F. Installation/distribution gaps (yarn in README, Node.js requirement, SENTRY_INIT)
  • G. Undocumented environment variables (none — env-registry.ts + generator ensure completeness)
  • H. Auth/self-hosted gaps (--url flag, ca-cert defaults)
  • I. Plugin/skills gaps (Claude marketplace, Cursor path)
  • J. README/DEVELOPMENT.md drift (architecture tree, Node.js version)

The top 5 most impactful fixes are implemented in this PR. The report also lists 5 additional lower-priority gaps for future work.

Open in Web View Automation 

- self-hosted.md: Add --url flag as recommended auth method, add TLS/CA section
- getting-started.mdx: Note Node.js 22.12+ requirement for npm installs
- README.md: Add yarn to installation methods, note Node.js requirement
- AGENTS.md: Add replay/ and explore.ts to architecture tree, add archive to issue commands
- agentic-usage.md: Document Claude plugin marketplace and Cursor skill paths
- Add comprehensive DOCUMENTATION_GAP_REPORT.md with full audit findings

Co-authored-by: Miguel Betegón <miguelbetegongarcia@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

PR Preview Action v1.8.1

QR code for preview link

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

Built to branch gh-pages at 2026-05-04 12:11 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Codecov Results 📊

6660 passed | Total: 6660 | 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 13508 uncovered lines.
✅ Project coverage is 76.62%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    76.62%    76.62%        —%
==========================================
  Files          303       303         —
  Lines        57782     57784        +2
  Branches         0         0         —
==========================================
+ Hits         44276     44276         —
- Misses       13506     13508        +2
- Partials         0         0         —

Generated by Codecov Action

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.

1 participant