agentleFS
StripeKnown publisherstripe/stripe-dotnet/.claude/CLAUDE.md

stripe-dotnet

CLAUDE.md1.5k starsChanged 2 months agoApache-2.0View on GitHub

It's ok not to put comments on/in a function if their addition wouldn't meaningfully clarify anything.

Trending

Quiet since July.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the stripe/stripe-dotnet repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about stripe/stripe-dotnet

The biggest 5 of 37 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 37

Talked about on GitHub (37 times).

On GitHub · 37

32 more on GitHub

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run all tests: just test (auto-installs correct .NET version)

    line 5
  2. Very specific:

    Run a specific test: just test-one TestClassName or just test-one FullyQualifiedName

    line 6
  3. Distinctive:

    If something in a generated file/range needs to be updated, add a summary of the change to your report but don't attempt to edit it …

    line 28
  4. Very specific:

    All code must run on all supported .NET versions (full list in the test section of @.github/workflows/ci.yml)

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

stripe-dotnet

Testing

  • Run all tests: just test (auto-installs correct .NET version)
  • Run a specific test: just test-one TestClassName or just test-one FullyQualifiedName

Formatting

  • Format: just format
  • Format check: just format-check
  • Uses dotnet format (whitespace + analyzers)

Key Locations

  • HTTP client interface: src/Stripe.net/Infrastructure/Public/IHttpClient.cs
  • HTTP implementation: src/Stripe.net/Infrastructure/Public/SystemNetHttpClient.cs
  • Main client class: src/Stripe.net/Infrastructure/Public/StripeClient.cs
  • Client options: src/Stripe.net/Infrastructure/Public/StripeClientOptions.cs
  • Request building: src/Stripe.net/Infrastructure/Public/StripeRequest.cs
  • API requestor: src/Stripe.net/Infrastructure/Public/LiveApiRequestor.cs
  • Version: src/Stripe.net/Constants/Version.cs
  • Tests: src/StripeTests/

Generated Code

  • Files containing File generated from our OpenAPI spec at the top are generated; do not edit. Similarly, any code block starting with The beginning of the section generated from our OpenAPI spec is generated and should not be edited directly.
    • If something in a generated file/range needs to be updated, add a summary of the change to your report but don't attempt to edit it directly.
  • The Infrastructure/ directory is NOT generated.

Conventions

  • Uses .NET System.Net.Http.HttpClient
  • Multi-target framework (net462+, net8.0+, etc.)
  • Solution file: src/Stripe.net.sln
  • .NET version managed via mise
  • All code must run on all supported .NET versions (full list in the test section of @.github/workflows/ci.yml)
  • Work is not complete until just test, just format complete successfully.

Comments

  • Comments MUST only be used to:
    1. Document a function
    2. Explain the WHY of a piece of code
    3. Explain a particularly complicated piece of code
  • Comments NEVER should be used to:
    1. Say what used to be there. That's no longer relevant!
    2. Explain the WHAT of a piece of code (unless it's very non-obvious)

It's ok not to put comments on/in a function if their addition wouldn't meaningfully clarify anything.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.