# nutlope/hallmark architecture

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

- Interactive diagram: https://gitdiagram.com/nutlope/hallmark
- Repository: https://github.com/nutlope/hallmark

## Overview

Hallmark is an AI-coding-assistant design skill: a user describes a page, an assistant applies Hallmark’s design rules and theme guidance, then produces and checks the page. The README also describes custom builds, real-product screenshots, redesign/audit, and a fifty-theme catalog. The repository tree omits the skill instructions and reference catalog, so those capabilities are represented only where the README supports them; the sampled theme files are showcase-page implementations, not evidence of the full catalog runtime.

Main entry points: [`site/themes`](https://github.com/nutlope/hallmark/tree/main/site/themes) (Theme catalog), [`site/js/core.js`](https://github.com/nutlope/hallmark/blob/main/site/js/core.js) (Hallmark website), [`skills/hallmark/scripts/theme.mjs`](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/theme.mjs) (Theme and page guidance), [`skills/hallmark/scripts/sloplint.mjs`](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint.mjs) (Redesign and audit)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Build workflow"]
  node_theme_guidance["Theme and page guidance<br/>[theme.mjs]"]
  node_page_build["Page implementation"]
  node_custom_build["Custom design"]
  node_redesign["Redesign and audit<br/>[sloplint.mjs]"]
  node_product_capture["Product screenshots<br/>[capture.mjs]"]
  node_photo_selection["Photo selection<br/>[picture.mjs]"]
end

subgraph group_quality["Quality and review"]
  node_static_lint["Static checks<br/>[sloplint.mjs]"]
  node_browser_lint["Rendered checks"]
  node_fresh_review["Fresh-context review"]
end

subgraph group_showcase["Theme showcase"]
  node_theme_catalog["Theme catalog"]
  node_atelier_theme["Atelier theme<br/>[air.js]"]
  node_bloom_theme["Bloom theme<br/>[page.js]"]
  node_cobalt_theme["Cobalt theme<br/>[wire.js]"]
  node_furrow_theme["Furrow theme<br/>[map.js]"]
  node_refract_theme["Refract theme<br/>[scene.js]"]
  node_ribbon_theme["Ribbon theme<br/>[night.js]"]
  node_terminal_theme["Terminal theme<br/>[art.js]"]
  node_vantage_theme["Vantage theme<br/>[scene.js]"]
end

subgraph group_site["Hallmark website"]
  node_site_home["Hallmark website<br/>[core.js]"]
  node_theme_fan["Theme sampler<br/>[fan.js]"]
  node_site_headline["Animated headline<br/>[headline.js]"]
end

node_user(("Page requester"))
node_assistant(("Coding assistant"))
node_photo_service["Photo source"]
node_browser["Browser"]
node_reviewer(("Fresh-context reviewer"))

node_user -->|"requests design"| node_assistant
node_assistant -->|"deals themes and anatomy"| node_theme_guidance
node_assistant -->|"builds page"| node_page_build
node_theme_guidance -->|"guides layout"| node_page_build
node_assistant -->|"designs custom page"| node_custom_build
node_user -->|"requests redesign or audit"| node_redesign
node_redesign -->|"rebuilds page"| node_page_build
node_assistant -->|"captures product"| node_product_capture
node_product_capture -->|"captures screenshots"| node_browser
node_assistant -->|"selects photographs"| node_photo_selection
node_photo_selection -->|"uses licensed photos"| node_photo_service
node_assistant -->|"checks page"| node_static_lint
node_static_lint -->|"runs rendered checks"| node_browser_lint
node_browser_lint -->|"checks at eight widths"| node_browser
node_assistant -->|"requests fresh review"| node_reviewer
node_reviewer -->|"reviews page"| node_fresh_review
node_theme_catalog -.->|"includes example"| node_atelier_theme
node_theme_catalog -.->|"includes example"| node_bloom_theme
node_theme_catalog -.->|"includes example"| node_cobalt_theme
node_theme_catalog -.->|"includes example"| node_furrow_theme
node_theme_catalog -.->|"includes example"| node_refract_theme
node_theme_catalog -.->|"includes example"| node_ribbon_theme
node_theme_catalog -.->|"includes example"| node_terminal_theme
node_theme_catalog -.->|"includes example"| node_vantage_theme
node_site_home -.->|"presents sampler"| node_theme_fan
node_site_home -.->|"presents headline"| node_site_headline

click node_theme_guidance "https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/theme.mjs"
click node_custom_build "https://github.com/nutlope/hallmark/tree/main/skills/hallmark"
click node_redesign "https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint.mjs"
click node_product_capture "https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/capture.mjs"
click node_photo_selection "https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/picture.mjs"
click node_static_lint "https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint.mjs"
click node_browser_lint "https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint-render.mjs"
click node_fresh_review "https://github.com/nutlope/hallmark/tree/main/skills/hallmark"
click node_theme_catalog "https://github.com/nutlope/hallmark/tree/main/site/themes"
click node_atelier_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/atelier/air.js"
click node_bloom_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/bloom/page.js"
click node_cobalt_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/cobalt/wire.js"
click node_furrow_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/furrow/map.js"
click node_refract_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/refract/scene.js"
click node_ribbon_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/ribbon/night.js"
click node_terminal_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/terminal/art.js"
click node_vantage_theme "https://github.com/nutlope/hallmark/blob/main/site/themes/vantage/scene.js"
click node_site_home "https://github.com/nutlope/hallmark/blob/main/site/js/core.js"
click node_theme_fan "https://github.com/nutlope/hallmark/blob/main/site/js/fan.js"
click node_site_headline "https://github.com/nutlope/hallmark/blob/main/site/js/headline.js"

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_theme_guidance,node_page_build,node_custom_build,node_redesign,node_product_capture,node_photo_selection,node_browser,node_reviewer toneBlue
class node_static_lint,node_browser_lint,node_fresh_review toneAmber
class node_theme_catalog,node_atelier_theme,node_bloom_theme,node_cobalt_theme,node_furrow_theme,node_refract_theme,node_ribbon_theme,node_terminal_theme,node_vantage_theme,node_user toneMint
class node_site_home,node_theme_fan,node_site_headline toneRose
class node_assistant,node_photo_service toneIndigo
```

## Components

### Build workflow

- [Theme and page guidance](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/theme.mjs): `skills/hallmark/scripts/theme.mjs`
- **Page implementation**
- [Custom design](https://github.com/nutlope/hallmark/tree/main/skills/hallmark): `skills/hallmark`
- [Redesign and audit](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint.mjs): `skills/hallmark/scripts/sloplint.mjs`
- [Product screenshots](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/capture.mjs): `skills/hallmark/scripts/capture.mjs`
- [Photo selection](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/picture.mjs): `skills/hallmark/scripts/picture.mjs`

### Quality and review

- [Static checks](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint.mjs): `skills/hallmark/scripts/sloplint.mjs`
- [Rendered checks](https://github.com/nutlope/hallmark/blob/main/skills/hallmark/scripts/sloplint-render.mjs): `skills/hallmark/scripts/sloplint-render.mjs`
- [Fresh-context review](https://github.com/nutlope/hallmark/tree/main/skills/hallmark): `skills/hallmark`

### Theme showcase

- [Theme catalog](https://github.com/nutlope/hallmark/tree/main/site/themes): `site/themes`
- [Atelier theme](https://github.com/nutlope/hallmark/blob/main/site/themes/atelier/air.js): `site/themes/atelier/air.js`
- [Bloom theme](https://github.com/nutlope/hallmark/blob/main/site/themes/bloom/page.js): `site/themes/bloom/page.js`
- [Cobalt theme](https://github.com/nutlope/hallmark/blob/main/site/themes/cobalt/wire.js): `site/themes/cobalt/wire.js`
- [Furrow theme](https://github.com/nutlope/hallmark/blob/main/site/themes/furrow/map.js): `site/themes/furrow/map.js`
- [Refract theme](https://github.com/nutlope/hallmark/blob/main/site/themes/refract/scene.js): `site/themes/refract/scene.js`
- [Ribbon theme](https://github.com/nutlope/hallmark/blob/main/site/themes/ribbon/night.js): `site/themes/ribbon/night.js`
- [Terminal theme](https://github.com/nutlope/hallmark/blob/main/site/themes/terminal/art.js): `site/themes/terminal/art.js`
- [Vantage theme](https://github.com/nutlope/hallmark/blob/main/site/themes/vantage/scene.js): `site/themes/vantage/scene.js`

### Hallmark website

- [Hallmark website](https://github.com/nutlope/hallmark/blob/main/site/js/core.js): `site/js/core.js`
- [Theme sampler](https://github.com/nutlope/hallmark/blob/main/site/js/fan.js): `site/js/fan.js`
- [Animated headline](https://github.com/nutlope/hallmark/blob/main/site/js/headline.js): `site/js/headline.js`

### Other components

- **Page requester**
- **Coding assistant**
- **Photo source**
- **Browser**
- **Fresh-context reviewer**

## Connections

- Page requester → Coding assistant: requests design
- Coding assistant → Theme and page guidance: deals themes and anatomy
- Coding assistant → Page implementation: builds page
- Theme and page guidance → Page implementation: guides layout
- Coding assistant → Custom design: designs custom page
- Page requester → Redesign and audit: requests redesign or audit
- Redesign and audit → Page implementation: rebuilds page
- Coding assistant → Product screenshots: captures product
- Product screenshots → Browser: captures screenshots
- Coding assistant → Photo selection: selects photographs
- Photo selection → Photo source: uses licensed photos
- Coding assistant → Static checks: checks page
- Static checks → Rendered checks: runs rendered checks
- Rendered checks → Browser: checks at eight widths
- Coding assistant → Fresh-context reviewer: requests fresh review
- Fresh-context reviewer → Fresh-context review: reviews page
- Theme catalog → Atelier theme: includes example
- Theme catalog → Bloom theme: includes example
- Theme catalog → Cobalt theme: includes example
- Theme catalog → Furrow theme: includes example
- Theme catalog → Refract theme: includes example
- Theme catalog → Ribbon theme: includes example
- Theme catalog → Terminal theme: includes example
- Theme catalog → Vantage theme: includes example
- Hallmark website → Theme sampler: presents sampler
- Hallmark website → Animated headline: presents headline
