convention-kernighans-law

Community

Write simple code; debug with ease.

AuthorsunLeee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Kernighan's Law emphasizes that debugging is harder than writing code, so we should keep code simple to stay debuggable.

Core Features & Use Cases

  • Enforce the KISS principle during coding and reviews to prevent overcomplication.
  • Promote stepwise, decomposed logic that makes debugging straightforward.
  • Use case: refactor a tangled one-liner into small, descriptive functions to improve maintainability and traceability.

Quick Start

Review your codebase and replace overly clever one-liners with simple, well-named functions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convention-kernighans-law
Download link: https://github.com/sunLeee/optimization/archive/main.zip#convention-kernighans-law

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.