Code Reviewing logo

Code Reviewing

Community
alexandru
code-reviewing

Reviews code changes for bugs, structural problems, performance issues, and unintended behavior. Use when reviewing uncommitted changes, commits, branches, or pull requests.

Overview

Publisheralexandru
Repositoryskills
Skill namecode-reviewing
Stars
51
Forks
3
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by alexandru on GitHub. Read the source before you install it.

Installation

Install the Code Reviewing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/alexandru/skills/tree/main/skills/engineering/code-reviewing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alexandru/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/engineering/code-reviewing .claude/skills/code-reviewing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Code Reviewing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Code Reviewing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Code Reviewing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

When doing a code review, follow these rules.

Note this document uses keywords from RFC 2119 (MUST, MUST NOT, SHOULD, SHOULD NOT, etc.).

Process

1. Preparation

  • You MUST read applicable AGENTS.md files and linked review instructions.
  • You MUST follow the repository's instructions for fetching the specifications; e.g., rules for fetching external resources that may require authentication.

2. Determine what to review

Choose the review scope from the user's request:

  1. No target: The staged and unstaged diffs, plus untracked files and their contents.
  2. Commit: The commit metadata and patch.
  3. Branch or base ref: The merge-base, commits since that base, and the branch diff. If the branch is already merged, its historical base and head from pull-request metadata.
  4. Pull request URL or number: The pull-request context, base and head commits, commit list, and historical diff. For a merged pull request, include its historical iteration or merge metadata. Treat a bare number as a pull request only when the request or repository provider makes this clear.

If the requested target or provider metadata is unavailable, report that instead of choosing a different review scope.

3. Identify the specification sources

Specification review is essential to assessing correctness.

  • You MUST follow the repository's specification-discovery instructions.
  • You MUST discover and read all applicable specifications. Do not stop at the first source.
  • You MUST follow relevant links to requirements, acceptance criteria, and design specifications.

If the repository does not prescribe a discovery process, search all of these sources in order:

  1. A path, URL, issue or work-item ID, or requirements text supplied by the user.
  2. Specifications and work items linked from the pull request, including its description and discussion.
  3. Issue references in commit messages, using the repository's configured issue-tracker workflow.
  4. Repository-local specifications and requirements documentation relevant to the changed code.

If repository-directed discovery is blocked by unavailable tools, missing permissions, inaccessible sources, or unresolved required references:

  1. Explain the blocker.
  2. You MUST ask the user whether an incomplete specification review is acceptable.
  3. You MUST stop and await for explicit approval before proceeding; MUST NOT use a fallback.

If specifications are unavailable or discovery is blocked:

  • You MUST report it to the user, stop and await further instructions; MUST NOT use a fallback.

4. Identify the standards sources

  • You MUST search for anything in the repo that documents how code should be written, such as CODING_STANDARDS.md or CONTRIBUTING.md.
  • You MUST include applicable AGENTS.md files and the conventions files found while gathering context.
  • You SHOULD read the smell baseline, but repository-specific standards take precedence.

5. Start the review

The review will look at two separate axes that are considered independently:

  1. Spec
  2. Standards
5.1. Delegation to sub-agents

How to delegate:

  • If the user asks for parallelism per axis, then start 2 sub-agents in parallel with fresh context, one for each axis.
  • If the user asks just for fresh context, without parallelism per axis, then start a single sub-agent with fresh context for both axes.
  • Otherwise do not delegate and proceed with the review yourself.

Any sub-agent responsible for the "Spec" review MUST receive:

  • The resolved scope of the review (e.g., git diff <base>...HEAD)
  • Full specifications, already gathered during discovery at step 3; this includes any local files, included collected ones.

Any sub-agent responsible for the "Standards" review MUST receive:

  • The resolved scope of the review (e.g., git diff <base>...HEAD)
  • References to this repo's coding standards and conventions, discovered during step 4.
5.2. The "Spec" review

