Loading...
Loading...
Prioritized TypeScript React code review guidelines. Focuses on type safety, React conventions, performance, security, architecture, accessibility, error handling, and testing. First scan the code to identify issues, then obtain solutions and review comment templates from the references/ directory.
npx skill4agent add yeeway0609/skills code-review-react-tsreferences/references/| Priority | Content |
|---|---|
| High (Mandatory) | Security, Type safety, Logic bugs, Performance |
| Medium (Recommended) | Architecture, Accessibility, Tests, Error handling |
| Low (Suggested) | Coding style / API design preferences (see Category 9), Naming, Minor optimizations |
| Ignore | Pure personal style, preferences not agreed upon by the team, bikeshedding |
references/01-type-safety.mdasif (value)references/02-react-patterns.mdreferences/03-performance.mdimport _ from 'lodash'references/04-security.mddangerouslySetInnerHTMLreferences/05-architecture.mdreferences/06-accessibility.mdreferences/07-error-handling.mdreferences/08-testing.mdreferences/09-coding-style.mdNot a red flag; adoption does not affect correctness. Present as 🟡 SUGGESTION, authors may choose not to adopt.
ishasshouldon*changeonChangeonValueChange<Dialog isDialogOpen /><Button buttonColor />stringReact.ComponentProps<'tag'>onClickaria-*classNameisClosableonClosechildrenrenderItem(item, state)valueonChangeoptionsvaluedefaultValueitems={[{label, icon, submenu...}]}references/XX-...md