everything-claude-code / rules
junimnjw/everything-claude-code/.cursor/rules/kotlin-coding-style.md
Kotlin coding style extending common rules
Cursor rule1 starsChanged 7 months ago
What's in it
- Kotlin 코딩 스타일
- 포맷팅
- 불변성
- Null 안전성
- 표현식 본문
- 참고
--- description: "Kotlin coding style extending common rules" globs: ["**/*.kt", "**/*.kts", "**/build.gradle.kts"] alwaysApply: false --- # Kotlin 코딩 스타일 > 이 파일은 공통 코딩 스타일 규칙을 Kotlin 전용 내용으로 확장합니다. ## 포맷팅 - **ktfmt** 또는 **ktlint**을 통한 자동 포맷팅 (`kotlin-hooks.md`에서 설정) - 여러 줄 선언에서 후행 쉼표 사용 ## 불변성 전역 불변성 요구사항은 공통 코딩 스타일 규칙에서 적용됩니다. Kotlin의 경우 구체적으로: - `var`보다 `val` 선호 - 불변 컬렉션 타입 사용 (`List`, `Map`, `Set`) - 불변 업데이트를 위해 `data class`와 `copy()` 사용 ## Null 안전성 - `!!` 사용 금지 -- `?.`, `?:`, `require`, 또는 `checkNotNull` 사용 - Java 상호운용 경계에서 플랫폼 타입을 명시적으로 처리 ## 표현식 본문 단일 표현식 함수에 표현식 본문 선호: ```kotlin fun isAdult(age: Int): Boolean = age >= 18 ``` ## 참고 포괄적인 Kotlin 관용구와 패턴은 스킬 `kotlin-patterns`를 참조하세요.
More agent context in junimnjw/everything-claude-code
189 other files this repository gives its agents, the first 60 shown.
AGENTS.md
CLAUDE.md
Cursor rule
- .cursor/rules/common-agents.md
- .cursor/rules/common-coding-style.md
- .cursor/rules/common-development-workflow.md
- .cursor/rules/common-git-workflow.md
- .cursor/rules/common-hooks.md
- .cursor/rules/common-patterns.md
- .cursor/rules/common-performance.md
- .cursor/rules/common-security.md
- .cursor/rules/common-testing.md
- .cursor/rules/golang-coding-style.md
- .cursor/rules/golang-hooks.md
- .cursor/rules/golang-patterns.md
- .cursor/rules/golang-security.md
- .cursor/rules/golang-testing.md
- .cursor/rules/kotlin-hooks.md
- .cursor/rules/kotlin-patterns.md
- .cursor/rules/kotlin-security.md
- .cursor/rules/kotlin-testing.md
- .cursor/rules/php-coding-style.md
- .cursor/rules/php-hooks.md
- .cursor/rules/php-patterns.md
- .cursor/rules/php-security.md
- .cursor/rules/php-testing.md
- .cursor/rules/python-coding-style.md
- .cursor/rules/python-hooks.md
- .cursor/rules/python-patterns.md
- .cursor/rules/python-security.md
- .cursor/rules/python-testing.md
- .cursor/rules/swift-coding-style.md
- .cursor/rules/swift-hooks.md
- .cursor/rules/swift-patterns.md
- .cursor/rules/swift-security.md
- .cursor/rules/swift-testing.md
- .cursor/rules/typescript-coding-style.md
- .cursor/rules/typescript-hooks.md
- .cursor/rules/typescript-patterns.md
- .cursor/rules/typescript-security.md
- .cursor/rules/typescript-testing.md
Skill
- api-design.agents/skills/api-design/SKILL.md
- article-writing.agents/skills/article-writing/SKILL.md
- backend-patterns.agents/skills/backend-patterns/SKILL.md
- bun-runtime.agents/skills/bun-runtime/SKILL.md
- claude-api.agents/skills/claude-api/SKILL.md
- coding-standards.agents/skills/coding-standards/SKILL.md
- content-engine.agents/skills/content-engine/SKILL.md
- crosspost.agents/skills/crosspost/SKILL.md
- deep-research.agents/skills/deep-research/SKILL.md
- dmux-workflows.agents/skills/dmux-workflows/SKILL.md
- documentation-lookup.agents/skills/documentation-lookup/SKILL.md
- e2e-testing.agents/skills/e2e-testing/SKILL.md
- eval-harness.agents/skills/eval-harness/SKILL.md
- exa-search.agents/skills/exa-search/SKILL.md
- fal-ai-media.agents/skills/fal-ai-media/SKILL.md
- frontend-patterns.agents/skills/frontend-patterns/SKILL.md
- frontend-slides.agents/skills/frontend-slides/SKILL.md
- investor-materials.agents/skills/investor-materials/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

