This skill applies company coding standards expressed as Avoid (anti-patterns) and Prefer (recommended patterns) to in-code patterns only. For file and folder naming and structure, use react-files-structure-standards.
Standards are defined in the references/ folder. Load these files when you need the exact Avoid/Prefer rules and examples:
| Coding patterns | references/common-coding-patterns.md | TypeScript (types, control flow, errors, enums, destructuring, etc.) | | Naming patterns | references/common-naming-patterns.md | In-code naming (boolean prefixes, descriptive names) | | React patterns | references/common-react-patterns.md | Hooks, components, JSX, state, styling, fragments |
Обеспечивает соблюдение внутренних стандартов кодирования React и TypeScript, используя правила «избегать/предпочитать». Используйте при проверке или рефакторинге кода React/TS, применении стандартов компании или когда пользователь просит привести код в соответствие со стандартами кодирования. Источник: lichens-innovation/ai-dev-tools.