Compétences react-doctor
📦

react-doctor

Sûr

Reactの問題を自動診断

このスキルは、変更後にReactコードの問題を自動的に検出し、開発者が問題が大きくなる前に早期にバグを発見するのに役立ちます。

Prend en charge: Claude Codex Code(CC)
🥉 73 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "react-doctor". react-doctorでReactコンポーネントをチェックしてください

Résultat attendu:

React Doctorレポート

✅ 重大な問題は見つかりませんでした
⚠️ 2件の警告が検出されました:

1. useEffectの依存関係が不足しています: 'userId'
場所: UserProfile.jsx:15
提案: 依存関係配列に'userId'を追加するか、useCallbackを使用してください

2. インラインスタイルが検出されました
場所: Header.jsx:23
提案: パフォーマンス向上のためCSSクラスに抽出することを検討してください

Utilisation de "react-doctor". プロジェクトでreact-doctorを実行してください

Résultat attendu:

React Doctorサマリー

スキャン: 42ファイル
発見された問題: 5件
- 重大: 0件
- 警告: 3件
- 情報: 2件

主要な問題:
- リストマッピングでReactキーが2件不足
- クリーンアップ関数なしのuseEffectが1件

Audit de sécurité

Sûr
v1 • 2/20/2026

Static analysis found two patterns (external_commands, weak cryptographic algorithm) but evaluation confirms these are false positives. The external_commands finding is markdown documentation describing development commands (not actual execution). The weak cryptographic algorithm finding is likely a misidentification of normal text in the markdown file. This is a legitimate React debugging tool with no malicious intent.

1
Fichiers analysés
20
Lignes analysées
2
résultats
1
Total des audits
Problèmes à risque moyen (1)
External Commands Documentation
Static analyzer detected shell command documentation in SKILL.md - this is expected behavior for a development tool skill that describes what commands it runs
Problèmes à risque faible (1)
False Positive: Weak Cryptographic Algorithm
Analyzer misidentified text in markdown as cryptographic usage - no actual cryptographic code exists in this skill
Audité par: claude

Score de qualité

38
Architecture
100
Maintenabilité
85
Contenu
50
Communauté
98
Sécurité
91
Conformité aux spécifications

Ce que vous pouvez construire

機能開発後のチェック

新しい機能の完了後にコミットする前にReactの問題を検出するために実行

コードレビュー前の品質ゲート

Reactベストプラクティスが守られていることを確認するためにコードレビュープロセスの一環として使用

レガシーコードベースの監査

古いReactコードをスキャンして技術的負債と潜在的なバグを特定

Essayez ces prompts

基本的なReactチェック
react-doctorスキルを使用して、最近のReactの変更に問題がないか確認してください
コンポーネント固有のスキャン
Buttonコンポーネントとその関連ファイルでreact-doctorを実行してください
全プロジェクト監査
srcディレクトリ全体でreact-doctorを実行して、すべての潜在的な問題を特定してください
修正の確認
react-doctorを使用して、バグ修正が元の問題を解決し、新しい問題を引き起こしていないことを確認してください

Bonnes pratiques

  • 重大なコード変更ごとにreact-doctorを実行してください
  • エラーだけでなく、すべての警告を確認してください
  • 開発のごろにスキルを使用して、問題が蓄積されるのを防いでください
  • 自動チェックのためにCIパイプラインにreact-doctorを統合してください

Éviter

  • 警告を理解せずに無視する
  • バグが発生したときだけreact-doctorを実行する(プロアクティブではなく)
  • トレードオフを評価せずにルールを無効にする
  • 手動のコードレビューなしでreact-doctorのみに依存する

Foire aux questions

react-doctorとは何ですか?
React-doctorはReactコードを分析し、一般的なミス、パフォーマンスの問題、ベストプラクティスの違反を特定するスキルです。開発者が早期に問題を捉えるのに役立ちます。
react-doctorは自動的に問題を修正しますか?
いいえ、react-doctorは問題のみを報告します。問題を特定して修正案を提案しますが、変更は手動で適用する必要があります。
どのReactバージョンをサポートしていますか?
React-doctorはReact 16.8以降で動作し、クラスコンポーネントとフックを使用した関数コンポーネントの両方をサポートしています。
react-doctorがチェックするルールをカスタマイズできますか?
構成オプションはスキルの実装に依存します。利用可能なカスタマイズオプションについてはSKILL.mdファイルを確認してください。
react-doctorはTypeScriptプロジェクトに適していますか?
はい、react-doctorはTypeScript Reactプロジェクトを分析でき、追加の型関連の問題を検出できる可能性があります。
react-doctorをどのくらいの頻度で実行すべきですか?
react-doctorは重大なコード変更ごと、コミット前、定期的なコードレビューの一環として実行してください。

Détails du développeur

Structure de fichiers

📄 SKILL.md