Agent skill

Code Reviewing

by pavel-molyanov in pavel-molyanov/molyanov-ai-dev

Reviews code against the user request, project conventions, cross-file contracts, and applicable quality risks.

MITAuto-check passedDevelopment

Install Code Reviewing

skills CLI
$ npx skills add pavel-molyanov/molyanov-ai-dev --skill code-reviewing -a claude-code

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

GitHub CLI
$ gh skill install pavel-molyanov/molyanov-ai-dev code-reviewing --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/pavel-molyanov/molyanov-ai-dev.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-reviewing .claude/skills/code-reviewing && 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-reviewing
GitHub stars
297
Token cost
~2.1k tokens
SKILL.md length
1,079 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Reviews code against the user request, project conventions, cross-file contracts, and applicable quality risks.

  • Review this code
  • SKILL.md covers Contents, Always Review and Review When Applicable
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Check code quality

What it does

Code Reviewing is an agent skill from pavel-molyanov/molyanov-ai-dev. Reviews code against the user request, project conventions, cross-file contracts, and applicable quality risks. Use when: "проверь код", "code review", "ревью кода", "review this code", "check code quality"

Its SKILL.md is about 2.1k 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 Code quality. The repository describes itself as: Intent-driven AI-First development methodology for Claude Code and Codex — Project Knowledge, user-spec planning, focused execution, and evidence-gated reviews. The licence is MIT.

When your agent uses it

  • Review this code
  • Check code quality

Example prompts

  • “code review”
  • “review this code”
  • “check code quality”
  • “/code-reviewing”

What it can do on your machine

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

    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 Reviewing loads about 2.1k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,079 words of instructions outside code blocks.

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

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

The full file from pavel-molyanov/molyanov-ai-dev at commit b5db526, republished under its MIT licence (© pavel-molyanov). 1,079 words, ~2,076 tokens.

