MemDDC for Openclaw

MemDDC is an intelligent tool designed for team-based project documentation management and iterative code development, featuring automated document generation and DDD model mapping.

qihao123
v1.0.2
Apr 16, 2026
1
649
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install memddc-ai-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install memddc-ai-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is MemDDC?

MemDDC is a professional-grade Openclaw Skills integration focused on streamlining team collaboration through intelligent documentation and structural analysis. It helps developers maintain consistency in complex architectures by automating the creation of Domain-Driven Design (DDD) models, compressing long-term memory to reduce token consumption, and ensuring code style uniformity across the project.

By leveraging a three-tier index structure—metadata, index, and context—MemDDC allows AI agents to precisely locate entities, controllers, and services without exhaustive file exploration. This results in a significant reduction in operational costs, with documented decreases in token usage by up to 53% for business logic modifications.

MemDDC Use Cases

  • Collaborative team development requiring unified AI constraints and documentation.
  • Iterating on complex system architectures using Domain-Driven Design principles.
  • Ongoing maintenance and refactoring of legacy systems with long-term engineering history.
  • Automating the synchronization between source code changes and project documentation.

How MemDDC Works

  1. Initialization and VCS Analysis: The skill pulls logs from Git or SVN to extract submission patterns and team collaboration cycles.
  2. Structure Mapping: It recursively scans the project directory and IDE indexes to build a comprehensive file tree analysis.
  3. Contextual Extraction: Business logic and requirements are extracted from user-provided documentation to build a domain-specific knowledge base.
  4. DDD Model Construction: The tool performs an AST scan to map relationships between entities, mappers, services, and controllers.
  5. Snapshot Generation: All analyzed data is integrated into a mem-snapshot.json file, creating a high-fidelity memory point for AI agents.
  6. Incremental Synchronization: When code changes occur, memddc-sync identifies affected documents and updates only the relevant sections.

MemDDC Setup

To get started with this skill in your project, initialize the environment and sync your existing codebase:

# Initialize MemDDC in your project directory
memddc-init

# Synchronize code changes with the memory snapshot
memddc-sync

# Manually update the documentation and DDD models
memddc-update

MemDDC Data Schema & Taxonomy

MemDDC organizes its intelligence within a dedicated .memddc/ directory to ensure team-wide accessibility. The core data structure is defined as follows:

File Description
mem-snapshot.json The primary memory snapshot containing metadata, file indexes, and context constraints.
config.json Shared team configuration including sync branches and trigger settings.
ddd-model.md Auto-generated Domain-Driven Design model documentation.
vcs-log-analysis.md AI-processed analysis of version control history and commit patterns.
docs/diagrams/ Mermaid-based architecture, flow, and ER diagrams.

MemDDC Advanced Features

  • Smart Memory Compression: Automatically triggers level-based compression when snapshots exceed 80% of the context limit.
  • Automated Relationship Mapping: Traces code paths from entities to views (Entity -> Mapper -> Service -> Controller -> View).
  • Multi-Language Support: Full support for Java/Spring Boot, Python (Django/Flask), Node.js, and Go (Gin).
  • VCS Integration: Native support for both Git and SVN history analysis.
  • Custom Trigger Logic: Configurable automation for code changes, structure shifts, or scheduled CRON jobs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*