code-refactoring とは?
コード リファクタリングのガイド。このスキルを使用して、ユーザーがコンポーネントまたは関数のリファクタリングを要求したとき、および計画の実装でコード リファクタリングが必要なときにガイドします。 ソース: rakaadi/agent-kit。
コード リファクタリングのガイド。このスキルを使用して、ユーザーがコンポーネントまたは関数のリファクタリングを要求したとき、および計画の実装でコード リファクタリングが必要なときにガイドします。
コマンドラインで code-refactoring AI スキルを開発環境にすばやくインストール
ソース: 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コード リファクタリングのガイド。このスキルを使用して、ユーザーがコンポーネントまたは関数のリファクタリングを要求したとき、および計画の実装でコード リファクタリングが必要なときにガイドします。 ソース: rakaadi/agent-kit。
ターミナルまたはコマンドラインツール(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