Skip to content
Back to skills

Cohesion Coupling Review

ASecurity

Review a proposed change for high cohesion/low coupling; recommends the smallest boundary-safe refactor (ownership, minimal public surface, no reach-in imports).

  • 225 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added September 4, 2026
designgit

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill cohesion-coupling-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cohesion Coupling Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cohesion Coupling Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-cohesion-coupling-review/badge)](https://www.skillsdirectory.com/skills/neversight-cohesion-coupling-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cohesion-coupling-review
description: Review a proposed change for high cohesion/low coupling; recommends the smallest boundary-safe refactor (ownership, minimal public surface, no reach-in imports).
---

# High Cohesion / Low Coupling (Review Skill)

## Use when
- A change touches multiple folders/layers/capabilities.
- You’re tempted to import a file from another capability.
- “Shared” is being considered for convenience.

## Checklist (fast)
1. Ownership: which capability/bounded context owns the rule/data?
2. Cohesion: is the logic colocated with its change reason?
3. Coupling: are dependencies narrow (ports/events) rather than concrete imports?
4. Public surface: can exports be reduced to the minimal stable interface?
5. Import hygiene: any deep imports into another capability/layer?
6. Promotion: does it truly qualify for `shared` (2+ contexts, no business policy)?

## Smallest fixes (preferred order)
- Move code to the owner (increase cohesion).
- Introduce/adjust a port or event (reduce coupling).
- Narrow exports / add an explicit entry point (stabilize interface).
- Only then consider `shared` (if it meets promotion rules).

## References
- `.github/instructions/06-cohesion-coupling-copilot-instructions.md`
- `.github/instructions/05-design-principles-copilot-instructions.md`
- `scripts/dependency-cruiser.js`

Files in this skill

  • SKILL.md1.3 KB
  • description_ar.txt302 B
  • description_cn.txt143 B
  • description_de.txt206 B
  • description_en.txt162 B
  • description_es.txt205 B
  • description_fr.txt213 B
  • description_it.txt212 B
  • description_ja.txt229 B
  • description_ko.txt207 B
  • description_ru.txt407 B
  • description_tw.txt143 B
  • stats.json66 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.