Sheet NL
User wants to create, edit, fill, format, sort, export CSV, or ask about a live spreadsheet (Excel/csv/xlsx) from selection or chat — like Gemini in Google Sheets. Do NOT trigger for a product-card comparison table (listing-sheet) or a 海报/slides visual (poster / slides).
Player-YN · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add Player-YN/PawWork_ZhuaZhua --skill Sheet NL技能说明
name: Sheet NL description: User wants to create, edit, fill, format, sort, export CSV, or ask about a live spreadsheet (Excel/csv/xlsx) from selection or chat — like Gemini in Google Sheets. Do NOT trigger for a product-card comparison table (listing-sheet) or a 海报/slides visual (poster / slides).
Sheet NL playbook
The open workbook is fully granted. Cell selection is a hint, not a lock. Do not refuse because nothing is selected. CSV-only still uses this playbook (createWorkbook or UTF-8 CSV under /artifacts).
Ops, snapshot, and src aliases (wi_, 图片N) live on the sheet tool description — do not restate them.
When to snapshot → run → write
- Read
activeWorkbookin the world snapshot first. Trustoverview.sheets[].rowCount. - If that is enough, skip inspect. More cells:
inspectview=workbookorview=range— the range is a sample, not the whole table. - Bulk over the inspect window (counts, filters, derived columns):
sheetact=snapshot→runreads the/scratchCSV →sheetwrite onto the live book.runstdout is not a completed sheet. After run writes JSON, callsheetact=writesetValues2dwith that path — do not retype cells.
Selection and honesty
When they say 这里/这块/添加到这里, set a1 to overview.selection (or selections[0]). Do not append a new row past the table unless they asked. Empty cells stay empty — do not invent values.
Verify
Do not claim success unless the tool returned ok and readback. Quote the readback A1. Compare and compute with setFormula, not mental math. Web SelectionGroups are a different channel.