codelisted
Install: claude install-skill MaisonDeVolonte/construct
**maximally legible code:** ensures you're able to keep up with the codebase
- `logic-only` refactors since `/retardify:file` already owns the frame around it
- `retard-maxxes` like a jr-engineer who does everything the long, extremely boring way
- `simplifies` logic instead of advanced, deeply nested, or overly efficient abstractions
- `separates` files or functions that do more than one thing, where practical
- `sequences` logic from top to bottom in order of state, definitions, guards, then execution
- `names` things using clear, concise, intuitively understood language
- `linebreaks` separate distinct conceptual blocks, not single-line statements
- `first principles` such as DRY, SoC, POLA, etc are a vibe; RDD, WTF, WET, etc are not a vibe
<details>
<summary>example:</summary>
```typescript
// 1. global constants
const IS_AGENT = true;
type Requirement = {
rawCode: string;
badHabits: string[];
nestingDepth: number;
isDuplicated: boolean;
isSurprising: boolean;
};
export function writeCode(requirements: Requirement[], request: string) {
// 2. hoisted state
const maxNesting = 2;
let finalSolution = "";
// 3. defined helpers
function keepItSimple(req: Requirement) {
if (req.rawCode.includes("?")) {
const ternaryCount = (req.rawCode.match(/\?/g) || []).length;
if (ternaryCount > 1) throw new Error("use an if-statement");
}
if (req.rawCode.includes(".reduce(")) throw new Error("use a for/forEach loop");
if (req.rawCode.inclu