snapshot_closeout — Claude Code prompt: status and setup
The snapshot_closeout Claude Code prompt reports whether a change was merged and deployed. It compares a self-reported status with information from hub.
MIT ★ 395 updated 2026-11-16
.claude/commands/snapshot_closeout.mdWhat snapshot_closeout does
The prompt produces a summary of a change’s merge and deployment status. It separates the self-reported values from results found through hub; when both sources are available, hub takes precedence.
The summary distinguishes merged from unmerged changes and indicates whether the live version matches the change.
What it helps with
- compare a merge self-report with hub results
- show whether a change was deployed
- check whether the live version matches a change
Example prompts for the agent
- Summarize the merge and deployment status of the latest change.
- Compare the reported status with the information from hub.
- Show whether the live version matches this change.
How to install snapshot_closeout
Manually: put the files in place
.claude/commands/snapshot_closeout.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about snapshot_closeout
How do I install snapshot_closeout in Claude Code?
Add the command file at .claude/commands/snapshot_closeout.md.
What does snapshot_closeout do?
It summarizes merge and deployment status, comparing a self-report with results from hub. When both sources are available, it uses hub as the authority.
Which statuses does snapshot_closeout report?
It reports whether a change was merged and whether the live version reflects that change.
Source text
snapshot_closeout.md · MIT
〔{{if or .Merged .Deployed}}它自述{{if .Merged}}{{if eq .Merged "yes"}}已合并{{else}}未合并{{end}}{{end}}{{if and .Merged .Deployed}}、{{end}}{{if .Deployed}}{{if eq .Deployed "yes"}}已部署{{else}}未部署{{end}}{{end}}{{if or .FoundMerged .FoundDeployed}};{{end}}{{end}}{{if or .FoundMerged .FoundDeployed}}hub 查到{{if .FoundMerged}}{{if eq .FoundMerged "yes"}}已合并{{else}}没合并{{end}}{{end}}{{if and .FoundMerged .FoundDeployed}}、{{end}}{{if .FoundDeployed}}{{if eq .FoundDeployed "yes"}}线上已是这次改动{{else}}线上还不是这次改动{{end}}{{end}}{{if or .Merged .Deployed}},以 hub 为准{{end}}{{end}}〕
© nwverse · MIT · nwverse/persona