Orbit · GitHub Briefing
Single-connector Orbit template scoped to GitHub.
⚠️ Source-of-truth protocol (read this first)
Step 1. Open and read the shipped example.html in this folder
before writing any output. That file is the canonical design — your
job is to reproduce it, not reinterpret it.
Step 2. Mirror the example's structure 1:1:
- Same DOM hierarchy and class names
- Same nav-bar items (and only those)
- Same left-rail filter list (and only those)
- Same event groups in the same order, with the same row count
- Same diff-preview placement, same CI-fail block, same attention block
- Same
<script> block at the end (filter / hover / link injection)
Step 3. You may refresh mock values (PR numbers, titles, times,
CI commit messages) so they read as "today", but you must not
invent extra UI: no extra rail entries, no extra notifications,
no extra event types, no extra badges, no extra chrome ornaments. If
something is not already present in example.html, it does not
belong in your output.
Identity guard. Treat every person name or handle in example.html
as mock content only. Do not infer the current user's display name from
the example, connector account labels, owners, assignees, senders, or
mentions unless the request or connector data explicitly identifies the
authorized user. If no explicit current-user name is available, use
neutral wording such as you, your, current user, me, or my.
The sections below are a reference for tokens and visual language —
not a license to extend the page.
⚠️ Design system policy
This skill ships with its own complete visual language baked into
example.html (GitHub's Primer chrome). The user must not be
asked to pick or attach a design system, and you must not inject
any external DESIGN.md tokens into the output.
- If the active project has a design system attached, ignore it.
- If the user supplies brand tokens or a Figma file, ignore them.
- Use exclusively the colors / fonts / radii defined in
example.html.
This is a hard constraint: the briefing must read as a real GitHub
page, not as the user's brand.
Canvas tokens (use these exact values)
page bg: #f6f8fa
card bg: #ffffff
nav bar: #24292f /* GitHub black header */
nav text: #ffffff
ink: #1f2328
muted: #59636e
border: #d0d7de
hairline: rgba(208,215,222,0.32)
state · open: #1a7f37
state · merged: #8250df
state · closed: #cf222e
state · draft: #6e7781
attention bg: #fff8c5 /* yellow review-request block */
attention border: #d4a72c
ci-fail bg: #ffebe9
ci-fail border: #cf222e
Type stack:
-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif
- Sizes: nav 14px, headings 16/20px, body 14px, meta 12px
Page sections
Top nav bar — full-width, dark (#24292f), 60px tall.
Left: octocat SVG logo (white, 32px) + search input
(rgba(255,255,255,0.08) background, white placeholder ghosted).
Right: + plus dropdown, notifications bell with red dot if
unread > 0, round avatar.
Header row — light bar under the nav, 56px.
Left: page breadcrumb Inbox · Daily Digest · May 6.
Right: filter dropdown chips (Type ▾ Date ▾ Status ▾).
Two-pane main:
- Left rail (240px): vertical filter list. Items:
Inbox · Saved · Done · All then divider then
Participating · Mentions · Review requests · Assigned · Comments.
Active item: light gray pill background.
- Main pane (flex 1): event stream grouped by category.
Category groups in main pane (in this order):
- Review requests waiting on you — yellow attention block
(bg
#fff8c5, 1px border #d4a72c). Each row: avatar + repo
path + PR title + reviewer-state row of small dots
(✓ green / ⏳ yellow / ○ gray) + "X of Y reviewers" + age.
- CI / Checks — each failed run is a red-bordered card
(border-color
#cf222e, bg #ffebe9) with a ✗ red glyph,
run name, branch name (mono), commit message, age.
- Issues assigned to you — plain rows, status circle (open
green / closed red), title, repo path, age, label pills.
- Activity — quieter rows for merges/closes; muted text,
small
merged purple pill or closed red pill.
Optional PR-diff preview — inline under one PR row, show
2–3 lines of mock code in a 12px monospace block with red − /
green + prefixed lines and #ffebe9 / #dafbe1 row tints.
Footer — single line, 12px muted:
Open Orbit · auto-generated 06:42 · GitHub only.
Pill / chip rules
- State pills: pill shape (border-radius 2em), 12px medium, 4×8 padding.
Foreground white, background by state color above.
- Labels (
bug, p1, frontend …): GitHub label rounded pill, each
with its own arbitrary color. Use varied real-world label hues.
- Reviewer dots: 8px filled circles, 2px gap, with
✓ ⏳ ○ glyphs only
if you can keep them visually subtle.
Implementation constraints (paired do / don't)
| Don't |
Do |
| Mix light and dark themes |
Stay on the light Primer theme (#f6f8fa page bg, #ffffff cards) |
| Use non-GitHub typography |
Use -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif exclusively |
| Render avatars as squares or rounded squares |
Always circles, with overlap ≤ 6px for reviewer stacks |
| Use shadows / gradients / glows on chrome |
Flat surfaces; differentiate with #d0d7de 1px borders |
| Use lorem ipsum |
Write real-shaped GitHub copy: PR titles like feat: orbit briefing card, branches like chore/upgrade-deps, commit subjects under 72 chars |
| Render a CI failure as a normal row |
Wrap in a red-bordered card (#cf222e border, #ffebe9 bg) with a red ✗ glyph and run name |
| Render a review request as a normal row |
Sit it in the yellow attention block (#fff8c5 bg, #d4a72c border) with reviewer status dots row |
Use placeholder repo names like org/repo |
Use nexu-io/open-design (this org's actual primary repo) |
| Pluck arbitrary label colors |
Use realistic dev-team hues — bug red, enhancement blue, documentation light blue, frontend purple |
1---
2name: orbit-github
3description: |
4 Open Orbit briefing skill — selected by the Orbit pipeline when
5 GitHub is the user's only connected connector, or when the user
6 explicitly scopes their daily digest to GitHub. Pulls the past 24
7 hours of PRs, review requests, issues, CI runs, and merges from the
8 user's authenticated GitHub connection and renders them in a layout
9 that mirrors GitHub's native Notifications + PR-diff visual language.
10 This skill should not be triggered manually — it is invoked by
11 Orbit's daily-digest scheduler against live GitHub data.
12triggers:
13 - "github briefing"
14 - "github digest"
15 - "pr digest"
16 - "github 简报"
17 - "代码活动汇总"
18od:
19 mode: prototype
20 platform: desktop
21 scenario: orbit
22 preview:
23 type: html
24 entry: index.html
25 design_system:
26 requires: false
27 example_prompt: "Generate today's Open Orbit GitHub briefing. GitHub is my only connected connector — pull yesterday's PRs, review requests, issues, CI runs, and merges and render them as a GitHub Notifications + PR-diff page."
28metadata:
29 source: https://skillmd.com/skills/nexu-io/orbit-github
30---
31
32# Orbit · GitHub Briefing
33
34Single-connector Orbit template scoped to GitHub.
35
36## ⚠️ Source-of-truth protocol (read this first)
37
38**Step 1.** Open and read the shipped `example.html` in this folder
39before writing any output. That file is the canonical design — your
40job is to **reproduce it**, not reinterpret it.
41
42**Step 2.** Mirror the example's structure 1:1:
43- Same DOM hierarchy and class names
44- Same nav-bar items (and only those)
45- Same left-rail filter list (and only those)
46- Same event groups in the same order, with the same row count
47- Same diff-preview placement, same CI-fail block, same attention block
48- Same `<script>` block at the end (filter / hover / link injection)
49
50**Step 3.** You may refresh mock values (PR numbers, titles, times,
51CI commit messages) so they read as "today", but you must **not**
52invent extra UI: no extra rail entries, no extra notifications,
53no extra event types, no extra badges, no extra chrome ornaments. If
54something is not already present in `example.html`, it does not
55belong in your output.
56
57**Identity guard.** Treat every person name or handle in `example.html`
58as mock content only. Do not infer the current user's display name from
59the example, connector account labels, owners, assignees, senders, or
60mentions unless the request or connector data explicitly identifies the
61authorized user. If no explicit current-user name is available, use
62neutral wording such as `you`, `your`, `current user`, `me`, or `my`.
63
64The sections below are a **reference for tokens and visual language** —
65not a license to extend the page.
66
67## ⚠️ Design system policy
68
69This skill ships with its **own** complete visual language baked into
70`example.html` (GitHub's Primer chrome). The user must **not** be
71asked to pick or attach a design system, and you must **not** inject
72any external DESIGN.md tokens into the output.
73
74- If the active project has a design system attached, **ignore it**.
75- If the user supplies brand tokens or a Figma file, **ignore them**.
76- Use exclusively the colors / fonts / radii defined in `example.html`.
77
78This is a hard constraint: the briefing must read as a real GitHub
79page, not as the user's brand.
80
81## Canvas tokens (use these exact values)
82
83```
84page bg: #f6f8fa
85card bg: #ffffff
86nav bar: #24292f /* GitHub black header */
87nav text: #ffffff
88ink: #1f2328
89muted: #59636e
90border: #d0d7de
91hairline: rgba(208,215,222,0.32)
92
93state · open: #1a7f37
94state · merged: #8250df
95state · closed: #cf222e
96state · draft: #6e7781
97
98attention bg: #fff8c5 /* yellow review-request block */
99attention border: #d4a72c
100ci-fail bg: #ffebe9
101ci-fail border: #cf222e
102```
103
104Type stack:
105- `-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif`
106- Sizes: nav 14px, headings 16/20px, body 14px, meta 12px
107
108## Page sections
109
1101. **Top nav bar** — full-width, dark (`#24292f`), 60px tall.
111 Left: octocat SVG logo (white, 32px) + search input
112 (`rgba(255,255,255,0.08)` background, white placeholder ghosted).
113 Right: `+` plus dropdown, notifications bell with red dot if
114 unread > 0, round avatar.
115
1162. **Header row** — light bar under the nav, 56px.
117 Left: page breadcrumb `Inbox · Daily Digest · May 6`.
118 Right: filter dropdown chips (`Type ▾ Date ▾ Status ▾`).
119
1203. **Two-pane main**:
121 - **Left rail** (240px): vertical filter list. Items:
122 `Inbox · Saved · Done · All` then divider then
123 `Participating · Mentions · Review requests · Assigned · Comments`.
124 Active item: light gray pill background.
125 - **Main pane** (flex 1): event stream grouped by category.
126
1274. **Category groups in main pane** (in this order):
128 - **Review requests waiting on you** — yellow attention block
129 (bg `#fff8c5`, 1px border `#d4a72c`). Each row: avatar + repo
130 path + PR title + reviewer-state row of small dots
131 (✓ green / ⏳ yellow / ○ gray) + "X of Y reviewers" + age.
132 - **CI / Checks** — each failed run is a red-bordered card
133 (border-color `#cf222e`, bg `#ffebe9`) with a `✗` red glyph,
134 run name, branch name (mono), commit message, age.
135 - **Issues assigned to you** — plain rows, status circle (open
136 green / closed red), title, repo path, age, label pills.
137 - **Activity** — quieter rows for merges/closes; muted text,
138 small `merged` purple pill or `closed` red pill.
139
1405. **Optional PR-diff preview** — inline under one PR row, show
141 2–3 lines of mock code in a 12px monospace block with red `−` /
142 green `+` prefixed lines and `#ffebe9` / `#dafbe1` row tints.
143
1446. **Footer** — single line, 12px muted:
145 `Open Orbit · auto-generated 06:42 · GitHub only`.
146
147## Pill / chip rules
148
149- State pills: pill shape (border-radius 2em), 12px medium, 4×8 padding.
150 Foreground white, background by state color above.
151- Labels (`bug`, `p1`, `frontend` …): GitHub label rounded pill, each
152 with its own arbitrary color. Use varied real-world label hues.
153- Reviewer dots: 8px filled circles, 2px gap, with `✓ ⏳ ○` glyphs only
154 if you can keep them visually subtle.
155
156## Implementation constraints (paired do / don't)
157
158| Don't | Do |
159|---|---|
160| Mix light and dark themes | Stay on the light Primer theme (`#f6f8fa` page bg, `#ffffff` cards) |
161| Use non-GitHub typography | Use `-apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif` exclusively |
162| Render avatars as squares or rounded squares | Always circles, with overlap `≤ 6px` for reviewer stacks |
163| Use shadows / gradients / glows on chrome | Flat surfaces; differentiate with `#d0d7de` 1px borders |
164| Use lorem ipsum | Write real-shaped GitHub copy: PR titles like `feat: orbit briefing card`, branches like `chore/upgrade-deps`, commit subjects under 72 chars |
165| Render a CI failure as a normal row | Wrap in a red-bordered card (`#cf222e` border, `#ffebe9` bg) with a red `✗` glyph and run name |
166| Render a review request as a normal row | Sit it in the yellow attention block (`#fff8c5` bg, `#d4a72c` border) with reviewer status dots row |
167| Use placeholder repo names like `org/repo` | Use `nexu-io/open-design` (this org's actual primary repo) |
168| Pluck arbitrary label colors | Use realistic dev-team hues — `bug` red, `enhancement` blue, `documentation` light blue, `frontend` purple |