Skip to content
Back to skills

Simple Code Review

ASecurity

Review code for security, accessibility, code quality, and performance. Reports findings by severity, does not fix unless asked.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 15, 2026
ai-agentsgoshellsqlcode-reviewapifrontendbackendsecurityperformance

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add denniemok/simple-skills --skill simple-code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Simple Code Review?

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

Security grade badge for Simple Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/denniemok-simple-code-review/badge)](https://www.skillsdirectory.com/skills/denniemok-simple-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: simple-code-review
description: Review code for security, accessibility, code quality, and performance. Reports findings by severity, does not fix unless asked.
disable-model-invocation: true
metadata:
  author: denniemok
  version: "1.1.1"
license: MIT
---

# Simple Code Review

Review the code by module. The checklists cover common issues, not everything. Use judgment on what applies to this codebase, and report any obvious issue you find even if it is not listed.

## Scope

Review what the user points at. If nothing is specified, review the current diff, or the files changed in this session. Ask before reviewing the whole codebase.

## Modules

Ask which to run, unless the user already said:

- Security
- Accessibility
- Code Quality
- Performance

If the user has no preference, run all four.

## 1. Security

Goal: find serious security holes.

Frontend:
- XSS (`dangerouslySetInnerHTML`, unescaped user input)
- Sensitive data exposed in client code
- Hardcoded secrets, tokens, or API keys

Backend:
- SQL injection, especially raw queries built with string interpolation
- Command injection in subprocess or shell calls
- SSRF in server-side HTTP calls that use user-supplied URLs
- Insecure deserialization (`pickle`, `yaml.load` without a safe loader)
- Path traversal in file operations
- Missing authentication or authorization on protected endpoints
- Insecure direct object references, such as queries not scoped to the current user
- Hardcoded secrets or credentials

## 2. Accessibility

Goal: find obvious issues that hurt users. Frontend only.

- Missing labels on interactive elements
- No keyboard navigation or visible focus
- Non-semantic HTML where a proper element exists
- Poor color contrast in custom styling
- Images without alt text

## 3. Code Quality

Goal: keep the code maintainable and consistent.

- Duplication, extract at 3 or more identical uses
- Near-copies: two components or helpers that show or do the same thing in different ways
- Functions, components, or files doing too much, if you need "and" to describe it, split it. Size alone is not a reason
- Deep nesting, prefer early returns and guard clauses
- Magic numbers and strings without named constants
- Poor naming: vague names (`data`, `temp`), misleading names, booleans without `is`/`has`/`can`/`should`
- Missing error handling, or errors swallowed so the screen shows an empty or success state
- Boolean parameters that turn a function into a different job, prefer two functions or components. Options that tune one job are fine
- `console.log` or debug leftovers in production code
- Code written for future needs with no present use (YAGNI)
- Overengineering: guards, waits, fallbacks, settings, limits, or confirm steps for a case nobody has met. Worst when a wrong pre-check hides or blocks a working feature. Say what still guards if it goes. Keep checks that protect people or data, such as permissions and delete guards

## 4. Performance

Goal: find issues that seriously affect users. Measure when you can, and mark findings you did not measure. Rank by total time (calls times duration), not the slowest single call.

- N+1 queries, especially DB calls inside loops
- The same query or expensive function run more than once per request
- Missing indexes on columns a slow or frequent query filters, joins, or sorts by
- Large result sets loaded without pagination, or offset paging deep into a large table
- Blocking operations in async code
- Memory leaks, such as unbounded caches or retained references
- Missing caching for repeated expensive work
- Frontend: unnecessary re-renders, oversized bundles, unoptimized images

## Output

Give the total issue count, then list each issue with:

- Severity: Critical, High, Medium, Low, or Optional
- Category and `file:line`
- What is wrong, and why it matters
- Suggested fix

End with what was not reviewed. Only report issues you can point to in the code, and open each search hit before you count it. Do not change code unless the user asks.

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.