Follow consistent naming conventions throughout the codebase to improve readability and maintainability: 1. **Client property names should be singular**, not plural:
Follow consistent naming conventions throughout the codebase to improve readability and maintainability:
// Good
IObservableOrganizationHooksClient Hook { get; }
// Not
IObservableOrganizationHooksClient Hooks { get; }
// Good
Task<string> GetSha1(string owner, string name, string reference);
// Not
Task<string> Sha1(string owner, string name, string reference);
// Good
Ensure.ArgumentNotNull(client, nameof(client));
// Not
Ensure.ArgumentNotNull(client, "client");
// Good - clearly identifies repository ID
Task
5. **For pull request operations, use 'number'** instead of 'id' to avoid confusion with the internal ID:
```csharp
// Good
IObservable<PullRequest> Get(string owner, string name, int number);
// Not
IObservable<PullRequest> Get(string owner, string name, int pullRequestId);
These conventions help maintain a consistent codebase, reduce confusion, and make the API more intuitive for consumers.
Enter the URL of a public GitHub repository