/ Directory / Playground / Modularity
● Community vladikk ⚡ Instant

Modularity

by vladikk · vladikk/modularity

Translates functional requirements into module boundaries using DDD heuristics — bounded contexts, aggregates, integration patterns.

Vladik Khononov's plugin operationalizes the heuristics from his book on bounded contexts. Feed it requirements; it proposes contexts, aggregates, and integration relationships, with rationale.

Why use it

Key features

Live Demo

What it looks like in practice

ready

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "modularity-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ],
      "_inferred": true
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "modularity-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/vladikk/modularity"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "modularity-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/vladikk/modularity"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add modularity-skill -- git clone https://github.com/vladikk/modularity

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use Modularity

Carve up a greenfield service into modules

👤 Claude Code users ⏱ ~15 min intermediate

When to use: You're sketching a new system and want to avoid a distributed monolith.

Flow
  1. Brief
    Provide functional requirements + non-functional priorities.✓ Copied
    → Skill asks clarifying questions
  2. Receive design
    Module map with contexts + aggregates + integration patterns.✓ Copied
    → Diagrams + rationale
  3. Iterate
    Push back on weak boundaries; refine.✓ Copied
    → Approved decomposition

Outcome: Defensible module boundaries before code is written.

Combinations

Pair with other MCPs for X10 leverage

modularity-skill + drawio-mcp

Visualize the proposed module map

Combine modularity-skill with drawio-mcp: Visualize the proposed module map✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
design / critique (see docs) Two main flows 1 call

Cost & Limits

What this costs to run

API quota
N/A
Tokens per call
Mid
Monetary
Free
Tip
Treat output as a starting point — author intends it to be argued with

Security

Permissions, secrets, blast radius

Credential storage: None
Data egress: None

Troubleshooting

Common errors and fixes

Output too academic

Ask for "concrete service names + database boundaries"

Alternatives

Modularity vs others

AlternativeWhen to use it insteadTradeoff
Hand-rolledYou already know your domain coldNo structured second opinion

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills