Skip to content
Skills Library
Programming · Review & audit

code-review-idomatic

/code-review-idomatic

Review a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository.

Repository
moraine ↗
Licence
Apache-2.0
Last repository change
10.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Review a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository.

Original author description

Review a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository.

How it works

  1. Persona
  2. Focus
  3. Non-Goals
  4. Output
Original SKILL.md headings · 33 lines, 209 words
SKILL.md preview
---
name: code-review-idomatic
description: Review a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository.
---

# CodeReviewIdomatic

## Persona

Review for idiomatic implementation. Ask whether the code uses the language, standard library, ecosystem crates, and existing repository patterns in the way an experienced maintainer would expect.

## Focus

- Prefer standard library and established crate APIs over custom implementations.
- Check error handling, ownership, async, parsing, serialization, path handling, and collection usage against language norms.
- For Rust, favor clear `Result`/`Option` flow, `?`, iterator or slice APIs where they improve clarity, standard `Path`/`PathBuf` handling, and existing workspace helpers.
- Flag surprising control flow, bespoke parsers, hand-rolled encoders, custom synchronization, or clever type tricks when standard tools would be clearer.
- Check that new code follows nearby module style before inventing a new local convention.

## Non-Goals

Do not request idiomatic rewrites that are purely aesthetic. Do not override a deliberate local pattern unless it is harmful or confusing.

## Output

Lead with findings ordered by review value. Include the standard alternative:

```markdown
- [P2] Use `Path::strip_prefix` instead of string slicing paths
  `crates/example/src/source.rs:88`
  The current implementation assumes `/` separators and byte offsets. `Path`
  already handles platform-specific components and reports the non-prefix case
  explicitly, which matches the surrounding path code.
```

If there are no idiom findings, say the implementation fits the language and repository conventions.
Files in this package (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named code-review-idomatic.

Database snapshot: 13.11.2026 · package version 1d80de0bbba4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 86rust-review
    Use when reviewing Rust code, a Rust diff or a crate before it lands, or when asked whether Rust code is sound or idiomatic.
  • 95n8n-code-python
    Write Python code in n8n Code nodes. Use when writing Python in n8n, using _input/_json/_node syntax, working with standard library, or need to understand Python limitations in n8n Code nodes.
  • 100arn-code-review-implementation
    This skill should be used when the user says "review implementation", "review the project", "check implementation", "quality review", "validate implementation", "implementation review", or wants a post-execution quality gate to verify that the implementation follows the…
  • 100code-review-scope
    Review a PR through the CodeReviewScope persona. Use when asked to check whether a PR stays within its intended scope, avoids crossing into unrelated topics, separates incidental cleanup from behavior changes, and keeps review lanes clear.
  • 100code-review-yagni
    Review a PR through the CodeReviewYAGNI persona. Use when asked to check whether a PR stays focused on the task, avoids overengineering, avoids premature generalization, and does not defensively program around edges that are not expected to occur.
  • 90code-review
    Review code, a diff or a pull request against the SVN11X/standards rules of the repository's profile, including fixed rules, option rules, techniques that need a written reason, design pattern use, AI slop, tests and the pull request contract. Use this whenever the user asks to…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.