clean-code-ddd

Identify Clean Code and DDD violations in source code across multiple languages.

1|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/unrealandychan/AgentFoundry --skill clean-code-ddd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: clean-code-ddd
Source: https://github.com/unrealandychan/AgentFoundry/tree/main/skills/clean-code-ddd
Command: npx skills add https://github.com/unrealandychan/AgentFoundry --skill clean-code-ddd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces Clean Code and Domain-Driven Design principles during code reviews to improve readability, maintainability, and architecture integrity, reducing long-term technical debt.

Core Features & Use Cases

  • Phase-driven review: checks naming, single-responsibility, duplication, structure, and error handling aligned to Clean Code and DDD principles.
  • Bounded-context discipline: flags potential leakage of infrastructure concerns into domain models and ensures clear aggregate boundaries.
  • Actionable findings report: outputs high-confidence findings in a structured format suitable for remediation.

Quick Start

Paste your code and flags into the prompt to run a focused Clean Code + DDD review.

Frequently Asked Questions about clean-code-ddd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Clean Code and DDD code reviews?▼

To automate Clean Code and DDD code reviews, paste your source code and flags into the prompt. The review operates across multiple languages and applies a Phase 1 to Phase 3 workflow to return a structured findings report.

What is bounded context leakage in Domain-Driven Design?▼

Bounded context leakage occurs when infrastructure concerns infiltrate domain models. This review flags such leakage and enforces clear aggregate boundaries to maintain architectural integrity and reduce technical debt.

How do I check for Clean Code violations like duplication and single responsibility?▼

You can check for Clean Code violations by running a phase-driven review that analyzes naming, single-responsibility, duplication, structure, and error handling. It outputs high-confidence findings in a structured format for remediation.

Does this DDD code review support multiple programming languages?▼

Yes, the DDD code review operates across multiple programming languages. It applies a bounded-context-aware review process to identify architectural violations and ensures clear aggregate boundaries regardless of the language.

What is the best way to enforce Domain-Driven Design principles during static analysis?▼

The best way to enforce Domain-Driven Design principles during static analysis is applying a phase-driven review workflow. It flags potential infrastructure leakage into domain models and outputs actionable findings for architectural remediation.

When should I use an automated Clean Code review instead of manual checks?▼

You should use an automated Clean Code review when you need to consistently enforce readability, maintainability, and architectural integrity across a codebase to systematically reduce long-term technical debt without manual intervention.