Skip to content
Back to skills

Code Review

ASecurity

Review a pull request in this repository. Use this when asked to review a pull request, a diff, or a branch.

  • 61 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added October 25, 2026
ai-agentsgocode-reviewgit

Works with

  • cli

Security analysis

A100/100

Scanned October 25, 2026

npx -y skills add schmitthub/clawker --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/schmitthub-code-review/badge)](https://www.skillsdirectory.com/skills/schmitthub-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-review
description: Review a pull request in this repository. Use this when asked to review a pull request, a diff, or a branch.
---

Follow these steps in order. `.github/copilot-instructions.md` defines each
priority in full and the comment style; this file is the procedure.

## 1. Lint suppression

Search every added or changed line in the diff for `//nolint`, `// nolint`,
`#nosec`, and `//lint:ignore`. Search `.golangci.yml` changes for
`exclusions`, `exclude`, and `nolintlint`. List every hit as `file:line`.
Report each hit as its own comment (priority 1).

## 2. Control plane servers and listeners

Search the diff under `controlplane/`, `internal/controlplane/`,
`cmd/clawkercp/`, and `clawkerd/` for `grpc.NewServer`, `net.Listen`,
`net.ListenConfig`, `http.Server`, and `ListenAndServe`. For each hit:

1. Confirm the gRPC server attaches the `controlplane/auth` interceptor in
   the chain order used by `controlplane/server/grpc_stack.go`.
2. Confirm the certificate, key, and CA files come from a lane that belongs
   to this listener only. Compare against `controlplane/infracerts`,
   `controlplane/otelcerts`, and `controlplane/sdscerts`.
3. If the listener uses client certificates instead of bearer tokens, confirm
   `tls.RequireAndVerifyClientCert` and a CN or SAN pin in
   `VerifyPeerCertificate`, and confirm the pull request description gives
   the reason.
4. Confirm there is no `panic`, `log.Fatal`, or `os.Exit`, and that each
   serve goroutine has a `recover`.

Report each failed check as a blocking comment (priority 2).

## 3. `CLAUDE.md` files

For each `CLAUDE.md` in the diff, read the file mode and the blob content.
Pass only when the mode is `120000` and the content is exactly `AGENTS.md`,
and a file named `AGENTS.md` exists in the same directory. Git submodules are
exempt. Report each failure as a blocking comment (priority 3).

## 4. Version pins

For each added `FROM` line, `uses:` line, `rev:` line, or image constant in
Go source, confirm it carries a `@sha256:` digest or a full commit SHA.
Report each miss (priority 4).

## 5. Standing rules

Apply the remaining priority 4 rules and the rule files that
`.github/copilot-instructions.md` names.

## 6. Report

Write each comment as `.github/copilot-instructions.md` describes: one
finding per comment, the rule source named, the fix given.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.