code-review

Analyze C and C++ files for NASA Power of 10, SOLID, and STAR compliance.

Updated Aug 23, 2025
One-click install
npx skills add https://github.com/Locked-Inc/STAR --skill code-review-locked-inc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/Locked-Inc/STAR/tree/main/.claude/skills/code-review
Command: npx skills add https://github.com/Locked-Inc/STAR --skill code-review-locked-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of reviewing code for adherence to critical quality standards, including NASA Power of 10 rules, SOLID principles, and project-specific coding styles, thereby reducing manual review time and improving overall code integrity.

Core Features & Use Cases

  • Automated Compliance Checks: Verifies code against established safety and design principles.
  • Style and Convention Enforcement: Identifies deviations from NASA Power of 10, SOLID, and STAR coding standards.
  • Test Coverage Assessment: Checks for the presence of unit and integration tests.
  • Use Case: A development team can use this Skill to automatically scan a new feature branch before merging, ensuring it meets all required quality gates and reducing the burden on senior engineers for routine checks.

Quick Start

Review the code in star-rx72n-firmware/lib/rx_motor/ for compliance with NASA Power of 10 rules.

Frequently Asked Questions about code-review

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

FAQPage Schema
How do I automate C and C++ code review for NASA Power of 10 compliance?

Automated code review for NASA Power of 10 compliance is performed by analyzing C and C++ source files within specified directories to identify control flow and memory management violations. The tool generates a structured markdown report detailing findings, severity, and remediation recommendations.

What coding standards and design principles are checked during static analysis?

Static analysis checks code against NASA Power of 10 rules, SOLID principles, and STAR coding standards. It identifies deviations related to control flow, memory management, style, and design patterns, while also assessing the presence of unit and integration tests.

Can I scan a specific project directory for SOLID principles and style violations?

Yes, you can scan a specific project directory for SOLID principles and style violations by specifying the target path during the review request. The analysis processes the C and C++ source files within that directory and outputs a structured markdown compliance report.

Does this static analysis tool check for unit and integration test coverage?

Yes, the static analysis tool checks for the presence of unit and integration tests as part of its compliance assessment. It evaluates the codebase against NASA Power of 10, SOLID, and STAR standards to ensure required test coverage is implemented.

What is the best way to enforce coding standards before merging a new feature branch?

The best way to enforce coding standards before merging is to run an automated compliance scan on the feature branch. This verifies adherence to NASA Power of 10 and SOLID principles, reducing manual review time and generating a markdown report of severity findings.