본문으로 건너뛰기
Skillpedia
문서화40k · #7254

java-docs

하는 일

이 에이전트는 Java 코드에 설명 주석(Javadoc이라고 함)을 추가하도록 돕습니다. 이 주석은 여러분과 다른 사람이 코드를 더 쉽게 이해하도록 합니다.

사용하는 경우

  • ✓새 Java 함수를 작성할 때.
  • ✓코드 조각이 무엇을 하는지 설명하고 싶을 때.
  • ✓코드를 다른 프로그래머와 공유할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/java-docs/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/java-docs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 Java 클래스와 그 메서드에 Javadoc 주석을 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 Java 코드를 분석하고 Javadoc 주석을 자동으로 삽입합니다. 주석이 명확하고 유용하도록 모범 사례를 따릅니다.

기술 내용 (원본 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 코드 속 특별한 텍스트입니다. 자동 문서를 만드는 데 쓰입니다.

왜 Javadoc을 써야 하나요?

코드를 더 빨리 이해하도록 돕고, 다른 개발자와의 협업을 쉽게 하며, 소프트웨어를 위한 전문 문서를 만드는 데 필수적입니다.

모든 것을 문서화해야 하나요?

공개(public) 및 보호(protected) 부분의 코드는 반드시 문서화해야 합니다. 복잡하거나 명확하지 않은 다른 부분도 문서화하기를 권장합니다.

상세 정보

작성자의 원본 설명

Ensure that Java types are documented with Javadoc comments and follow best practices for documentation.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7254
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