Skip to content
Back to skills

Common Code Review

ASecurity

[BLOCKER] [PR diff/files not supplied] The caching implementation cannot be reviewed with evidence. Why: The changed code, cache configuration, invalidation behavior, and tests are required to assess logic, security, efficiency, and edge cases. Fix: Provide the PR diff or changed files, including cache keys, TTLs, fallback behavior, and tests. [MAJOR] [Cache read path — file unknown] Check whether cache keys include tenant/user/authorization scope. Why: Incorrect key isolation can return one ...

  • 584 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
developmentdatabasesecurity

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common Code Review?

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

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

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
[BLOCKER] [PR diff/files not supplied] The caching implementation cannot be reviewed with evidence.
Why: The changed code, cache configuration, invalidation behavior, and tests are required to assess logic, security, efficiency, and edge cases.
Fix: Provide the PR diff or changed files, including cache keys, TTLs, fallback behavior, and tests.

[MAJOR] [Cache read path — file unknown] Check whether cache keys include tenant/user/authorization scope.
Why: Incorrect key isolation can return one user’s or tenant’s database data to another, creating a security leak.
Fix: Include every data-isolation dimension in the key and add cross-tenant authorization tests.

[MAJOR] [Invalidation/write path — file unknown] Check whether mutations invalidate or update affected entries.
Why: Missing invalidation produces stale reads and can violate application consistency requirements.
Fix: Define invalidation for create, update, delete, transaction rollback, and failure paths; test each edge case.

[MAJOR] [Cache miss path — file unknown] Check concurrent misses and cache failures.
Why: A cache stampede can increase database load, while treating cache outages as fatal can reduce availability.
Fix: Use request coalescing or bounded protection and define a safe database fallback with timeout behavior.

[MAJOR] [Tests — files not supplied] Check coverage for hit, miss, expiry, stale data, errors, authorization boundaries, and concurrent requests.
Why: CI status alone cannot prove the caching layer preserves correctness or actually reduces database calls.
Fix: Add focused tests that assert database-call counts and each listed edge case.

Files in this skill

  • eval-1.baseline.md487 B
  • eval-1.with-skill.md1.1 KB
  • eval-2.baseline.md556 B
  • eval-2.with-skill.md457 B
  • eval-3.baseline.md1.2 KB
  • eval-3.with-skill.md1.6 KB
  • pressure-1.baseline.md328 B
  • pressure-1.with-skill.md395 B
  • pressure-2.baseline.md296 B
  • pressure-2.with-skill.md470 B
  • trigger-1.md157 B
  • trigger-2.md98 B
  • trigger-3.md103 B
  • trigger-4.md105 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.

View all in development →

Comments

Loading comments…

Newsletter

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