sheet-git
sheet-git
sheet-git is the Git-like control plane for persisted agent-sheet workspaces.
Use agent-sheet to create or edit workbook content. Use sheet-git after the workbook changes are already persisted and the task becomes versioning, review, or sync.
Use when
- capturing persisted workbook changes into repo history
- inspecting repo state, diff, history, or blame
- creating or updating a proposal
- publishing a proposal to hosted review
- reading machine-readable review feedback
- syncing local state with origin
Do not use when
- the workbook still needs to be edited, attached, or persisted
- the task is only about
agent-sheetauthoring workflows - you are about to invent Git-like commands that are not in the real command surface
Core model
- local history is commit-based
- proposals are the review unit
- hosted review is separate from origin materialization
- recovery goes through the existing
fetch/pull/push origin --resumesurface rebase originis not part of the current command surface
Default flow
- Ensure workbook edits are already persisted in
agent-sheet. - Run
sheet-git status. - Stage with
sheet-git stage --entry-id <id>orsheet-git stage --all. - Inspect with
sheet-git diff. - Commit with
sheet-git commit --message "...". - Create a proposal with
sheet-git proposal create.
Common routes
Start from an existing hosted repo
sheet-git clone <owner>/<repo> --base-url <base-url>sheet-git clone <host>/<owner>/<repo>sheet-git clone <review-url>
Publish for review
sheet-git push review <proposal>
Read review feedback
sheet-git proposal status <proposal>sheet-git proposal comments <proposal>
Sync with origin
sheet-git fetch origin <entry-id>sheet-git pull origin <proposal-or-entry-id>sheet-git push origin <proposal>sheet-git push origin --skip-review-check <proposal>sheet-git push origin --resume <replay-run>
By default, sheet-git push origin <proposal> checks hosted approval before replaying. Use --skip-review-check only when you need the explicit bypass path.
Follow refusal output literally. If sheet-git tells you the next safe command, use that instead of improvising.
Primary commands
| Task | Command |
|---|---|
| initialize repo | sheet-git init |
| bind hosted review scope | sheet-git remote add review [<base-url>] --owner <owner-id> --repo <repo-id> |
| inspect state | sheet-git status |
| inspect diff | sheet-git diff |
| stage changes | sheet-git stage --entry-id <id> / sheet-git stage --all |
| commit | sheet-git commit --message "..." |
| inspect history | sheet-git history [--limit <n>] |
| inspect one revision | sheet-git show [<commit-or-checkpoint>] |
| create proposal | sheet-git proposal create |
| inspect proposal state | sheet-git proposal status <proposal> |
| publish to hosted review | sheet-git push review <proposal> |
| read review comments | sheet-git proposal comments <proposal> |
| preview origin materialization | sheet-git push origin --dry-run <proposal> |
| materialize to origin | sheet-git push origin <proposal> |
| bypass hosted review check | sheet-git push origin --skip-review-check <proposal> |
| resume interrupted replay | sheet-git push origin --resume <replay-run> |
| inspect remote-ahead state | sheet-git fetch origin <entry-id> |
| pull remote changes locally | sheet-git pull origin <proposal-or-entry-id> |
| bind an existing origin workbook | sheet-git origin bind-existing <remote-workbook-id> |
| inspect one cell | sheet-git blame --entry-id <id> --cell 'Sheet1!A1' [<commit-or-checkpoint>] |
Naming discipline
- the command is
history, notlog - the hosted handoff command is
push review - use
cloneandremote add reviewas documented; do not invent alternate names - do not ask for or simulate
rebase origin
References
- references/command-surface.md: exact commands and naming
- references/hosted-review.md: hosted review collaboration
- references/recovery.md: refusal handling and recovery paths
More from dream-num/skills
agent-sheet
Deprecated legacy alias for `univer-cli`; use only for older prompts or installs that still call `agent-sheet`. Prefer `univer-cli` for current shell-native workbook work.
22sit
Use when a persisted `.univer` or `.unv` workbook needs `.sit` repo workflow: status, commit, history inspection, approval-backed sync, or origin pull recovery after workbook edits are saved.
4univer-cli
Use when the user needs shell-native spreadsheet workbook work with `univer` or `unv`: create/import/export `.univer` or `.unv` workbooks, inspect sheets/ranges/formulas, search cells, fill formulas, run bounded workbook logic, or do verified pipe roundtrips.
4