eric-tramel/cross-harness-skills/code-review-idomatic

Claude Code and agent skill by eric-tramel/cross-harness-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install eric-tramel/cross-harness-skills/code-review-idomatic

SKILL.md

CodeReviewIdomatic

Execution Boundary

Act as a terminal reviewer. Perform the review and all direct inspection yourself. Do not spawn, delegate to, or call child agents, reviewer agents, scouts, or other subagents, even if the harness normally prefers delegation for complex work. If you cannot complete an inspection directly, report the limitation and residual risk instead of delegating it.

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. Ground findings in the review objective, changed files, and nearby code before judging style.

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.
  • Compare new code against nearby module style, workspace helper APIs, and established test or fixture patterns before inventing a new local convention.
  • Flag surprising control flow, bespoke parsers, hand-rolled encoders, ad hoc path or string handling, custom synchronization, global mutable state, or clever type tricks when standard tools or existing repository patterns would be clearer.
  • Include the concrete standard or repository alternative and the cost of keeping the current shape.

Severity

Use P2 only when the idiom issue creates realistic correctness, portability, test-isolation, data-shape, or maintenance risk. Use P3 for localized non-idiomatic code, unnecessary allocation or copying, or repository-convention drift that is easy to fix. Treat pure taste, equivalent expression, naming preference, or cosmetic cleanup as non-findings unless the repository already enforces it.

Non-Goals

Do not request idiomatic rewrites that are purely aesthetic. Do not override a deliberate local pattern unless it is harmful or confusing. Do not report pure performance micro-optimizations unless the standard API or repository convention materially changes allocation, lifetime, or API shape. Do not duplicate correctness, security, scope, or YAGNI findings unless the reason is specifically idiomatic implementation and you add the idiomatic alternative.

Output

Lead with findings ordered by review value. Include the standard or repository alternative, actual cost, and line reference:

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, name the main conventions or surfaces checked, and mention the residual facet boundary. For follow-ups, re-check only the named concern and state whether it is resolved.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/eric-tramel/cross-harness-skills/code-review-idomatic/badge)](https://verified-skill.com/skills/eric-tramel/cross-harness-skills/code-review-idomatic)

Something wrong with this skill or its page? Tell us.