# guilhermefigueira/tech-focused-resume-template architecture

> Architecture diagram of the GitHub repository guilhermefigueira/tech-focused-resume-template, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/guilhermefigueira/tech-focused-resume-template
- Repository: https://github.com/guilhermefigueira/tech-focused-resume-template

## Overview

#### Purpose and Entry Points
This repository is a Typst-based resume template/library. The primary authored document is `src/resume.typ`; `template/main.typ` is the consumer-facing template entry point. Typst package metadata/configuration is in `typst.toml`.

#### Resume Composition
`src/resume.typ` assembles the resume document and imports reusable formatting/content primitives. It is the central composition boundary between a user’s resume content and the shared presentation system.

Paths:
- `src/resume.typ`
- `template/main.typ`
- `src/lib.typ`

#### Reusable Content Sections
Resume-specific sections are encapsulated as Typst components rather than embedded into one document. This supports consistent layouts for common resume entities and allows `src/resume.typ` or template consumers to compose selected sections.

Paths:
- `src/components/header.typ`
- `src/components/work.typ`
- `src/components/education.typ`

#### Project and Supplemental Layouts
Projects and miscellaneous resume content have dedicated components, separating their item structure and typography from work and education history. These components form the extension points for additional resume sections.

Paths:
- `src/components/project.typ`
- `src/components/misc.typ`

#### Shared Library and Helpers
`src/lib.typ` acts as the shared public/internal Typst library layer for document-wide definitions and component access. `src/helpers.typ` contains lower-level reusable formatting or utility logic used by the resume composition and components.

Paths:
- `src/lib.typ`
- `src/helpers.typ`

#### Rendering Flow and Runtime Boundary
The runtime is Typst: source files are compiled into the final resume artifact by a Typst-compatible toolchain. Content flows from `template/main.typ` and/or `src/resume.typ` through imports into section components, then through shared helpers/library definitions to Typst’s layout/rendering engine. There is no application server, database, API, or external service evident in the repository.

Paths:
- `template/main.typ`
- `src/resume.typ`
- `typst.toml`

#### Validation and Development
A minimal debug document provides a development validation surface for rendering or inspecting template behavior. It is isolated from the production resume/template composition.

Paths:
- `tests/debug/test.typ`

Main entry points: [`src/resume.typ`](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/resume.typ) (Resume composition), [`template/main.typ`](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/template/main.typ) (Template entry), [`src/lib.typ`](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/lib.typ) (Shared library), [`src/helpers.typ`](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/helpers.typ) (Formatting helpers)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Resume authoring"]
  node_template["Template entry<br/>Typst template<br/>[main.typ]"]
  node_resume["Resume composition<br/>Typst document<br/>[resume.typ]"]
  node_metadata["Package metadata<br/>Typst package config<br/>[typst.toml]"]
end

subgraph group_sections["Section components"]
  node_header["Header<br/>Typst component<br/>[header.typ]"]
  node_work["Work history<br/>Typst component<br/>[work.typ]"]
  node_education["Education<br/>Typst component<br/>[education.typ]"]
  node_project["Projects<br/>Typst component<br/>[project.typ]"]
  node_misc["Supplemental content<br/>Typst component<br/>[misc.typ]"]
end

subgraph group_shared["Shared presentation"]
  node_library["Shared library<br/>Typst library<br/>[lib.typ]"]
  node_helpers["Formatting helpers<br/>Typst helpers<br/>[helpers.typ]"]
end

node_typst{{"Typst renderer<br/>Compilation runtime"}}
node_artifact["Rendered resume<br/>Output artifact"]
node_debug["Debug document<br/>Typst validation document<br/>[test.typ]"]

node_template -->|"uses"| node_resume
node_resume -->|"imports"| node_library
node_resume -->|"uses"| node_helpers
node_resume -->|"composes"| node_header
node_resume -->|"composes"| node_work
node_resume -->|"composes"| node_education
node_resume -->|"composes"| node_project
node_resume -->|"composes"| node_misc
node_library -->|"uses"| node_helpers
node_template -->|"compiled by"| node_typst
node_resume -->|"compiled by"| node_typst
node_metadata -.->|"configures package"| node_typst
node_typst -->|"renders"| node_artifact
node_debug -.->|"validates with"| node_typst

click node_template "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/template/main.typ"
click node_resume "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/resume.typ"
click node_metadata "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/typst.toml"
click node_header "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/header.typ"
click node_work "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/work.typ"
click node_education "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/education.typ"
click node_project "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/project.typ"
click node_misc "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/misc.typ"
click node_library "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/lib.typ"
click node_helpers "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/helpers.typ"
click node_debug "https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/tests/debug/test.typ"

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_template,node_resume,node_metadata toneBlue
class node_header,node_work,node_education,node_project,node_misc toneAmber
class node_library,node_helpers toneMint
class node_typst,node_artifact,node_debug toneNeutral
```

## Components

### Resume authoring

- [Template entry](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/template/main.typ): Typst template · Consumer-facing resume entry point. · `template/main.typ`
- [Resume composition](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/resume.typ): Typst document · Central boundary for resume content and presentation. · `src/resume.typ`
- [Package metadata](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/typst.toml): Typst package config · `typst.toml`

### Section components

- [Header](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/header.typ): Typst component · `src/components/header.typ`
- [Work history](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/work.typ): Typst component · `src/components/work.typ`
- [Education](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/education.typ): Typst component · `src/components/education.typ`
- [Projects](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/project.typ): Typst component · `src/components/project.typ`
- [Supplemental content](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/components/misc.typ): Typst component · `src/components/misc.typ`

### Shared presentation

- [Shared library](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/lib.typ): Typst library · Document-wide definitions and component access. · `src/lib.typ`
- [Formatting helpers](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/src/helpers.typ): Typst helpers · `src/helpers.typ`

### Other components

- **Typst renderer**: Compilation runtime · Compiles Typst sources into the final resume artifact.
- **Rendered resume**: Output artifact
- [Debug document](https://github.com/guilhermefigueira/tech-focused-resume-template/blob/main/tests/debug/test.typ): Typst validation document · Isolated rendering and template inspection surface. · `tests/debug/test.typ`

## Connections

- Template entry → Resume composition: uses
- Resume composition → Shared library: imports
- Resume composition → Formatting helpers: uses
- Resume composition → Header: composes
- Resume composition → Work history: composes
- Resume composition → Education: composes
- Resume composition → Projects: composes
- Resume composition → Supplemental content: composes
- Shared library → Formatting helpers: uses
- Template entry → Typst renderer: compiled by
- Resume composition → Typst renderer: compiled by
- Package metadata → Typst renderer: configures package
- Typst renderer → Rendered resume: renders
- Debug document → Typst renderer: validates with
