搜索

PythonReactSEOPDF
GitHub Skill

reviewing-readability

Code readability review based on "The Art of Readable Code" and Miller's Law (7±2). Use when reviewing code clarity, improving naming, or when user mentions 可読性, 理解しやすい, わかりやすい, 明確, 命名, 変数名, 関数名, ネスト, 深いネスト, 関数設計, コメント, 複雑, 難しい, 難読, Miller's Law, ミラーの法則, 認知負荷, AI-generated, 過剰設計.

thkt☆ 3 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Readability Review

Detection

ID Pattern Fix
RD1 processData() (vague) validateUserEmail()
RD1 Misleading identifiers Names reveal intent
RD2 Nesting > 3 levels Guard clauses, extract functions
RD2 Function > 30 lines Decompose
RD3 Comment: // increment i Delete (self-evident)
RD3 Comment: // TODO: fix later Create issue or fix now
RD4 Interface for single impl Remove until 2nd impl
RD4 Class for stateless logic Pure function
RD5 > 5 function parameters Config object or decompose

Thresholds

Metric Recommended Maximum
Function lines ≤30 50
Nesting depth ≤3 4
Function arguments ≤3 5

References

Topic File
Control Flow references/control-flow.md
Comments references/comments-clarity.md
AI Antipatterns references/ai-antipatterns.md
Naming references/naming.md

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!