Use clear, consistent, and semantic naming patterns across your codebase to improve readability and maintainability: 1. **Start function names with verbs** that describe the action being performed:
Use clear, consistent, and semantic naming patterns across your codebase to improve readability and maintainability:
// Avoid providerDefinedToolFactory() jsonParser()
2. **Use descriptive names for generics** rather than single letters:
```typescript
// Good
interface Provider<LANGUAGE extends string, CONTEXT extends string>
// Avoid
interface Provider<L extends string, C extends string>
// Avoid duration: number concurrency: number ```
Use standard terminology in field names (e.g., mediaType
for IANA media types)
Ensure test naming matches implementation to avoid confusion and maintenance issues
Following these conventions makes your code more self-documenting, easier to understand, and reduces the cognitive load for developers reading and maintaining the code.
Enter the URL of a public GitHub repository