
Coding guidelines
Gives the agent a quick reference of Rust-specific naming, error handling and async rules
Coding guidelines is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 21
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Coding guidelines
This skill is a condensed set of Rust coding guidelines that the agent consults when a question touches on style or best practice. It covers rules that go beyond the defaults of rustfmt and clippy, such as naming conventions for conversions and iterators, when to use newtypes, string handling choices, and preferred replacements for older crates like lazy_static and failure.
The guidance is organized into topic tables covering naming, data types, strings, error handling, memory, concurrency, async and macros, followed by a short deprecated-to-better lookup and a quick reference block. The skill runs no scripts; it only supplies reference rules the agent applies while answering or reviewing code.
It works with Rust source code and needs no tools or configuration. The guidelines are adapted from a community Rust coding guidelines project, and the skill notes that the model already knows common Rust conventions, so it focuses on the less obvious points.
When your agent uses it
Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (4 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/coding-guidelines to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/coding-guidelines &&
cp -R "$tmp/.claude/skills/coding-guidelines" ~/.claude/skills/coding-guidelines &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/coding-guidelines inside it instead.
Copy the skill folder to ~/.agents/skills/coding-guidelines to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/coding-guidelines &&
cp -R "$tmp/.claude/skills/coding-guidelines" ~/.agents/skills/coding-guidelines &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/coding-guidelines inside it instead.
Copy the skill folder to ~/.cursor/skills/coding-guidelines to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/coding-guidelines &&
cp -R "$tmp/.claude/skills/coding-guidelines" ~/.cursor/skills/coding-guidelines &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/coding-guidelines inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/k1-c/linear-tui.git --path .claude/skills/coding-guidelinesOr copy the folder to ~/.gemini/skills/coding-guidelines yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/coding-guidelines:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k1-c/linear-tui.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/coding-guidelines &&
cp -R "$tmp/.claude/skills/coding-guidelines" ~/.copilot/skills/coding-guidelines &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/coding-guidelines inside it instead.
Get the folder:
git clone --depth 1 https://github.com/k1-c/linear-tui.gitThen copy linear-tui/.claude/skills/coding-guidelines into your agent's skills folder as coding-guidelines. Agents that support SKILL.md read one folder per skill.
What it does
- Naming conventions
- Rules for function, type, constant and static names, including conversion and iterator method prefixes.
- Data type patterns
- Guidance on newtypes, slice patterns, pre-allocation and choosing arrays over vectors.
- String handling
- Advice on byte iteration, Cow usage, format! over concatenation and avoiding costly substring checks.
- Error handling rules
- Preferences for the ? operator, expect over unwrap and assertions guarding invariants.
- Concurrency and async
- Notes on lock ordering, atomics, memory ordering and avoiding locks across await points.
- Deprecated crate replacements
- A lookup of older crates and std items with their recommended modern alternatives.
Good for
- Check whether a function name follows Rust naming conventions
- Review a Rust module for style and best-practice issues
- Pick between as_, to_ and into_ for a conversion method
- Replace lazy_static or once_cell usage with standard library types
- Decide whether a Rust type should be wrapped in a newtype
Coding guidelines FAQ
What does Coding guidelines need to run?
It runs no scripts and sets no tool restrictions. It is a set of reference rules the agent reads when a Rust style or best-practice question comes up.
When does the skill trigger?
It is meant for questions about Rust code style or best practices, such as naming, formatting, comments, clippy, rustfmt, linting and code review.
Does Coding guidelines change any files?
The content describes guidance only. It does not include scripts or instructions to modify files.
How do I install Coding guidelines in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/coding-guidelines to use it in all your projects, or to .claude/skills/coding-guidelines in one project.
Does Coding guidelines run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Coding guidelines?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Coding guidelines?
The closest alternatives to Coding guidelines are Readable cpp, Coding standards, Cpp coding standards, Readable code and M11 ecosystem.
Where this comes from
- Description: from the skill's own SKILL.md.
More from k1-c/linear-tui

Guides the agent to write Conventional Commits, splitting mixed changes into several
- Open source
- 21 GitHub stars
- Developer tools

Guides an agent through building Rust command-line tools with clap, config layers
- Open source
- 21 GitHub stars
- Developer tools

Guides the agent through Rust ownership, borrow and lifetime compiler errors
- Open source
- 21 GitHub stars
- Developer tools

Guides an agent in choosing Rust smart pointers like Box, Rc, Arc, Weak and RefCell
- Open source
- 21 GitHub stars
- Developer tools

Guides a Rust agent through E0596/E0499/E0502 borrow errors and interior mutability
- Open source
- 21 GitHub stars
- Developer tools

Guides Claude through generics, traits, static vs dynamic dispatch and related Rust
- Open source
- 21 GitHub stars
- Developer tools




