Comprehensive documentation standards

tokio-rs/axum
16
22100

Create clear, well-structured API documentation following proper formatting, correct references, informative examples...

Documentation Rust

Use specific assertion methods

fastify/fastify
15
34000

Choose the appropriate assertion method based on the data type being tested. This improves test readability and provi...

Testing JavaScript

Type-safe flexible APIs

tokio-rs/axum
10
22100

Design APIs that favor both type safety and flexibility. Use strongly typed wrappers instead of primitive types, but ...

API Rust

Axum Code Review: Interaction Patterns

tokio-rs/axum
9
22100

When implementing Axum-based applications, it is crucial to ensure that the interaction patterns between components a...

Axum TypeScript

Technical documentation precision

vercel/next.js
8
133000

Ensure technical documentation is precise, accurate, and correctly formatted to prevent confusion and improve develop...

Documentation Mdx

Secure Data Handling in Next.js Applications

vercel/next.js
8
133000

When building Next.js applications that handle sensitive data, it's crucial to implement robust security measures to ...

Next.js JavaScript

Effective Cache Management in Next.js Applications

vercel/next.js
8
133000

When implementing caching in Next.js applications, it is crucial to be intentional about the caching behavior for eac...

Next.js JavaScript

Write clear documentation

fastify/fastify
8
34000

Documentation should be clear, precise, and self-contained while following established style conventions. When writin...

Documentation Markdown

Handling Dynamic Content in Next.js Components

vercel/next.js
6
133000

When implementing Next.js components that rely on dynamic content (e.g. random values, current time), it is crucial t...

Next.js JavaScript

Consistent test code style

fastify/fastify
6
34000

Maintain consistent and clear testing patterns by following these guidelines: use strict equality assertions, prefer ...

Code Style JavaScript

Concurrent operations completion management

fastify/fastify
6
34000

When running concurrent operations in tests, ensure all operations complete before concluding the test. Race conditio...

Concurrency JavaScript

Prefer simpler code constructs

tokio-rs/axum
6
22100

Always opt for simpler, more idiomatic code constructs over complex or verbose alternatives. This includes using buil...

Code Style Rust

Write robust assertions

vercel/next.js
5
133000

When writing tests, ensure assertions can handle non-deterministic content while providing clear failure context: use...

Testing TypeScript

Optimize Next.js Resource Utilization

vercel/next.js
5
133000

As a code reviewer, I recommend the following practices to optimize resource utilization when implementing Next.js ap...

Next.js JavaScript

Type-safe API designs

fastify/fastify
5
34000

Design APIs with strong type safety to improve developer experience and catch errors at compile time. Avoid using any...

API TypeScript

Properly Handle Errors in Fastify Applications

fastify/fastify
5
34000

When implementing error handling in Fastify applications, it is important to always throw instances of the Error clas...

Fastify TypeScript

Preserve error context

fastify/fastify
5
34000

When handling errors, always ensure the original error context is preserved and properly surfaced. Error information ...

Error Handling JavaScript

Null safe patterns

fastify/fastify
5
34000

Use concise null checking patterns to prevent runtime errors and improve code readability when handling potentially u...

Null Handling JavaScript

Explicit Configuration Usage in Fastify

fastify/fastify
5
34000

When using the Fastify framework in Typescript, ensure that all configuration options are explicitly declared and pro...

Fastify TypeScript

Consistent JSDoc standards

fastify/fastify
5
34000

Document all public APIs and significant internal functions with comprehensive JSDoc comments that include accurate d...

Documentation JavaScript

Adhere to Fastify Coding Conventions

fastify/fastify
5
34000

When implementing code that uses the Fastify package in Typescript, ensure the following conventions are followed: av...

Fastify TypeScript

Prefer descriptive over brief

tokio-rs/axum
5
22100

Choose clear, descriptive names over abbreviated or shortened versions. Names should be self-documenting and follow R...

Naming Conventions Rust

Documentation consistency standards

tokio-rs/axum
5
22100

Maintain consistent documentation formatting standards across all project files, especially in changelogs, code examp...

Documentation Markdown

Consistent axum Usage in Typescript

tokio-rs/axum
5
22100

When implementing Typescript code that uses the axum package, maintain consistent and idiomatic usage: always use low...

Axum TypeScript

Type-safe API interfaces design

axios/axios
5
107000

Design API interfaces with strong type safety while maintaining excellent developer experience. Prefer explicit types...

