Graph-paper code hosting and DevSecOps platform with crisp pull-request diff cards, pipeline check badges, and pure-black dark mode parity.
npx uikits-md@latest add gitforge --platform all --out .Explore the color balance, dual WCAG 2.2 AA & APCA Lc contrast checks, typography scale, and geometry tokens built into uikit-gitforge.
Review pull requests, inspect diffs, and gate merges on live CI checks. Crisp hierarchy with intentional whitespace and zero decorative noise.
Install with the CLI, shadcn, an AI agent prompt, MCP, or download the ZIP directly.
One command adds the full design system, motion rules, and React templates to your project and coding agents.
npx uikits-md@latest add gitforge --platform all --out .
Browse the design specs, theme variables, and React templates included in uikit-gitforge.
You are building production code-hosting, pull-request review, and DevSecOps automation interfaces with the Gitforge — Code Platform UI Skill Pack (tokens/ + templates/ + empirical subpage & governance blueprints). Pair with registry/backbone/ (uikit-backbone) when a project needs the broader 27-component and 6-page-recipe web skeleton.
FIRST-PASS ENGINEERING MANDATE: Never treat this pack as generic marketing SaaS styling. Build on a crisp pure-white #ffffff canvas paired with #f6f8fa repository chrome, 1px solid #d0d7de structural hairlines, subtle 24px graph-paper backdrops (.gf-graph-paper), high-contrast #1f2328 engineering ink (15.80:1 AAA), saturated engineering blue #0969da primary actions (#ffffff ink, 5.19:1 AA), emerald #1a7f37 merge-ready highlights (#ffffff ink, 5.08:1 AA), ubiquitous JetBrains Mono commit hashes (9f4a2e1), branch refs, unified/split diff hunks, live pipeline check badges, compositor-only motion (diff-row-reveal, check-badge-pop, branch-pill-snap, panel-hairline-fade, merge-bar-fill), and seamless #0d1117 / #161b22 Dark Mode with pure-black #000000 showcase parity automatically on the very first pass.
Read DESIGN.md and tokens.css first, then load the companion specifications and starter templates matching the active surface:
| User Task | Required Spec Files | Machine Tokens & Rules | Drop-In Templates to Copy / Use |
|---|---|---|---|
| Platform Marketing Landing Page | DESIGN.md, MOTION.md, ASSETS.md, CONTENT.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/ScrollReveal.tsx, templates/PullRequestDiffCard.tsx, templates/PipelineChecksPanel.tsx, templates/StatusBadge.tsx |
| Repository Workspace & AppShell | DESIGN.md, APP_PATTERNS.md (§2–§3), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css, lint.json | templates/CodeHostShell.tsx, templates/CommandPalette.tsx, templates/StatusBadge.tsx |
| Pull-Request Diff & Code Review | DESIGN.md, APP_PATTERNS.md (§4), MOTION.md, CONTENT.md, tokens.css | tokens/tokens.json | templates/PullRequestDiffCard.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| CI/CD Pipelines & Security Gates | DESIGN.md, APP_PATTERNS.md (§4), MOTION.md, DATA_VIZ.md, tokens.css | tokens/tokens.json | templates/PipelineChecksPanel.tsx, templates/StatusBadge.tsx, templates/Sparkline.tsx |
Global Repo ⌘K Command Palette | DESIGN.md, APP_PATTERNS.md (§2), MOTION.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json | templates/CommandPalette.tsx, templates/CodeHostShell.tsx |
| CLI, Runner & Webhook Docs | DESIGN.md, APP_PATTERNS.md (§6), CONTENT.md, ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/tailwind.css | templates/PullRequestDiffCard.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Settings, Branch Rules, Pricing & Auth | DESIGN.md, APP_PATTERNS.md (§5, §7–§9), ACCESSIBILITY.md, tokens.css | tokens/tokens.json, tokens/figma-variables.json | templates/CodeHostShell.tsx, templates/StatusBadge.tsx, templates/ScrollReveal.tsx |
| Velocity & Check Telemetry | DESIGN.md, DATA_VIZ.md, APP_PATTERNS.md (§3, §10), tokens.css | tokens/tokens.json | templates/Sparkline.tsx, templates/StatusBadge.tsx |
| Any UI Task (Final Gate) | CHECKLIST.md, EVALS.md, ACCESSIBILITY.md | lint.json, meta.json | Run npx uikits-md check gitforge --dir . and verify Light + Dark parity |
npx uikits-md add gitforge --platform all --out .npx shadcn@latest add https://uikits.tech/r/gitforge.jsonget_ui_kit_skill and get_ui_kit_file for gitforge.npm install @phosphor-icons/react (plus react, react-dom).src/app/layout.tsx:Import Inter (weight: ["400", "500", "600", "700"], variable --font-inter) and JetBrains_Mono (weight: ["400", "500", "600"], variable --font-jetbrains-mono) via next/font/google. Attach both variables to <html> and apply .gf-root on <body>.
tokens.css & tokens/tailwind.css:Place tokens.css and tokens/tailwind.css directly below @import "tailwindcss"; in src/app/globals.css. This registers Light (:root, [data-theme="light"], .light) and Dark ([data-theme="dark"], .dark) semantic bridges, .gf-graph-paper backdrops, .gf-grid-frame columns, diff syntax tokens, 6 compositor keyframes, offscreen pause guards, and accessibility media queries.
Install into src/components/uikit-gitforge/: CodeHostShell.tsx, PullRequestDiffCard.tsx, PipelineChecksPanel.tsx, CommandPalette.tsx, StatusBadge.tsx, ScrollReveal.tsx, and Sparkline.tsx.
#f6f8fa Chrome: Ground light workspaces on #ffffff (var(--background)), frame repository headers, diff headers, and toolbar chrome on #f6f8fa (var(--surface)), separate cells with crisp 1px solid var(--border) (#d0d7de light / #30363d dark), and use .gf-graph-paper (24px hairline grid) behind feature trays and landing showcases.[data-theme="dark"] or .dark shifts cleanly onto #0d1117 (var(--background)), #161b22 (var(--surface) / var(--card)), #e6edf3 ink (16.02:1 AAA), and #2f81f7 accent (#0d1117 dark ink, 5.05:1 AA), while dark showcase bands and terminal wells anchor on pure black var(--gf-void) (#000000, 17.77:1 AAA).var(--primary) — #0969da light / #2f81f7 dark) for primary navigation CTAs, active tabs, branch refs, and focus rings; reserve emerald (var(--highlight) — #1a7f37 light / #238636 dark) exclusively for passing checks, diff additions, and merge-ready confirmation buttons.#hex literals or static utility palette fills (bg-indigo-600, bg-purple-600) inside reusable TSX templates. Consume var(--background), var(--surface), var(--card), var(--foreground), var(--muted-foreground), var(--primary), var(--highlight), var(--border), and --gf-diff-* tokens exclusively.0.375rem Default): Apply 6px (var(--radius)) to buttons, inputs, pull-request cards, diff panels, and check containers; 4px (var(--radius-xs)) to <kbd> hints and commit SHA tags; 8px (var(--radius-md)) to dialogs and command palettes; and 9999px (var(--radius-pill)) to status badges and branch pills. Never apply rounded-2xl or rounded-3xl.JetBrains Mono Tabular Telemetry: Render every commit SHA (9f4a2e1), PR number (#418), branch ref (feat/zero-downtime-migrations), line gutter number, +184 / -42 diff delta, runner duration (1m 14s), and CVE code in .gf-mono (font-mono tabular-nums).PullRequestDiffCard.tsx): Support Unified and Split diff toggle, collapsible file hunks, selectable lines with inline review comment trigger, one-click file path & SHA copy with aria-live="polite" confirmation, and crisp --gf-diff-add-* / --gf-diff-del-* gutter contrast (>= 13.4:1 AAA).PipelineChecksPanel.tsx): Render branch/pipeline verification flows as real HTML/DOM <button> gate cards (01 SAST · 18s · Pass, 02 Race Suite · 1m 14s · Pass, 03 Dry-Run · 29s · Lock err, 04 Merge Gate · Blocked) with a crisp commit/ref header strip (main ← feat/... · SHA · SLSA-L3 Signed), >= 11px mono IDs/metrics, >= 12.5px semibold titles, semantic status LEDs, proportional duration bars, dedicated flex/grid directional connector gutters strictly between cards, upstream/downstream relation highlighting, a flush hairline runner-log inspection bar, live Re-run failed simulation, and protected-branch merge gating. NEVER depict branch pipelines as dashed <svg> rails with tiny branch dots or <svg><rect><text> boxes.⌘K Repository Command Palette (CommandPalette.tsx): Wire Cmd+K / Ctrl+K and header search to <CommandPalette /> with ArrowUp/ArrowDown navigation, Enter execution, focus restoration to the trigger, and nested Escape (clears query first, closes second).transform and opacity across the 5 registered profiles (diff-row-reveal, check-badge-pop, branch-pill-snap, panel-hairline-fade, merge-bar-fill). Pause running pulses under [data-offscreen="true"], guard .gf-reveal with html.js-ready + @media (scripting: none), and honor prefers-reduced-motion: reduce.<a href="#main-content" className="sr-only focus:not-sr-only ...">Skip to repository content</a> and <main id="main-content"> on every route, plus styled Loading (.gf-skeleton), Empty (clear CTA), and Error (role="alert" crimson wash + retry button) states.@phosphor-icons/react & Brand-Safe Sample Data: Import icons exclusively from @phosphor-icons/react (aria-hidden="true" on decorative icons, aria-label on icon-only buttons). Keep all organizations, repositories, reviewers, and domains original (Northstar, Kestrel, Vesper, Arbor, Helios, Cinder, example.com).<CodeHostShell /> with repo tabs (.gf-tab), branch selector pill, main <PullRequestDiffCard />, right/footer <PipelineChecksPanel />, and global <CommandPalette />..gf-graph-paper with a live <PullRequestDiffCard /> tray, a pure-black var(--gf-void) enterprise security band holding <PipelineChecksPanel />, and a 3-column hairline pricing matrix..gf-card <VelocityMetricCard /> tiles (Merge Lead Time, CI Pass Rate, Open PRs, Critical Advisories) with JetBrains Mono tabular-nums values and --chart-1..5 <Sparkline /> plots inside <ScrollReveal />.#ffffff, #f6f8fa, #1f2328, #0969da, #0d1117, or static utility color fills (bg-indigo-600, bg-purple-600) inside reusable TSX templates.#2f81f7 in Dark Mode: White ink on #2f81f7 yields only 3.75:1 (fails WCAG AA). Always pair Dark --primary (#2f81f7) with var(--primary-foreground) (#0d1117, 5.05:1 AA) or use --gf-link (#58a6ff, 7.49:1 AAA) for text links on dark surfaces.bg-gradient-to-r from-indigo-500, from-purple-500, from-fuchsia-500, rounded-2xl, rounded-3xl, shadow-2xl, or blur-3xl (blocked by lint.json).+/- counters, or runner durations without .gf-mono (font-mono tabular-nums).<svg><rect><text> Pipeline Nodes: Never depict branch topologies, commit rails, or CI/CD merge gates as dashed <svg> paths with tiny <circle> dots and sub-10px <text> boxes. Every pipeline stage MUST be a real HTML/DOM <button> or <div> gate card (>= 11px mono IDs/durations, >= 12.5px semibold titles, proportional duration bar, semantic status LED) with directional connectors placed strictly in dedicated CSS flex/grid gutters and a flush hairline runner-log inspection bar.Northstar, Kestrel, Vesper, Arbor, Helios, Cinder) and RFC 2606 domains (example.com).<svg> polygons or outline clipart. Physical subjects MUST use verified local .webp studio photography or 3D renders (fetchPriority="high" on Hero LCP, locked aspect-ratio for CLS === 0, calibrated gradient scrims for WCAG AA/AAA text legibility, zero baked-in text or logos).<svg><rect><text> boxes or tiny branch-dot rails. Reserve inline <svg> strictly for pure numeric <Sparkline /> velocity curves with role="img", <title>, and tabular-nums legends—never for text-bearing node cards.01 → 02 → 03 <circle> SVGs, tiny branch dots on dashed rails, or repeated step boxes underneath. Render real miniaturized software UI in HTML/DOM: a crisp commit/ref header (main ← feat/... · SHA · SLSA-L3 Signed), clickable horizontal DOM gate cards (>= 11px mono metrics, >= 12.5px semibold titles, status LED, proportional duration micro-bar) separated by dedicated gutter connectors, and a flush hairline runner-log/signal bar below with zero nested card-in-card clutter.tabular-nums value, an inline semantic delta (no redundant pill chrome), and a compact composition bar or sparkline grounded in real row data.compact/comfortable density toggle), sortable headers (aria-sort), multi-row selection with a custom color-scheme-safe checkbox and contextual bulk-action bar, multi-layer cells (primary label + mono ID + sub-meta), inline micro-meters for numeric scores, right-aligned tabular-nums values, hover-revealed quick actions, and @container-responsive column collapse with zero duplicate mobile status badges on desktop.<svg><rect><text> boxes with tiny unreadable SVG text or diagonal dashed lines slicing through labels. Structure graphs as tiered HTML/DOM interactive node cards (>=12.5px titles, >=11px mono IDs, semantic status LED, inline latency/throughput/weight micro-bar, upstream/downstream highlighting) with any connector lines confined strictly to dedicated column gutters.1440px), split-pane (700px), and mobile (390px) to verify zero clipped text, zero duplicate badges, zero dark-mode native checkbox bleed on light surfaces, and 0px horizontal overflow.