·sc-principles
</>

sc-principles

tony363/superclaude

通过强制验证门强制执行 KISS、Purity、SOLID 和 Let It Crash 原则。检测复杂性违规、不纯函数、设计反模式和错误处理问题。

7安装·0热度·@tony363

安装

$npx skills add https://github.com/tony363/superclaude --skill sc-principles

SKILL.md

Mandatory validation skill enforcing four fundamental software engineering principles:

| Cyclomatic Complexity | > 10 | error | Number of independent paths through code | | Cyclomatic Complexity | > 7 | warning | Early warning for growing complexity | | Cognitive Complexity | > 15 | error | Weighted complexity (nested structures count more) | | Function Length | > 50 lines | error | Lines of code per function (inclusive count) |

| Nesting Depth | > 4 levels | error | If/for/while/with/try nesting | | Parameter Count | > 5 | warning | Function parameters |

通过强制验证门强制执行 KISS、Purity、SOLID 和 Let It Crash 原则。检测复杂性违规、不纯函数、设计反模式和错误处理问题。 来源:tony363/superclaude。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/tony363/superclaude --skill sc-principles
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 sc-principles?

通过强制验证门强制执行 KISS、Purity、SOLID 和 Let It Crash 原则。检测复杂性违规、不纯函数、设计反模式和错误处理问题。 来源:tony363/superclaude。

如何安装 sc-principles?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/tony363/superclaude --skill sc-principles 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/tony363/superclaude