master-code-review

Detect project language and framework, then execute security-aware code reviews.

1|Updated Mar 11, 2025
One-click install
npx skills add https://github.com/danielstewart77/hive_mind --skill master-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: master-code-review
Source: https://github.com/danielstewart77/hive_mind/tree/main/specs/skills/master-code-review
Command: npx skills add https://github.com/danielstewart77/hive_mind --skill master-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates comprehensive code reviews, ensuring both quality and security by integrating standard code quality checks with policy-driven security analysis tailored to the project's language and framework.

Core Features & Use Cases

  • Automated Language/Framework Detection: Identifies project type (Python, Angular, Dotnet, etc.) to apply relevant security checks.
  • Integrated Security Analysis: Combines general code review with specific security vulnerability checks based on predefined specs.
  • Structured Reporting: Generates a detailed CODE-REVIEW.md file enhanced with a dedicated security findings section.
  • Use Case: Before merging a pull request for a new FastAPI feature, use this Skill to perform a thorough review that checks for common vulnerabilities like injection flaws, secrets exposure, and improper authentication, alongside general code quality.

Quick Start

Use the master-code-review skill to review all documents in the current directory.

Frequently Asked Questions about master-code-review

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

FAQPage Schema
How do I automate a security code review for a Python FastAPI project?

Security code review for a Python FastAPI project is automated by detecting the framework, loading specific security specifications, and executing a structured analysis. It combines general code quality checks with policy-driven vulnerability analysis to generate a CODE-REVIEW.md file.

What is policy-driven vulnerability analysis in a code review?

Policy-driven vulnerability analysis in a code review applies predefined security specifications to identify injection flaws, secrets exposure, and improper authentication. It integrates these targeted security checks with standard code quality assessments during the review process.

Does this code review tool support frameworks other than Python and FastAPI?

This code review tool currently supports Python, FastAPI, and LLM or agentic patterns, with provisions for future framework integrations. It detects the project language and framework automatically to apply the relevant security specifications.

How do I generate a structured code review report with security findings?

To generate a structured code review report with security findings, run the review process in your project directory. It outputs a detailed CODE-REVIEW.md file that combines general code quality assessment results with a dedicated section for security vulnerabilities.

What is the best way to check for secrets exposure and authentication flaws before a pull request?

The best way to check for secrets exposure and authentication flaws before a pull request is to run an automated security-aware code review. It applies specific security specifications to detect common vulnerabilities alongside general code quality checks.

Can I use this for DevOps vulnerability analysis on existing codebases?

Yes, you can use this for DevOps vulnerability analysis by running it in the current directory of your existing codebase. It detects the project type, applies security specs, and outputs findings to a CODE-REVIEW.md file for integration into your workflow.