मुख्य सामग्री पर जाएँ
Skillpedia
डॉक्यूमेंटेशन40k · #7254

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 पढ़कर निर्देशों का पालन करेगा।

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

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

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 @param for method parameters. The description starts with a lowercase letter and does not end with a period.
  • Use @return for method return values.
  • Use @throws or @exception to document exceptions thrown by methods.
  • Use @see for 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 @since to indicate when the feature was introduced (e.g., version number).
  • Use @version to specify the version of the member.
  • Use @author to specify the author of the code.
  • Use @deprecated to 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

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

0

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

कमेंट

  • …

इस 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 सुनिश्चित करने में उपयोगी है।

AI और एजेंटएजेंट

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