Skip to main content
Run any Skill in Manus
with one click

flatten

Stars4
Forks0
UpdatedMay 15, 2026 at 12:35

Apply flat code style: no more than 2 indentation levels per function, early returns, extracted sub-functions. Use when the user says "flatten", "too nested", "simplify nesting", "early returns", or asks to reduce indentation. Also apply proactively when writing new functions or reviewing code — flat style is the default, not an afterthought.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly