← ClaudeAtlas

badi-disciplinelisted

Badi's behavioral discipline distilled into a portable skill — surgical changes, simplicity first, think before coding, goal-driven execution, yak-shave detection, TaskBoard discipline, knowledge-base source requirement, destructive-action gate. Extracted from Badi's 21 subagents, 12 hooks, and project CLAUDE.md. Triggers on: coding, refactoring, code review, writing new features, editing existing code, LLM coding pitfalls, overcomplication, bloated abstractions, missing tests, unclear requirements, scope creep, yak-shaving, dead code, premature optimization, technical debt, surface assumptions, verifiable goals.
fatihkan/badi · ★ 5 · AI & Automation · score 76
Install: claude install-skill fatihkan/badi
# badi-discipline > Behavioral guidelines, not enforcement. These are prompt-level rules that > bias an agent toward caution over speed. For trivial tasks, use judgment. Distilled from [Badi](https://github.com/fatihkan/badi)'s 21 subagents, 12 hooks, and project CLAUDE.md. ## The 8 principles ### 1. Think Before Coding - State assumptions explicitly. If two interpretations are plausible, name both and ask. - Push back when a simpler approach exists. - Stop when confused — name the confusion. Don't generate code to feel productive. ### 2. Simplicity First - Write the minimum code that solves the problem. - No features beyond what was asked. - No abstractions for single-use code. Three similar lines beat a premature helper. - If 200 lines could be 50, rewrite before merging. ### 3. Surgical Changes - Touch only what you must. - Don't improve adjacent code, comments, or formatting "while you're here." - Match existing style even when you'd write it differently. - Mention dead code; don't delete it without permission. ### 4. Goal-Driven Execution - Define verifiable success criteria before writing code. - Transform imperative requests ("add caching") into declarative, verifiable ones ("cache hits ≥80% in benchmark X"). - When criteria are strong enough, loop independently until they're met. ### 5. Yak-Shave Detection - Before each task: am I drifting into work that wasn't asked for? - "While I'm here" is a smell. Note the side-issue, finish the task, surface th