API TypeScript

Standardize null value checks

axios/axios
5
107000

Always use consistent patterns and utility functions for handling null and undefined values. This improves code relia...

Null Handling JavaScript

Specific test assertions

axios/axios
5
107000

When writing tests, explicitly assert specific conditions and expected values rather than relying on general success/...

Testing JavaScript

Proxy protocol handling

axios/axios
5
107000

When implementing HTTP clients with proxy support, ensure the connection to the proxy uses the protocol specified in ...

Networking JavaScript

Documentation reflects reality

axios/axios
5
107000

Always ensure documentation accurately represents the actual code behavior and implementation details. Include import...

Documentation Markdown

Consistent method behaviors

axios/axios
5
107000

Design API methods with predictable behavior patterns that follow common conventions. Methods that modify objects dir...

API JavaScript

Complete error handling chain

axios/axios
5
107000

Implement comprehensive error handling throughout the codebase by ensuring all error scenarios are properly caught, t...

Error Handling JavaScript

Optimize hot paths

facebook/react
4
237000

In performance-critical code paths that execute frequently, optimize to reduce unnecessary operations that can impact...

Performance Optimization JavaScript

Balance constraints with flexibility

facebook/react
4
237000

When designing APIs, carefully evaluate constraints imposed on consumers. Each limitation should serve a clear purpos...

API JavaScript

Verify documentation references

vercel/next.js
4
133000

When writing or updating documentation, ensure all code examples, installation commands, and project references accur...

Documentation Markdown

Proper Use of Suspense in Next.js Components

vercel/next.js
4
133000

When building Next.js applications that leverage server-side rendering (SSR) or Partial Prerendering (PPR), it is ess...

Next.js JavaScript

Proper Error Handling in Next.js API Routes

vercel/next.js
4
133000

This review focuses on ensuring proper error handling in Next.js API routes. Key principles include validating incomi...

Next.js JavaScript

Maintain Consistent Naming Conventions in Next.js Code

vercel/next.js
4
133000

As a code reviewer for Next.js projects, ensure that all code artifacts, including component names, file names, and c...

Next.js JavaScript

Proper Handling of Promises in Fastify Implementations

fastify/fastify
4
34000

When implementing Fastify applications in TypeScript, it is important to follow consistent patterns for handling prom...

Fastify TypeScript

Content negotiation design

fastify/fastify
4
34000

When building APIs, implement proper content negotiation to handle various media types in both requests and responses...

API JavaScript

Consistent descriptive naming

fastify/fastify
4
34000

Use precise, consistent, and descriptive naming conventions throughout your code to enhance readability and maintaina...

Naming Conventions JavaScript

Benchmark before choosing methods

fastify/fastify
4
34000

Always benchmark different implementation approaches for performance-critical operations before selecting a method. D...

Performance Optimization JavaScript

Use Option combinators

tokio-rs/axum
4
22100

Instead of verbose conditional logic, prefer Rust's Option combinators like map, and_then, and filter for handling po...

Null Handling Rust

Structure errors for safety

tokio-rs/axum
4
22100

Create specific error types with appropriate status codes while ensuring sensitive details are logged but not exposed...

Error Handling Rust

Minimize memory allocation overhead

tokio-rs/axum
4
22100

Optimize performance by minimizing unnecessary memory allocations and using allocation-efficient APIs. Key practices ...

Performance Optimization Rust

Lock carefully in async

tokio-rs/axum
4
22100

When using locks in async code, follow critical guidelines to avoid deadlocks. Never hold std::sync::Mutex locks acro...

Concurrency Rust

Handle protocol headers properly

tokio-rs/axum
4
22100

When implementing network services, especially proxies and protocol handlers, proper HTTP header management is critic...

Networking Rust

Validate security-critical inputs

axios/axios
4
107000

Always validate and sanitize user-supplied inputs before using them in security-sensitive operations. This helps prev...

Security JavaScript

Robust Axios Usage in Typescript

axios/axios
4
107000

This review focuses on ensuring robust and type-safe usage of the Axios library in Typescript codebases. Key recommen...

Axios TypeScript

Proper Error Handling in Axios Typescript Code

axios/axios
4
107000

As a code reviewer, it is important to ensure that Axios-based Typescript code properly handles and propagates errors...

Axios TypeScript

Extract for better readability

axios/axios
4
107000

Complex expressions and repeated code should be extracted into well-named variables to improve readability and mainta...

