Skip to content
Back to skills

Thermo Nuclear Code Quality Review

ASecurity

Use when Run an extremely strict maintainability review for abstraction quality, giant files, spaghetti-condition growth, and architectural debt.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentstypescriptbashcode-reviewdatabase

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add Harmitx7/tribunal-kit --skill thermo-nuclear-code-quality-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Thermo Nuclear Code Quality Review?

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

Security grade badge for Thermo Nuclear Code Quality Review
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/harmitx7-thermo-nuclear-code-quality-review-tribunal-kit/badge)](https://www.skillsdirectory.com/skills/harmitx7-thermo-nuclear-code-quality-review-tribunal-kit)

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
---
name: thermo-nuclear-code-quality-review
description: "Use when Run an extremely strict maintainability review for abstraction quality, giant files, spaghetti-condition growth, and architectural debt."
version: 5.0.0
last-updated: 2026-09-13
skills:
  - clean-code
  - codebase-design
  - code-review-checklist
tools: Read, Grep, Glob, Bash, Edit, Write
scripts-binding:
  - .agent/scripts/lint_runner.js
  - .agent/scripts/verify_all.js
---

# Thermo-Nuclear Code Quality Review β€” Zero-Tolerance Maintainability Audit

---

## πŸ› οΈ Technical Architecture & Reference Recipes

---

---

## 5 Zero-Tolerance Audit Rules

### 1. File Size Hard Limit (Max 300 Lines)

- Flag ANY single file exceeding 300 lines of code. Demand decomposition into modular helper components or sub-packages.

### 2. Cyclomatic Complexity & Nested Conditionals (Max 3 Levels)

- Flag any function with nested conditionals deeper than 3 levels (`if -> if -> if -> for`). Require early guard clause returns.

```typescript
// ❌ REJECTED: Deep nested spaghetti
function processOrder(order: Order) {
  if (order) {
    if (order.isValid) {
      if (order.items.length > 0) {
        // Business logic hidden 4 levels deep
      }
    }
  }
}

// βœ… APPROVED: Early guard returns
function processOrder(order: Order) {
  if (!order || !order.isValid) return;
  if (order.items.length === 0) return;
  // Business logic at top indentation level
}
```

### 3. Magic Values & String Literals

- Hardcoded status strings (`"PENDING_APPROVAL_V2"`) or raw numbers (`86400000`) outside central `const` or `enum` declarations trigger immediate failure.

### 4. Direct Dependency Coupling

- Modules importing concrete database models or vendor SDKs directly inside domain business logic instead of interface adapters are rejected.

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.

Comments

Loading comments…