java-docs
यह क्या करती है
यह एजेंट आपके Java कोड में व्याख्या वाली टिप्पणियाँ (जिन्हें Javadoc कहा जाता है) जोड़ने में मदद करता है। ये टिप्पणियाँ आपके और दूसरों के लिए कोड को समझना आसान बनाती हैं।
कब इस्तेमाल करें
- ✓जब आप कोई नया Java function लिखते हैं।
- ✓जब आप अपने कोड के किसी हिस्से को समझाना चाहते हैं।
- ✓जब आप अपना कोड दूसरे प्रोग्रामरों के साथ शेयर करते हैं।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/java-docs/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस Java class और उसके methods में Javadoc टिप्पणियाँ जोड़ो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके Java कोड का विश्लेषण करता है और अपने आप Javadoc टिप्पणियाँ डाल देता है। यह सबसे अच्छे तरीकों (best practices) का पालन करता है, ताकि टिप्पणियाँ साफ़ और उपयोगी रहें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Java Documentation (Javadoc) Best Practices
- Public and protected members should be documented with Javadoc comments.
- It is encouraged to document package-private and private members as well, especially if they are complex or not self-explanatory.
- The first sentence of the Javadoc comment is the summary description. It should be a concise overview of what the method does and end with a period.
- Use
@paramfor method parameters. The description starts with a lowercase letter and does not end with a period. - Use
@returnfor method return values. - Use
@throwsor@exceptionto document exceptions thrown by methods. - Use
@seefor references to other types or members. - Use
{@inheritDoc}to inherit documentation from base classes or interfaces.- Unless there is major behavior change, in which case you should document the differences.
- Use
@param <T>for type parameters in generic types or methods. - Use
{@code}for inline code snippets. - Use
<pre>{@code ... }</pre>for code blocks. - Use
@sinceto indicate when the feature was introduced (e.g., version number). - Use
@versionto specify the version of the member. - Use
@authorto specify the author of the code. - Use
@deprecatedto mark a member as deprecated and provide an alternative.
अक्सर पूछे जाने वाले सवाल
Javadoc टिप्पणियाँ क्या होती हैं?
ये Java कोड के अंदर लिखे गए खास तरह के पाठ होते हैं, जो बताते हैं कि कोड क्या करता है, उसका उपयोग कैसे करें, उसे कौन सी जानकारी मिलती है और वह क्या लौटाता है। इनसे अपने आप documentation बनाया जाता है।
Javadoc क्यों इस्तेमाल करें?
इससे कोड जल्दी समझ में आता है, दूसरे developers के साथ काम करना आसान होता है, और अपने software के लिए अच्छा documentation बनाने में यह ज़रूरी है।
क्या मुझे हर चीज़ का documentation बनाना ज़रूरी है?
कोड के public और protected हिस्सों का documentation बनाना ज़रूरी माना जाता है। बाकी हिस्सों का documentation तब बनाना अच्छा है जब वे जटिल हों या आसानी से समझ में न आएँ।
जानकारी
लेखक का मूल विवरण
Ensure that Java types are documented with Javadoc comments and follow best practices for documentation.
repo: github/awesome-copilot
लोकप्रियता
- GitHub स्टार
- 40k
- रैंकिंग में स्थान
- #7254
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
technical-documentation
394kयह आपके एजेंट को साफ़ तकनीकी डॉक्स और एजेंट निर्देश फ़ाइलें लिखने और जांचने में मदद करती है, ताकि लोग और AI टूल उन्हें आसानी से समझ सकें।
architecture-decision-records
280kयह आपके एजेंट को project structure से जुड़े ज़रूरी फैसलों को दर्ज करने देता है। इससे पता चलता है कि कोई चुनाव क्यों किया गया, और बदलावों का साफ़ इतिहास बना रहता है।
code-tour
280kआपके एजेंट को exact file और line references के साथ step-by-step code walkthrough बनाने देता है। intro, explanations और reviews के लिए उपयोगी है।