aoa-port-adapter-refactor

Community

Clarify boundaries with clean ports and adapters

Author8Dionysus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tight coupling of core business logic to concrete infrastructure makes testing hard, hinders clarity, and limits future changes.

Core Features & Use Cases

  • Port Identification: Detects concrete dependencies that leak into core modules.
  • Adapter Creation: Generates adapters to isolate infrastructure concerns behind narrow ports.
  • Bounded Refactor: Keeps changes limited to the targeted area and validates behavior stability. Use case: When a service layer directly accesses a database driver, this skill introduces a repository port and an adapter to decouple them.

Quick Start

Ask the agent to refactor the target module by extracting its concrete dependency into a clean port and adapter.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aoa-port-adapter-refactor
Download link: https://github.com/8Dionysus/aoa-skills/archive/main.zip#aoa-port-adapter-refactor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.