# ferrdxd/hyperboreas architecture

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

- Interactive diagram: https://gitdiagram.com/ferrdxd/hyperboreas
- Repository: https://github.com/ferrdxd/hyperboreas

## Overview

Hyperboreas is an Agent Skill that guides an AI agent through building and auditing FigCraft interfaces using atomic design. The principal workflow moves from foundation tokens to reusable components to page assembly, then through a verification gate before reporting completion. The README identifies focused references for command shapes and verification, and documents FigCraft MCP as the tool interface. Ophelia is a separately shipped builder agent. Source excerpts cover only the installer, so runtime relationships are based on README statements rather than inspected skill implementation.

Main entry points: [`skills/hyperboreas/SKILL.md`](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/SKILL.md) (Hyperboreas skill), [`skills/hyperboreas/references/tokens.md`](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/tokens.md) (Foundation tokens), [`skills/hyperboreas/references/components.md`](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/components.md) (UI components), [`skills/hyperboreas/references/page-assembly.md`](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/page-assembly.md) (Page assembly)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Build workflow"]
  node_skill["Hyperboreas skill<br/>[SKILL.md]"]
  node_tokens["Foundation tokens<br/>[tokens.md]"]
  node_components["UI components<br/>[components.md]"]
  node_page["Page assembly<br/>[page-assembly.md]"]
  node_verification["Verification gate<br/>[verification.md]"]
end

subgraph group_guides["Skill references"]
  node_commands["Command shapes<br/>[commands.md]"]
end

subgraph group_agents["Agent entrypoints"]
  node_ophelia["Ophelia builder<br/>[ophelia.md]"]
end

node_user(("Design requester"))
node_agent(("AI agent"))
node_figcraft["FigCraft MCP"]

node_user -->|"requests design"| node_agent
node_agent -->|"uses skill"| node_skill
node_skill -->|"defines foundations"| node_tokens
node_skill -->|"builds components"| node_components
node_skill -->|"assembles page"| node_page
node_skill -->|"verifies result"| node_verification
node_skill -->|"follows commands"| node_commands
node_agent -->|"drives tools"| node_figcraft
node_agent -.->|"may use builder"| node_ophelia

click node_skill "https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/SKILL.md"
click node_tokens "https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/tokens.md"
click node_components "https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/components.md"
click node_page "https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/page-assembly.md"
click node_verification "https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/verification.md"
click node_commands "https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/commands.md"
click node_ophelia "https://github.com/ferrdxd/hyperboreas/blob/main/agents/ophelia.md"

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_tokens,node_components,node_page,node_verification toneBlue
class node_commands toneAmber
class node_ophelia,node_user toneMint
class node_agent,node_figcraft toneIndigo
```

## Components

### Build workflow

- [Hyperboreas skill](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/SKILL.md): `skills/hyperboreas/SKILL.md`
- [Foundation tokens](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/tokens.md): `skills/hyperboreas/references/tokens.md`
- [UI components](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/components.md): `skills/hyperboreas/references/components.md`
- [Page assembly](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/page-assembly.md): `skills/hyperboreas/references/page-assembly.md`
- [Verification gate](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/verification.md): `skills/hyperboreas/references/verification.md`

### Skill references

- [Command shapes](https://github.com/ferrdxd/hyperboreas/blob/main/skills/hyperboreas/references/commands.md): `skills/hyperboreas/references/commands.md`

### Agent entrypoints

- [Ophelia builder](https://github.com/ferrdxd/hyperboreas/blob/main/agents/ophelia.md): `agents/ophelia.md`

### Other components

- **Design requester**
- **AI agent**
- **FigCraft MCP**

## Connections

- Design requester → AI agent: requests design (evidence: `README.md`)
- AI agent → Hyperboreas skill: uses skill (evidence: `README.md`)
- Hyperboreas skill → Foundation tokens: defines foundations (evidence: `README.md`)
- Hyperboreas skill → UI components: builds components (evidence: `README.md`)
- Hyperboreas skill → Page assembly: assembles page (evidence: `README.md`)
- Hyperboreas skill → Verification gate: verifies result (evidence: `README.md`)
- Hyperboreas skill → Command shapes: follows commands (evidence: `README.md`)
- AI agent → FigCraft MCP: drives tools (evidence: `README.md`)
- AI agent → Ophelia builder: may use builder (evidence: `README.md`)
