について
このスキルは、Difyフロントエンド内の複雑なReactコンポーネントを、分析結果が高複雑度(>50)または過剰な行数(>300)を示した場合にリファクタリングします。コード分割の実施、カスタムフックの抽出、複雑度の低減を行い、保守性を向上させます。コンポーネント分析による指示時、または開発者からのリファクタリング要請時に使用してください。ただし、単純なコンポーネントやサードパーティ製のコードに対しては使用を避けてください。
クイックインストール
Claude Code
推奨npx skills add majiayu000/claude-skill-registry -a claude-code/plugin add https://github.com/majiayu000/claude-skill-registrygit clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/component-refactoringこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
GitHub リポジトリ
Frequently asked questions
What is the component-refactoring skill?
component-refactoring is a Claude Skill by majiayu000. Skills package instructions and resources that Claude loads on demand, so Claude can perform component-refactoring-related tasks without extra prompting.
How do I install component-refactoring?
Use the install commands on this page: add component-refactoring to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does component-refactoring belong to?
component-refactoring is in the Testing category, tagged react and testing.
Is component-refactoring free to use?
Yes. component-refactoring is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
関連スキル
このClaudeスキルは、lm-evaluation-harnessを実行し、MMLUやGSM8Kなど60以上の標準化学術タスクでLLMをベンチマークします。開発者がモデルの品質を比較し、トレーニングの進捗を追跡し、学術的な結果を報告するために設計されています。このツールはHuggingFaceやvLLMモデルを含む様々なバックエンドをサポートしています。
このスキルは、cron式を使用してWorkersをスケジュールするためのCloudflare Cron Triggersの実装に関する包括的な知識を提供します。定期的なタスクの設定、メンテナンスジョブ、自動化されたワークフローの構築を網羅し、無効なcron式やタイムゾーン問題といった一般的な課題への対処法も含みます。開発者はこれを使用して、スケジュールされたハンドラーの設定、cronトリガーのテスト、WorkflowsやGreen Computeとの連携を構成できます。
このClaude Skillは、Playwrightベースのツールキットを提供し、Pythonスクリプトを通じてローカルWebアプリケーションのテストを可能にします。フロントエンドの検証、UIデバッグ、スクリーンショット撮影、ログ表示を実現し、サーバーライフサイクルを管理します。ブラウザ自動化タスクにご利用いただけますが、コンテキストの汚染を避けるため、スクリプトのソースコードを読むのではなく直接実行してください。
このスキルは、開発者がテストの合格を確認し、構造化された統合オプションを提示することで、完成した作業を仕上げることを支援します。実装が完了した後のマージ、PR作成、ブランチの整理といったワークフローを案内します。コードが準備できてテスト済みの際に使用し、開発プロセスを体系的に完了させましょう。
