Skip to content
coworkplugins

Claude skill

Clean Code

Clean Code is a Claude skill in the Lattice plugin. Apply clean code principles when generating or modifying implementation code.

CommunityShips in LatticeDeveloper Tools

What it does

The description in the skill's SKILL.md, which Claude reads to decide when to use it:

Apply clean code principles when generating or modifying implementation code. Enforces function focus, naming clarity, complexity management, error handling, and self-documenting style. Use when the user mentions 'clean code', 'code quality', 'coding guidelines', or 'implementation quality'. Loaded automatically by the code-generating molecules (code-forge, refactor-safely, bug-fix). This skill governs the craft of writing individual code units -- not architecture (see architecture), not security posture (see secure-coding), not test structure (see test-quality), and not refactoring workflows (see refactor-safely).

The skill's instructions (about 876 words) cover:

  • Config Resolution
  • Self-Validation Checklist
  • Active Anti-Pattern Scan
  • Ambiguity Signals

How to use it

  1. Clean Code comes inside the Lattice plugin, so you get it by installing that plugin, along with its 26 other skills. A plugin installs as one unit, with all its skills. The plugin's page has the install steps, and plugins are saved to your Claude account.
  2. Ask Claude for the task. When your request matches the skill's description, Claude loads it.
  3. To pick it yourself in Claude chat, type / or click + and choose clean-code. In Claude Code and Cowork, type:
    /lattice:clean-code

Source

Plugin
Lattice
SKILL.md
View on GitHub
Repo stars
214
Repo last pushed
Nov 14, 2026
Checked
Nov 16, 2026

More skills in Lattice