# aydincan/turk-hukuku-ve-gemini architecture

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

- Interactive diagram: https://gitdiagram.com/aydincan/turk-hukuku-ve-gemini
- Repository: https://github.com/aydincan/turk-hukuku-ve-gemini

## Overview

This repository is a Gemini CLI extension containing Turkish-law Agent Skills, not a legal-data application. The principal workflow is: a user describes a legal issue; Gemini loads the always-on methodology and source-hygiene guidance, selects a matching field skill, follows that skill to a topic reference, and responds using its review framework. The graph groups the extensive skill collection by legal domain and includes documented optional MCP sources. Relationships are based on the README and shown GEMINI.md/generator excerpts; unsampled skill contents are not assumed.

Main entry points: [`skills`](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills) (Topic references), [`GEMINI.md`](https://github.com/aydincan/turk-hukuku-ve-gemini/blob/main/GEMINI.md) (Session guidance)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Interaction and guidance"]
  node_gemini["Gemini CLI"]
  node_guidance["Session guidance<br/>[GEMINI.md]"]
  node_skillset["Field skills"]
  node_legal_answer["Legal response"]
end

subgraph group_private["Private-law skills"]
  node_private_skills["Private law"]
  node_commercial_skills["Commercial law"]
end

subgraph group_public["Public-law skills"]
  node_public_skills["Public law"]
end

subgraph group_practice["Practice skills"]
  node_procedure_skills["Procedure and litigation"]
  node_professional_skills["Professional practice"]
  node_topic_refs["Topic references"]
end

subgraph group_sources["Legal source integrations"]
  node_law_mcp["Legislation MCP"]
  node_case_mcp["Case-law MCP"]
end

node_user(("Legal questioner"))

node_user -->|"describes issue"| node_gemini
node_gemini -->|"reads descriptions"| node_skillset
node_gemini -->|"loads each session"| node_guidance
node_gemini -->|"activates match"| node_private_skills
node_gemini -->|"activates match"| node_commercial_skills
node_gemini -->|"activates match"| node_public_skills
node_gemini -->|"activates match"| node_procedure_skills
node_gemini -->|"activates match"| node_professional_skills
node_private_skills -->|"directs to topic"| node_topic_refs
node_commercial_skills -->|"directs to topic"| node_topic_refs
node_public_skills -->|"directs to topic"| node_topic_refs
node_procedure_skills -->|"directs to topic"| node_topic_refs
node_professional_skills -->|"directs to topic"| node_topic_refs
node_topic_refs -->|"informs response"| node_legal_answer
node_guidance -->|"sets method"| node_legal_answer
node_gemini -.->|"retrieves law"| node_law_mcp
node_gemini -.->|"retrieves cases"| node_case_mcp

click node_guidance "https://github.com/aydincan/turk-hukuku-ve-gemini/blob/main/GEMINI.md"
click node_skillset "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"
click node_private_skills "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"
click node_commercial_skills "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"
click node_public_skills "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"
click node_procedure_skills "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"
click node_professional_skills "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"
click node_topic_refs "https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills"

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_gemini,node_guidance,node_skillset,node_legal_answer toneBlue
class node_private_skills,node_commercial_skills toneAmber
class node_public_skills toneMint
class node_procedure_skills,node_professional_skills,node_topic_refs toneRose
class node_law_mcp,node_case_mcp,node_user toneIndigo
```

## Components

### Interaction and guidance

- **Gemini CLI**
- [Session guidance](https://github.com/aydincan/turk-hukuku-ve-gemini/blob/main/GEMINI.md): `GEMINI.md`
- [Field skills](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`
- **Legal response**

### Private-law skills

- [Private law](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`
- [Commercial law](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`

### Public-law skills

- [Public law](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`

### Practice skills

- [Procedure and litigation](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`
- [Professional practice](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`
- [Topic references](https://github.com/aydincan/turk-hukuku-ve-gemini/tree/main/skills): `skills`

### Legal source integrations

- **Legislation MCP**
- **Case-law MCP**

### Other components

- **Legal questioner**

## Connections

- Legal questioner → Gemini CLI: describes issue (evidence: `README.md`)
- Gemini CLI → Field skills: reads descriptions (evidence: `README.md`)
- Gemini CLI → Session guidance: loads each session (evidence: `README.md`)
- Gemini CLI → Private law: activates match (evidence: `README.md`)
- Gemini CLI → Commercial law: activates match (evidence: `README.md`)
- Gemini CLI → Public law: activates match (evidence: `README.md`)
- Gemini CLI → Procedure and litigation: activates match (evidence: `README.md`)
- Gemini CLI → Professional practice: activates match (evidence: `README.md`)
- Private law → Topic references: directs to topic (evidence: `README.md`)
- Commercial law → Topic references: directs to topic (evidence: `README.md`)
- Public law → Topic references: directs to topic (evidence: `README.md`)
- Procedure and litigation → Topic references: directs to topic (evidence: `README.md`)
- Professional practice → Topic references: directs to topic (evidence: `README.md`)
- Topic references → Legal response: informs response (evidence: `README.md`)
- Session guidance → Legal response: sets method
- Gemini CLI → Legislation MCP: retrieves law
- Gemini CLI → Case-law MCP: retrieves cases