Code Style JavaScript

Verify performance empirically

facebook/react
3
237000

Always validate performance optimizations through measurement rather than assumptions. Run multiple iterations of per...

Performance Optimization TypeScript

Use appropriate testing methods

facebook/react
3
237000

When writing tests, use the appropriate testing utilities and ensure proper test isolation. For testing warning behav...

Testing JavaScript

Separate conditional paths

facebook/react
3
237000

When working with concurrent operations, separate conditional logic from potentially expensive or suspenseful executi...

Concurrency JavaScript

Optimize React Component Dependencies

facebook/react
3
237000

When implementing React components, ensure that dependencies between component state, props, and side effects are acc...

React TypeScript

Match errors to context

facebook/react
3
237000

Choose error handling mechanisms based on the error's severity and context. For critical issues that should prevent f...

Error Handling TypeScript

Complete hook dependencies

facebook/react
3
237000

Always specify complete dependency arrays in React hooks to prevent bugs from stale closures and avoid unnecessary re...

React JavaScript

Check property existence first

facebook/react
3
237000

Always verify that an object and its properties exist before accessing them to prevent 'cannot read property of undef...

Null Handling JavaScript

Write concise idiomatic code

vercel/next.js
3
133000

Favor concise and idiomatic expressions in your Rust code to improve readability and maintainability.

Code Style Rust

Verify workflow configuration integrity

vercel/next.js
3
133000

Carefully review GitHub Actions workflow configurations to prevent subtle errors that can cause CI/CD pipeline failur...

CI/CD YAML

Prefer Existence Checks in Next.js Components

vercel/next.js
3
133000

When working with props, state, or other values in Next.js components that may be null, undefined, or contain error s...

Next.js JavaScript

Optimize data structure selection

vercel/next.js
3
133000

Choose data structures that match your specific access patterns and performance requirements. The right data structur...

Performance Optimization Rust

Consistent variable style patterns

vercel/next.js
3
133000

Maintain consistent patterns for variable declarations and naming conventions: use const by default for variable decl...

Code Style TypeScript

Consistent Fastify Integration Patterns

fastify/fastify
3
34000

When implementing integrations and plugins using the Fastify framework, maintain consistent coding patterns and conve...

Fastify TypeScript

Document feature flags

tokio-rs/axum
3
22100

When configuring feature flags in Cargo.toml, ensure they are properly structured and documented. Chain feature depen...

Configurations TOML

Proper Axios Configuration and Usage

axios/axios
3
107000

When implementing code that uses the Axios library in TypeScript, it is important to follow best practices for config...

Axios TypeScript

Consistent Naming Conventions for Axios Requests and Responses

axios/axios
3
107000

When using the Axios library in Typescript, it is important to follow consistent naming conventions to improve code r...

Axios TypeScript

Configuration property standards

axios/axios
3
107000

Always define configuration properties with sensible defaults and consistent naming conventions. When adding new conf...

Configurations JavaScript

Write readable conditionals

facebook/react
2
237000

Structure conditionals for maximum clarity and comprehension. Avoid unnecessary negation in boolean expressions, use ...

Code Style JavaScript

Standardize URL handling

facebook/react
2
237000

When working with URLs in networking code, always use the standard `URL` constructor to properly resolve relative URL...

Networking JavaScript

Proper Usage of React Hooks

facebook/react
2
237000

When using the React library in Typescript, ensure that you are correctly implementing the recommended React hooks ba...

React TypeScript

Proper Scoping and Usage of React Variables

facebook/react
2
237000

When implementing React components, it is important to ensure that variables are properly scoped and used throughout ...

React TypeScript

Multi-stack config settings

facebook/react
2
237000

When creating configuration files for development environments that use multiple technology stacks, ensure settings a...

Configurations Other

Explicit CSP nonce management

facebook/react
2
237000

When implementing Content Security Policy (CSP) protections, always explicitly pass nonce values to components rather...

Security JavaScript

Dry configuration patterns

facebook/react
2
237000

