Skip to content

/clean-code

Apply clean code principles when generating or modifying implementation code. Enforces function focus, naming clarity, complexity management, error handling, and self-documenting style. Use during code generation, refactoring, or when the user mentions 'clean code', 'code

shell
$ npx -y skills add techygarg/lattice --skill clean-code --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/clean-code
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Apply clean code principles when generating or modifying implementation code. Enforces function focus, naming clarity, complexity management, error handling, and self-documenting style. Use during code generation, refactoring, or when the user mentions 'clean code', 'code
Ships withlattice

Composable AI skills that teach assistants structured thinking — design-first, context-aware, and architecture-guided.

Get the whole plugin, auto-invoked
Stats
170
Stars
0
Views
12
Forks
Active
Maintenance
Shell
Language
MIT
License
1mo ago
Last commit
5mo ago
Created

Repo: techygarg/lattice

Other skills on lattice.