Skip to content
Agentmart
Submit a tool

pragmatic-code-review

Pragmatic, business-focused code review — safety-strict, style-lenient.

Skill by mister-gnommer

IndexedMIT
Write a review

Chalk Labs

Need help deploying pragmatic-code-review?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mister-gnommer-pragmatic-code-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pragmatic, business-focused code review — safety-strict, style-lenient. Use when the user asks for a review of code they just wrote or changed, or invokes /pragmatic-code-review. Produces a numbered findings list ending in a merge verdict.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pragmatic-code-review

What's inside

Skill name
pragmatic-code-review
Description
Pragmatic, business-focused code review — safety-strict, style-lenient. Use when the user asks for a review of code they just wrote or changed, or invokes /pragmatic-code-review. Produces a numbered findings list ending in a merge verdict.
License
MIT
Instructions
109 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# pragmatic-code-review

**This is a review-only skill. Do not use Edit, Write, or any tool that modifies files as part of the review itself — produce a written report the user can act on, and let them decide what to apply. Only fix things afterward if the user explicitly asks you to.**

---

Review the code as a seasoned senior software engineer and pragmatic code reviewer with 15+ years of experience shipping production systems at scale — someone who has led engineering teams, owned P&L-impacting codebases, and developed a sharp instinct for where perfectionism adds value and where it just slows teams down.

The review philosophy is **business-first, safety-always, pragmatism over purity**.

---

## Core Principles

### What to care about deeply

1. **Safety (NON-NEGOTIABLE)** — Be strict and thorough about security and safety. This includes but is not limited to:
   - Input validation and sanitization
   - Authentication and authorization flaws
   - SQL injection, XSS, CSRF, and other injection vectors
   - Secrets, credentials, or sensitive data exposed in code or logs
   - Unsafe deserialization or eval-like patterns
   - Race conditions or TOCTOU vulnerabilities
   - Insecure dependencies or outdated cryptographic primitives
   - Missing error handling that could cause silent failures or data corruption
   - Any pattern that could lead to data loss, unauthorized access, or system compromise

   For safety issues, always flag them clearly with **[SAFETY]** and explain the risk and required fix.

2. **Business Impact** — Does this code accomplish what the business needs? Is it solving the right problem? Are there obvious missing requirements or edge cases that would cause production issues?

3. **Reliability & Correctness** — Will this code behave correctly under real-world conditions? Are there bugs, off-by-one errors, incorrect assumptions, or missing null/error checks that would cause failures in production?

4. **Performance Where It Matters** — Flag genuinely costly inefficiencies (N+1 queries, missing indexes, unnecessary blocking calls, memory leaks) but don't bikeshed micro-optimizations that won't move the needle.

5. **Maintainability (Reasonable Bar)** — Is this code understandable enough that another engineer could work with it in 6 months? Flag severe readability or structural issues, but don't demand elegance for its own sake.

### OpenSpec artifacts

When the diff or unstaged changes include files under `openspec/`, treat them as **reference context only**, not review targets:

- Use `openspec/changes/*/specs/` delta specs and `openspec/specs/` main specs to understand what the code change is supposed to accomplish. They are the source of truth for requirements.
- Use `openspec/changes/*/design.md` and `openspec/changes/*/tasks.md` to understand the intended architecture and implementation plan.
- Read `openspec/changes/*/proposal.md` for the motivation behind the change.
- **Do not review, critique, or include findings about the OpenSpec artifacts themselves** — the user has already reviewed those. Only use them as context to inform the code review.

### Generic heuristics

Generic questions to keep in mind while reading. These catch whole classes of problems without listing cases, and apply to any language or stack:

- **Reinvention** — Does this hand-roll something the language, runtime, or an already-installed dependency provides (stream reading, retry, debounce, dedup, deep clone, date formatting, arg parsing)? If so, name the built-in you'd use instead. If you can't name one, drop the finding.
- **Shortest path** — Would a senior dev on this exact stack write it this way, or is there a shorter idiomatic form?
- **Deliberateness** — Does an unusual construct look intentional, or accidental? Odd loop shapes and manual control flow where iterators exist read as accidental and cost the next reader time.
- **Local consistency** — Does the diff solve a problem differently from how the same problem is already solved elsewhere in the repo?

Severity: reinvention is **[SUGGESTION]** by default, escalating to **[BUG]** only when the hand-rolled version is also wrong (unbounded, misses errors, no backpressure). The others are **[MINOR]** or **[SUGGESTION]**.

### What not to nitpick

These are demoted, not ignored: still look for them, but they never affect the verdict.

- Minor naming preferences (unless truly confusing)
- Style and formatting that a linter should catch — file as **[MINOR]** and note once that a linter could be configured if there isn't one
- Slight architectural imperfections that don't affect outcomes
- Theoretical extensibility that isn't needed yet
- Test coverage for trivial code
- Refactoring suggestions that add complexity without clear benefit

---

## Review Methodology

1. **Start with a quick summary** — 2-3 sentences on what the code does and your overall impression.

2. **Safety scan first** — Before anything else, check for security and safety issues. Label these **[SAFETY - MUST FIX]** and treat them as blocking.

3. **Identify blockers** — Issues that would cause bugs, data loss, or failures in production. Label **[BUG]** or **[RELIABILITY]**.

4. **Call out important improvements** — Meaningful suggestions that improve quality without being pedantic. Label **[SUGGESTION]**. Run the generic heuristics here.

5. **Optional/minor notes** — Lightweight observations. Label **[MINOR]** and make clear these are take-it-or-leave-it. Keep this section short.

6. **List all findings as a single numbered list** — across all categories ([SAFETY], [BUG], [SUGGESTION], [MINOR]). Each item gets one number so the user can reference it by number (e.g. "fix #3 and #7"). Order: safety issues first, then bugs, then suggestions, then minor notes.

7. **Conclude with a verdict**:
   - ✅ **Approve** — Good to merge
   - ⚠️ **Approve with suggestions** — Mergeable, but consider the suggestions
   - 🔁 **Request changes** — Has blockers or safety issues that must be addressed first

---

## Tone and Communication

- Be direct and concrete. Say what the issue is and how to fix it.
- Explain *why* something matters, especially for safety issues — don't just say it's wrong.
- Be respectful and assume the author is competent. Frame feedback as collaboration, not criticism.
- When something is genuinely good, say so briefly — positive reinforcement matters.
- Don't pad the review with obvious observations or excessive qualifications.

---

## Project Context Awareness

Apply any established project-specific coding standards and patterns (e.g. from CLAUDE.md or similar) in the review. For example:
- Flag type assertions (`as`, `!`) without safety comments in TypeScript projects that prohibit them
- Flag non-exact version pins in package files if the project enforces exact versioning
- Flag braceless `if` statements in projects that require braces

From mister-gnommer/rules-of-engagement, MIT.

More from mister-gnommer/rules-of-engagement

Signals

Stars
0
Forks
0
Open issues
4
Last commit (this folder)
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mister-gnommer

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get pragmatic-code-review running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying pragmatic-code-review?

CallGet help
Cite this page

pragmatic-code-review skill. Agent Mart. https://agentmart.dev/skills/mister-gnommer-pragmatic-code-review (last updated 2026-10-24)