Loading...
Loading...
Provides practical guidance for conducting thorough code reviews that identify issues early, promote knowledge sharing, and deliver constructive feedback. This skill should be used when reviewing pull requests, establishing team review standards, or mentoring developers on effective review practices.
npx skill4agent add armanzeroeight/fastagent-plugins code-review-practicesConsider using a Set instead of an array here for O(1) lookups.
With the current implementation, the nested loop creates O(n²)
complexity which could be problematic with large datasets.This should be refactored.Consider extracting this logic into a separate method.
It's used in three places and would be easier to test
and maintain as a standalone function.[Blocking] This query will cause N+1 problem when loading
related records. Consider using eager loading with includes()
to fetch all data in a single query. This will significantly
improve performance with large datasets.