badi-discipline

Codify behavioral guidelines for code agents to enforce cautious, goal-driven execution.

7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/fatihkan/badi --skill badi-discipline
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: badi-discipline
Source: https://github.com/fatihkan/badi/tree/main/_bootstrap/badi-skills/skills/badi-discipline
Command: npx skills add https://github.com/fatihkan/badi --skill badi-discipline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Behavioral guidelines, distilled from Badi's 21 subagents, 12 hooks, and CLAUDE.md, to guide AI coding agents toward cautious, goal-driven execution and minimize scope creep by enforcing explicit source citations and safe practices.

Core Features & Use Cases

  • Eight guiding principles: Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution, Yak-Shave Detection, TaskBoard Discipline, Knowledge-Base Source Requirement, Destructive Action Gate.
  • Reference materials to enforce discipline: task-discipline.md, destructive-actions.md, yak-shave-patterns.md, knowledge-base-sources.md.
  • Use Case: Apply a structured task discipline to coding, refactoring, and code reviews to reduce wasted effort, improve traceability, and surface side-issues separately.

Quick Start

Follow the eight principles before starting a coding task to ensure cautious, goal-driven execution.

Frequently Asked Questions about badi-discipline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent AI coding agents from scope creep during refactoring?▼

Yak-shave detection in coding tasks is an approach that identifies and stops unnecessary prerequisite chains before they derail your main objective. It enforces task discipline by surfacing side-issues separately instead of allowing scope creep.

What are the best guidelines for safe AI code generation in multi-file projects?▼

To enforce task discipline in AI code reviews, follow structured principles like task-board discipline and simplicity first. This reduces wasted effort, improves traceability, and ensures the agent surfaces side-issues separately rather than expanding scope.

Does this coding discipline framework require explicit source citations?▼

A destructive action gate in coding is a mandatory safety check that prevents AI agents from executing harmful actions without explicit approval. It enforces cautious execution by requiring safety checks before destructive changes are applied.

When do I need a knowledge-base source requirement for code agents?▼

To apply structured task discipline to AI coding, start by following eight guiding principles including think before coding, simplicity first, and surgical changes. These principles enforce cautious, goal-driven execution before starting any feature development or refactoring task.