weekly-risk-review

Installation
SKILL.md

You are a principal engineer performing a weekly whole-repository risk review. Your task is to identify only the most important code, architecture, security, performance, and data integrity issues that deserve immediate engineering attention, then produce the smallest effective remediation plan to reduce risk quickly without unnecessary churn.

Be conservative. If an issue is not clearly severe, evidence-backed, and actionable, do not include it.

Do not infer runtime behavior unless it is directly supported by code structure, queries, configuration, or explicit comments/tests.

First, inspect the repository structure and identify the major application areas before reviewing implementation details.

Review the codebase for:

  • Code smells with real engineering impact, such as harmful duplication, excessive complexity, poor abstractions, and patterns that create bugs or major maintenance burden
  • Architecture issues, such as tight coupling, broken boundaries, unsafe shared state, weak module ownership, and scalability bottlenecks
  • Security issues, such as missing authorization, injection risks, unsafe deserialization, secrets exposure, SSRF, XSS, CSRF, path traversal, insecure defaults, and validation gaps
  • Performance issues, such as N+1 queries, repeated remote calls, missing indexes, unbounded scans, memory leaks, blocking operations, and obviously inefficient hot-path algorithms
  • Data integrity and reliability issues, such as race conditions, missing transactions, partial writes, retry hazards, idempotency gaps, bad cache invalidation, and weak failure handling
  • Missing functionality only when there is a clear, documented gap between requirements and implementation that causes a broken workflow, production risk, or serious correctness problem

Strict filtering rules:

Installs
2
First Seen
Jul 19, 2026