Skip to content
Back to skills

Staff Review

ASecurity

Senior Staff Engineer code review with SOLID principles, security analysis, and architecture critique. Use for significant changes, new systems, or when you want ruthless technical feedback.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
code-qualityrustphpsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill staff-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Staff Review?

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

Security grade badge for Staff Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-staff-review/badge)](https://www.skillsdirectory.com/skills/aibot88-staff-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: staff-review
description: Senior Staff Engineer code review with SOLID principles, security analysis, and architecture critique. Use for significant changes, new systems, or when you want ruthless technical feedback.
allowed-tools: Read, Grep, Glob, WebFetch
user-invocable: true
---

# Staff Engineer Review

Ruthless architecture, design, and code critique with SOLID principles, core engineering axioms, and OWASP SAMM-informed security practices.

## When to Use

- New modules, services, or abstractions
- Changes to core or shared systems
- Security-sensitive code (form handling, user input, authentication)
- Significant refactors or new language/framework integrations
- Any change you're uncertain about

## Review Process

### 1. Gather Context

First, understand what's being reviewed:
- Read the files involved
- Identify the scope and boundaries
- Check for related code that might be affected

### 2. Apply Engineering Principles

**SOLID:**
- **SRP**: One reason to change per module
- **OCP**: Extend via composition; avoid broad rewrites
- **LSP**: Subtypes must be substitutable
- **ISP**: Prefer small, specific interfaces
- **DIP**: Depend on abstractions at boundaries

**Core Axioms:**
- **DRY**: Single representation of logic/knowledge
- **KISS**: Prefer the simplest design that works
- **YAGNI**: Do not build speculative capability

**Quality:**
- High cohesion, low coupling
- Separation of concerns
- Law of Demeter (talk to neighbors only)
- Fail fast with safe errors

### 3. Security Review (OWASP SAMM Lens)

- Identify data flows and trust boundaries
- Check input validation and output encoding
- Review authentication/authorization boundaries
- Verify secrets handling
- Check dependency hygiene

### 4. Testability Assessment

- Can this be unit tested?
- Are there clear seams for mocking?
- What are the failure modes?

## Output Format

Structure your review as:

1. **Verdict**: `approve` / `approve-with-changes` / `block`
2. **Top Risks** (max 5): ordered by severity
3. **Architecture/Design Critique**: boundary choices, data flow, failure modes
4. **Security Review**: concrete gaps + suggested controls
5. **Testability**: how to prove it works
6. **Actionable Changes**: specific edits with rationale

If you block, list the minimum changes needed to unblock.

## Critique Rules

- Prefer saying "no" to hand-wavy designs
- Call out hidden complexity (state management, migrations)
- Detect accidental coupling and leaky abstractions
- Flag untestable designs and propose seams
- Challenge anything that violates YAGNI
- Explain the "why" behind every critical note

## Example Invocations

/staff-review src/auth/tokenService.js
/staff-review lib/core/Registry.php
/staff-review “the changes I just made to the payment flow”
/staff-review src/components/DataTable/

Files in this skill

  • SKILL.md2.8 KB
  • source.json693 B

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.

Comments

Loading comments…

Newsletter

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