name: icon-system-consistency description: Prevent icon-related runtime crashes and keep icons consistent with existing project patterns.
Icon System Consistency
Rule
Do NOT introduce new icon libraries. Use existing project icon exports/wrappers.
Workflow
- If an icon crashes (
type.displayName), verify the import exists and matches export type (named vs default). - Prefer a single source of truth (project icon wrapper or
@expo/vector-iconsif already used in the repo). - If an icon is optional/dynamic, add a guard:
-
Icon ? <Icon .../> : null
-
- If many files are broken, do a repo-wide sweep:
- Find JSX tags for icons
- Verify all are imported and defined
Mandatory output
Always end with HANDOFF PACKET.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
0
GitHub Forks
0
Created
Jan 2026
Last Updated
4个月前
tools
tools ide plugins
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!