sfermanelli-clean-code

Community

Clean code that reads clearly and lasts.

Authorsebafermanelli
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Messy, inconsistent code makes maintenance costly and onboarding slow. This Skill guides you to improve readability and maintainability without altering behavior.

Core Features & Use Cases

  • Meaningful Names: enforce intention-revealing identifiers and avoid misleading names.
  • Functions: keep functions short, do one thing, and apply guard clauses to flatten logic.
  • TypeScript-Specific Clean Patterns: use readonly where appropriate, narrow types, and prefer discriminated unions.
  • Comments: explain why, not what, and remove redundant commentary.
  • Formatting: organize imports, structure code for the "newspaper" flow, and align sections.
  • The Law of Demeter: minimize chained access and encourage telling objects to do the work.

Quick Start

Run a guided clean-up pass on a TypeScript file to improve naming, structure, and comments while preserving behavior.

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: sfermanelli-clean-code
Download link: https://github.com/sebafermanelli/sfermanelli-skills/archive/main.zip#sfermanelli-clean-code

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.