Use when code feels too tightly coupled and the user wants to know how strong the coupling is, how to loosen it, or whether a module is cohesive. Triggers on connascence, coupling vs cohesion, decouple, 'too tightly coupled', Law of Demeter, train wrecks like a.b().c(), positional vs named parameters, or a module boundary that leaks, even when the user doesn't say 'connascence' and only says 'tightly coupled'.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Analyzing Connascence?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/xonovex-analyzing-connascence)
---
name: analyzing-connascence
description: "Use when code feels too tightly coupled and the user wants to know how strong the coupling is, how to loosen it, or whether a module is cohesive. Triggers on connascence, coupling vs cohesion, decouple, 'too tightly coupled', Law of Demeter, train wrecks like a.b().c(), positional vs named parameters, or a module boundary that leaks, even when the user doesn't say 'connascence' and only says 'tightly coupled'."
---
# Connascence: a Precise Coupling Vocabulary
Grade a seam by naming its worst coupling and its strongest connascence, then weaken or localize it: "tight/loose" is unactionable.
## Essentials
- **Name the connascence, don't say "tight"** - classify the form and rate strength/locality/degree, see [references/connascence.md](references/connascence.md)
- **Two moves: weaken and localize** - rule of degree (strong→weak forms) and rule of locality (distance→weakness), see [references/connascence.md](references/connascence.md)
- **Push every seam down the coupling ladder** - content→common→control→stamp→data, worst to best, see [references/coupling-ladder.md](references/coupling-ladder.md)
- **Aim for functional cohesion** - one job per module; temporal cohesion is the package-by-layer trap, see [references/cohesion-ladder.md](references/cohesion-ladder.md)
- **Don't reach through strangers** - Law of Demeter as the call-site detector for content coupling, see [references/law-of-demeter.md](references/law-of-demeter.md)
## Gotchas
- "Tightly coupled" is not actionable: name the connascence form and the coupling rung, then you know the fix.
- Strong connascence is fine _inside_ one module; it's only a problem _across_ a boundary (rule of locality).
- Law of Demeter is a heuristic, not a law: pure data pipelines are a deliberate exception; it targets reaching through a stranger to depend on or mutate its internals.
- Coupling and cohesion trade off: splitting a module to "loosen coupling" can shred its cohesion; grade both before cutting.
## Example
```text
SEAM a billing function reaches into an Order's private `total` field
GRADE content coupling (reaches internals) + connascence of meaning across a boundary
FIX Order exposes a neutral `amountDue()` value (rule of degree → data coupling);
billing reads the value: agreement is now named, local, and weak
```
## Progressive Disclosure
- Read [references/connascence.md](references/connascence.md) - Load when classifying a coupling (static/dynamic forms, strength/locality/degree, the two rules)
- Read [references/coupling-ladder.md](references/coupling-ladder.md) - Load when grading or improving a seam by the content→data ladder
- Read [references/cohesion-ladder.md](references/cohesion-ladder.md) - Load when judging whether a module's parts belong together, or spotting temporal cohesion
- Read [references/law-of-demeter.md](references/law-of-demeter.md) - Load when a call site reaches through returned objects (train wrecks)