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.