examples/unified-workspace/skills/code-review/SKILL.md
This skill provides structured guidelines for reviewing TypeScript code. Apply these standards when reviewing pull requests, analyzing code quality, or suggesting improvements.
Keywords: code review, pull request, PR review, TypeScript, code quality, best practices, refactoring
Before approving, verify:
Check for:
Ensure:
any)strict mode compatibleLook for:
Use this format for review comments:
[severity]: brief description
Why: explanation of the issue
Suggestion: how to fix it (with code if helpful)
Severity levels:
[critical] - Must fix before merge[suggestion] - Recommended improvement[nit] - Minor style preference[question] - Need clarificationGood comment:
[suggestion]: Consider extracting this validation logic
Why: This 15-line validation block is hard to test in isolation
Suggestion: Move to a `validateUserInput(data)` function
Bad comment:
This is wrong, fix it.
catch(e) { console.log(e) }Always flag: