返回 Skill 列表
extension
分类: 开发与工程无需 API Key

colors

预览CYNIC的颜色系统,包括语义颜色、健康指示器、进度条和Dog颜色(Sefirot)。在测试终端颜色或想要查看视觉主题时使用。

person作者: jakexiaohubgithub

/colors - CYNIC Color System Preview

"Les couleurs révèlent la vérité" - κυνικός

Execution

Run the color preview script:

node scripts/lib/colors.cjs

Display the output directly to the user.

What It Shows

  1. Semantic Colors: Success, warning, error, info, muted
  2. Health Indicators: φ-aligned thresholds (61.8%, 38.2%)
  3. Progress Bars: Normal and inverse (for heat/frustration)
  4. Dog Colors: All 11 Sefirot with their assigned colors
  5. Dashboard Themes: Color schemes for /psy, /health, /dogs, etc.

φ-Aligned Thresholds

| Threshold | Meaning | Color | |-----------|---------|-------| | >61.8% | Healthy | Green | | 38.2%-61.8% | Caution | Yellow | | <38.2% | Critical | Red |

These thresholds are derived from the golden ratio (φ = 1.618).

Using Colors in Scripts

const { ANSI, c, progressBar, DOG_COLORS } = require('./scripts/lib/colors.cjs');

// Colorize text
console.log(c(ANSI.brightGreen, 'Success!'));

// Progress bar with φ thresholds
console.log(`Health: [${progressBar(0.75)}]`);

// Dog color
console.log(c(DOG_COLORS.SCOUT, '🔍 Scout'));

See Also

  • /psy - Human psychology (uses magenta theme)
  • /health - System health (uses cyan theme)
  • /dogs - Collective Dogs (uses cyan/yellow theme)
  • /status - Self-status (uses cyan theme)