# deadinternetstudios/100x-engineer-skill architecture

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

- Interactive diagram: https://gitdiagram.com/deadinternetstudios/100x-engineer-skill
- Repository: https://github.com/deadinternetstudios/100x-engineer-skill

## Overview

100x is a Node.js CLI skill for turning coding tasks into planned, verified, reviewed, and reported work across agent environments. The main workflow starts with a user invoking the CLI, then proceeds through project setup and prompting, implementation and verification, independent review, and finish/reporting. The repository also includes a blind bakeoff evaluation capability. Source excerpts show some dispatch and review internals; README statements support the broader workflow, while unsampled implementation links are left unverified.

Main entry points: [`lib/review.mjs`](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/review.mjs) (Review planning), [`lib/eval/blind.mjs`](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/blind.mjs) (Blind bakeoff), [`lib/project.mjs`](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/project.mjs) (Project state), [`lib/commands/index.mjs`](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/index.mjs) (Command dispatch)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["CLI and setup"]
  node_cli["100x CLI<br/>[100x.mjs]"]
  node_dispatch["Command dispatch<br/>[index.mjs]"]
  node_setup["Install and init"]
  node_config["Configuration<br/>[config.mjs]"]
end

subgraph group_workflow["Run workflow"]
  node_project["Project state<br/>[project.mjs]"]
  node_prompt["Prompt shaping<br/>[prompt.mjs]"]
  node_run["Build run<br/>[run.mjs]"]
  node_runfile["Run metadata<br/>[runfile.mjs]"]
  node_finish["Finish checks<br/>[finish.mjs]"]
  node_report["Run reports<br/>[report.mjs]"]
end

subgraph group_assurance["Verification and review"]
  node_verification["Formal verification<br/>[verify.mjs]"]
  node_review["Review planning<br/>[review.mjs]"]
  node_reviewrun["Review execution<br/>[review-run.mjs]"]
  node_rounds["Review rounds<br/>[rounds.mjs]"]
  node_solo["Solo checks<br/>[solo.mjs]"]
end

subgraph group_evaluation["Evaluation"]
  node_evalcmd["Eval commands<br/>[eval.mjs]"]
  node_blind["Blind bakeoff<br/>[blind.mjs]"]
  node_routing["Prompt routing<br/>[routing.mjs]"]
  node_tally["Bakeoff scoring<br/>[tally.mjs]"]
  node_evalwords["Evaluation wording<br/>[words.mjs]"]
end

subgraph group_shared["Shared runtime"]
  node_git["Git context<br/>[git.mjs]"]
  node_paths["Project paths<br/>[paths.mjs]"]
  node_playwright["Browser support<br/>[playwright.mjs]"]
  node_proc["Process control<br/>[proc.mjs]"]
  node_seal["Integrity seals<br/>[seal.mjs]"]
  node_helperlock["Helper lock<br/>[helper-lock.mjs]"]
  node_writejson["JSON persistence<br/>[write-json.mjs]"]
end

node_user(("Engineer"))

node_user -->|"invokes"| node_cli
node_cli -->|"dispatches"| node_dispatch
node_dispatch -->|"routes commands"| node_setup
node_dispatch -->|"routes commands"| node_evalcmd
node_dispatch -.->|"configures"| node_config
node_setup -.->|"initializes"| node_project
node_user -->|"supplies task"| node_prompt
node_prompt -.->|"guides build"| node_run
node_run -->|"checks blocks"| node_verification
node_verification -->|"records proof"| node_runfile
node_run -.->|"hands off"| node_finish
node_finish -->|"produces report"| node_report
node_review -->|"reads state"| node_project
node_review -->|"plans rounds"| node_rounds
node_reviewrun -->|"loads tasks"| node_review
node_reviewrun -->|"checks status"| node_rounds
node_reviewrun -->|"controls process"| node_proc
node_user -->|"requests review"| node_review
node_solo -->|"reads project"| node_project
node_evalcmd -->|"runs bakeoff"| node_blind
node_evalcmd -->|"uses routing"| node_routing
node_evalcmd -->|"uses scoring"| node_tally
node_blind -->|"captures screens"| node_playwright
node_blind -->|"resolves paths"| node_paths
node_blind -->|"uses receipts"| node_seal
node_tally -->|"reads bakeoff data"| node_blind
node_tally -->|"signs results"| node_seal
node_tally -->|"formats counts"| node_evalwords
node_routing -->|"locates skills"| node_paths
node_project -->|"normalizes run data"| node_runfile
node_project -->|"writes state"| node_writejson
node_config -->|"parses helper rules"| node_helperlock
node_config -->|"finds config paths"| node_paths
node_review -->|"reads commits"| node_git
node_review -->|"reads prompt terms"| node_prompt

