·code-refactoring
</>

code-refactoring

Leitfaden für Code-Refactoring. Verwenden Sie diesen Skill als Leitfaden, wenn der Benutzer eine Umgestaltung von Komponenten oder Funktionen anfordert und wenn eine Implementierung eines Plans eine Code-Refactoring erfordert.

5Installationen·0Trend·@rakaadi

Installation

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

So installieren Sie code-refactoring

Installieren Sie den KI-Skill code-refactoring schnell in Ihrer Entwicklungsumgebung über die Kommandozeile

  1. Terminal öffnen: Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Installationsbefehl ausführen: Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring
  3. Installation überprüfen: Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw

Quelle: 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.

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-22
Aktualisiert
2026-03-10

Browse more skills from rakaadi/agent-kit

Schnelle Antworten

Was ist code-refactoring?

Leitfaden für Code-Refactoring. Verwenden Sie diesen Skill als Leitfaden, wenn der Benutzer eine Umgestaltung von Komponenten oder Funktionen anfordert und wenn eine Implementierung eines Plans eine Code-Refactoring erfordert. Quelle: rakaadi/agent-kit.

Wie installiere ich code-refactoring?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw

Wo ist das Quell-Repository?

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

Details

Kategorie
</>Entwicklung
Quelle
skills.sh
Erstes Auftreten
2026-02-22