# shipitandpray/job-apply-ai architecture

> Architecture diagram of the GitHub repository shipitandpray/job-apply-ai, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shipitandpray/job-apply-ai
- Repository: https://github.com/shipitandpray/job-apply-ai

## Overview

job-apply-ai is a Claude Code–driven job discovery and application system, with scripts for bulk Greenhouse listing operations and a TypeScript semi-automated application pipeline. The user-facing flow is search and filter jobs, inspect a job description, tailor application documents, fill an ATS form, pause for review, and track the application. The graph includes the documented AI skills and ATS capabilities alongside sampled runtime modules. Some skill, script, and pipeline details are supported only by the README; unsampled implementation links are omitted.

Main entry points: [`src/pipeline/orchestrator.ts`](https://github.com/shipitandpray/job-apply-ai/blob/master/src/pipeline/orchestrator.ts) (Pipeline Orchestrator), [`skills/master-apply/skill.md`](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/master-apply/skill.md) (Master Apply Skill), [`src/tailor/resume-tailor.ts`](https://github.com/shipitandpray/job-apply-ai/blob/master/src/tailor/resume-tailor.ts) (Resume Tailor), [`skills/search-jobs/skill.md`](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/search-jobs/skill.md) (Search Jobs Skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Job Discovery"]
  node_search_skill["Search Jobs Skill<br/>[skill.md]"]
  node_searcher["Job Searcher<br/>[job-searcher.ts]"]
  node_greenhouse_pull["Greenhouse Pull"]
  node_filter_skill["Job Filters Skill<br/>[skill.md]"]
  node_greenhouse_filter["Greenhouse Filter"]
end

subgraph group_preparation["Application Preparation"]
  node_scraper["Job Detail Scraper"]
  node_tailor_skill["Tailor Resume Skill<br/>[skill.md]"]
  node_impress_skill["Impress Resume Skill<br/>[skill.md]"]
  node_tailor["Resume Tailor<br/>[resume-tailor.ts]"]
  node_cover_skill["Cover Letter Skill<br/>[skill.md]"]
end

subgraph group_application["Application Flow"]
  node_master_skill["Master Apply Skill<br/>[skill.md]"]
  node_orchestrator["Pipeline Orchestrator<br/>[orchestrator.ts]"]
  node_apply_skill["Apply Jobs Skill<br/>[skill.md]"]
  node_greenhouse_apply["Greenhouse Apply Script"]
end

subgraph group_ats["ATS Handling"]
  node_ats_detector["ATS Detector<br/>[detector.ts]"]
  node_base_handler["Base ATS Handler<br/>[base-handler.ts]"]
  node_generic_handler["Generic Handler<br/>[generic.ts]"]
  node_greenhouse_handler["Greenhouse Handler<br/>[greenhouse.ts]"]
  node_lever_handler["Lever Handler<br/>[lever.ts]"]
end

subgraph group_state["Application State"]
  node_tracker[("Application Tracker")]
  node_session_state[("Session State<br/>[state.ts]")]
end

node_claude(("Claude Code"))

node_claude -->|"invokes"| node_search_skill
node_claude -->|"invokes"| node_master_skill
node_claude -->|"invokes"| node_apply_skill
node_search_skill -.->|"searches with"| node_searcher
node_search_skill -.->|"searches via"| node_greenhouse_pull
node_greenhouse_pull -->|"feeds listings"| node_greenhouse_filter
node_searcher -.->|"supplies job"| node_scraper
node_filter_skill -.->|"filters via"| node_greenhouse_filter
node_master_skill -.->|"coordinates"| node_orchestrator
node_master_skill -->|"coordinates"| node_tailor_skill
node_master_skill -->|"coordinates"| node_apply_skill
node_orchestrator -->|"scrapes details"| node_scraper
node_orchestrator -->|"saves documents"| node_tailor
node_tailor_skill -.->|"tailors resume"| node_tailor
node_impress_skill -.->|"deep tailors"| node_tailor
node_cover_skill -.->|"generates letter"| node_tailor
node_orchestrator -->|"detects ATS"| node_ats_detector
node_orchestrator -->|"selects handler"| node_greenhouse_handler
node_orchestrator -->|"selects handler"| node_lever_handler
node_orchestrator -->|"selects fallback"| node_generic_handler
node_greenhouse_handler -->|"inherits helpers"| node_base_handler
node_lever_handler -->|"inherits helpers"| node_base_handler
node_generic_handler -->|"inherits helpers"| node_base_handler
node_apply_skill -.->|"applies via"| node_greenhouse_apply
node_orchestrator -->|"updates records"| node_tracker
node_orchestrator -->|"updates session"| node_session_state

click node_search_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/search-jobs/skill.md"
click node_searcher "https://github.com/shipitandpray/job-apply-ai/blob/master/src/search/job-searcher.ts"
click node_greenhouse_pull "https://github.com/shipitandpray/job-apply-ai/blob/master/scripts/greenhouse-pull.cjs"
click node_filter_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/job-filters/skill.md"
click node_greenhouse_filter "https://github.com/shipitandpray/job-apply-ai/blob/master/scripts/greenhouse-filter.cjs"
click node_scraper "https://github.com/shipitandpray/job-apply-ai/blob/master/src/scraper/job-detail-scraper.ts"
click node_tailor_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/tailor-resume/skill.md"
click node_impress_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/impress-resume/skill.md"
click node_tailor "https://github.com/shipitandpray/job-apply-ai/blob/master/src/tailor/resume-tailor.ts"
click node_cover_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/cover-letter/skill.md"
click node_master_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/master-apply/skill.md"
click node_orchestrator "https://github.com/shipitandpray/job-apply-ai/blob/master/src/pipeline/orchestrator.ts"
click node_apply_skill "https://github.com/shipitandpray/job-apply-ai/blob/master/skills/apply-jobs/skill.md"
click node_greenhouse_apply "https://github.com/shipitandpray/job-apply-ai/blob/master/scripts/greenhouse-apply.cjs"
click node_ats_detector "https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/detector.ts"
click node_base_handler "https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/base-handler.ts"
click node_generic_handler "https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/generic.ts"
click node_greenhouse_handler "https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/greenhouse.ts"
click node_lever_handler "https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/lever.ts"
click node_tracker "https://github.com/shipitandpray/job-apply-ai/blob/master/src/tracker/application-tracker.ts"
click node_session_state "https://github.com/shipitandpray/job-apply-ai/blob/master/src/utils/state.ts"

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_search_skill,node_searcher,node_greenhouse_pull,node_filter_skill,node_greenhouse_filter toneBlue
class node_scraper,node_tailor_skill,node_impress_skill,node_tailor,node_cover_skill toneAmber
class node_master_skill,node_orchestrator,node_apply_skill,node_greenhouse_apply toneMint
class node_ats_detector,node_base_handler,node_generic_handler,node_greenhouse_handler,node_lever_handler toneRose
class node_tracker,node_session_state,node_claude toneIndigo
```

## Components

### Job Discovery

- [Search Jobs Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/search-jobs/skill.md): `skills/search-jobs/skill.md`
- [Job Searcher](https://github.com/shipitandpray/job-apply-ai/blob/master/src/search/job-searcher.ts): `src/search/job-searcher.ts`
- [Greenhouse Pull](https://github.com/shipitandpray/job-apply-ai/blob/master/scripts/greenhouse-pull.cjs): `scripts/greenhouse-pull.cjs`
- [Job Filters Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/job-filters/skill.md): `skills/job-filters/skill.md`
- [Greenhouse Filter](https://github.com/shipitandpray/job-apply-ai/blob/master/scripts/greenhouse-filter.cjs): `scripts/greenhouse-filter.cjs`

### Application Preparation

- [Job Detail Scraper](https://github.com/shipitandpray/job-apply-ai/blob/master/src/scraper/job-detail-scraper.ts): `src/scraper/job-detail-scraper.ts`
- [Tailor Resume Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/tailor-resume/skill.md): `skills/tailor-resume/skill.md`
- [Impress Resume Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/impress-resume/skill.md): `skills/impress-resume/skill.md`
- [Resume Tailor](https://github.com/shipitandpray/job-apply-ai/blob/master/src/tailor/resume-tailor.ts): `src/tailor/resume-tailor.ts`
- [Cover Letter Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/cover-letter/skill.md): `skills/cover-letter/skill.md`

### Application Flow

- [Master Apply Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/master-apply/skill.md): `skills/master-apply/skill.md`
- [Pipeline Orchestrator](https://github.com/shipitandpray/job-apply-ai/blob/master/src/pipeline/orchestrator.ts): `src/pipeline/orchestrator.ts`
- [Apply Jobs Skill](https://github.com/shipitandpray/job-apply-ai/blob/master/skills/apply-jobs/skill.md): `skills/apply-jobs/skill.md`
- [Greenhouse Apply Script](https://github.com/shipitandpray/job-apply-ai/blob/master/scripts/greenhouse-apply.cjs): `scripts/greenhouse-apply.cjs`

### ATS Handling

- [ATS Detector](https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/detector.ts): `src/ats/detector.ts`
- [Base ATS Handler](https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/base-handler.ts): `src/ats/base-handler.ts`
- [Generic Handler](https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/generic.ts): `src/ats/generic.ts`
- [Greenhouse Handler](https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/greenhouse.ts): `src/ats/greenhouse.ts`
- [Lever Handler](https://github.com/shipitandpray/job-apply-ai/blob/master/src/ats/lever.ts): `src/ats/lever.ts`

### Application State

- [Application Tracker](https://github.com/shipitandpray/job-apply-ai/blob/master/src/tracker/application-tracker.ts): `src/tracker/application-tracker.ts`
- [Session State](https://github.com/shipitandpray/job-apply-ai/blob/master/src/utils/state.ts): `src/utils/state.ts`

### Other components

- **Claude Code**

## Connections

- Claude Code → Search Jobs Skill: invokes (evidence: `README.md`)
- Claude Code → Master Apply Skill: invokes (evidence: `README.md`)
- Claude Code → Apply Jobs Skill: invokes (evidence: `README.md`)
- Search Jobs Skill → Job Searcher: searches with
- Search Jobs Skill → Greenhouse Pull: searches via
- Greenhouse Pull → Greenhouse Filter: feeds listings (evidence: `README.md`)
- Job Searcher → Job Detail Scraper: supplies job
- Job Filters Skill → Greenhouse Filter: filters via
- Master Apply Skill → Pipeline Orchestrator: coordinates
- Master Apply Skill → Tailor Resume Skill: coordinates (evidence: `README.md`)
- Master Apply Skill → Apply Jobs Skill: coordinates (evidence: `README.md`)
- Pipeline Orchestrator → Job Detail Scraper: scrapes details (evidence: `src/pipeline/orchestrator.ts`)
- Pipeline Orchestrator → Resume Tailor: saves documents (evidence: `src/pipeline/orchestrator.ts`)
- Tailor Resume Skill → Resume Tailor: tailors resume
- Impress Resume Skill → Resume Tailor: deep tailors
- Cover Letter Skill → Resume Tailor: generates letter
- Pipeline Orchestrator → ATS Detector: detects ATS (evidence: `src/pipeline/orchestrator.ts`)
- Pipeline Orchestrator → Greenhouse Handler: selects handler (evidence: `src/pipeline/orchestrator.ts`)
- Pipeline Orchestrator → Lever Handler: selects handler (evidence: `src/pipeline/orchestrator.ts`)
- Pipeline Orchestrator → Generic Handler: selects fallback (evidence: `src/pipeline/orchestrator.ts`)
- Greenhouse Handler → Base ATS Handler: inherits helpers (evidence: `src/ats/greenhouse.ts`)
- Lever Handler → Base ATS Handler: inherits helpers (evidence: `src/ats/lever.ts`)
- Generic Handler → Base ATS Handler: inherits helpers (evidence: `src/ats/generic.ts`)
- Apply Jobs Skill → Greenhouse Apply Script: applies via
- Pipeline Orchestrator → Application Tracker: updates records (evidence: `src/pipeline/orchestrator.ts`)
- Pipeline Orchestrator → Session State: updates session (evidence: `src/pipeline/orchestrator.ts`)
