grill-code-review
Review changes since a fixed point along two independent axes — repository standards and the originating spec.
Skill by dengmuming
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/dengmuming-grill-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.
About
Reviews
Write a reviewNo 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 and code. 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/grill-code-review
What's inside
- Skill name
grill-code-review- Description
- Review changes since a fixed point along two independent axes — repository standards and the originating spec. Use when the user wants to review a branch, PR, work-in-progress changes, or asks to review since a commit, branch, or tag.
- License
- MIT
- Metadata
- source: https://github.com/mattpocock/skills · adapted_by: ai-vibe-coding · invocation: model · upstream_commit: ed37663cc5fbef691ddfecd080dff42f7e7e350d
- Instructions
- 95 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
Two-axis review of the diff between `HEAD` and a fixed point the user supplies:
- **Standards** — does the code conform to this repo's documented coding standards?
- **Spec** — does the code faithfully implement the originating issue / PRD / spec?
Run both axes independently so they do not influence each other's findings, then aggregate the reports. Use parallel sub-agents when the current Agent supports them; otherwise run two separate review passes and keep their findings isolated.
The issue tracker should have been provided to you — load and follow `setup-matt-pocock-skills` if `docs/agents/issue-tracker.md` is missing.
## Process
### 1. Pin the fixed point
Whatever the user said is the fixed point — a commit SHA, branch name, tag, `main`, `HEAD~5`, etc. If they didn't specify one, ask for it.
Capture the diff command once: `git diff <fixed-point>...HEAD` (three-dot, so the comparison is against the merge-base). Also note the list of commits via `git log <fixed-point>..HEAD --oneline`.
Before going further, confirm the fixed point resolves (`git rev-parse <fixed-point>`) and the diff is non-empty. A bad ref or empty diff should fail here — not inside two parallel sub-agents.
### 2. Identify the spec source
Look for the originating spec, in this order:
1. Issue references in the commit messages (`#123`, `Closes #45`, GitLab `!67`, etc.) — fetch via the workflow in `docs/agents/issue-tracker.md`.
2. A path the user passed as an argument.
3. A PRD/spec file under `docs/`, `specs/`, or `.scratch/` matching the branch name or feature.
4. If nothing is found, ask the user where the spec is. If they say there isn't one, the **Spec** sub-agent will skip and report "no spec available".
### 3. Identify the standards sources
Anything in the repo that documents how code should be written, such as `CODING_STANDARDS.md` or `CONTRIBUTING.md`.
On top of whatever the repo documents, the Standards axis always carries the **smell baseline** below — a fixed set of Fowler code smells (_Refactoring_, ch.3) that applies even when a repo documents nothing. Two rules bind it:
- **The repo overrides.** A documented repo standard always wins; where it endorses something the baseline would flag, suppress the smell.
- **Always a judgement call.** Each smell is a labelled heuristic ("possible Feature Envy"), never a hard violation — and, like any standard here, skip anything tooling already enforces.
Each smell reads *what it is* → *how to fix*; match it against the diff:
- **Mysterious Name** — a function, variable, or type whose name doesn't reveal what it does or holds. → rename it; if no honest name comes, the design's murky.
- **Duplicated Code** — the same logic shape appears in more than one hunk or file in the change. → extract the shared shape, call it from both.
- **Feature Envy** — a method that reaches into another object's data more than its own. → move the method onto the data it envies.
- **Data Clumps** — the same few fields or params keep travelling together (a type wanting to be born). → bundle them into one type, pass that.
- **Primitive Obsession** — a primitive or string standing in for a domain concept that deserves its own type. → give the concept its own small type.
- **Repeated Switches** — the same `switch`/`if`-cascade on the same type recurs across the change. → replace with polymorphism, or one map both sites share.
- **Shotgun Surgery** — one logical change forces scattered edits across many files in the diff. → gather what changes together into one module.
- **Divergent Change** — one file or module is edited for several unrelated reasons. → split so each module changes for one reason.
- **Speculative Generality** — abstraction, parameters, or hooks added for needs the spec doesn't have. → delete it; inline back until a real need shows.
- **Message Chains** — long `a.b().c().d()` navigation the caller shouldn't depend on. → hide the walk behind one method on the first object.
- **Middle Man** — a class or function that mostly just delegates onward. → cut it, call the real target direct.
- **Refused Bequest** — a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance, use composition.
The Standards axis also carries this **correctness and risk baseline**:
- **Logic and edge cases** — find incorrect control flow, invalid assumptions, null or empty inputs, boundary values, and error paths.
- **Security and privacy** — find injection risks, unsafe input handling, authorization gaps, secret exposure, and sensitive-data leaks.
- **Performance and reliability** — find N+1 queries, unnecessary repeated work, unbounded resource use, race conditions, and avoidable failure modes.
- **Maintainability** — find unclear naming, oversized functions, duplicated logic, and violations of repository conventions.
Every finding must cite the relevant file and hunk, explain impact, and suggest a concrete fix. Classify correctness, security, and data-loss risks as blocking; label preference-only feedback as a nitpick.
### 4. Run both review axes independently
If the current Agent supports parallel sub-agents, dispatch both axes in parallel. Otherwise run the Standards pass and Spec pass sequentially without allowing one pass's findings to influence the other.
**Standards sub-agent prompt** — include:
- The full diff command and commit list.
- The list of standards-source files you found in step 3, **plus the smell baseline and correctness and risk baseline from step 3** pasted in full — the sub-agent has no other access to them.
- The brief: "Report — per file/hunk where relevant — (a) every place the diff violates a documented standard: cite the standard (file + the rule); (b) any correctness, security, privacy, performance, reliability, or maintainability risk: explain impact and suggest a concrete fix; and (c) any baseline smell: name it and quote the hunk. Distinguish blocking risks from nitpicks and judgement calls. A documented repo standard overrides the smell baseline. Skip anything tooling enforces. Under 500 words."
**Spec sub-agent prompt** — include:
- The diff command and commit list.
- The path or fetched contents of the spec.
- The brief: "Report: (a) requirements the spec asked for that are missing or partial; (b) behaviour in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words."
If the spec is missing, skip the Spec sub-agent and note this in the final report.
### 5. Aggregate
Present the two reports under `## Standards` and `## Spec` headings, verbatim or lightly cleaned. Do **not** merge or rerank findings — 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.
## 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.From dengmuming/ai-vibe-coding, MIT.
More from dengmuming/ai-vibe-coding
- 0.626score
go-init
dengmuming
基于 gin + gorm + redis + zap + mix-go/xcli 的 Go 后端项目脚手架规范(源自 mindcloudxai_api 的实战架构)。Claude 应在用户提到 "初始化 Go 项目"、"创建 Go 后端服务"、"搭建 gin 项目"、"新建 Go API 项目"、"按…
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
find-simplifications
dengmuming
Use when working in a codebase to find non-obvious simplification candidates, write proposed design notes or inline TODO/FIXME/XXX notes, or fold worthwhile…
SkillAFreshness: A★ 7Claude Code +9 - 0.621score
dispatch
dengmuming
安全执行一个已经明确的工作项批次并返回可验证结果。Prepare 把批次整理到可执行、Dispatch 安排隔离 worktree 与执行器执行、Resume 恢复中断的执行。当用户给出一批已经明确的工作项(任务单、ticket、改动清单)要求执行时使用。跨会话的目标管理与验收生命周期不归本 skill。
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
dev
dengmuming
从想法到上线的一条龙研发流程——grill 压实想法、to-spec 写成 spec、to-tickets 拆成工单、implement 落地代码。用户输入 /dev 触发,也可从任一段中途进入。
SkillAFreshness: A★ 7Claude Code +9 - 0.610score
debugging
dengmuming
Systematically debug an error or unexpected behavior.
SkillAFreshness: A★ 7Claude Code +9 - 0.599score
domain-modeling
dengmuming
Build and sharpen a project's domain model.
SkillAFreshness: A★ 7Claude Code +9 - 0.599score
codebase-design
dengmuming
Shared vocabulary for designing deep modules.
SkillAFreshness: A★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 11, 2026 (17 days ago)
- Last release
- Oct 11, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/dengmuming/ai-vibe-coding
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dengmuming
- 0.626score
go-init
dengmuming
基于 gin + gorm + redis + zap + mix-go/xcli 的 Go 后端项目脚手架规范(源自 mindcloudxai_api 的实战架构)。Claude 应在用户提到 "初始化 Go 项目"、"创建 Go 后端服务"、"搭建 gin 项目"、"新建 Go API 项目"、"按…
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
find-simplifications
dengmuming
Use when working in a codebase to find non-obvious simplification candidates, write proposed design notes or inline TODO/FIXME/XXX notes, or fold worthwhile…
SkillAFreshness: A★ 7Claude Code +9 - 0.621score
dispatch
dengmuming
安全执行一个已经明确的工作项批次并返回可验证结果。Prepare 把批次整理到可执行、Dispatch 安排隔离 worktree 与执行器执行、Resume 恢复中断的执行。当用户给出一批已经明确的工作项(任务单、ticket、改动清单)要求执行时使用。跨会话的目标管理与验收生命周期不归本 skill。
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
dev
dengmuming
从想法到上线的一条龙研发流程——grill 压实想法、to-spec 写成 spec、to-tickets 拆成工单、implement 落地代码。用户输入 /dev 触发,也可从任一段中途进入。
SkillAFreshness: A★ 7Claude Code +9 - 0.610score
debugging
dengmuming
Systematically debug an error or unexpected behavior.
SkillAFreshness: A★ 7Claude Code +9 - 0.599score
domain-modeling
dengmuming
Build and sharpen a project's domain model.
SkillAFreshness: A★ 7Claude Code +9
Cite this page
grill-code-review skill. Agent Mart. https://agentmart.dev/skills/dengmuming-grill-code-review (last updated 2026-10-24)