code-review
Installation
SKILL.md
Code review – kickstart-next
When to use
- Before you open a PR or when reviewing someone else’s changes.
Instructions
Checklist
- Run
npm run lintandnpm run buildlocally (CI does not run these automatically). - Preview mode: confirm
components/Preview.tsxandinitLivePreviewstill behave; production path: confirm servergetPage+Pagerender correctly for/. - If you add or rename environment variables, update
.env.exampleand user-facing docs where needed. - No secrets in the repo; scan diffs for accidental tokens.
- Rich text paths still sanitize HTML (
isomorphic-dompurify) beforedangerouslySetInnerHTML. - If new image hosts or CDNs appear, update
next.config.mjsremotePatterns(and env-driven hostname if used). - Content/schema changes should be reflected in lib/types.ts and any Live Preview
$bindings in components. - Dependency changes: consider impact on Snyk / SCA workflows (see
.github/workflows).