code-review

Validate pull requests against dealflow-network conventions for tRPC, Zod, Drizzle, and error handling.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/betterbrand/dealflow-network --skill code-review-betterbrand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/betterbrand/dealflow-network/tree/main/.claude/skills/code-review
Command: npx skills add https://github.com/betterbrand/dealflow-network --skill code-review-betterbrand

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a guided, read-only review framework to ensure code adheres to project conventions, error handling, type safety, and best practices, reducing defects before merging.

Core Features & Use Cases

  • Review Checklist: Validates tRPC patterns, Zod validation, null checks, TRPCError usage, and error codes.
  • Quality Guardrails: Highlights potential security and performance concerns.

Quick Start

Use during PR reviews to surface issues without modifying code.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate tRPC code during pull request reviews?

Automated code review checks validate tRPC patterns, Zod input validation, TRPCError usage, and error codes without modifying code. Run the review during PR submission to surface deviations from project conventions and best practices before merging.

What type safety and error handling checks does automated code review enforce?

Code review validates null checks, avoidance of any types, robust error handling patterns, proper TRPCError usage with correct error codes, transactions for multi-step database operations, and cache invalidation logic to ensure type safety and reliability.

Can I use code review checks with Drizzle database operations?

Yes. Code review validates Drizzle usage patterns, transactions for multi-step operations, and cache invalidation. It ensures database interactions follow project conventions for consistency and correctness.

How does code review prevent security issues in contributions?

Code review scans for secrets in code, validates React patterns, checks import ordering consistency, and highlights security and performance concerns. It provides quality guardrails as a read-only framework without modifying code.

What happens if my code doesn't match project conventions?

Code review identifies deviations from dealflow-network project conventions and highlights them in a guided checklist format. Issues surface during PR review so you can address them before merging.

Do I need TypeScript to use code review checks?

Yes. Code review validates TypeScript type safety, including null checks and avoidance of any types, as part of ensuring code adheres to project standards and best practices.