Official agent skill

Rust Code Style

by JetBrains in JetBrains/intellij-community

Write or review Rust in the build tools: errors, CLI, crates, tests, lint, Bazel.

OfficialCustom licenceAuto-check passedDevelopment

Install Rust Code Style

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

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

GitHub CLI
$ gh skill install JetBrains/intellij-community rust-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/rust-code-style .claude/skills/rust-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
rust-code-style
GitHub stars
21k
Token cost
~2.4k tokens
SKILL.md length
1,176 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Write or review Rust in the build tools: errors, CLI, crates, tests, lint, Bazel.

  • Works in 10 steps: Two error models → Two command line grammars → Format → …
  • Tasks that involve Linting and formatting
  • SKILL.md covers First, find the audience, 1. Two error models, 2. Two command line grammars and 3. Format, plus 10 more sections
  • Calls cargo and bun

What it does

Rust Code Style is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Write or review Rust in the build tools: errors, CLI, crates, tests, lint, Bazel.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting. It works with Rust. The repository describes itself as: IntelliJ IDEA & IntelliJ Platform.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “/rust-code-style”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Two error models
  2. Two command line grammars
  3. Format
  4. Lints
  5. Errors in libraries
  6. Types
  7. Crates
  8. Tests
  9. Docs
  10. Versions

What it can do on your machine

Read from SKILL.md and the folder at commit 562e3a2. 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

    Shell commands in SKILL.md call:

    • cargo
    • bun

    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

Rust Code Style loads about 2.4k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 1,176 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

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 1,176 words (~2,413 tokens).

“These rules apply to the Rust tool workspaces: the dev-dist tools, BT and the Air UI-lane tooling. The spec of a workspace is community/build/rust-tools/README.md. It names the files, the Bazel targets and the checks that every workspace has. This skill…”

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

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/rust-code-style of JetBrains/intellij-community.

Open the folder on GitHubat commit 562e3a2

Compare with similar skills

Rust 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.

Rust Code Style compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Code Style this skillJetBrains/intellij-community21k—~2.4kAutomated safety check: PassCustom licence
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
Doc Commentsbiomejs/biome26k—~3kAutomated safety check: PassApache-2.0
Rust Hygiene Audittsz-org/tsz577—~1.5kAutomated safety check: PassApache-2.0
Releasexin2017338/lynx-proxy502—~1.1kAutomated safety check: PassMIT
Flowmark Markdown Formatterjlevy/repren374—~631Automated safety check: PassMIT

Similar skills

  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Doc Comments

    biomejs/biome

    Official

    A skill your agent uses whenever writing or editing Rust //, ///, or //!

    26k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Run a deep DRY + code-hygiene audit of the Rust workspace and turn the findings into verified, deduplicated, hierarchical GitHub tech-debt issues.

    577 GitHub stars~1.5k tokensUpdated 28 days ago
    DevelopmentAuto-check passed
  • Release

    xin2017338/lynx-proxy

    Publish a new release version of Lynx Proxy. An agent skill from xin2017338/lynx-proxy.

    502 GitHub stars~1.1k tokensUpdated 23 days ago
    DevelopmentAuto-check passed
  • Formats Markdown with the Flowmark auto-formatter for typographic cleanup and semantic line breaks, and helps adopt it across a repository.

    374 GitHub stars~631 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Rsigma

    timescale/rsigma

    Use the rsigma CLI and MCP server: engine eval, engine daemon, rule lint, rule draft, rule tune, rule backtest, backend convert, mcp serve.

    159 GitHub stars~1.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from JetBrains/intellij-community

All 38 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
  • Code Style

    JetBrains/intellij-community

    Official

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

    21k GitHub stars~795 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

Works with

Categories

Questions about Rust Code Style

What does Rust Code Style do?

Write or review Rust in the build tools: errors, CLI, crates, tests, lint, Bazel. Rust Code Style is an agent skill from JetBrains/intellij-community, published by the product's own GitHub organization. Write or review Rust in the build tools: errors, CLI, crates, tests, lint, Bazel.

When should I use Rust Code Style?

Rust Code Style fits situations like: tasks that involve Linting and formatting.

How do I install Rust Code Style in Claude Code?

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

How do I install Rust Code Style in Codex?

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

Can I use Rust 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 rust-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/rust-code-style, .gemini/skills/rust-code-style, .github/skills/rust-code-style and .opencode/skills/rust-code-style in your project.

What does Rust Code Style need to run?

Going by SKILL.md and its folder, Rust Code Style needs the command-line tools its instructions call (cargo and bun).

Does Rust 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 Rust 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 Rust Code Style use?

Rust 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 Rust Code Style use?

About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rust Code Style?

Skills that share tags, products or a category with Rust Code Style: Rust Best Practices (farm-fe/farm, 5.6k stars), Doc Comments (biomejs/biome, 26k stars), Rust Hygiene Audit (tsz-org/tsz, 577 stars) and Release (xin2017338/lynx-proxy, 502 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Code Style?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/intellij-community, which has 20,613 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 8, 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.