click node_cli "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/bin/100x.mjs"
click node_dispatch "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/index.mjs"
click node_setup "https://github.com/deadinternetstudios/100x-engineer-skill/tree/main/lib/commands"
click node_config "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/config.mjs"
click node_project "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/project.mjs"
click node_prompt "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/prompt.mjs"
click node_run "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/run.mjs"
click node_verification "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/verify.mjs"
click node_runfile "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/runfile.mjs"
click node_finish "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/finish.mjs"
click node_report "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/report.mjs"
click node_review "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/review.mjs"
click node_reviewrun "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/review-run.mjs"
click node_rounds "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/rounds.mjs"
click node_solo "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/solo.mjs"
click node_evalcmd "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/eval.mjs"
click node_blind "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/blind.mjs"
click node_routing "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/routing.mjs"
click node_tally "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/tally.mjs"
click node_evalwords "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/words.mjs"
click node_git "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/git.mjs"
click node_paths "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/paths.mjs"
click node_playwright "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/playwright.mjs"
click node_proc "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/proc.mjs"
click node_seal "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/seal.mjs"
click node_helperlock "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/helper-lock.mjs"
click node_writejson "https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/write-json.mjs"

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_cli,node_dispatch,node_setup,node_config toneBlue
class node_project,node_prompt,node_run,node_runfile,node_finish,node_report toneAmber
class node_verification,node_review,node_reviewrun,node_rounds,node_solo toneMint
class node_evalcmd,node_blind,node_routing,node_tally,node_evalwords toneRose
class node_git,node_paths,node_playwright,node_proc,node_seal,node_helperlock,node_writejson,node_user toneIndigo
```

## Components

### CLI and setup

- [100x CLI](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/bin/100x.mjs): `bin/100x.mjs`
- [Command dispatch](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/index.mjs): `lib/commands/index.mjs`
- [Install and init](https://github.com/deadinternetstudios/100x-engineer-skill/tree/main/lib/commands): `lib/commands`
- [Configuration](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/config.mjs): `lib/config.mjs`

### Run workflow

- [Project state](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/project.mjs): `lib/project.mjs`
- [Prompt shaping](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/prompt.mjs): `lib/prompt.mjs`
- [Build run](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/run.mjs): `lib/commands/run.mjs`
- [Run metadata](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/runfile.mjs): `lib/runfile.mjs`
- [Finish checks](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/finish.mjs): `lib/finish.mjs`
- [Run reports](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/report.mjs): `lib/report.mjs`

### Verification and review

- [Formal verification](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/verify.mjs): `lib/verify.mjs`
- [Review planning](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/review.mjs): `lib/review.mjs`
- [Review execution](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/review-run.mjs): `lib/review-run.mjs`
- [Review rounds](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/rounds.mjs): `lib/rounds.mjs`
- [Solo checks](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/solo.mjs): `lib/solo.mjs`

### Evaluation

- [Eval commands](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/commands/eval.mjs): `lib/commands/eval.mjs`
- [Blind bakeoff](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/blind.mjs): `lib/eval/blind.mjs`
- [Prompt routing](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/routing.mjs): `lib/eval/routing.mjs`
- [Bakeoff scoring](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/tally.mjs): `lib/eval/tally.mjs`
- [Evaluation wording](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/eval/words.mjs): `lib/eval/words.mjs`

### Shared runtime

- [Git context](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/git.mjs): `lib/git.mjs`
- [Project paths](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/paths.mjs): `lib/paths.mjs`
- [Browser support](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/playwright.mjs): `lib/playwright.mjs`
- [Process control](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/proc.mjs): `lib/proc.mjs`
- [Integrity seals](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/seal.mjs): `lib/seal.mjs`
- [Helper lock](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/helper-lock.mjs): `lib/helper-lock.mjs`
- [JSON persistence](https://github.com/deadinternetstudios/100x-engineer-skill/blob/main/lib/write-json.mjs): `lib/write-json.mjs`

### Other components

- **Engineer**

## Connections

- Engineer → 100x CLI: invokes (evidence: `README.md`)
- 100x CLI → Command dispatch: dispatches (evidence: `bin/100x.mjs`)
- Command dispatch → Install and init: routes commands (evidence: `lib/commands/index.mjs`)
- Command dispatch → Eval commands: routes commands (evidence: `lib/commands/index.mjs`)
- Command dispatch → Configuration: configures
- Install and init → Project state: initializes (evidence: `lib/commands/review-call.mjs`)
- Engineer → Prompt shaping: supplies task (evidence: `README.md`)
- Prompt shaping → Build run: guides build
- Build run → Formal verification: checks blocks (evidence: `README.md`)
- Formal verification → Run metadata: records proof (evidence: `README.md`)
- Build run → Finish checks: hands off
- Finish checks → Run reports: produces report (evidence: `README.md`)
- Review planning → Project state: reads state (evidence: `lib/review.mjs`)
- Review planning → Review rounds: plans rounds (evidence: `lib/review.mjs`)
- Review execution → Review planning: loads tasks (evidence: `lib/review-run.mjs`)
- Review execution → Review rounds: checks status (evidence: `lib/review-run.mjs`)
- Review execution → Process control: controls process (evidence: `lib/review-run.mjs`)
- Engineer → Review planning: requests review (evidence: `README.md`)
- Solo checks → Project state: reads project (evidence: `lib/solo.mjs`)
- Eval commands → Blind bakeoff: runs bakeoff (evidence: `lib/commands/eval.mjs`)
- Eval commands → Prompt routing: uses routing (evidence: `lib/commands/eval.mjs`)
- Eval commands → Bakeoff scoring: uses scoring (evidence: `lib/commands/eval.mjs`)
- Blind bakeoff → Browser support: captures screens (evidence: `lib/eval/blind.mjs`)
- Blind bakeoff → Project paths: resolves paths (evidence: `lib/eval/blind.mjs`)
- Blind bakeoff → Integrity seals: uses receipts (evidence: `lib/eval/blind.mjs`)
- Bakeoff scoring → Blind bakeoff: reads bakeoff data (evidence: `lib/eval/tally.mjs`)
- Bakeoff scoring → Integrity seals: signs results (evidence: `lib/eval/tally.mjs`)
- Bakeoff scoring → Evaluation wording: formats counts (evidence: `lib/eval/tally.mjs`)
- Prompt routing → Project paths: locates skills (evidence: `lib/eval/routing.mjs`)
- Project state → Run metadata: normalizes run data (evidence: `lib/project.mjs`)
- Project state → JSON persistence: writes state (evidence: `lib/project.mjs`)
- Configuration → Helper lock: parses helper rules (evidence: `lib/config.mjs`)
- Configuration → Project paths: finds config paths (evidence: `lib/config.mjs`)
- Review planning → Git context: reads commits (evidence: `lib/review.mjs`)
- Review planning → Prompt shaping: reads prompt terms (evidence: `lib/review.mjs`)