Look for the following categories of issues:

  • Spec compliance
    • You MUST review the changes against all applicable specifications read during discovery.
    • Flag missing or incorrectly implemented requirements.
    • Cite the relevant requirement for each finding.
  • Bugs
    • Logic errors, off-by-one mistakes, incorrect conditionals
    • If-else guards: missing guards, incorrect branching, unreachable code paths
    • Edge cases: null/empty/undefined inputs, error conditions, race conditions
    • Security issues: injection, auth bypass, data exposure
    • Broken error handling that swallows failures, throws unexpectedly or returns error types that are not caught.
  • Performance - Only flag if obviously problematic.
    • O(n²) on unbounded data, N+1 queries, blocking I/O on hot paths
  • Behavior Changes
    • If a behavioral change is introduced, raise it if it's not in the specification.

Be certain. If you're going to call something a bug, you need to be confident it actually is one.

  • Only review the changes - do not review pre-existing code that wasn't modified
  • Don't flag something as a bug if you're unsure - investigate first
  • Don't invent hypothetical problems - if an edge case matters, explain the realistic scenario where it breaks
  • If you need more context to be sure, then gather it.
5.3. The "Standards" review

Rules:

  • You MUST review the code against the discovered repository standards and the supplied smell baseline.
  • You MUST report documented-standard violations with the standard's file and rule.
  • You MUST name the smell and quote the relevant hunk for baseline smells.
  • You SHOULD not be a zealot about style:
    • Verify the code is actually in violation.
    • Some "violations" are acceptable when they're the simplest option.
    • Don't flag personal style preferences. Report established-project-convention violations or baseline smell judgments.

6. Report findings

General template:

## Standards

...

## Spec

...

## Spec sources

...
6.1. Aggregation

Present the two reports under ## Standards and ## Spec headings, verbatim or lightly cleaned. Do not merge or rerank findings, because the two axes are deliberately separate (see Why two axes).

End with a one-line summary: total findings per axis, and the worst issue within each axis (if any). Don't pick a single winner across axes: that's the reranking the separation exists to prevent.

6.2. Classification

Use Critical, High, Medium, or Low severity, based on your judgment and applicable repository documentation. Assess severity, not whether the PR should merge or a finding should block it.

6.3. Bug reporting guidelines
  1. If there is a bug, be direct and clear about why it is a bug.
  2. Clearly communicate severity of issues. Do not overstate severity.
  3. Critiques should clearly and explicitly communicate the scenarios, environments, or inputs that are necessary for the bug to arise. The comment should immediately indicate that the issue's severity depends on these factors.
  4. Your tone should be matter-of-fact and not accusatory or overly positive. It should read as a helpful AI assistant suggestion without sounding too much like a human reviewer.
  5. Write so the reader can quickly understand the issue without reading too closely.
  6. AVOID flattery, do not give any comments that are not helpful to the reader. Avoid phrasing like "Great job ...", "Thanks for ...".
  7. Cite the affected file and line for each finding.
6.4. How to report findings

Use a numbered level-three heading for each finding, containing its severity in square brackets and a short, specific title. Follow it with a Location: field containing the file and line range, then explain the finding and its impact. Coding standards findings also include a Standard: field citing the rule's file and lines when available. For unwritten conventions or structural concerns, identify the established pattern or explain the concern instead of inventing a standards citation.

6.5. Reporting reviewed specifications

Append ## Spec sources to every report, even when there are no findings:

  • You MUST list every specification reference or URL discovered, not just those cited by findings.
  • Include all specifications read. Preserve exact URLs, repository paths, and issue or work-item IDs.
  • Identify the origin of user-supplied requirements that have no reference.
  • Mark each source as read or unread.
  • State discovery limitations, blockers, and any user approval to proceed.
  • If no specifications were found, say so.

Why two axes

A change can pass one axis and fail the other:

  • Code that follows every standard but implements the wrong thing → Standards pass, Spec fail.
  • Code that does exactly what the issue asked but breaks the project's conventions → Spec pass, Standards fail.

Reporting them separately stops one axis from masking the other.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Code Reviewing AI skill do?

Reviews code changes for bugs, structural problems, performance issues, and unintended behavior. Use when reviewing uncommitted changes, commits, branches, or pull requests.

Why use Code Reviewing on TypingMind?

Because you install it once and use it with any model. Code Reviewing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Code Reviewing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/alexandru/skills/tree/main/skills/engineering/code-reviewing. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Code Reviewing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Code Reviewing?

As many as you like. As long as a model supports skills, you can use Code Reviewing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Code Reviewing AI skill free?

It is published on GitHub by alexandru. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