# x10aix/skill-engineer architecture

> Architecture diagram of the GitHub repository x10aix/skill-engineer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/x10aix/skill-engineer
- Repository: https://github.com/x10aix/skill-engineer

## Overview

Skill-Engineer is an agent-first meta-skill for configuring, designing, auditing, and refining other agent skills—not a general-purpose end-user assistant. Its documented workflow begins with stateful configuration, then checks the workspace ecosystem and routes the request into a skill-development mode. Generation includes planning, cross-skill delegation, and adversarial quality validation. The graph reflects README-documented relationships only; no source excerpts were available to verify further implementation details.

Main entry points: [`SKILL.md`](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md) (Skill-Engineer), [`addons/skill-mapper/SKILL.md`](https://github.com/x10aix/skill-engineer/blob/main/addons/skill-mapper/SKILL.md) (Skill Mapper)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_configuration["Configuration"]
  node_engineer["Skill-Engineer<br/>[SKILL.md]"]
  node_setup["Setup Phase<br/>[SKILL.md]"]
  node_config["Stored Configuration<br/>[SKILL.md]"]
end

subgraph group_ecosystem["Ecosystem Mapping"]
  node_workspace["Skill Workspace"]
  node_ecosystem_check["Ecosystem Check<br/>[SKILL.md]"]
  node_skill_mapper["Skill Mapper<br/>[SKILL.md]"]
end

subgraph group_workflows["Skill Workflows"]
  node_operating_modes["Operating Modes<br/>[SKILL.md]"]
  node_interview["Skill Interview<br/>[SKILL.md]"]
  node_skill_design["Skill Design<br/>[SKILL.md]"]
  node_delegation["Cross-Skill Delegation<br/>[SKILL.md]"]
end

subgraph group_validation["Validation"]
  node_quality_gate["Quality Gate<br/>[SKILL.md]"]
  node_adversarial_check["Veto or Edge Case<br/>[SKILL.md]"]
end

node_user(("User"))
node_external_research["External Solutions"]

node_user -->|"requests work"| node_engineer
node_engineer -->|"checks status"| node_setup
node_setup -->|"rewrites defaults"| node_config
node_user -->|"overwrites via /config"| node_config
node_engineer -->|"checks map"| node_ecosystem_check
node_ecosystem_check -->|"checks map file"| node_workspace
node_ecosystem_check -->|"delegates mapping"| node_skill_mapper
node_skill_mapper -->|"maps ecosystem"| node_workspace
node_engineer -->|"routes input"| node_operating_modes
node_operating_modes -->|"starts full interview"| node_interview
node_operating_modes -->|"handles draft or rebuild"| node_skill_design
node_interview -->|"informs design"| node_skill_design
node_skill_design -->|"injects pattern"| node_delegation
node_skill_design -->|"validates skill"| node_quality_gate
node_quality_gate -->|"requires counterargument"| node_adversarial_check
node_engineer -.->|"researches optionally"| node_external_research

click node_engineer "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_setup "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_config "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_ecosystem_check "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_skill_mapper "https://github.com/x10aix/skill-engineer/blob/main/addons/skill-mapper/SKILL.md"
click node_operating_modes "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_interview "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_skill_design "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_delegation "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_quality_gate "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"
click node_adversarial_check "https://github.com/x10aix/skill-engineer/blob/main/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_engineer,node_setup,node_config,node_user toneBlue
class node_workspace,node_ecosystem_check,node_skill_mapper toneAmber
class node_operating_modes,node_interview,node_skill_design,node_delegation toneMint
class node_quality_gate,node_adversarial_check toneRose
class node_external_research toneIndigo
```

## Components

### Configuration

- [Skill-Engineer](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Setup Phase](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Stored Configuration](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`

### Ecosystem Mapping

- **Skill Workspace**
- [Ecosystem Check](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Skill Mapper](https://github.com/x10aix/skill-engineer/blob/main/addons/skill-mapper/SKILL.md): `addons/skill-mapper/SKILL.md`

### Skill Workflows

- [Operating Modes](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Skill Interview](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Skill Design](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Cross-Skill Delegation](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`

### Validation

- [Quality Gate](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`
- [Veto or Edge Case](https://github.com/x10aix/skill-engineer/blob/main/SKILL.md): `SKILL.md`

### Other components

- **User**
- **External Solutions**

## Connections

- User → Skill-Engineer: requests work (evidence: `README.md`)
- Skill-Engineer → Setup Phase: checks status (evidence: `README.md`)
- Setup Phase → Stored Configuration: rewrites defaults (evidence: `README.md`)
- User → Stored Configuration: overwrites via /config (evidence: `README.md`)
- Skill-Engineer → Ecosystem Check: checks map (evidence: `README.md`)
- Ecosystem Check → Skill Workspace: checks map file (evidence: `README.md`)
- Ecosystem Check → Skill Mapper: delegates mapping (evidence: `README.md`)
- Skill Mapper → Skill Workspace: maps ecosystem (evidence: `README.md`)
- Skill-Engineer → Operating Modes: routes input (evidence: `README.md`)
- Operating Modes → Skill Interview: starts full interview (evidence: `README.md`)
- Operating Modes → Skill Design: handles draft or rebuild (evidence: `README.md`)
- Skill Interview → Skill Design: informs design (evidence: `README.md`)
- Skill Design → Cross-Skill Delegation: injects pattern (evidence: `README.md`)
- Skill Design → Quality Gate: validates skill (evidence: `README.md`)
- Quality Gate → Veto or Edge Case: requires counterargument (evidence: `README.md`)
- Skill-Engineer → External Solutions: researches optionally (evidence: `README.md`)
