check-code-hygiene

Analyze codebases for standardization, readability, maintenance complexity, and defensive coding issues.

1|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/brianwestphal/apple-fm --skill check-code-hygiene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-code-hygiene
Source: https://github.com/brianwestphal/apple-fm/tree/main/.claude/skills/check-code-hygiene
Command: npx skills add https://github.com/brianwestphal/apple-fm --skill check-code-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers identify maintainability, readability, standardization, and defensive coding problems in a codebase before they become long-term development risks.

Core Features & Use Cases

  • Code Standardization Review: Checks naming conventions, imports, error messages, and protocol consistency across implementation files.
  • Maintainability Analysis: Evaluates file size, function complexity, layering rules, dependencies, and duplicated patterns.
  • Defensive Coding Audit: Reviews validation, error handling, subprocess safety, and boundary protections for production reliability.

Quick Start

Use the check-code-hygiene skill to analyze the codebase for code quality issues and generate a prioritized hygiene report.

Frequently Asked Questions about check-code-hygiene

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

FAQPage Schema
How do I find code quality issues in a TypeScript or Swift codebase?

To find code quality issues, analyze the codebase for standardization, readability, maintenance complexity, and defensive coding problems. This process reviews source files, helper processes, and tests, validating naming conventions, architecture boundaries, and error handling practices to produce a prioritized hygiene report.

What is defensive coding analysis for software engineering reviews?

Defensive coding analysis is a review process that checks validation, error handling, subprocess safety, and boundary protections for production reliability. It evaluates dependency constraints and safety checks within implementation files to identify potential long-term development risks before they grow.

How do I check code maintainability and readability before a code review?

To check maintainability and readability, evaluate file size, function complexity, layering rules, dependencies, and duplicated patterns across the codebase. This analysis identifies maintainability problems and generates a prioritized hygiene report containing improvement findings for standardization and architecture boundaries.

Can I use static analysis to audit naming conventions and protocol consistency?

Yes, static analysis can audit naming conventions, imports, error messages, and protocol consistency across implementation files. The analysis validates these standardization rules alongside architecture boundaries and dependency constraints to produce prioritized findings for code review.

Does this code hygiene review process work for test files and helper processes?

Yes, code hygiene review works for test files and helper processes. The analysis applies to software engineering reviews of source files, helper processes, tests, and protocol implementations, evaluating error handling practices and safety checks to generate a prioritized improvement report.

What is the best way to identify long-term development risks in a codebase?

The best way to identify long-term development risks is to analyze the codebase for maintainability, readability, standardization, and defensive coding problems. This approach validates architecture boundaries, dependency constraints, and error handling practices to produce a prioritized hygiene report.