Not in the top 1,000 by GitHub stars
luoling8192/ai-coding-principles
A collection of Claude Code skills that enforce coding discipline and prevent common AI coding anti-patterns.
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
ai-coding-discipline/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → 27db986fd279
No earlier version was observed for comparison.
ddia-principles/SKILL.md
Week of Nov 2, 2026 · Line counts unavailable
Before Not checked yet → After Instructions only
First observation → 27db986fd279
No earlier version was observed for comparison.
Heat
1.7- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- ai-coding-discipline
ai-coding-discipline - ddia-principles
ddia-principles
How it works
ai-coding-discipline
When your agent uses it
Mandatory coding discipline rules that prevent common AI coding anti-patterns. MUST be loaded for ALL code writing, editing, reviewing, bug fixing, and testing tasks. Trigger on: writing code, editing code, fixing bugs, writing tests, implementing features, refactoring, code review, creating functions, adding error handling, debugging. This skill enforces fail-fast principles, proper error propagation, meaningful tests, and disciplined debugging workflows. Always active when Claude writes or modifies code.
What it loads into context
Frontmatter
111 tokensAlways available to the agent
SKILL.md
1,761 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Rule 1: No Silent Fallbacks
- Rule 2: No Catch-All try/catch in Business Logic
- Rule 3: Tests Must Fail When Code Breaks
- Rule 4: No Hardcoded Lookup-Table Implementations
- Rule 5: Red-Green Testing (TDD Order)
- Rule 6: Never Remove Debug Logs During a Fix
- Quick Reference: Self-Check Before Submitting Code
Files
SKILL.mdcore7,445 bytes
Read SKILL.md
# AI Coding Discipline
> These rules override default AI coding tendencies. Follow them in ALL code you write or modify.
---
## Rule 1: No Silent Fallbacks
**Never use fallback values to mask data that should not be missing.**
```typescript
// FORBIDDEN — hides upstream bugs
const price = product?.price ?? 0;
const userName = user?.name || "Unknown";View the complete source on GitHubddia-principles
When your agent uses it
Designing Data-Intensive Applications (DDIA) distilled reference guide by Martin Kleppmann. MUST be loaded when: designing database schemas, choosing storage engines, implementing replication or partitioning, handling distributed transactions, building batch/stream processing pipelines, choosing consistency models, implementing consensus, designing data flow architectures, evaluating trade-offs between availability and consistency, encoding/serialization decisions, data modeling (relational vs document vs graph), building fault-tolerant systems, or any system design and architecture discussion involving data-intensive applications. Trigger on: database design, replication, partitioning, sharding, transactions, isolation levels, consistency, consensus, CAP theorem, batch processing, stream processing, MapReduce, Kafka, event sourcing, CDC, OLTP, OLAP, B-tree, LSM-tree, data warehouse, schema evolution, encoding formats, distributed systems, fault tolerance, leader election, quorum.
What it loads into context
Frontmatter
202 tokensAlways available to the agent
SKILL.md
4,138 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Part I: Foundations of Data Systems
- Part II: Distributed Data
- Part III: Derived Data
- Decision Framework: Quick Reference
Files
SKILL.mdcore18,709 bytesSKILL.mdcore18,709 bytesSKILL.mdcore18,709 bytesSKILL.mdcore18,709 bytesSKILL.mdcore18,709 bytesSKILL.mdcore18,709 bytesSKILL.mdcore18,709 bytes
Read SKILL.md
# Designing Data-Intensive Applications — Distilled Guide
> Source: Martin Kleppmann, *Designing Data-Intensive Applications*
> Central thesis: **Data is the core challenge of modern applications — not compute.**
---
## Part I: Foundations of Data Systems
### Chapter 1: Reliability, Scalability, Maintainability
#### Three Pillars
| Pillar | Definition | Key Metric |View the complete source on GitHubSkills included
- ai-coding-discipline
- ddia-principles
Repository facts
- License
- MIT
- Created
- Mar 22, 2026
- Last pushed
- Mar 26, 2026
- Forks
- 11
- Open issues
- 0
- Project activity
- Slowing
Before you install
Instructions onlyAutomated signals, not a guarantee
Checked Nov 6, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 6 notes
ddia-principles/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedddia-principles/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedddia-principles/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedddia-principles/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedddia-principles/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedddia-principles/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- No network access
- No hidden or obfuscated text
- No instruction overrides
- No executable scripts
- No access to secrets
- No requests to vote in Hot
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
No combined signals at this commit.
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Compatible | Standard SKILL.md ai-coding-discipline/SKILL.md | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md ai-coding-discipline/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md ai-coding-discipline/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md ai-coding-discipline/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md ai-coding-discipline/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md ai-coding-discipline/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.