ruflo-ddd

Reviewed at commit 13af5f1

Caution: Its skills pre-approve Bash and have Claude run the unpinned npm package @claude-flow/cli@latest through npx, so each new version runs without asking.

Domain-Driven Design scaffolding — bounded contexts, aggregate roots, domain events, value objects, repositories, and anti-corruption layers; navigable domain…

Made by
ruvnet
What we checked

Adds skills and a command that scaffold Domain-Driven Design folders, aggregates and events in your project and record the domain model in the ruflo memory tools. A hook refuses memory writes for DDD entries that look like they hold a secret, and /ddd-mod lists bounded contexts locally. It writes a small status file in your project.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since 6cfce09; the rest carries over from the review at that commit. Claude Code hooks: session.start (reads project root, registers /ddd-mod, writes .claude-flow/ddd-mod/status.json), tool.call (guard on by default: denies memory_store and agentdb_hierarchical-store calls whose key, parent or child starts with ddd-, domain-, context: or aggregate: when the input matches a secret pattern; input too large to screen is treated as a hit) and command.run for ddd-mod (status, scan <text>, contexts via $.fs.list on src, src/contexts, src/modules). No network, no process spawning in the hook code. The skills ddd-aggregate, ddd-context and ddd-validate allow Bash, Read, Write, Edit, Grep and Glob without prompting, and ddd-aggregate and ddd-validate tell Claude to run npx @claude-flow/cli@latest (hooks pre-task and post-task, memory store) unpinned; the domain-modeler agent does the same, and the /ddd command runs find over src. Files they create are scaffolds under src/<context>/. A Codex variant (.codex-plugin/plugin.json, hooks/codex-hooks.json, hooks/codex.ts and a generated, bundled hooks/codex-hook.cjs) is only wired up for Codex, not for Claude Code; checked earlier by targeted search (Node fs, path, os and crypto only; no network, child-process, eval or dynamic-require calls), not read line by line. Changed in this version: only plugin.json gained a repository URL field (github.com/ruvnet/ruflo); no code, skill or prompt changed. The mcp tools used (memory_store, agentdb_*) come from the separate ruflo-core plugin and were not reviewed. The shared screen.ts is identical to the one in ruflo-daa.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: yes
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

Domain-Driven Design scaffolding — bounded contexts, aggregate roots, domain events, value objects, repositories, and anti-corruption layers; navigable domain graph stored in AgentDB

Made this mod? Add a badge to your README

modsforClaude badge for ruflo-ddd

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/ruflo-ddd.svg)](https://modsforclaude.com/mods/ruflo-ddd/)

← All mods