スキル一覧に戻る
thkt

applying-code-principles

by thkt

3🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: applying-code-principles description: > Fundamental software principles - SOLID, DRY, Occam's Razor, Miller's Law, YAGNI, Readable Code. Use when applying design principles, refactoring code, or when user mentions 原則, シンプル, 複雑, リファクタリング, 保守性, clean code, best practice. allowed-tools: [Read, Grep, Glob] user-invocable: false

Code Principles

Priority Order

PriorityPrincipleWhen to Apply
1Safety FirstSecurity, data integrity
2YAGNIDon't build what you don't need
3Occam's RazorSimplest solution
4SOLIDFor complex systems
5DRYEliminate duplication (not at cost of clarity)
6Miller's LawRespect 7±2 cognitive limit

Quick Checks

See CLAUDE.md Development Checks section (always loaded, single source of truth).

Thresholds

TargetIdealMaxLimit
Function args357
Class methods579
Conditionals357

Rules

PrincipleRule
DRYAbstract on 3rd duplication (Rule of Three)
SOLIDInterface only when 2nd implementation appears
YAGNIBuild only if problem exists now
ReadableNew team member understands in < 1 minute

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です