ai-coding-discipline
CommunityEnforce unstoppable coding discipline.
Authorluoling8192
Version1.0.0
Installs0
System Documentation
What problem does it solve?
These mandatory rules codify best practices for coding tasks and prevent common AI-generated code anti-patterns by ensuring fail-fast behavior, proper error propagation, and disciplined debugging workflows.
Core Features & Use Cases
- Enforces no silent fallbacks (avoid masking missing data)
- Prohibits catch-all try/catch in business logic, promotes boundary-level error handling
- Ensures tests fail when core logic breaks, promoting meaningful assertions
- Discourages hardcoded lookup tables in favor of real logic
- Encourages TDD and retention of debug logs until the fix is verified
- Provides a clear, repeatable checklist for code changes across writing, editing, reviewing, and debugging
Quick Start
Apply these rules to a code change by outlining how you would avoid silent fallbacks, preserve error propagation, and verify behavior with failure-focused tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ai-coding-discipline Download link: https://github.com/luoling8192/ai-coding-discipline-skill/archive/main.zip#ai-coding-discipline Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.