Skip to content

thiepdientu/LS-Wedding / .agents/skills/code-review

code-review

Verified

Reviews Laravel 12 + Blade + MySQL code as a senior engineer for correctness, architecture, security, performance, maintainability, accessibility, tests, and regressions. Use for code review, refactoring review, or pre-release review.

Senior Code Review

Review order

  1. Correctness and requirement coverage.
  2. Security and authorization.
  3. Data integrity and migrations.
  4. Bugs and edge cases.
  5. Performance and query behavior.
  6. Architecture and maintainability.
  7. Tests and regression protection.
  8. Blade accessibility and UX.
  9. Style and consistency.

Review method

  • Inspect the diff and surrounding code.
  • Understand existing conventions before criticizing deviations.
  • Trace affected request/data flows.
  • Check failure paths, permissions, validation, transactions, and concurrency-sensitive behavior.
  • Check for N+1 and unbounded queries.
  • Check whether tests actually prove the behavior.

Findings

Classify findings as:

  • BLOCKER: security, data-loss, broken core behavior, or release-blocking defect.
  • HIGH: significant bug, authorization flaw, migration risk, or severe performance issue.
  • MEDIUM: correctness/maintainability issue likely to cause future problems.
  • LOW: minor improvement.

Do not manufacture findings. If code is correct, say so and identify residual risk rather than inventing issues.

Refactoring

Recommend the smallest change that materially improves the code. Avoid style-only rewrites unless explicitly requested.

Output

Summarize:

  • what was reviewed
  • findings ordered by severity
  • exact files/areas involved
  • why each issue matters
  • concrete fix
  • tests/checks performed
  • residual risks
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 465kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 465kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 465kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 192kUpdated Claude CodeCodexVerifiedInstall