Skip to content

Copy prompt batch 3#4708

Open
bgrenon wants to merge 6 commits intomainfrom
copy-prompt-batch-3
Open

Copy prompt batch 3#4708
bgrenon wants to merge 6 commits intomainfrom
copy-prompt-batch-3

Conversation

@bgrenon
Copy link
Copy Markdown
Collaborator

@bgrenon bgrenon commented Apr 1, 2026

Enriched Rust, Elixir, and .NET Npgsql guides with content from their corresponding copy prompts. This is batch 3 of the copy prompt enrichment project (batch 1: Express, Prisma, Django in #4692; batch 2: Go, Java in #4700).

Changes:

  • Rust: "Notes for AI-assisted setup" <details> section (TLS/SSL mandatory, mutability gotcha for tokio-postgres transactions, dotenvy not dotenv, parameterized queries, security cross-reference)
  • Elixir: Transaction example with Postgrex.transaction/2, "Notes for AI-assisted setup" <details> section (SSL mandatory, transaction pattern, parameterized queries, security cross-reference)
  • .NET Npgsql: Transaction example with BeginTransactionAsync/CommitAsync/RollbackAsync, "Notes for AI-assisted setup" <details> section (parameterized queries, transaction pattern, await using, .env vs appsettings.json clarification, security cross-reference)

Automated test harness results:

Guide Raw Infra issues Adjusted Harness finding
Rust 9/10 None ~10/10 Mutability note in <details> worked silently — agent got transactions right without backtracking
Elixir 7.5/10 Package detection missing Elixir patterns ~8/10 All CRUD + transactions passed. Harness needs _build/deps detection (not a docs issue)
.NET Npgsql 7.5/10 .NET SDK install overhead ~9/10 Agent created unused .env alongside appsettings.json. Added clarification to <details> section

The .NET finding is a good example of the <details> section earning its keep: .env files are the default pattern across most guides, so agents default to creating one. The .NET guide uses appsettings.json instead, and the agent-correctional note now catches this.

@bgrenon bgrenon requested a review from danieltprice as a code owner April 1, 2026 00:36
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
neon-next Error Error Apr 22, 2026 8:02pm

Request Review

Comment thread content/docs/guides/rust.md
Co-authored-by: Dhanush Reddy <76517652+dhanushreddy291@users.noreply.github.com>
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