Skip to content

docs(skills): point sdk-install guides at per-language install pages - #358

Merged
Jesse Seldess (jseldess) merged 2 commits into
mainfrom
sdk-install-language-specific-urls
Sep 10, 2026
Merged

docs(skills): point sdk-install guides at per-language install pages#358
Jesse Seldess (jseldess) merged 2 commits into
mainfrom
sdk-install-language-specific-urls

Conversation

@jseldess

@jseldess Jesse Seldess (jseldess) commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The sdk-install- skills sent agents to the generic https://www.braintrust.dev/docs/instrument/trace-llm-calls page as the source of truth for instrumentation. Point each guide at its own https://www.braintrust.dev/docs/sdks//install-and-instrument page instead, so the agent lands on docs for the language it is actually installing.

Java and C# previously referenced no docs page at all, leaving their hardcoded instrumentation snippets with no freshness check. Add the same source-of-truth line to both.

These skills are only used by bt setup instrument, which is deprecated according to our docs, but making these changes just to be safe.

The sdk-install-<language> skills sent agents to the generic
https://www.braintrust.dev/docs/instrument/trace-llm-calls page as the
source of truth for instrumentation. Point each guide at its own
https://www.braintrust.dev/docs/sdks/<language>/install-and-instrument
page instead, so the agent lands on docs for the language it is actually
installing.

Java and C# previously referenced no docs page at all, leaving their
hardcoded instrumentation snippets with no freshness check. Add the same
source-of-truth line to both.

Mirrors braintrustdata/braintrust#20019, which made the same change to
the equivalent MCP resources.
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit 2a91a7a5bc85:

Available artifact names
  • artifacts-build-global
  • artifacts-build-local-x86_64-apple-darwin
  • artifacts-build-local-aarch64-pc-windows-msvc
  • artifacts-build-local-x86_64-pc-windows-msvc
  • artifacts-build-local-x86_64-unknown-linux-gnu
  • artifacts-build-local-aarch64-apple-darwin
  • artifacts-build-local-x86_64-unknown-linux-musl
  • artifacts-build-local-aarch64-unknown-linux-gnu
  • artifacts-plan-dist-manifest
  • cargo-dist-cache

The per-language sdk-install guides duplicated install commands,
instrumentation snippets, launch-hook wiring, and provider lists that the
https://www.braintrust.dev/docs/sdks/<language>/install-and-instrument
pages already own. Duplicated content goes stale and competes with the
page the agent is told to treat as the source of truth.

Cut each guide down to the install docs link plus the SDK repo and
package registry, so the agent reads the live docs instead of a local
copy that drifts. Reword the two references to a "language-specific
resource" now that the resource is just the docs pointer.
@jseldess Jesse Seldess (jseldess) changed the title DO NOT MERGE docs(skills): point sdk-install guides at per-language install pages docs(skills): point sdk-install guides at per-language install pages Sep 10, 2026
@jseldess
Jesse Seldess (jseldess) marked this pull request as ready for review September 10, 2026 21:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38a508e239

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

# C# SDK Install

Reference guide for installing the Braintrust C# SDK.
**Read https://www.braintrust.dev/docs/sdks/csharp/install-and-instrument and follow it.**

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Prefetch the per-language install pages

When bt setup instrument launches a sandboxed or otherwise web-restricted coding agent, this stub leaves it without installation instructions. The setup prefetch only downloads URLs recognized by src/setup/docs.rs::workflow_from_url as /docs/instrument/...; these new /docs/sdks/... pages are excluded, while sdk_install_docs::write_sdk_install_docs merely writes this link into the temporary directory. Thus the CLI can report that the latest docs were fetched successfully and then require a second network access the agent may not have, causing installation to abort or be guessed. Add these language pages to the CLI's prefetch set and point the guides at the downloaded copies.

Useful? React with 👍 / 👎.

@jseldess
Jesse Seldess (jseldess) merged commit 6501ad3 into main Sep 10, 2026
29 checks passed
@jseldess
Jesse Seldess (jseldess) deleted the sdk-install-language-specific-urls branch September 10, 2026 21:53
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.

2 participants