について
このスキルは、Difyフロントエンド内の複雑なReactコンポーネントを、メトリクスが閾値を超えた場合(複雑度 > 50 または行数 > 300)、またはコード分割が要求された場合にリファクタリングします。`web/`ディレクトリからの特定のコマンドを使用して、フックの抽出、コンポーネントの分割、複雑度の低減を行います。単純なコンポーネント、サードパーティのコード、またはテストのみが目的である場合には使用しないでください。
クイックインストール
Claude Code
推奨npx skills add ma1orek/replay -a claude-code/plugin add https://github.com/ma1orek/replaygit clone https://github.com/ma1orek/replay.git ~/.claude/skills/component-refactoringこのコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします
GitHub リポジトリ
Frequently asked questions
What is the component-refactoring skill?
component-refactoring is a Claude Skill by ma1orek. 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作成、ブランチの整理といったワークフローを案内します。コードが準備できてテスト済みの際に使用し、開発プロセスを体系的に完了させましょう。
