跳到正文
cccskills
免费在 GitHub 公开

tui-design

TUI Design System for Egregore slash commands. Use when designing or modifying any command's terminal output to ensure visual consistency. Triggers on: TUI, terminal output, box drawing, command output formatting, sigils, section markers. Do NOT use for browser rendering (use dark-mode) or external prose (use egregore-voice).

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore星标 293(GitHub 293 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md7.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

TUI Design System

Voice Complex

This skill governs TERMINAL RENDERING — structural, not tonal. Shared aesthetic: voice-bedrock (.claude/rules/voice-bedrock.md). For product voice in command output prose: product-voice skill. For browser visual output: dark-mode skill. For ASCII diagrams in explanations: visual-explain skill.

When to invoke

User says: "TUI", "terminal output", "box drawing", "command output formatting", "sigils", "section markers", or is designing/modifying any slash command's terminal output. Not this: browser rendering → dark-mode · external prose → egregore-voice

1. Brand Elements

Command Headers

/activity is the flagship — it gets the full branded header with org name:

{ORG_NAME} EGREGORE ✦ ACTIVITY DASHBOARD

Read org name from jq -r '.org_name' egregore.json. The ✦ star is reserved exclusively for the activity dashboard and Egregore-wide branding.

Other commands get sigil + command name only — no org name:

CommandHeaderSigil Meaning
/activity{ORG_NAME} EGREGORE ✦ ACTIVITY DASHBOARDThe star — awareness, the full field
/ask? ASKThe question — direct, clear inquiry
/reflect◎ REFLECTIONThe eye — looking inward, seeing clearly
/deep-reflect◈ DEEP REFLECTThe faceted eye — looking inward with structure
/handoff⇌ HANDOFFThe bridge — passing context between minds
/quest⚑ QUESTThe flag — planting direction in unknown territory
/todo□ TODOThe checkbox — actionable items, personal intent
/archive◇ ARCHIVEThe diamond — crystallized pattern, refined and preserved
/eval⊕ EVALThe crosshair — measuring, comparing, calibrating

Section Markers

Used within all TUI boxes to prefix items by category:

  • ● Action items / things needing attention
  • ✓ Completed / received / done items
  • → Navigation pointers (what to do next, entry points)
  • ◦ Informational items (sessions, quests, neutral data)
  • ⚑ Quests
  • ⇌ Handoffs (in activity action items)
  • ◎ Reflections
  • □ Todos (in activity dashboard)
  • ★ Priority marker (todo items with priority >= 2)
  • ◉ Artifacts (in handoff summaries)

2. Box Drawing Rules

Line Patterns (CRITICAL)

LLMs cannot count character widths. Do NOT draw boxes freehand. Instead, produce exactly 4 line patterns. All commands use 72-char outer width (N = 70 fill characters).

  1. Top: ┌ + 70×─ + ┐
  2. Separator: ├ + 70×─ + ┤
  3. Content: │ + 2 spaces + text + pad to 68 text chars + │
  4. Bottom: └ + 70×─ + ┘

Characters: ┌ top-left, ─ horizontal, ┐ top-right, │ vertical, ├ left-tee, ┤ right-tee, └ bottom-left, ┘ bottom-right.

Separator lines are always identical — copy-paste the same 72-char string every time. Content lines have ONLY the outer │ as borders. Pad every content line with trailing spaces so the closing │ lands at position 72.

Header separator: always use ├───┤ between header row and content.

Section dividers: use ├───┤ between logical groups. No sub-boxes — never use ┌─┐/└─┘ inside the outer frame. LLMs cannot reliably align nested borders.

Layout

All commands use full-width, single-column, stacked sections. No column splits — they cause truncation and render poorly. Content flows top-to-bottom with section headers separating groups.

3. Width Standards

  • All commands: ~72 characters outer width
  • All content lines must have matching left and right │ borders

4. Content Formatting

Session Lines (Compact)

Feb 07  Topic description

Date is always Mon DD format, right-padded to 6 chars. Topic follows after 2 spaces.

Team Session Lines

Feb 07  oz: Topic description

Person name prefixed with colon separator.

Numbered Action Items

[1] Description of actionable thing
[2] ⇌ Handoff from ali: blog styling (yesterday)

Numbers in brackets. Use section markers after the bracket for typed items.

Status Confirmations

✓ Saved to knowledge/decisions/2026-02-08-...
✓ Memory index updated
✓ Auto-saved

Progress Steps

[1/5] ✓ Conversation file
[2/5] ✓ Index updated
[3/5] ✓ Session saved to memory
[4/5] ✓ Pushed + PR created
[5/5] ✓ Oz notified

Linked Items

◦ Quest: research-agent
◦ Project: egregore

Entry Points

→ memory/knowledge/decisions/2026-02-07-defensibility-...
→ memory/knowledge/decisions/2026-02-07-business-model.md

Truncation

  • Topics longer than 35 chars in column layouts get ... suffix
  • File paths: shorten to last 2 segments when possible
  • Never break mid-word

5. Section Visibility Rules

  • Empty sections are omitted entirely — no placeholder text, no "none yet", no empty boxes
  • Single action item still gets the action items box — consistency over minimalism
  • Section headers only appear when their section has content

6. Edge Cases

ScenarioHandling
No sessions yetShow Projects section instead (first-timer experience)
Neo4j downFile-based fallback, simpler layout, no columns
Single action itemStill show action items box
No team activityOmit TEAM section
Very long org nameTruncate at 20 chars in activity header
No questsOmit quests section
No PRsOmit PRs section
No action items + no answersOmit both sections, go straight to columns

7. Anti-Patterns

  • Avoid sub-boxes entirely — use ├───┤ flat dividers instead (LLMs can't count widths for nested borders)
  • Never use tables with │ column separator AND sub-boxes in the same section (pick one)
  • Never show empty section headers — omit the entire section
  • Never use raw file paths in TUI output — use → pointer with shortened path
  • Never break box characters across lines — each line must have valid left/right borders
  • Never use the ✦ star outside /activity header
  • Never include org name in non-activity command headers
  • Never use emoji in TUI boxes (sigils and markers only)

8. Structured questions

When a command's TUI includes interactive follow-up (like /activity numbered items):

  1. Display the full TUI box first
  2. Add footer text inside the box: Type a number to act, or keep working.
  3. Ask with a structured question when available and permitted in this session; otherwise ask in plain text. Use options matching the numbered items
  4. Include a "Skip" option for non-action

9. Color and Emphasis

Terminal output is monospace plain text. Emphasis is structural only:

  • Section headers: ALL CAPS
  • Sigils and markers provide visual weight
  • Sub-boxes create grouping
  • Indentation creates hierarchy
  • No bold, italic, or color codes in the markdown instruction files

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

activity

免费

Explicit Activity card only. Use when the user names /activity or directly asks to show, open, or render the Activity dashboard/card. Never use it to answer or synthesize what the team is focused on, busy with, prioritizing, or doing; analytical organizational questions use Search/Runtime QMD.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

announce

免费

Draft, preview, and explicitly send an Egregore group announcement. Use for /announce, telling the team something, or notifying everyone—not a direct message or structured handoff.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

archive

免费

Capture an effective prompting or steering technique as a reusable canonical pattern. Use when a prompt chain worked especially well; use /reflect for insight about the work and /note for a private thought.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

branch

免费

Create a working branch from what you are about to work on. Use for /branch, or any request to start a new branch before making changes.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

checkup

免费

Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible. Use for /checkup, a health check, or when something is broken and the root cause is unclear.

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

commit

免费

Stage changes and create a commit with a properly formatted message. Use for /commit, or saving work locally — not sharing it (/push) or opening a pull request (/pr).

中文简介正在准备中。当前显示原文说明。

egregore-labs/egregore2932026年10月17日 更新

查看 egregore-labs 的全部技能

报告此技能的问题