본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

code-style

IntelliJ 프로젝트 규칙에 맞춰 Kotlin과 Java 코드를 작성하거나 검토합니다. 언어 선택, 서식, 봉인 타입, 스레드 주석, 제어 흐름 예외 처리를 확인합니다.

원문원문 설명 보기

Apply IntelliJ Kotlin and Java code style when writing or reviewing.

JetBrains/intellij-community스타 20,685(GitHub 20,685 + cccskills 0)

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • IntelliJ 규칙에 맞는 Kotlin 작성
  • Java 코드 검토
  • 예외 처리와 봉인 타입 분기 확인

한국어 소개

할 수 있는 일

IntelliJ 코딩 가이드라인에 따라 Kotlin과 Java 코드를 작성하고 검토하도록 안내합니다. 새 파일에는 기본적으로 Kotlin을 사용하고, 기존 Java 파일은 변환이 필요한 경우가 아니면 Java로 유지합니다. 확장 함수, 데이터 클래스, 널 안전성 같은 Kotlin 관용 표현을 다루며, 실험적 API에는 @ApiStatus.Experimental을 표시합니다. 서식을 확인할 때는 적용되는 .editorconfig를 참조합니다.

봉인 타입과 열거형의 모든 경우를 다루는 when 분기, 스레드 요구 주석의 기본값, 예외 처리 규칙도 확인합니다. Throwable이나 Exception을 잡을 때는 제어 흐름 예외가 로그에 남지 않도록 rethrowControlFlowException을 먼저 호출하도록 안내합니다. 빌드 스크립트용 Kotlin 규칙도 다룹니다.

이럴 때 유용합니다

IntelliJ 코드베이스에 기능을 추가하거나 기존 코드를 검토하고 서식을 정리할 때 유용합니다. Kotlin과 Java의 선택, 봉인 타입 분기, 스레드 관련 주석, 예외 처리가 프로젝트 규칙에 맞는지 확인할 수 있습니다.

사용 예시

  • “이 Kotlin 코드를 IntelliJ 규칙에 맞춰 검토해 주세요.”
  • “예외 처리와 봉인 타입 분기에 문제가 있는지 확인해 주세요.”

주의 사항

Java 코드를 작성하거나 검토하기 전에 references/modern-java.md를 읽습니다. 빌드 스크립트에서는 별도로 지정된 Kotlin 스타일 권장 사항을 참조합니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

문서 점검

AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.

안전성전송·삭제·명령 실행 등을 명시하고 있는가
A양호외부 전송이나 파괴적 작업은 없으며 예외 처리 규칙이 명시되어 있습니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
A양호API 키나 추가 도구는 필요하지 않으며 Java 참고 문서가 지정되어 있습니다.

점수에는 넣지 않았습니다. 2026년 10월 28일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(3)

  • SKILL.md3.2 KB
  • references/modern-java.LICENSE.txt1.0 KB
  • references/modern-java.md8.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

<!-- Generated by community/.ai/render-guides.mjs; edit community/.agents/skills/code-style/SKILL.md -->

Code Style

Follow the IntelliJ Coding Guidelines with these IntelliJ-specific rules.

Language

  • Use Kotlin for new files unless the user explicitly requests Java.
  • Keep existing Java files in Java unless the task requires a language conversion.
  • Before writing or reviewing Java, read Modern Java.
  • Use idiomatic Kotlin: extension functions, data classes, null safety
  • Mark experimental APIs with @ApiStatus.Experimental
  • Build scripts Kotlin style: Follow community/platform/build-scripts/kotlin-style-recommendations.md for build-scripts code:
    • Use @JvmField for internal data class fields
    • Use .put()/.get() instead of [] operator
    • Use explicit HashMap/HashSet/LinkedHashMap instead of mutableMapOf()/mutableSetOf()

Sealed hierarchies

  • Before you list several subtypes in a when branch, an is check, or a catch, open the declaration of the type.
  • If a common supertype covers exactly those subtypes, use the supertype. It stays correct when someone adds a new subtype.
  • Check the value of a sealed type or an enum with an exhaustive when. Do not use an is check, an as? cast, an == comparison, or else. In Eel and IJent code, this is a rule, also for a private type. See community/platform/eel/docs/api/exhaustive-when.md.

Formatting

  • Read every applicable .editorconfig before you review or change formatting.
  • Use the effective .editorconfig value for each setting. If no file defines a setting, use these defaults:
    • Indentation: 2 spaces (4 for Go files)
    • Line length: 140 characters max
    • Braces: else, catch, and finally on new lines
  • Only in /rustrover directory you must always use standard Kotlin formatting rules with 4 spaces indentation.

