law-of-demeter - Law of Demeter Code Refactoring
Detect chained method calls and nested property access violations in code
Tags
Updated: 2026-03-20Capabilities
Typical Inputs
Typical Outputs
What this skill does
- detect chained method calls
- identify nested property access
- analyze method call chains
- generate refactor suggestions
- validate code patterns
Inputs
- source code files
- code snippets
- method definitions
Outputs
- detected violation locations
- refactored code examples
- suggested method additions
Requirements
- code parsing support
- code analysis capability
