# mikeylong/write-like-mike architecture

> Architecture diagram of the GitHub repository mikeylong/write-like-mike, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mikeylong/write-like-mike
- Repository: https://github.com/mikeylong/write-like-mike

## Overview

Write Like Mike is an agent skill for drafting and revising prose in Mike’s voice. The main workflow takes a user’s writing request through the skill’s routing and behavior contract, applies the synthesized style profile and optionally filtered Agent Memory preferences, then performs a mandatory specificity review before returning prose. The README also documents privacy and evaluation tooling, but those are package-validation utilities rather than the writing runtime. Source excerpts do not include SKILL.md, so workflow links rely on README statements; finer-grained routing is not shown.

Main entry points: [`SKILL.md`](https://github.com/mikeylong/write-like-mike/blob/main/SKILL.md) (Writing skill), [`references/memory-refresh.md`](https://github.com/mikeylong/write-like-mike/blob/main/references/memory-refresh.md) (Memory guidance), [`subskills/specificity-pass/SKILL.md`](https://github.com/mikeylong/write-like-mike/blob/main/subskills/specificity-pass/SKILL.md) (Specificity pass), [`references/style-profile.md`](https://github.com/mikeylong/write-like-mike/blob/main/references/style-profile.md) (Style profile)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_writing["Writing workflow"]
  node_skill["Writing skill<br/>[SKILL.md]"]
  node_prose["Drafted prose"]
end

subgraph group_guidance["Style and review"]
  node_style["Style profile<br/>[style-profile.md]"]
  node_memory["Memory guidance<br/>[memory-refresh.md]"]
  node_specificity["Specificity pass<br/>[SKILL.md]"]
  node_scanner["Specificity scanner<br/>[scan.py]"]
end

node_user(("User"))
node_agent_memory[("Agent Memory")]

node_user -->|"requests writing"| node_skill
node_skill -->|"applies voice"| node_style
node_skill -.->|"retrieves preferences"| node_memory
node_memory -.->|"guides retrieval"| node_agent_memory
node_skill -->|"reviews draft"| node_specificity
node_specificity -->|"uses scanner"| node_scanner
node_skill -->|"returns prose"| node_prose

click node_skill "https://github.com/mikeylong/write-like-mike/blob/main/SKILL.md"
click node_style "https://github.com/mikeylong/write-like-mike/blob/main/references/style-profile.md"
click node_memory "https://github.com/mikeylong/write-like-mike/blob/main/references/memory-refresh.md"
click node_specificity "https://github.com/mikeylong/write-like-mike/blob/main/subskills/specificity-pass/SKILL.md"
click node_scanner "https://github.com/mikeylong/write-like-mike/blob/main/subskills/specificity-pass/scripts/scan.py"

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_skill,node_prose,node_user toneBlue
class node_style,node_memory,node_specificity,node_scanner,node_agent_memory toneAmber
```

## Components

### Writing workflow

- [Writing skill](https://github.com/mikeylong/write-like-mike/blob/main/SKILL.md): `SKILL.md`
- **Drafted prose**

### Style and review

- [Style profile](https://github.com/mikeylong/write-like-mike/blob/main/references/style-profile.md): `references/style-profile.md`
- [Memory guidance](https://github.com/mikeylong/write-like-mike/blob/main/references/memory-refresh.md): `references/memory-refresh.md`
- [Specificity pass](https://github.com/mikeylong/write-like-mike/blob/main/subskills/specificity-pass/SKILL.md): `subskills/specificity-pass/SKILL.md`
- [Specificity scanner](https://github.com/mikeylong/write-like-mike/blob/main/subskills/specificity-pass/scripts/scan.py): `subskills/specificity-pass/scripts/scan.py`

### Other components

- **User**
- **Agent Memory**

## Connections

- User → Writing skill: requests writing (evidence: `README.md`)
- Writing skill → Style profile: applies voice (evidence: `README.md`)
- Writing skill → Memory guidance: retrieves preferences (evidence: `README.md`)
- Memory guidance → Agent Memory: guides retrieval (evidence: `README.md`)
- Writing skill → Specificity pass: reviews draft (evidence: `README.md`)
- Specificity pass → Specificity scanner: uses scanner (evidence: `README.md`)
- Writing skill → Drafted prose: returns prose (evidence: `README.md`)
