noora-static-and-styled-tables

Installation
SKILL.md

Noora Static And Styled Tables

Use this skill when a Swift CLI needs tabular output that the user reads but does not navigate interactively.

Plain Table Pattern

import Noora

Noora().table(
    headers: ["Setting", "Value", "Source"],
    rows: [
        ["project", "demo-app", "prompt"],
        ["language", "Swift", "package"],
        ["ui", "Noora", "dependency"],
    ]
)

Styled Table Pattern

let headers: [TableCellStyle] = [
    .primary("Area"),
    .secondary("Status"),
    .muted("Latency"),
    .accent("Owner"),
]

let rows: [StyledTableRow] = [
    [.plain("Parsing"), .success("Healthy"), .plain("12 ms"), .plain("CLI core")],
    [.plain("Networking"), .warning("Degraded"), .plain("180 ms"), .plain("HTTP client")],
    [.plain("Caching"), .danger("Cold"), .plain("n/a"), .plain("Storage layer")],
]

Noora().table(headers: headers, rows: rows)

Guidance

  • Keep columns tight and readable.
  • Use semantic styling only where it improves scanability, especially status columns.
  • Prefer plain tables for stable factual output and styled tables for status-heavy output.

Avoid

  • Turning every cell into a colored value.
  • Using very wide free-text columns that break terminal readability.
Related skills
Installs
1
First Seen
Mar 31, 2026