Download SKILL.mdSave it as .claude/skills/code-reviewing/SKILL.md (or your agent's skills folder).
name
code-reviewing
description
Reviews code against the user request, project conventions, cross-file contracts, and applicable quality risks. Use when: "проверь код", "code review", "ревью кода", "review this code", "check code quality"

Code Reviewing

Function length, nesting, broad types, hardcoded values, repeated resource construction, or multiple mocks are signals to investigate; they are not defects by themselves.

Contents

Always Review

Requirements and Correctness
  • Trace the changed behavior to the user request or user-spec.
  • Check happy paths, specified edge cases, failures, and state changes that the change owns.
  • Identify behavior that was added accidentally or requested behavior that is missing.
  • Separate new regressions from unrelated pre-existing problems.
Scope, Necessity, and Simplicity
  • Trace each added behavior, validation, fallback, branch, state, abstraction, dependency, and configuration option to a current requirement, project contract, or realistic condition in the present codebase.
  • Report unrequested machinery only when it expands behavior or creates concrete maintenance, correctness, performance, or testing cost. Fewer lines are not automatically simpler; compare responsibilities, states, branches, dependencies, and concepts the solution introduces.
  • Check whether the project already has a direct capability that satisfies the requirement. An abstraction used once is acceptable when it expresses a real boundary; it is a problem when it adds indirection or generality without a current use.
  • Evaluate the chosen algorithm against realistic input size and project constraints. Report avoidable complexity only when an existing project capability or direct requirement proves it unnecessary and the current choice has a demonstrable consequence; do not prescribe a replacement, speculative optimization, or wholesale redesign.
  • Treat handling for extremely unlikely cases as a defect only when no requirement or realistic path justifies it and the extra handling materially complicates the normal path.
Cross-File Contracts
  • Read every touched source file in full and the callers, dependencies, schemas, or interfaces on which the change relies. For deleted or renamed files, inspect the supplied change status and diff. For generated, lock, snapshot, or other mechanical artifacts, inspect the supplied diff, generator, and deterministic validation instead of consuming the whole artifact without benefit.
  • Verify imports, names, argument order, return values, types, lifecycle assumptions, and error contracts against their definitions.
  • Report a mismatch only when it can break behavior, compilation, loading, or a documented contract.

Review When Applicable

Architecture and Maintainability

Apply when the change alters responsibilities, dependencies, public interfaces, or repeated logic.

  • Prefer established project architecture over generic pattern preferences.
  • Check cohesion, dependency direction, circular dependencies, duplicated responsibility, and abstractions that add indirection without solving a current problem.
  • Treat size and nesting as readability signals. Report them only when they hide behavior, make a branch unsafe to change, or prevent useful testing.
  • Treat duplicated knowledge or responsibility as a finding only when the copies must change together and a demonstrated divergence risk exists.
  • Treat a hardcoded value as a problem when its meaning is unclear, it is repeated as policy, or it should vary by environment; a local obvious value needs no constant ceremony.
Comments and Documentation
  • Straightforward code should explain itself through structure and naming.
  • A comment is useful when code cannot express why a non-obvious decision exists: a business rule, safety invariant, external constraint, compatibility workaround, deliberate tradeoff, or required ordering.
  • The comment should explain the reason and what must remain true. A comment that merely narrates the next statement is noise and should be removed or replaced by clearer code.
  • Report a missing comment only when future maintainers could reasonably remove or "simplify" an important constraint because its reason is not recoverable from code or project docs.
Failure Handling and Observability

Apply when the change introduces a failure boundary, external operation, recovery path, or operationally important state transition.

  • Errors should be handled where the program can recover, translate them into a stable contract, or add information that is not already available.
  • Preserve the original cause when propagating a failure. Do not require a local try/catch that only logs and rethrows; that commonly duplicates logs without improving recovery.
  • Check empty catches, lost causes, misleading fallbacks, partial writes, and cleanup on failure.
  • Follow the project's logging policy. Require a log when its absence creates a real diagnostic gap, not at every function that calls an API or database.
  • Log only the minimum operational context needed. Keep secrets, credentials, sensitive payloads, emails, phone numbers, and unnecessary user identifiers out of logs.
Show full SKILL.md (392 more words)Show less
Types and Data Contracts

Apply to typed code, parsing, serialization, schemas, nullable data, or external input.

  • Check that types describe runtime possibilities and that narrowing or assertions are justified.
  • Validate untrusted input at the boundary where it enters the trusted system.
  • Use parameterized queries and context-appropriate encoding at the destination; generic "sanitize everything" rules can corrupt valid data without preventing the relevant attack.
  • Check migrations, defaults, compatibility, and partial-data behavior when data shape changes.
Security

Apply when authentication, authorization, untrusted input, secrets, sensitive data, file paths, database queries, rendering, or external requests changed.

  • Verify authorization at the operation that needs protection, not only in the UI.
  • Check injection, path traversal, XSS, CSRF, SSRF, secret exposure, unsafe deserialization, and privilege escalation as applicable to the changed boundary.
  • Confirm sensitive configuration stays outside source and ignored secret files remain ignored.
Performance and Resources

Apply when the change touches a hot path, loop over unbounded data, rendering frequency, query shape, concurrency, or a heavy resource.

  • Look for N+1 work, unbounded loads, repeated initialization, leaked handles, missing cleanup, and concurrency that can corrupt state or exceed external limits.
  • Multiple resource instances may be correct for tenant, configuration, process, worker, or test isolation. Report them only when lifecycle and measured cost show harmful duplication.
  • Report only the concrete bottleneck or unbounded resource risk.
Dependencies

Apply when a dependency or its version changes.

  • Check necessity, existing alternatives, manifest/lockfile consistency, imported API contracts, bundle or runtime impact, and compatibility with the project.
  • Use repository evidence or supplied tool results for vulnerabilities, maintenance status, and licensing. If external evidence is unavailable, state that it was not verified rather than guessing.
Tests

Apply when behavior or tests changed.

  • Tests should protect the changed behavior at the smallest reliable boundary.
  • Look for missing meaningful branches, failures, validation, transformations, and specified edge cases.
  • Do not require tests for freely editable UX copy, presentation-only markup or styles, or mechanical changes with no observable contract to protect. Content, configuration, markup, styles, and accessors remain testable when they implement an explicit user, accessibility, protocol, or project contract.
  • A mock is a problem when the test verifies its own setup or replaces all meaningful behavior, not when an arbitrary count is reached.
  • Checking a call is valid when the interaction itself is the observable contract, such as publishing an event or sending a command with required arguments.

© pavel-molyanov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/code-reviewing of pavel-molyanov/molyanov-ai-dev.

Open the folder on GitHubat commit b5db526

Compare with similar skills

Code Reviewing 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 Reviewing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Reviewing this skillpavel-molyanov/molyanov-ai-dev297—~2.1kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Ponytail Lazy Developer ModeDietrichGebert/ponytail160k1 repos~873Automated safety check: PassMIT
Systematic Code Refactoringluongnv89/claude-howto42k—~3kAutomated safety check: PassMIT
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.4k—~2.2kAutomated safety check: PassMIT
Constraint-Driven Developmentaddyosmani/agent-skills104k2 repos~5.2kAutomated safety check: PassMIT

Similar skills

  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Ponytail Lazy Developer Mode

    DietrichGebert/ponytail

    Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.

    160k GitHub starsUsed in 1 repo~873 tokens
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.4k GitHub stars~2.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Constraint-Driven Development

    addyosmani/agent-skills

    Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.

    104k GitHub starsUsed in 2 repos~5.2k tokens
    DevelopmentAuto-check passed
  • Skill Doli Code Review

    Dolibarr/dolibarr

    Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.

    7.7k GitHub starsUsed in 1 repo~1.1k tokens
    DevelopmentAuto-check passed

More from pavel-molyanov/molyanov-ai-dev

All 13 skills in this repo
  • Documentation Writing

    pavel-molyanov/molyanov-ai-dev

    Creates and maintains project documentation in .claude/skills/project-knowledge/: interview, initial Project Knowledge, audit, edit, consistency, and feature finalization.

    297 GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • User Spec Planning

    pavel-molyanov/molyanov-ai-dev

    Creates user-spec.md through adaptive interview, codebase research, and three-lane validation.

    297 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Infrastructure Setup

    pavel-molyanov/molyanov-ai-dev

    Provides project infrastructure conventions and review criteria for local setup, Docker, Git hooks, CI/CD, service delivery, release artifacts, monitoring, backups, and operations.

    297 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check: notes
  • Layout Writing

    pavel-molyanov/molyanov-ai-dev

    Reproduces and adjusts web layouts from Figma, Claude Design exports, screenshots, or an existing project style with high visual fidelity and proportional verification.

    297 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Master

    pavel-molyanov/molyanov-ai-dev

    Guides skill creation and updates with specialized knowledge and workflows.

    297 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Project Initialization

    pavel-molyanov/molyanov-ai-dev

    Initializes a project from the standard dual-runtime template, preserves existing files, configures Git hooks, and creates or connects a private GitHub repository with main and dev branches.

    297 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes

Categories

Questions about Code Reviewing

What does Code Reviewing do?

Reviews code against the user request, project conventions, cross-file contracts, and applicable quality risks. Code Reviewing is an agent skill from pavel-molyanov/molyanov-ai-dev. Reviews code against the user request, project conventions, cross-file contracts, and applicable quality risks.

When should I use Code Reviewing?

Code Reviewing fits situations like: review this code; check code quality.

How do I install Code Reviewing in Claude Code?

Run `npx skills add pavel-molyanov/molyanov-ai-dev --skill code-reviewing -a claude-code`. Or copy the skill folder (skills/code-reviewing in pavel-molyanov/molyanov-ai-dev) into .claude/skills/code-reviewing in your project. Claude Code loads it when a task matches its description.

How do I install Code Reviewing in Codex?

Run `npx skills add pavel-molyanov/molyanov-ai-dev --skill code-reviewing -a codex`. Or copy the skill folder (skills/code-reviewing in pavel-molyanov/molyanov-ai-dev) into .agents/skills/code-reviewing in your project. Codex loads it when a task matches its description.

Can I use Code Reviewing 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 pavel-molyanov/molyanov-ai-dev --skill code-reviewing -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-reviewing, .gemini/skills/code-reviewing, .github/skills/code-reviewing and .opencode/skills/code-reviewing in your project.

What does Code Reviewing need to run?

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

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

Code Reviewing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Reviewing use?

About 2.1k tokens (SKILL.md is roughly 8.3k 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 Code Reviewing?

Skills that share tags, products or a category with Code Reviewing: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Reviewing?

pavel-molyanov (a GitHub user) maintains it in pavel-molyanov/molyanov-ai-dev, which has 297 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on August 23, 2026.

Source: pavel-molyanov/molyanov-ai-dev on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.