en un clic
session-complete
// Use to run the mandatory end-of-session workflow — file issues, run quality gates, push to remote, verify clean state, hand off context.
// Use to run the mandatory end-of-session workflow — file issues, run quality gates, push to remote, verify clean state, hand off context.
Three-layer bootstrap flow, dotbot patterns, and deployment order for Win dotfiles. Use when editing bootstrap.ps1, install.conf.yaml, or Setup-Dotfiles.ps1.
Use when working on PowerShell scripts, registry tweaks, or dotfile deployment in the Win repo. Covers conventions, Common.ps1 helpers, and path rules.
Use when validating changes in the Win repo. Per-change-type checks for PowerShell, dotbot, autounattend.xml, and guidance files.
Use when orchestrating complex tasks across specialized agents with proper context handoff
Use when configuring or troubleshooting MCP servers for OpenCode/Kilo environments
Use when migrating AI assistant configurations from Claude Code, Cursor, and other tools to OpenCode/Kilo
| name | session-complete |
| description | Use to run the mandatory end-of-session workflow — file issues, run quality gates, push to remote, verify clean state, hand off context. |
| disable-model-invocation | false |
Execute every step below in order. Do not skip steps. Work is NOT complete until git push succeeds and git status shows clean.
Review what was worked on. For any unfinished work, bugs found, or follow-up needed:
bd ready # check open issues first to avoid duplicates
# then create issues for anything not tracked
If PowerShell scripts were modified:
# Lint changed .ps1 files
pwsh -NoProfile -Command "Get-ChildItem Scripts/*.ps1 | ForEach-Object { Invoke-ScriptAnalyzer -Path $_.FullName }"
# Run Pester tests
pwsh -NoProfile -Command "Invoke-Pester -Path Scripts/ -Output Minimal"
If no code changed, skip to Step 3.
bd ready # review open issues
# bd close <id> for completed work
# bd update <id> --status in_progress for work continuing next session
git pull --rebase
bd dolt push 2>/dev/null || true
git push
git status # MUST show "Your branch is up to date with 'origin/main'"
If git push fails: resolve the conflict, then retry. Do NOT stop before this succeeds.
git stash list # clear any stashes that are no longer needed
git remote prune origin # prune stale remote-tracking branches
Confirm all of the following are true before proceeding:
git status shows nothing to commit, up to date with originScripts/, user/, .claude/Summarize for the next session: