Skip to content

docs(sdk): Add Writing SDK Specs page and legacy spec notice - #20081

Draft
sentry-junior[bot] wants to merge 8 commits into
masterfrom
junior/writing-sdk-specs
Draft

sentry-junior[bot] wants to merge 8 commits into
masterfrom
junior/writing-sdk-specs

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds a Writing SDK Specs page (writing-specs.mdx). Many of our SDK specs dictate implementation details, overuse MUST, and are hard to follow. This page sets the rules for writing them: requirements cover only externally observable behavior, and MUST is used sparingly.

Existing specs aren't rewritten here. The spec header (specMeta.tsx) marks pages that don't follow the guidelines yet as legacy, so we can migrate them one at a time. Most of the touched files are a one-line spec_kind: process frontmatter change. It keeps playbooks and team standards out of scope, because they aren't SDK specs.

via @szokeasaurusrex.

--

View Junior Session [Sentry]

Add a meta-spec for writing SDK specs: requirements only describe
externally observable behavior, follow RFC 2119 Section 6, and default
to SHOULD. Specs opt in with spec_guidelines frontmatter; SpecMeta shows
a legacy notice on every spec that does not declare it.

Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
develop-docs Ready Ready Preview Oct 19, 2026 5:08pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-docs Ignored Ignored Preview Oct 19, 2026 5:08pm UTC

Request Review

Display the spec_guidelines value in SpecMeta, add a spec_kind: process
field for playbooks and engineering standards so they are out of scope
for Writing SDK Specs and show no legacy notice, and narrow the spec's
scope accordingly.

Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
sentry-junior Bot and others added 2 commits October 19, 2026 16:32
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
Comment thread develop-docs/sdk/getting-started/standards/writing-specs.mdx Outdated
Comment thread develop-docs/sdk/getting-started/standards/writing-specs.mdx Outdated
Comment thread develop-docs/sdk/getting-started/standards/writing-specs.mdx Outdated
Comment thread develop-docs/sdk/getting-started/standards/writing-specs.mdx Outdated
Comment thread develop-docs/sdk/getting-started/standards/writing-specs.mdx Outdated
Comment thread develop-docs/sdk/getting-started/standards/writing-specs.mdx Outdated
…ent rule

Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>

This branch was successfully deployed

2 active (1 outdated) deployments
Preview – develop-docs — 7bb786b4 Deployed Oct 19, 2026 by vercel[bot]
Preview – sentry-docs — 90b1ba8d Deployed Oct 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Needs Triage The PR description is missing valid priority information sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant