·code-refactoring
</>

code-refactoring

コード リファクタリングのガイド。このスキルを使用して、ユーザーがコンポーネントまたは関数のリファクタリングを要求したとき、および計画の実装でコード リファクタリングが必要なときにガイドします。

5インストール·0トレンド·@rakaadi

インストール

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

code-refactoring のインストール方法

コマンドラインで code-refactoring AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、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.

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/rakaadi/agent-kit --skill code-refactoring
カテゴリ
</>開発ツール
認証済み
初回登録
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 インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

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

詳細

カテゴリ
</>開発ツール
ソース
skills.sh
初回登録
2026-02-22