agentic_architecture
Installation
SKILL.md
Agentic Architecture Protocol
1. Think Before You Code
Before implementing any feature that spans multiple files:
- Analyze Data Flow: Where does data come from? Where does it go?
- Define Interfaces: creating
types/*.tsis often the best first step. - Check Boundaries: Ensure API logic stays in
api/, UI incomponents/, and business logic inservices/orhooks/.
2. Scalability & Performance Checks
- Database:
- Are we fetching 1000 items to filter 10? (Use DB filters instead).
- Is RLS (Row Level Security) compatible with this query?
- Frontend:
- Are we causing unnecessary re-renders? (Use
React.memo,useCallbackappropriately). - Is this component becoming a "God Component"? (Break it down).
- Are we causing unnecessary re-renders? (Use
Related skills
More from cityfish91159/maihouses
code-review-excellence
程式碼審查最佳實踐指南。當進行 PR review、代碼審查或用戶提到「review」、「審查」時使用。
19nasa_typescript_safety
Adapts NASA's "Power of 10" safety rules for high-reliability TypeScript code.
18frontend_mastery
Advanced React patterns, performance optimization, and state management rules.
18code-simplifier
|
18type-checker
執行 TypeScript 類型檢查並修復類型錯誤。當遇到類型錯誤、需要類型定義、或用戶提到「type」、「類型」時使用。
18rigorous_testing
|
18