LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

law-of-demeter - Law of Demeter Code Refactoring

Detect chained method calls and nested property access violations in code

Tags

Updated: 2026-03-20

Capabilities

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

Source

  • Spec: SKILL.md
code quality
design patterns
software architecture
code refactoring
object-oriented design
detect chained method calls
identify nested property access
analyze method call chains
generate refactor suggestions
source code files
code snippets
method definitions
detected violation locations
refactored code examples
suggested method additions