c4model-c3

Identify C3 components, responsibilities, and dependencies within a container.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Cubical6/melly --skill c4model-c3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c4model-c3
Source: https://github.com/Cubical6/melly/tree/main/skills/c4model-c3
Command: npx skills add https://github.com/Cubical6/melly --skill c4model-c3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Understanding the internal code structure of deployable units (containers) is crucial but manually intensive. This involves identifying components, their responsibilities, dependencies, and design patterns, which is prone to oversight and inconsistency.

Core Features & Use Cases

  • Code Component Identification: Automatically identifies key code components (controllers, services, repositories, models) within a container.
  • Responsibility & Dependency Mapping: Defines the single responsibility of each component and maps its internal and external dependencies.
  • Design Pattern Detection: Identifies common design patterns (e.g., Singleton, Factory, Repository, Dependency Injection) and architectural patterns (e.g., MVC, Hexagonal).
  • Use Case: A developer needs to refactor a complex service. This skill can generate a detailed C3 component map, highlighting coupling, cohesion, and design patterns, guiding the refactoring effort and reducing risk.

Quick Start

Analyze the 'ecommerce-api' container to identify its C3 components, their responsibilities, and dependencies.