clean-code

Installation
SKILL.md

Clean Code

Pragmatic refactoring patterns and coding standards. Not dogma — practical improvements.

Code Smells to Fix

Long functions (>30 lines)

Extract into named functions. The name documents intent better than a comment.

Deep nesting (>3 levels)

Use early returns, guard clauses, or extract helper functions.

// Bad
function process(user) {
  if (user) {
    if (user.active) {
      if (user.verified) {
        // actual logic
Related skills

More from thinkfleetai/thinkfleet-engine

Installs
3
First Seen
Mar 1, 2026