Skip to content
Back to skills

Focus Review

ASecurity

Focus code review on high-risk changes

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
developmentbashsecurity

Security analysis

A100/100

Scanned November 19, 2026

npx -y skills add panbanda/omen --skill focus-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Focus Review?

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

Security grade badge for Focus Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/panbanda-focus-review/badge)](https://www.skillsdirectory.com/skills/panbanda-focus-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: focus-review
description: Focus code review on high-risk changes
usage: /focus-review <changed-files>
arguments:
  - name: changed_files
    description: Files to review
    required: true
---

# Focus Review Skill

Focus the review on: `{{.changed_files}}`

## Quick Start

```bash
# Get the change set of the branch: the changed symbols with the most effect first
omen -f json diff --target main --top 20

# Get structural outline of changed files
omen -f json outline --compact --top 30

# Check blast radius of one changed symbol. Use a `key` from `symbols` of the change set.
omen -f json impact <symbol-key> --depth 2

# Check risk of changed files
omen -f json defect --glob "{{.changed_files}}"

# Check complexity
omen -f json complexity --glob "{{.changed_files}}"

# Check for new debt
omen -f json satd --glob "{{.changed_files}}"
```

## Read the Change Set

The `diff` command gives these keys for a review:

- `summary`: the counts of the full change set. `--top` does not change them.
- `symbols`: the changed symbols. Symbols that are not test code come first, then changed and removed symbols, then the symbols with more transitive callers.
- `symbols[].signature_before` and `symbols[].signature_after`: a difference is an interface change. Examine each entry of `direct_callers`.
- `symbols[].complexity_before` and `symbols[].complexity_after`: an increase shows where the logic grew.
- `symbols[].test_caller_count`: the value 0 on a changed symbol means that no test calls the symbol directly.
- `new_findings`: the new stubs and the new debt comments.
- `security`: the sinks, the entry points, and the paths that the branch adds or removes.

If `symbols_omitted` is present, use `--offset` to get the next page.

## Review Checklist

- [ ] Changed or removed symbols with a signature change: Examine each direct caller.
- [ ] Changed symbols with `test_caller_count` 0 and many transitive callers: Ask for a test.
- [ ] New sinks or new paths in `security`: Examine the input that reaches them.
- [ ] Files with a defect probability above 0.7: Give extra scrutiny.
- [ ] Functions with a cyclomatic complexity above 15: Simplify them.
- [ ] New HACK or FIXME markers: Require a justification.
- [ ] Orphaned code: Remove it.

## Comment Format

```
**[PRIORITY]**: file:line
What: Description
Why: Impact
Fix: Suggestion
```

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 development →

Comments

Loading comments…

Newsletter

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