code-review

Installation
SKILL.md

Code Review Guide

Before You Start

  1. Read /typescript and /testing skills for code style and test conventions
  2. Get the diff (skip if already in context, e.g., injected by GitHub review app): git diff or git diff origin/canary..HEAD

Checklist

Correctness

  • Leftover console.log / console.debug — should use debug package or remove
  • Missing return await in try/catch — see https://typescript-eslint.io/rules/return-await/ (not in our ESLint config yet, requires type info)
  • Can the fix/implementation be more concise, efficient, or have better compatibility?

Security

  • No sensitive data (API keys, tokens, credentials) in console.* or debug() output
  • No base64 output to terminal — extremely long, freezes output
Related skills

More from lobehub/lobe-chat

Installs
1
GitHub Stars
77.0K
First Seen
Apr 8, 2026