Back to list
tianjianjiang

smith-design

by tianjianjiang

AGENTS.md as dotfiles: Personal coding standards that follow you everywhere, Mr. Anderson.

0🍴 0📅 Jan 10, 2026

SKILL.md


name: smith-design description: SOLID principles and architecture design patterns. Use when starting new features, refactoring code, conducting architecture reviews, or applying object-oriented design principles.

Design Principles

  • Scope: SOLID principles for OOP/architecture design
  • Load if: Starting new feature, refactoring, architecture review
  • Prerequisites: @smith-principles/SKILL.md (fundamental principles: DRY, KISS, YAGNI, MECE)

SOLID Principles

  • Single Responsibility: One reason to change per class/module
  • Open/Closed: Open for extension, closed for modification
  • Liskov Substitution: Subtypes must be substitutable for base types
  • Interface Segregation: Many specific interfaces over one general
  • Dependency Inversion: Depend on abstractions, not concretions

ACTION (Recency Zone)

When designing or reviewing architecture:

  1. Apply Single Responsibility - each module has one reason to change
  2. Design for extension without modification (Open/Closed)
  3. Ensure subtypes are substitutable (Liskov)
  4. Prefer small, focused interfaces (Interface Segregation)
  5. Depend on abstractions, not implementations (Dependency Inversion)

Claude Code Plugin Integration

When pr-review-toolkit is available:

  • type-design-analyzer agent: Rates type design on 4 dimensions (1-10 each)
    • Encapsulation
    • Invariant expression
    • Usefulness
    • Enforcement
  • Trigger: "Review the [TypeName] type design" or use Task tool
  • @smith-principles/SKILL.md - Fundamental principles (DRY, KISS, YAGNI)
  • @smith-standards/SKILL.md - Universal code standards
  • @smith-dev/SKILL.md - Development workflow
  • @smith-analysis/SKILL.md - Problem decomposition before design

Score

Total Score

45/100

Based on repository quality metrics

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
言語

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

0/5
タグ

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

0/5

Reviews

💬

Reviews coming soon