Threading annotations

  • When you add @RequiresEdt, @RequiresBackgroundThread, @RequiresReadLock, @RequiresWriteLock, or @RequiresReadLockAbsence, do not pass generateAssertion. Keep the default value unless the user explicitly requests a different one.
  • Never write generateAssertion = false /* IJPL-115548 */. It is a legacy mass-migration marker. Do not copy it from existing code.
  • Set generateAssertion = false only when the user explicitly requests it, or when the runtime assertion is known to fail. State the reason in a comment.
@RequiresEdt
fun updateUi() { ... }

Error handling

  • In a catch block for Throwable or Exception, call com.intellij.diagnostic.rethrowControlFlowException(e) first. It rethrows a control flow exception, such as CancellationException. A control flow exception must never reach the log.
  • Do not catch or rethrow CancellationException explicitly, and do not test the exception type by hand.
  • In Java, static-import com.intellij.diagnostic.ControlFlowExceptionsKt.rethrowControlFlowException.
  • Do not use the deprecated com.intellij.openapi.diagnostic.rethrowControlFlowException.
try {
  doWork()
}
catch (e: Throwable) {
  rethrowControlFlowException(e)
  LOG.error(e)
}

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

actions

무료요약 있음

IntelliJ `AnAction` 클래스를 구현하거나 수정하고 `plugin.xml`에 등록하도록 안내합니다. 표시 이름과 설명은 메시지 번들에 두고, 필요하면 아이콘을 설정하며, 이벤트 코루틴 범위에서 중단 함수를 실행해 동기식 처리로 IDE가 멈추는 일을 방지합니다.

  • IDE 메뉴에 새 동작 추가
  • 동작 등록이나 아이콘 변경
  • 동작 이름과 설명 정리
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

bazel-test-migration

무료요약 있음

IntelliJ JPS 테스트 모듈을 Bazel로 옮기고 Bazel에서만 발생하는 실패를 조사하는 안내서입니다. 의존성, 플러그인, 테스트 데이터와 runfiles 문제를 확인하고 생성된 대상과 이전된 테스트를 검증합니다.

  • 기존 JPS 테스트 모듈을 Bazel로 이전할 때
  • Bazel에서만 실패하는 테스트를 조사할 때
  • 테스트 의존성과 데이터 설정을 확인할 때
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

commits

무료요약 있음

이 가이드는 IntelliJ 프로젝트의 변경 사항을 목적별로 나누고 프로젝트 형식에 맞는 커밋 메시지를 작성하도록 돕습니다. 티켓이 있으면 번호와 변경 설명을, 없으면 레이블과 하위 시스템명을 사용하며 필요에 따라 이유와 판단을 본문에 담습니다.

  • 티켓이 있는 변경의 프로젝트 형식 메시지 작성
  • 테스트나 문서 커밋에 적절한 레이블 적용
  • 기존 커밋 메시지를 규칙에 맞게 수정
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

compare-python-typecheckers

무료요약 있음

여러 Python 타입 검사기로 코드 조각이나 파일의 타입 추론과 오류 판정을 비교합니다. 도구별 결과, 실행 시간, 진단 내용을 Markdown 보고서로 모아 저장할 수 있습니다.

  • 검사기별 타입 추론 비교
  • 코드가 타입 오류로 판정되는지 확인
  • 여러 도구의 진단 결과 비교
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

compose-ui-architecture

무료요약 있음

Compose Desktop 화면을 구성할 때 컴포저블은 렌더링을 맡고 프레젠터나 코디네이터는 앱 결정을 맡도록 구조를 정리합니다. 상태 소유권, Effect, 재사용 컴포넌트 API, 지연 목록 키, 애니메이션과 성능을 개별 UI 변경에 맞춰 살펴봅니다.

  • 화면 렌더링과 프레젠터 판단 분리
  • UI 상태를 둘 위치 정리
  • Effect 키와 코루틴 사용 검토
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

compose-ui-audit

무료요약 있음

Compose Desktop UI 코드의 구조와 런타임 문제를 감사합니다. 상태 소유권, 부수 효과, 코루틴, 지연 목록, 애니메이션, 재구성을 살펴보고 우선순위별 결과를 제시합니다.

  • Compose 화면의 상태 소유권 감사
  • 부수 효과와 코루틴 사용 점검
  • 지연 목록이나 재구성 성능 조사
JetBrains/intellij-community2.1만2026년 10월 29일 업데이트

JetBrains의 스킬 모두 보기

이 스킬의 문제 신고