Architecture

From dean0x/devflow · View interactive version

Architecture is an AI agent skill from the GitHub repository dean0x/devflow. Use when reviewing code for SOLID or layering issues.

How to use this skill

Skill file

Architecture Patterns

Detection patterns for architecture and design review.

Iron Law

Separation of concerns is non-negotiable.

Every module has one reason to change. Every layer has clear boundaries. Every dependency

points in one direction. Decompose by information hiding, not by task (Parnas, 1972).

Violations compound into unmaintainable systems.

SOLID Violations

Coupling Issues

Layering Violations

Dependency Rule (Clean Architecture): source dependencies point inward only.

Modularity Issues

Severity Guidelines

| Severity | Examples |

|----------|----------|

| CRITICAL | Circular dependencies, domain depends on infrastructure, god class 1000+ lines |

| HIGH | SOLID violations in core logic, tight coupling between services, leaky abstractions |

| MEDIUM | Dependencies not injected, minor layering violations, missing interfaces |

| LOW | Naming issues, minor organization, missing architecture docs |

Extended References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.