a11y-pass
Catch the accessibility failures that ship in almost every AI-built UI. Use after building any interactive component.
Flatten deeply nested conditionals into readable, early-return code. Use on any function with 3+ levels of indentation.
$ npx -y skills add Archive228/loopkit --skill reduce-nesting --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/reduce-nestingContext preview
The summary Claude sees to decide when to auto-load this skill.
Flatten deeply nested conditionals into readable, early-return code. Use on any function with 3+ levels of indentation.
name: reduce-nesting description: Flatten deeply nested conditionals into readable, early-return code. Use on any function with 3+ levels of indentation. when_to_use: arrow-shaped code, 3+ nested ifs, a function that's hard to follow
Deep nesting hides bugs in the branches you didn't read.
Target: no function deeper than 2-3 levels. If you still need more, the function is doing too much — split it.
33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).
Catch the accessibility failures that ship in almost every AI-built UI. Use after building any interactive component.
Before compaction Loopkit extracts decisions into claude-decisions.json (machine-readable). Read it alongside claude-progress.txt…
Review a diff against the goal spec assuming the code is BROKEN. The reviewer
Verify that an endpoint checks ownership, not just authentication. Use on any handler that reads or mutates user data.
Find the exact commit that introduced a bug. Use when something worked before and broke, and you don't know which change did it.
Before picking new work, smoke-test the last "completed" feature. If it's broken, revert and re-open it before touching anything…