AGENT SKILL
react-component-review
Review React components for accessibility, state management and rendering cost. Use when .tsx/.jsx components change.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- react-component-review
- description
- Review React components for accessibility, state management and rendering cost. Use when .tsx/.jsx components change.
02 资源文件 2
- 参考文档habi.yaml356 B
- 参考文档references/a11y.md224 B
03 SKILL.md 正文
React component review
- Accessibility: semantic elements, labels, focus order, keyboard handling. See the a11y notes.
- State: derive instead of duplicating; keep effects for synchronization only.
- Rendering: avoid creating components inside components; memoize only with evidence.
- Tests: behaviour-focused tests with Testing Library queries by role.
04 同仓库更多 Skills
habi-smoke-test
Use when the user says 'habi ping'.
★ 0
jpa-entity-review
Our own, hand-written JPA review notes (not installed by Habi).
★ 0
threat-model
Facilitate a lightweight threat-modeling session (STRIDE) for a new feature and record the outcomes.
★ 0
secrets-hygiene
Find and remove committed secrets, rotate them, and prevent recurrence.
★ 0
dependency-audit
Audit JavaScript/TypeScript dependencies for known vulnerabilities and summarize what to upgrade. Use before releases or when the lockfile changes.
★ 0
api-contract-review
Security-focused review of API contracts — authentication, authorization scopes and data exposure. Use when an OpenAPI document changes.
★ 0