review-code

Review code changes for security vulnerabilities, PII leaks, and coding standards.

94|11|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/thefrederiksen/cc-director --skill review-code-thefrederiksen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-code
Source: https://github.com/thefrederiksen/cc-director/tree/main/.claude/skills/review-code
Command: npx skills add https://github.com/thefrederiksen/cc-director --skill review-code-thefrederiksen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the critical process of reviewing code changes for security vulnerabilities, PII leaks, and adherence to coding standards, ensuring a higher quality and more secure codebase.

Core Features & Use Cases

  • PII and Security Scan: Detects and flags sensitive information (API keys, personal data, internal paths) that should never be committed to a public repository.
  • Code Style Enforcement: Verifies code against defined style guidelines (e.g., CodingStyle.md) to maintain consistency and readability.
  • Documentation Compliance: Checks for the existence and recency of critical documentation like CenCon architecture manifests and security profiles, and ensures new features are documented.
  • Use Case: Before committing code, run this Skill to automatically catch potential security risks, ensure code formatting is correct, and verify that documentation is up-to-date, preventing costly errors and security breaches.

Quick Start

Run the review-code skill to check the staged changes against coding standards and security policies.

Frequently Asked Questions about review-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan git code changes for security vulnerabilities and PII leaks?

To review git diffs for security vulnerabilities and PII leaks, the process analyzes staged changes to detect sensitive information like API keys, personal data, and internal paths. It automatically blocks commits that violate critical security rules before they reach the repository.

Can I enforce coding standards and style guidelines automatically before a commit?

Enforcing coding standards automatically before a commit requires checking staged file changes against defined style guidelines like CodingStyle.md. This verifies formatting consistency and readability, blocking commits that fail to adhere to the specified standards.

What is the best way to check for security profile drift and CenCon documentation compliance?

Checking for security profile drift and CenCon documentation compliance involves analyzing code changes against expected architecture manifests. This ensures critical documentation exists, verifies new features are documented, and blocks commits lacking required coverage.

Does the code review process work with existing git diff and bash tools?

The code review process works directly with existing git diff and bash tools to perform comprehensive analysis. It reads file changes and executes bash commands to scan for security vulnerabilities, PII leaks, and style violations without requiring external dependencies.

Why are my commits getting blocked for missing documentation on new tools?

Commits are blocked for missing documentation because the review process enforces documentation coverage for new tools and features. It checks for the existence and recency of critical manifests, ensuring all new capabilities are properly documented before integration.

How do I prevent committing sensitive internal paths to a public repository?

Preventing the commit of sensitive internal paths requires scanning code changes for personal data and internal directory structures. The review process detects and flags these sensitive paths, blocking commits that violate critical security rules.