Official agent skill

Code Style

by JetBrains in JetBrains/intellij-community

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

OfficialCustom licenceAuto-check passedMobile

Install Code Style

skills CLI
$ npx skills add JetBrains/intellij-community --skill code-style -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/intellij-community code-style --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/intellij-community.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/code-style .claude/skills/code-style && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-style
GitHub stars
21k
Token cost
~795 tokens
SKILL.md length
362 words
Files
3 (incl. references)
Skills in repo
39
Repo updated
First seen
Licence
Custom licence

At a glance

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

  • Tasks that involve Android development
  • SKILL.md covers Language, Sealed hierarchies, Formatting and Threading annotations, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Style is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Apply IntelliJ Kotlin and Java code style when writing or reviewing.

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/modern-java.md`).

It sits in Mobile, covering Android development. It works with Kotlin, JetBrains IDEs and Java. The repository describes itself as: IntelliJ IDEA & IntelliJ Platform.

When your agent uses it

  • Tasks that involve Android development

Example prompts

  • “/code-style”

What it can do on your machine

Read from SKILL.md and the folder at commit cbaf50b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Style loads about 795 tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 20 tokens; SKILL.md has 362 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~795
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 362 words (~795 tokens).

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

— opening of SKILL.md by JetBrains, Custom licence
name
code-style

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in .agents/skills/code-style of JetBrains/intellij-community.

  • SKILL.md
  • references/modern-java.LICENSE.txt
  • references/modern-java.md

Open the folder on GitHubat commit cbaf50b

Compare with similar skills

Code Style next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Style compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Style this skillJetBrains/intellij-community21k—~795Automated safety check: PassCustom licence
Kotlin Tooling Kotlin ToolchainKotlin/kotlin-agent-skills1.1k—~2.4kAutomated safety check: PassApache-2.0
Migrate Intellij Utilflutter/flutter-intellij2k—~600Automated safety check: PassBSD-3-Clause
CodefmtAmplicode/spring-skills126—~595Automated safety check: PassNone
Mps TestsJetBrains/MPS1.7k—~3kAutomated safety check: PassApache-2.0
Build Teaql Appteaql/teaql-agent-kit2.8k—~4.6kAutomated safety check: PassMIT

Similar skills

  • Kotlin Tooling Kotlin Toolchain

    Kotlin/kotlin-agent-skills

    Load when building, running, testing, packaging, linting, or configuring a Kotlin/Java project with the Kotlin Toolchain (JetBrains' unified CLI, formerly Amper), when scaffolding a new or…

    1.1k GitHub stars~2.4k tokensUpdated yesterday
    MobileAuto-check passed
  • Migrate Intellij Util

    flutter/flutter-intellij

    Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.

    2k GitHub stars~600 tokensUpdated today
    MobileAuto-check passed
  • Codefmt

    Amplicode/spring-skills

    Reformat source code in this project using its own code-style settings — through the IntelliJ IDE when it's running, otherwise via the project's own formatter (Spotless / google-java-format /…

    126 GitHub stars~595 tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Mps Tests

    JetBrains/MPS

    Official

    A skill your agent uses when writing or modifying tests inside MPS @tests models — NodesTestCase (typesystem, constraints, scopes, dataflow, generator output), EditorTestCase (intentions, actions…

    1.7k GitHub stars~3k tokensUpdated today
    MobileAuto-check passed
  • Build Teaql App

    teaql/teaql-agent-kit

    Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries.

    2.8k GitHub stars~4.6k tokensUpdated 12 days ago
    MobileAuto-check passed
  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed

More from JetBrains/intellij-community

All 39 skills in this repo
  • Youtrack Community

    JetBrains/intellij-community

    Official

    YouTrack CLI for a community checkout; the monorepo uses youtrack.

    21k GitHub stars~3.2k tokensUpdated today
    Auto-check: notes
  • Compare Python Typecheckers

    JetBrains/intellij-community

    Official

    Compare Python type inference with ty, pyrefly, and basedpyright.

    21k GitHub stars~617 tokensUpdated today
    Auto-check passed
  • Sibling Checkout Commits

    JetBrains/intellij-community

    Official

    Take commits from a sibling checkout as patches, without a fetch.

    21k GitHub stars~753 tokensUpdated today
    Auto-check passed
  • Notebook For Experiment

    JetBrains/intellij-community

    Official

    Create reproducible Jupyter notebooks for performance experiments.

    21k GitHub stars~4.4k tokensUpdated today
    Auto-check: warnings
  • Jewel Markdown

    JetBrains/intellij-community

    Official

    Build or debug Jewel Markdown parsing, rendering, and styling.

    21k GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Modcommand Migration

    JetBrains/intellij-community

    Official

    Convert LocalQuickFix or IntentionAction to the ModCommand API.

    21k GitHub stars~3.7k tokensUpdated today
    Auto-check passed

Categories

Questions about Code Style

What does Code Style do?

Apply IntelliJ Kotlin and Java code style when writing or reviewing. Code Style is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Apply IntelliJ Kotlin and Java code style when writing or reviewing.

When should I use Code Style?

Code Style fits situations like: tasks that involve Android development.

How do I install Code Style in Claude Code?

Run `npx skills add JetBrains/intellij-community --skill code-style -a claude-code`. Or copy the skill folder (.agents/skills/code-style in JetBrains/intellij-community) into .claude/skills/code-style in your project. Claude Code loads it when a task matches its description.

How do I install Code Style in Codex?

Run `npx skills add JetBrains/intellij-community --skill code-style -a codex`. Or copy the skill folder (.agents/skills/code-style in JetBrains/intellij-community) into .agents/skills/code-style in your project. Codex loads it when a task matches its description.

Can I use Code Style in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/intellij-community --skill code-style -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-style, .gemini/skills/code-style, .github/skills/code-style and .opencode/skills/code-style in your project.

What does Code Style need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Style is instructions for the agent only.

Does Code Style access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Style safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Style use?

Code Style has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Code Style use?

About 795 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.

What are the alternatives to Code Style?

Skills that share tags, products or a category with Code Style: Kotlin Tooling Kotlin Toolchain (Kotlin/kotlin-agent-skills, 1.1k stars), Migrate Intellij Util (flutter/flutter-intellij, 2k stars), Codefmt (Amplicode/spring-skills, 126 stars) and Mps Tests (JetBrains/MPS, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Style?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/intellij-community, which has 20,617 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 9, 2026.

Source: JetBrains/intellij-community on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.