मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग13k · #11390

react-doctor

यह क्या करती है

यह एक स्कैनर चलाती है जो React कोड में सुरक्षा, प्रदर्शन, सही व्यवहार और संरचना की समस्याएँ जाँचता है। यह उन डेवलपर्स के लिए है जो बदलाव commit करने से पहले React ऐप को स्वस्थ रखना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप कोई React फ़ीचर या बग फ़िक्स पूरा करते हैं और commit से पहले जाँचना चाहते हैं।
  • ✓जब आप React प्रोजेक्ट की सारी चेतावनियों की पूरी सफ़ाई चाहते हैं।
  • ✓जब आप React समस्याओं की पूरी छँटाई शुरू करने के लिए /doctor टाइप करते हैं।

Skill का लिंक

https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/react-doctor/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/react-doctor/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा React ऐप स्कैन कीजिए और सबसे गंभीर समस्याएँ पहले ठीक कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट react-doctor स्कैनर चलाता है, जो 0 से 100 तक का स्कोर देता है, फिर सबसे गंभीर से कम गंभीर समस्याओं पर काम करता है। पूरी छँटाई के लिए वह टूल की ऑनलाइन प्लेबुक का पालन करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

React Doctor

Scans React codebases for security, performance, correctness, and architecture issues. Outputs a 0–100 health score.

After making React code changes:

Run npx react-doctor@latest --verbose --scope changed and check the score did not regress.

If the score dropped, fix the regressions before committing.

For general cleanup or code improvement:

Run npx react-doctor@latest --verbose (the default --scope full) to scan the full codebase. Fix issues by severity — errors first, then warnings.

/doctor — full local triage workflow

When the user types /doctor, says "run react doctor", or asks for a full triage / cleanup pass (not just a regression check), fetch the canonical local-triage playbook and follow every step in it:

curl --fail --silent --show-error \
  --header 'Cache-Control: no-cache' \
  https://www.react.doctor/prompts/react-doctor-agent.md

The playbook is the single source of truth — a scan → filter → triage → fix → validate loop that edits the working tree directly (never commits, never opens PRs). Updating the prompt at its source updates every agent on its next fetch — no skill reinstall needed.

Pair it with the matching per-rule prompts at https://www.react.doctor/prompts/rules/<plugin>/<rule>.md (fetched on demand inside the playbook) so each fix uses the canonical, reviewer-tested recipe.

Configuring or explaining rules

When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), read references/explain.md and follow it. Start with npx react-doctor@latest rules explain <rule>, then apply the narrowest control via npx react-doctor@latest rules disable|set|category|ignore-tag …, which edits your doctor.config.* (or package.json#reactDoctor).

Command

npx react-doctor@latest --verbose --scope changed
Flag Purpose
. Scan current directory
--verbose Show affected files and line numbers per rule
--scope changed Only report issues introduced vs the base branch (default: full)
--scope lines Only report issues on the changed lines
--score Output only the numeric score
अक्सर पूछे जाने वाले सवाल

क्या इसे इंस्टॉल करना पड़ता है?

यह npx से चलती है, इसलिए एजेंट चलाते समय स्कैनर लाता है।

क्या यह git में बदलाव commit करेगी?

नहीं। पूरी छँटाई वर्किंग फ़ाइलें संपादित करती है और कभी commit या pull request नहीं खोलती।

स्कोर का क्या मतलब है?

यह 0 से 100 तक का स्वास्थ्य स्कोर है। बदलाव के बाद एजेंट जाँचता है कि स्कोर घटा तो नहीं।

जानकारी

लेखक का मूल विवरण

Use when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.

repo: humanlayer/humanlayer

लोकप्रियता

GitHub स्टार
13k
रैंकिंग में स्थान
#11390
लाइसेंस
Apache-2.0
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

asd-ste100

13k

उलझे हुए अंग्रेज़ी टेक्स्ट को छोटे, एक-अर्थ वाले वाक्यों में बदलना सिखाती है, जो लोगों और दूसरे सॉफ़्टवेयर दोनों के लिए पढ़ने में आसान हों।

लेखन और डॉक्यूमेंटलेखन

better-github-skill

13k

तैयार GitHub स्क्रिप्ट से pull request की स्थिति जाँचने, उसकी समीक्षा टिप्पणियाँ पढ़ने, और CI बिल्ड क्यों विफल हुआ यह पता करने में आपके एजेंट की मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

calldiff

13k

कोड समीक्षा में बदलाव का असर देखने के लिए, दो git संस्करणों के बीच कोड में फ़ंक्शन कॉल की श्रृंखलाओं की तुलना करने में मदद करती है।

कोडिंगसामान्य कोडिंग

chrome-devtools-cli

13k

आपके एजेंट को टर्मिनल से Chrome चलाने देती है, ताकि वह पेज खोल सके, क्लिक कर सके, फ़ॉर्म भर सके और ब्राउज़र ऑटोमेशन व टेस्टिंग के लिए पेज का स्नैपशॉट ले सके।

कोडिंगटेस्टिंग

मिलती-जुलती skills