协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
common-architecture-audit【开发与工程】Audit structural debt, logic leakage, and monolithic components across Web, Mobile, and Backend codebases. Use when reviewing architecture, assessing tech debt, detecting logic in wrong layers, or identifying God classes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Identify split sources of truth by searching for redundant directory patterns.
Service.ts vs ServiceNew.ts vs ServiceV2.ts./v1, /v2 or "Refactor" folders.See implementation examples for detection scripts.
Find business logic trapped in wrong layer.
grep -rE "useEffect|useState|useMemo" components --include="*.tsx" | wc -l — if components/ hook count > 20x hooks/ folder, architecture monolithic.grep -rE "http\.|dio\.|socket\." lib/widgets --include="*.dart" | wc -l — I/O or state mutation > 5 lines in build() High Debt.grep -rE "Repository\.|Query\.|db\." src/controllers --include="*.ts" | wc -l — Controllers must only handle request parsing and response formatting.Flag massive files violating Single Responsibility Principle.
See implementation examples for monolith detection scripts.
Check for large metadata or constants impacting IDE performance and binary size.
See implementation examples for resource audit scripts.