Back to list
PrometheusDevCreator

prometheus-ui

by PrometheusDevCreator

Prometheus – The Promethean Courseware Generation System (PCGS) Ecosystem

0🍴 0📅 Jan 22, 2026

SKILL.md


name: prometheus-ui description: "Prometheus UI Development Skill for PCGS 2.0. Use for ANY UI work in Prometheus: (1) Positioning/layout changes using coordinate system, (2) Component creation within Content Zone, (3) Style modifications within doctrine, (4) Viewport configuration, (5) Frame element awareness. Enforces UI_DOCTRINE.md immutable elements. Triggers: position, layout, align, move, resize, coordinate, grid unit, vw, vh, UI component, Content Zone, frame, PKE interface."

Prometheus UI Development Skill

CRITICAL: Pre-Implementation Requirements

Before ANY UI modification:

  1. Read UI_DOCTRINE.md for immutable frame definitions
  2. Read CLAUDE_PROTOCOL.md for task execution standards
  3. Confirm viewport baseline: 1890×940

Implementation Viewport Baseline

ParameterValueNotes
Viewport Width1890pxUsable width after browser chrome
Viewport Height940pxUsable height after browser chrome
Grid Origin(945, 470)Centre of viewport
Display Reference1920×1080Founder's physical monitor

Coordinate System

                    Y: +470
                       ↑
                       |
X: -945  ←-------------●-------------→  X: +945
                       |
                       ↓
                    Y: -470

     Origin (0,0) at viewport centre

Grid Unit to CSS Conversion

Formulae:

left:   ((945 + X) / 1890) × 100 vw
bottom: ((470 + Y) / 940) × 100 vh

Conversion Constants:

  • Horizontal: 1px = 1/18.9 vw ≈ 0.0529vw
  • Vertical: 1px = 1/9.4 vh ≈ 0.1064vh

Quick Reference Table:

Grid XCSS leftGrid YCSS bottom
-9002.38vw+40092.55vh
-8007.67vw+30081.91vh
-70012.96vw+20071.28vh
050.00vw050.00vh
+70087.04vw-20028.72vh
+80092.33vw-30018.09vh
+90097.62vw-4007.45vh

Affirmation Protocol

After EVERY positional change, CC must confirm:

Grid conversion applied: X:[value] → [value]vw, Y:[value] → [value]vh
Implementation baseline: 1890×940

Frame Boundaries (IMMUTABLE WITHOUT FOUNDER APPROVAL)

TOP FRAME (Y: +360 to +470)

  • Prometheus Logo: X: ~-900, Y: ~+400
  • Main Title: Centred, Y: ~+380
  • Top-Right Info Cluster: X: +700 to +900, Y: ~+400
  • Top Horizontal Line: Full width, Y: ~+360

MID FRAME (Y: ~-400 region)

  • < + > Controls: Centred, Y: ~-350
  • PKE Interface Lozenge: Centred, Y: ~-400, 908×76px
  • Action Buttons (DELETE/CLEAR/SAVE): X: +700 to +900, Y: ~-400
  • Analytics Button: X: ~-850, Y: ~-400

BOTTOM FRAME (Y: -430 to -470)

  • Bottom Horizontal Line: Full width, Y: ~-430
  • Status Bar Labels/Values: Y: ~-460
  • Date/Time Display: Centred, Y: ~-460
  • Approval Indicator: X: ~+800, Y: ~-460

CONTENT ZONE (Available for page-specific content)

BoundaryPositionNotes
Top EdgeY: +350Below Top Horizontal Line
Bottom EdgeY: -340Above < + > controls
Left EdgeX: -940Near left viewport edge
Right EdgeX: +940Near right viewport edge

Usable Area: ~1880×690px at baseline

Colour Palette

CSS Variables

:root {
  /* Backgrounds */
  --bg-primary: #0d0d0d;      /* Main app background */
  --bg-panel: #1a1a1a;        /* Panel backgrounds */
  --bg-input: #0d0d0d;        /* Input fields */
  
  /* Text */
  --text-primary: #f2f2f2;    /* Main body text */
  --text-muted: #767171;      /* Labels, secondary text */
  --text-active: #00FF00;     /* Status values, data */
  --text-highlight: #FF6600;  /* Active states, selections */
  
  /* Accents */
  --accent-orange: #FF6600;   /* Primary accent */
  --accent-cyan: #00FFFF;     /* Grid lines, data accents */
  --accent-green: #00FF00;    /* Success, status */
  --pke-gold: #BF9000;        /* PKE active border */
  
  /* Buttons */
  --btn-gradient-start: #D65700;
  --btn-gradient-end: #763000;
  --btn-secondary: #767171;
  
  /* Borders */
  --border-gradient-start: #767171;
  --border-gradient-end: #ffffff;
  --border-input: #404040;
  --border-input-focus: #00FFFF;
}

Quick Hex Reference

Use CaseColourHex
BackgroundDark charcoal#0d0d0d
PanelLighter charcoal#1a1a1a
Text primaryOff-white#f2f2f2
Text mutedGrey#767171
Active/successNeon green#00FF00
HighlightOrange#FF6600
Data accentCyan#00FFFF
PKE borderGold#BF9000

Typography

Font Families

CategoryPrimaryFallbackUsage
UI TextCandaraCalibri, sans-serifLabels, titles, buttons
MonospaceCascadia CodeConsolas, monospaceStatus, code, data

Font Sizes

ElementptpxLetter Spacing
Main Title20pt27px3pt
Page Title11pt15px3pt
Section Header11pt15px3pt
Form Labels8pt11px1.5pt
Small Labels6pt8px1.5pt
Button Text11pt15px2pt
Status Text5-6pt7-8px1.5pt

Prohibited Actions

CC must NOT without explicit Founder approval:

  • Modify ANY Top Frame element
  • Modify ANY Mid Frame element
  • Modify ANY Bottom Frame element
  • Change immutable colours
  • Change immutable typography
  • Alter frame element coordinates
  • Add new frame-level elements

Playwright Viewport Configuration

Before screenshots or coordinate measurement:

await page.setViewportSize({ width: 1890, height: 940 });
const vp = page.viewportSize();
// Report: "Viewport: 1890 × 940 | Baseline: CONFIRMED"

Change Control Classification

Permitted Without Approval

  • Content Zone layouts
  • New components within Content Zone
  • Interactive behaviours within Content Zone
  • Data binding and state management
  • Bug fixes restoring documented behaviour

Requires Founder Approval

  • Frame element changes
  • Colour/typography changes
  • Coordinate system changes
  • New frame-level elements

See references/coordinate-system.md for extended conversion tables. See references/frame-elements.md for detailed frame specifications. See references/component-library.md for reusable patterns.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon