Skip to content
Back to search

ai-coding-principles

A collection of Claude Code skills that enforce coding discipline and prevent common AI coding anti-patterns.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/luoling8192--ai-coding-principles/badge.svg)](/listings/luoling8192--ai-coding-principles)

HTML

<a href="/listings/luoling8192--ai-coding-principles"><img src="/api/listings/luoling8192--ai-coding-principles/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

npx skills add luoling8192/ai-coding-principles

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 40 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # AI Coding Principles
  2. A collection of Claude Code skills for coding discipline and system design knowledge.
  3. [中文文档](./README.zh-CN.md)
  4. ## Skills
  5. ### [ai-coding-discipline](./ai-coding-discipline/SKILL.md)
  6. Mandatory rules loaded during all code writing tasks that prevent common AI coding anti-patterns.
  7. | # | Rule | Summary |
  8. |---|------|---------|
  9. | 1 | No Silent Fallbacks | Don't use `??` / `||` to mask values that should never be missing |
  10. | 2 | No Catch-All try/catch | Business logic lets errors propagate; catch only at API boundaries |
  11. | 3 | Tests Must Fail When Code Breaks | Verify specific outcomes, not just existence |
  12. | 4 | No Hardcoded Lookup Tables | Implement real logic, not test-case-fitting shims |
  13. | 5 | Red-Green Testing (TDD) | Write failing test first, then fix |
  14. | 6 | Don't Remove Debug Logs During Fix | Logs stay until human confirms the fix works |
  15. ### [ddia-principles](./ddia-principles/SKILL.md)
  16. Distilled reference guide based on Martin Kleppmann's *Designing Data-Intensive Applications*. Loaded when designing database schemas, choosing storage engines, implementing replication/partitioning, handling distributed transactions, or building batch/stream processing pipelines.
  17. | Part | Topics |
  18. |------|--------|
  19. | I: Foundations | Reliability, Scalability, Maintainability; Data Models & Query Languages; Storage & Retrieval (B-tree vs LSM-tree, OLTP vs OLAP); Encoding & Evolution |
  20. | II: Distributed Data | Replication (single/multi-leader, leaderless); Partitioning (key-range, hash, compound); Transactions & Isolation Levels; Distributed System Challenges; Consistency & Consensus |
  21. | III: Derived Data | Batch Processing (MapReduce, Spark, Flink); Stream Processing (Kafka, CDC, Event Sourcing); Data Integration Patterns |
  22. ## Installation
  23. ```bash
  24. npx skills add luoling8192/ai-coding-principles
  25. ```
  26. ## License
  27. [MIT](./LICENSE)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.