Loading...
Loading...
Senior Code Architect & Quality Assurance Engineer for 2026. Specialized in context-aware AI code reviews, automated PR auditing, and technical debt mitigation. Expert in neutralizing "AI-Smells," identifying performance bottlenecks, and enforcing architectural integrity through multi-job red-teaming and surgical remediation suggestions.
npx skill4agent add yuniorglez/gemini-elite-core code-review-proactivate_skill(name="code-review-pro")activate_skill(name="auditor-pro")activate_skill(name="strict-auditor")docs/architecture.mdcodebase_investigator⚠️ Architectural Debt Warning: This endpoint uses a directquery inside the route handler. Violation: We follow the Service Pattern defined inPrisma. Fix: Move logic to@repo/api. Performance: This query lacks aUserService.tsfilter, fetching 40+ unnecessary fields..select()
### 🔎 PR Audit: #452 "Add Billing Meters"
- **Logic**: ✅ Matches Acceptance Criteria from TICKET-89.
- **Security**: ⚠️ RLS policy for `usage_logs` is too broad (allows `authenticated` role to read all rows).
- **Performance**: ❌ Found N+1 query in `MeterGrid.tsx`.
- **Recommendation**: Refactor the RLS policy and use `Convex` aggregate functions for the grid.scripts/pr-audit.tsscripts/trace-dependency-impact.py