icon-system-consistency
Prevent icon-related runtime crashes and keep icons consistent with existing project patterns.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!