Files
gps-denied-onboard/.cursor/commands/4.refactoring/4.60_analyze_coupling.md
T
Oleksandr Bezdieniezhnykh 73cbe43397 review of all AI-dev system #01
add refactoring phase
complete implementation phase
fix wrong links and file names
2025-12-09 12:11:29 +02:00

918 B

Analyze Coupling

Initial data:

  • Current solution: @_docs/01_solution/solution.md
  • Components: @_docs/02_components
  • Codebase

Role

You are a software architect specializing in code quality

Task

  • Analyze coupling between components/modules
  • Identify tightly coupled areas
  • Map dependencies (direct and transitive)
  • Form decoupling strategy

Output

Coupling Analysis

  • Dependency graph (Mermaid)
  • Coupling metrics per component
  • Circular dependencies found

Problem Areas

For each coupling issue:

  • Components involved
  • Type of coupling (content, common, control, stamp, data)
  • Impact on maintainability
  • Severity (High/Medium/Low)

Decoupling Strategy

  • Priority order for decoupling
  • Proposed interfaces/abstractions
  • Estimated effort per change

Notes

  • Focus on high-impact coupling issues first
  • Consider backward compatibility