with one click
with one click
Multi-phase project assessment with scoring. Triggered by "/assess" to evaluate project health across dimensions and generate a comprehensive report.
Comprehensive rule-based check. Triggered by "/check [target]" to evaluate all source files against project rules and report every violation.
Set and track project goals. Triggered by "/goal" to define objectives, track milestones, or review progress.
Schedule recurring tasks with notifications. Triggered by "/loop <interval> <prompt>" to set up periodic monitoring.
Review code for efficiency and performance. Triggered by "/optimize" when user wants to identify bottlenecks or improve performance.
Review pull requests or code changes. Triggered by "/review [pr_link]" or when user asks to review pending changes.
| name | ccal |
| description | Chinese Calendar with Lunar-Solar Conversion |
ccal is a Chinese calendar module that provides:
| Mode | Command | Use Case |
|---|---|---|
| YML (default in pipe) | x ccal info <date> | AI parsing, structured key-value output |
| TSV | x ccal info --tsv <date> | Piping to other tools, tab-separated |
| CSV | x ccal info --csv <date> | Spreadsheet import |
| TTY (default in terminal) | x ccal info --tty <date> | Human viewing, colorful calendar draw |
When output is not a TTY (piped to another process):
x ccal info --yml <date>When output is a TTY (interactive terminal):
x ccal draw to render colorful calendarx ccal info --tty <date># AI: Get today's date info (auto-detects pipe vs terminal)
x ccal info
# AI: Get specific date in YML format
x ccal info --yml 2025-05-09
# AI: Parse YML output with your favorite tool
x ccal info --yml 2025-05-09 | grep "jianchu"
# TSV format (tab-separated)
x ccal info --tsv 2025-05-09
# CSV format (comma-separated)
x ccal info --csv 2025-05-09
# Force TTY mode even in pipe
x ccal info --tty 2025-05-09
date: 2025-05-09
lunar_date: 2025-4-12
lunar_daycount: 29
jianchu: 收
weekday: 五
bazi: 乙巳 辛巳 戊寅
jieqi: 无
jieqi_next: 小满 (5, 21)
holiday: 无
xiuxi: 无
related: 无
yi: 结网 解除 馀事勿取
ji: 诸事不宜
| Field | Description | Example |
|---|---|---|
| date | Gregorian date (YYYY-MM-DD) | 2025-05-09 |
| lunar_date | Lunar date (YYYY-M-D) | 2025-4-12 |
| lunar_daycount | Days in lunar month (29/30) | 29 |
| jianchu | 值星 (auspicious/inauspicious star) | 收/满/定/执... |
| weekday | Day of week (一-日) | 五 |
| bazi | Year/Month/Day Heavenly Stems | 乙巳 辛巳 戊寅 |
| jieqi | Solar term | 立夏/清明/无 |
| jieqi_next | Next solar term with date | 小满 (5, 21) |
| holiday | Holiday name | 劳动节/无 |
| xiuxi | 休(holiday)/工(workday)/空 | 休 |
| related | Holiday adjustment info | 劳动节 2025-05-01 |
| yi | 宜 (auspicious activities) | 出行 嫁娶 安葬... |
| ji | 忌 (inauspicious activities) | 动土 破土 祈福... |
值星 (jianchu) - Duty star for the day:
宜 (yi) - Auspicious activities for the day 忌 (ji) - Inauspicious activities for the day
六曜 (liuyao) - Six-day cycle:
The raw TSV data has 13 columns:
date lunar_date daycount jianchu wd bazi jieqi jieqi_next holiday xiuxi related yi ji
2025-05-09 2025-4-12 29 收 五 乙巳 辛巳 戊寅 无 小满 (5, 21) 无 无 无 结网 解除 馀事勿取 诸事不宜
$___X_CMD_ROOT_DATA/ccal/data/
├── ccal-data-v0.0.6.tar.xz # Main archive (stream-read, not extracted)
└── v0.0.6/cache/ # Pre-extracted index (after first run)
├── year.tsv # Year index
└── month.tsv # Month index
x ccal lunar updateccal-data/
├── index/
│ ├── year.tsv # Year index
│ └── month.tsv # Month index
└── lunar/
└── {year}_{month}.tsv # Monthly data (e.g., 2026_03.tsv)
DATA="$___X_CMD_ROOT_DATA/ccal/data/ccal-data-v0.0.6.tar.xz"
# Read specific month: 2026 March
x zuz cat "$DATA" ccal-data/lunar/2026_03.tsv
# Read all months of 2026
x zuz cat "$DATA" ccal-data/lunar/2026_*.tsv
lib/awk/lunar.awk - Lunar calendar computationlib/awk/gongli.awk - Gregorian calendar computationlib/awk/ccal.awk - Main calendar logic