backend-architect
設計與審查後端架構
複雜的後端系統需要扎實的架構基礎。此技能提供六角架構、領域驅動設計、SOLID 原則與程式碼品質方面的專家指引,協助你打造可維護且可擴展的應用。
스킬 ZIP 다운로드
Claude에서 업로드
설정 → 기능 → 스킬 → 스킬 업로드로 이동
토글을 켜고 사용 시작
테스트해 보기
"backend-architect" 사용 중입니다. Review this UserService class for architecture issues
예상 결과:
- P0 - God Class detected: UserService has 15+ methods handling CRUD, email sending, and reporting
- Violation: Single Responsibility Principle - split into separate use cases
- Recommendation: Extract CreateUserUseCase, UserReportService, and move email logic to EmailGateway adapter
"backend-architect" 사용 중입니다. How should I structure a new payment module using DDD?
예상 결과:
- Create bounded context for payments with: Domain layer (Payment entity, PaymentValueObject), Application layer (PaymentUseCase), Infrastructure layer (PaymentRepository adapter)
- Define ports: IPaymentRepository, INotificationGateway in domain/port/
- Implement adapters in infrastructure/ implementing defined interfaces
"backend-architect" 사용 중입니다. What code smells exist in this file?
예상 결과:
- Feature Envy: getUserData() accesses more data from UserRepository than its own class
- Data Clumps: startDate and endDate always appear together - extract DateRange Value Object
- Primitive Obsession: Replace email strings with Email Value Object with validation
보안 감사
안전This is a documentation-only skill containing markdown files with architectural guidance. All 410 static findings are FALSE POSITIVES. The static analyzer incorrectly identifies markdown code block delimiters (triple backticks) as Ruby shell execution, and documentation text patterns as security issues. No executable code, network calls, or filesystem operations exist in this skill.
위험 요인
⚙️ 외부 명령어 (182)
🌐 네트워크 접근 (1)
품질 점수
만들 수 있는 것
設計新系統
為新的後端專案規劃六角架構與限界上下文
程式碼審查指引
檢視團隊程式碼中的架構違規與程式碼異味
重構支援
識別並修正 SOLID 違反、上帝類別等架構問題
이 프롬프트를 사용해 보세요
Analyze this codebase for architecture violations. Check if the code follows hexagonal architecture principles and identify any SOLID principle violations.
Help me refactor this God Class. What responsibilities should be extracted and how should I structure the new classes?
Design the bounded contexts and ports/adapters for a new user management feature using DDD and hexagonal architecture.
Use the clean code and testing checklists to review this code. List all issues found with file locations and severity levels.
모범 사례
- 在實作功能前先定義限界上下文
- 讓領域邏輯獨立於基礎設施關注點
- 使用埠與適配器來解耦商業規則與框架
피하기
- 在控制器或適配器中放入商業邏輯
- 在用例中直接使用具體的資料庫類別
- 建立包含多個不相關職責的大型類別