Encore Go Code Reviewer

•
25
•

Audits Encore Go applications to identify anti-patterns, security risks, infrastructure misconfigurations, and API design issues before deployment.

Encore Go Code Reviewer is a specialized Claude Code skill designed to automate the process of auditing Encore Go codebases during pull requests or pre-merge reviews. It meticulously scans for critical anti-patterns—such as declaring infrastructure inside functions, omitting contexts from API handlers, and exposing raw SQL injection risks—while enforcing best practices like idempotency in Pub/Sub subscription handlers, proper database query management, and precise error handling. This tool ensures your Encore backend is secure, highly performant, and perfectly aligned with Encore's architectural guidelines before your code hits production.

Características Principales

01Detects infrastructure declared inside functions to ensure package-level instantiation.
02Flags SQL injection vulnerabilities and ensures raw queries are parameterized properly.
03Verifies subscription idempotency and checks endpoint visibility levels (public vs. private).
04Ensures database resources are managed safely by enforcing row closing and ErrNoRows checks.
0525 GitHub stars
06Identifies missing context parameters and incorrect return types in API endpoint signatures.

Casos de Uso

01Auditing existing Encore Go codebases for architectural and performance anti-patterns before merging pull requests.
02Enforcing standardized API design patterns and proper error handling across backend services.
03Running automated security checks for raw SQL queries and SQL injection vulnerabilities.