·law-of-demeter-swift
</>

law-of-demeter-swift

Use when reviewing, generating, or refactoring Swift code to aggressively detect Law of Demeter violations (deep reach-through chains, leaked structure, async traversal chains) and propose Swift-idiomatic owner-level APIs.

23Installs·1Trend·@antgly

Installation

$npx skills add https://github.com/antgly/law-of-demeter-swift-skill --skill law-of-demeter-swift

How to Install law-of-demeter-swift

Quickly install law-of-demeter-swift AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/antgly/law-of-demeter-swift-skill --skill law-of-demeter-swift
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: antgly/law-of-demeter-swift-skill.

SKILL.md

View raw

Enforce Law of Demeter (LoD) in Swift code with a strict-by-default review posture:

Core rule: Ask for what you need. Do not traverse internal structure to reach strangers.

In this strict version, assume a likely LoD violation when all of the following are true:

Use when reviewing, generating, or refactoring Swift code to aggressively detect Law of Demeter violations (deep reach-through chains, leaked structure, async traversal chains) and propose Swift-idiomatic owner-level APIs. Source: antgly/law-of-demeter-swift-skill.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/antgly/law-of-demeter-swift-skill --skill law-of-demeter-swift
Category
</>Dev Tools
Verified
First Seen
2026-03-04
Updated
2026-03-10

Browse more skills from antgly/law-of-demeter-swift-skill

Quick answers

What is law-of-demeter-swift?

Use when reviewing, generating, or refactoring Swift code to aggressively detect Law of Demeter violations (deep reach-through chains, leaked structure, async traversal chains) and propose Swift-idiomatic owner-level APIs. Source: antgly/law-of-demeter-swift-skill.

How do I install law-of-demeter-swift?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/antgly/law-of-demeter-swift-skill --skill law-of-demeter-swift Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/antgly/law-of-demeter-swift-skill

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-03-04

Related Skills

None