Apply DRY (Don't Repeat Yourself) principles to all configuration files to improve maintainability. Extract shared co...

Configurations JavaScript

Document code intent

facebook/react
2
237000

Add clear comments that explain the intent and behavior of code that might not be immediately obvious to other develo...

Documentation JavaScript

Defensive Handling of Nullable React Components

facebook/react
2
237000

When working with React components that may return null or undefined values, implement defensive coding patterns to p...

React TypeScript

Validate Next.js Configuration Usage

vercel/next.js
2
133000

When implementing Next.js in your application, ensure that you are correctly using the framework's documented configu...

Next.js JavaScript

Robust Error Handling in Next.js Components

vercel/next.js
2
133000

When building Next.js components, it is crucial to implement robust error handling to ensure the stability and predic...

Next.js JavaScript

Proper panic chains

vercel/next.js
2
133000

When implementing panic handlers, follow these critical practices to ensure robust error handling: register panic han...

Error Handling Rust

Non-blocking observability mechanisms

vercel/next.js
2
133000

When implementing observability mechanisms like telemetry or status monitoring, ensure they don't block or interfere ...

Observability TypeScript

Document configuration sources

vercel/next.js
2
133000

When providing configuration instructions, document the exact location and method to obtain required values. Include ...

Configurations JSON

Dependency conscious APIs

vercel/next.js
2
133000

Design APIs with dependency implications in mind. Carefully consider how your API design choices might force dependen...

API Rust

Complete error handling flows

vercel/next.js
2
133000

Implement robust error handling patterns that ensure both proper resource cleanup and error context preservation.

Error Handling TypeScript

Complete data structures

vercel/next.js
2
133000

When implementing data structures such as tries, trees, or graphs, ensure all critical operations (insertion, deletio...

Algorithms TypeScript

Choose optimal data structures

vercel/next.js
2
133000

Select data structures based on their performance characteristics and actual usage patterns. When implementing algori...

Algorithms Rust

Verify types in tests

fastify/fastify
2
34000

Use explicit type assertions in TypeScript tests to verify that types behave as expected across various scenarios. In...

Testing TypeScript

Use bot identity

fastify/fastify
2
34000

When configuring Git operations in GitHub Actions workflows, especially for automated commits, use the GitHub Actions...

CI/CD YAML

Support flexible logging

fastify/fastify
2
34000

When designing logging interfaces, create flexible APIs that accommodate both standard and custom logging needs. This...

Logging JavaScript

Secure Fastify Code Implementation

fastify/fastify
2
34000

This review focuses on secure implementation patterns when using the Fastify web framework in Typescript: prevent Pro...

Fastify TypeScript

Proper IPv6 address formatting

fastify/fastify
2
34000

When constructing URLs with IP addresses, ensure IPv6 addresses are properly formatted according to RFC standards by ...

Networking JavaScript

Ensure Proper Null Handling When Using Fastify Decorators

fastify/fastify
2
34000

When working with Fastify decorators, always perform explicit null checks before accessing potentially undefined prop...

Fastify TypeScript

Consistent Fastify Package Naming and References

fastify/fastify
2
34000

When implementing code using the Fastify package in Typescript, it is important to use consistent and accurate naming...

Fastify TypeScript

Use Appropriate Concurrency Patterns with Axum

tokio-rs/axum
2
22100

When building asynchronous Axum applications that share mutable state, it's important to select the right concurrency...

Axum TypeScript

Implement Distributed Tracing in Axum Applications

tokio-rs/axum
2
22100

As an Axum code reviewer, I recommend implementing proper distributed tracing in your Axum-based web applications to ...

Axum TypeScript

User-friendly error messages

axios/axios
2
107000

Error messages should be concise and clearly communicate what went wrong without unnecessary verbosity. When implemen...

Error Handling HTML

Flexible configuration design

axios/axios
2
107000

Design configuration interfaces to be flexible and extensible rather than overly specific. When creating configuratio...

Configurations TypeScript

Consistent semicolon usage

axios/axios
2
107000

Always terminate statements with explicit semicolons to maintain consistency with the existing codebase style. Avoid ...

Code Style TypeScript

Consistent Axios Usage Patterns

axios/axios
2
107000

Maintain consistent usage of the Axios library throughout your Typescript codebase. Pay special attention to consiste...

Axios TypeScript

Document security attributes

vercel/next.js
1
133000

When handling security-related attributes (like nonces, integrity hashes, or CSP directives), always document the log...

Security TSX

Decode before validation

vercel/next.js
1
133000

Always decode URL paths before performing security validations to prevent bypass attacks using URL encoding. Security...

Security TypeScript

Secure Content-Type validation

fastify/fastify
1
34000

When implementing Content-Type validation, ensure regular expressions start with '^' or include ';?' to properly dete...

Security JavaScript