Dev Local Review logo

Dev Local Review

Community
Nebulavenus
dev-local-review

Run a local code review using the CodeRabbit agent before pushing to catch issues early

Overview

PublisherNebulavenus
Repositoryforge-gpu
Skill namedev-local-review
Stars
46
Forks
7
Bundled files
Instructions only
LicenseZlib
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Dev Local Review 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/Nebulavenus/forge-gpu/tree/main/.claude/skills/dev-local-review
  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/Nebulavenus/forge-gpu.git /tmp/forge-gpu
mkdir -p .claude/skills
cp -r /tmp/forge-gpu/.claude/skills/dev-local-review .claude/skills/dev-local-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dev Local Review 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 Dev Local Review 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 Dev Local Review 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.

Run a local code review before pushing to catch issues before they hit the PR and burn a review round. Uses the built-in CodeRabbit code-reviewer agent (subagent_type: "coderabbit:code-reviewer") which runs entirely locally at zero cost.

This is not a substitute for the GitHub PR review. The local review cannot access CodeRabbit's learnings from past PRs or perform repo-wide architectural analysis. It is a fast, free pre-push gate that catches the obvious issues.

How it works

The skill uses Claude Code's built-in coderabbit:code-reviewer agent type. This agent reads the diff locally and performs a thorough code review covering correctness, style, documentation accuracy, and common issues. No external service, CLI tool, or API key required.

Usage

Invoke the skill before pushing:

text
/dev-local-review

Or with a specific base branch:

text
/dev-local-review --base develop

When to use

  • Before pushing fixes during /dev-review-pr — catch new issues locally instead of waiting for the GitHub bot
  • Before creating a PR with /dev-create-pr — clean up obvious issues before the first review
  • Any time you want a quick code quality check without pushing
  • After /dev-final-pass for a second opinion from a different reviewer

Workflow

1. Determine what to review

Check git status and git diff --stat to understand the scope of changes. Use the base branch from the argument (default: main).

2. Run the CodeRabbit code-reviewer agent

Launch a single agent with subagent_type: "coderabbit:code-reviewer". The prompt must include:

  • The list of modified and new files (from git diff --stat and git status)
  • A summary of what the changes are about (infer from file paths and recent context)
  • Instructions to be thorough and report specific file paths and line numbers
  • The project's code quality requirements (C99, SDL3 GPU, CLAUDE.md conventions)
text
Agent(
  subagent_type="coderabbit:code-reviewer",
  prompt="Review all changes compared to <base-branch>. [file list, context, instructions]"
)

3. Triage findings

When the agent returns, present findings sorted by severity (Major, Medium, Low, Informational). For each finding, determine:

  • Actionable: A real issue that should be fixed before pushing
  • Intentional: Code that is correct as-is (e.g., strict 0.0f epsilon for determinism tests)
  • Out of scope: Suggestions about code not changed in this PR

4. Fix actionable findings

Implement all actionable fixes. Do not ask about each one individually — fix them all, then report what was changed.

5. Re-run review (MANDATORY — cannot skip)

After fixing, run the agent again to verify no new issues were introduced. The re-run prompt should note which issues were already addressed so the agent focuses on finding new problems.

6. Repeat until zero feedback (MANDATORY — strict rule)

This is an absolute rule with no exceptions. The review loop MUST continue until the CodeRabbit agent returns with zero findings. The agent executing this skill is not allowed to decide on its own that remaining feedback is "just a nitpick" or "informational" and stop the loop early.

The only two valid exit conditions are:

  1. The review agent reports zero findings. The loop ends. Proceed to "After a clean local review."
  2. The agent explicitly asks the user whether to stop (presenting the remaining findings), and the user agrees to stop. Without user confirmation, the loop continues.

Prohibited behaviors:

  • Deciding that remaining findings are "low severity" and stopping
  • Classifying all remaining findings as "intentional" without user input
  • Stopping after a fixed number of rounds (e.g., "typically 2-3 rounds")
  • Summarizing remaining findings and moving on without fixing or asking
  • Treating nitpicks, style suggestions, or informational comments as automatic reasons to exit the loop

Each round of the loop:

  1. Run the CodeRabbit review agent
  2. If zero findings → exit loop (clean)
  3. If findings exist → fix actionable ones, ask user about ambiguous ones
  4. Go to step 1

If the same finding keeps reappearing after being fixed, investigate the root cause rather than stopping the loop. If genuinely stuck, ask the user for guidance — do not silently exit.

What it catches

Based on project experience, this review reliably catches:

  • Missing bounds checks and safety guards
  • Stale comments (e.g., <math.h> comment listing fabsf, sqrtf but code also uses fminf)
  • Documentation/code mismatches (README describes N phases but code has M)
  • Missing inline comments on struct fields
  • Resource cleanup gaps on error paths
  • Magic numbers that should be named constants
  • Naming convention violations
  • Bare C stdlib calls without SDL_ prefix (fabsf, sinf, memset, strcmp, malloc, etc.) — use SDL equivalents or approved project wrappers (forge_isfinite, forge_fmaxf, forge_fminf) for cross-platform portability

What it cannot do

  • Access CodeRabbit's learnings from past PR interactions
  • Perform repo-wide architectural analysis beyond the changed files
  • Interact with PR feedback threads or resolve conversations
  • Update GitHub approval state
  • Guarantee a clean PR review (the GitHub bot may find additional issues)

After a clean local review

A clean local review means the obvious issues are handled. Push and request a full PR review:

  1. Push the commits (single push, never piecemeal)
  2. Wait for CodeRabbit's PR review — it may find additional issues the local review missed
  3. If the PR review finds issues, use /dev-review-pr to handle them

Frequently asked questions

What does the Dev Local Review AI skill do?

Run a local code review using the CodeRabbit agent before pushing to catch issues early

Why use Dev Local Review on TypingMind?

Because you install it once and use it with any model. Dev Local Review 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 Dev Local Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Nebulavenus/forge-gpu/tree/main/.claude/skills/dev-local-review. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dev Local Review?

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 Dev Local Review?

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

Is the Dev Local Review AI skill free?

Yes. It is published on GitHub by Nebulavenus under the Zlib license. 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 👇