產生精簡的專案快照,使用 TOON 格式節省 token。
/plugin marketplace add cashwu/claude-code-snapshot/plugin install cashwu-snapshot-plugins-snapshot@cashwu/claude-code-snapshot# 產生專案快照 (Snapshot)
產生精簡的專案快照,使用 TOON 格式節省 token。
## TOON 格式說明
TOON (Token-Oriented Object Notation) 專為 LLM 優化,比 JSON 節省約 40% token。
**語法規則:**
- 縮排表示巢狀結構
- `[N]` 標示陣列長度
- `{field1,field2}` 宣告欄位標題
- 多值用 `|` 分隔
- 空值直接留空
## 縮寫對照
| 縮寫 | 原意 | 縮寫 | 原意 |
|------|------|------|------|
| proj | project | m | modules |
| desc | description | r | routes |
| tech | tech_stack | cfg | config |
| lang | language | ctrl | controllers |
| fw | framework | svc | services |
| db | database | repo | repositories |
| tpl | template | cmp | components |
| deps | dependencies | tbl | table |
## 執行流程
### ...