icon-system-consistency
Prevent icon-related runtime crashes and keep icons consistent with existing project patterns.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!