Code Perfectionist

Enforce pre-commit scans, static analysis, and explicit justifications before commits.

Updated Aug 11, 2025
One-click install
npx skills add https://github.com/NinaVerde/ninaverde_app --skill code-perfectionist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Perfectionist
Source: https://github.com/NinaVerde/ninaverde_app/tree/main/.agent/skills/code-perfectionist
Command: npx skills add https://github.com/NinaVerde/ninaverde_app --skill code-perfectionist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces a zero-defect code quality standard before commits, codifying a rigorous workflow that prevents defects from entering the codebase.

Core Features & Use Cases

  • Pre-commit integrity checks: Detect conflicts and require static analysis on touched files before committing.
  • Explicit justifications: Prohibits silent ignores; requires rationale for any lint or analysis suppression.
  • Self-check discipline: A "Double-Check" loop ensures changes are re-verified for cleanliness, correctness, and import consistency.

Quick Start

Run the Code Perfectionist protocol on your latest commit by performing pre-commit scans, static analysis, and the double-check loop before pushing changes.

Frequently Asked Questions about Code Perfectionist

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

FAQPage Schema
How do I enforce zero-defect code quality before a git commit?

To enforce zero-defect code quality before committing, run pre-commit scans and static analysis on touched files, then perform a double-check loop to verify cleanliness, correctness, and import consistency. This prevents defects from entering your codebase.

What is a pre-commit static analysis check and why do I need it?

A pre-commit static analysis check scans your modified files to enforce type safety and null safety rules before changes are pushed. You need it to detect conflicts early and satisfy deterministic verification requirements, ensuring no defects enter the codebase.

How do I handle lint or static analysis suppression without silent ignores?

To handle lint suppression without silent ignores, you must provide explicit justifications and rationale for any analysis suppression or quick fix. This prohibits silent ignores and codifies a rigorous workflow that maintains codebase integrity.

Can I use pre-commit type safety checks on any codebase?

Yes, you can apply pre-commit type safety checks and conflict scanning across any codebase. The deterministic requirements guide development workflows universally, ensuring immediate verification and cleanliness before you push changes.

What's the best way to verify code changes for correctness before pushing?

The best way to verify code changes before pushing is a double-check loop that re-verifies modifications for cleanliness, correctness, and import consistency. This self-check discipline ensures zero-defect standards are met immediately before commit.

Why does my pre-commit workflow allow silent ignores and how do I stop it?

Your pre-commit workflow allows silent ignores if it lacks codified rules requiring explicit justifications. To stop it, enforce a zero-defect standard that prohibits silent ignores and demands rationale for any lint or analysis suppression.