·code-refactoring
</>

code-refactoring

دليل إعادة هيكلة التعليمات البرمجية، استخدم هذه المهارة لإرشادك عندما يطلب المستخدم إعادة هيكلة مكونات أو وظائف وعند تنفيذ خطة تتطلب إعادة هيكلة التعليمات البرمجية.

5التثبيتات·0الرائج·@rakaadi

التثبيت

$npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring

كيفية تثبيت code-refactoring

ثبّت مهارة الذكاء الاصطناعي code-refactoring بسرعة في بيئة التطوير لديك عبر سطر الأوامر

  1. افتح الطرفية: افتح الطرفية أو أداة سطر الأوامر لديك مثل Terminal أو iTerm أو Windows Terminal
  2. نفّذ أمر التثبيت: انسخ ونفّذ هذا الأمر: npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring
  3. تحقق من التثبيت: بعد التثبيت، سيتم إعداد المهارة تلقائيا في بيئة البرمجة بالذكاء الاصطناعي لديك وتصبح جاهزة للاستخدام في Claude Code أو Cursor أو OpenClaw

المصدر: rakaadi/agent-kit.

This skill specializes in refactoring React Native components within the Ecalyptus healthcare mobile application. It focuses on eliminating deeply nested conditionals, optimizing array operations and component re-renders, improving RTK Query usage patterns, and enhancing code readability while maintaining React Compiler compatibility and ESLint compliance.

User Request: "This component has nested ifs and the list re-renders too much when I update a single item's state"

I can see two issues here. First, the nested conditionals in your render logic make it hard to understand the component's states. We can refactor this using ts-pattern for clearer state matching. Second, your mapped list items maintain their own expanded state, which gets lost on parent re-renders. We should lift that state to the parent component.

حقائق جاهزة للاقتباس

حقول وأوامر مستقرة للاقتباس في أنظمة الذكاء الاصطناعي والبحث.

أمر التثبيت
npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring
المصدر
rakaadi/agent-kit
الفئة
</>أدوات التطوير
موثق
أول ظهور
2026-02-22
آخر تحديث
2026-03-10

Browse more skills from rakaadi/agent-kit

إجابات سريعة

ما هي code-refactoring؟

دليل إعادة هيكلة التعليمات البرمجية، استخدم هذه المهارة لإرشادك عندما يطلب المستخدم إعادة هيكلة مكونات أو وظائف وعند تنفيذ خطة تتطلب إعادة هيكلة التعليمات البرمجية. المصدر: rakaadi/agent-kit.

كيف أثبّت code-refactoring؟

افتح الطرفية أو أداة سطر الأوامر لديك مثل Terminal أو iTerm أو Windows Terminal انسخ ونفّذ هذا الأمر: npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring بعد التثبيت، سيتم إعداد المهارة تلقائيا في بيئة البرمجة بالذكاء الاصطناعي لديك وتصبح جاهزة للاستخدام في Claude Code أو Cursor أو OpenClaw

أين مستودع المصدر؟

https://github.com/rakaadi/agent-kit

التفاصيل

الفئة
</>أدوات التطوير
المصدر
skills.sh
أول ظهور
2026-02-22