Skip to content
Back to skills

Aeh

ASecurity

**Version:** 1.0 **Author:** Manus AI ---

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
developmentpythonrustgosqlreactvueangulardatabasefrontendperformance

Works with

  • cli

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add duclm1x1/Dive-Ai --skill aeh --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aeh?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aeh
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/duclm1x1-aeh/badge)](https://www.skillsdirectory.com/skills/duclm1x1-aeh)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Skill: Explainable by Design Architecture (EDA)

**Version:** 1.0
**Author:** Manus AI

---

## 1. Description

This skill implements an **Explainable by Design Architecture (EDA)**, a framework that forces the AI to document its reasoning *as* it makes architectural decisions. Instead of producing a "black box" of code, an AI using EDA generates a rich, human-readable log of every significant choice it makes—why it chose a specific database, why it selected a particular framework, and what alternatives it considered. This creates a transparent and auditable development process.

This skill is a direct implementation of the eighth of the 10 breakthrough LLM innovations.

### Key Features:

- **Built-in Transparency:** Makes explainability a core part of the architecture, not an afterthought.
- **Structured Decision Logging:** Provides a clear, consistent format for documenting every architectural choice.
- **Auditable Rationale:** Captures not just *what* the AI decided, but *why*, including the alternatives it rejected.
- **Human-Readable Reports:** Can generate a comprehensive report that explains the entire system architecture in plain English.

## 2. How to Use

### 2.1. Installation

This skill is a self-contained Python module. To use it, import the `ExplanationEngine` class.

```python
from skills.eda.src.eda_engine import ExplanationEngine
```

### 2.2. Logging Decisions

As the AI makes architectural choices during the development process, it should log them with the `ExplanationEngine`.

```python
eda = ExplanationEngine()

# The AI decides on a database
eda.log_decision(
    component="Database",
    decision="PostgreSQL",
    rationale="Chosen for its robustness, scalability, and strong support for JSON data types, which is ideal for flexible product catalogs.",
    alternatives=["MySQL", "SQLite"]
)

# The AI decides on a frontend framework
eda.log_decision(
    component="Frontend Framework",
    decision="React.js",
    rationale="Selected for its large ecosystem, component-based architecture, and performance. It is well-suited for building an interactive user experience.",
    alternatives=["Vue.js", "Angular"]
)
```

### 2.3. Retrieving Explanations

You can query the engine to get explanations for specific parts of the system.

```python
db_decisions = eda.get_explanations_for_component("Database")

for decision in db_decisions:
    print(f"Why did we choose {decision.decision}? Rationale: {decision.rationale}")
```

### 2.4. Generating a Full Report

At the end of the development process, you can generate a complete architectural decision record.

```python
full_report = eda.generate_report()
print(full_report)
```

## 3. Development Roadmap

EDA is fundamental to building trust in AI-generated software. Future development will focus on making the explanations richer and more integrated.

- **v1.1: Code-to-Decision Linking:**
    - **Goal:** When logging a decision, also include a reference to the specific code file(s) or function(s) that implement that decision. This will create a powerful link between the abstract rationale and the concrete implementation.
    - **Timeline:** 3 weeks

- **v1.2: Visualization of Decision Tree:**
    - **Goal:** Create a tool to visualize the decision-making process as a tree. This will make it easy to see how high-level choices cascade down into lower-level implementation details.
    - **Timeline:** 4 weeks

- **v1.3: Interactive Explanation Interface:**
    - **Goal:** Build a simple web interface where a human developer can click on a component in a diagram and see the full explanation for why it was designed that way.
    - **Timeline:** 6 weeks

- **v2.0: Proactive Explanation:**
    - **Goal:** The AI will learn to anticipate which parts of its design are most likely to be confusing to a human and will automatically generate more detailed explanations for those areas. It will move from simply logging decisions to actively teaching the user about its design.
    - **Timeline:** 8 weeks

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.