skills/close-slice/SKILL.md
Closes the active execution slice with validation and records durable closure metadata while invoking shared owner-completion reconciliation.
npx skillsauth add sirius-cc-wu/sirius-skills close-sliceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when implementation is complete and you want to close an execution slice cleanly.
guide-execution.close-slice records closure only; any later cleanup or archival is a separate explicit maintenance step.<slice_dir>/README.md, <slice_dir>/registry.json, and <slice_path>/.slice-meta.json as the canonical closure records.close-slice owns closure metadata updates and relation-bearing slice closure.
After closure, it invokes the shared workflow_state.owner_completion hook so
feature and subfeature completion can be reconciled from traceability plus
closed execution slices.
guide-execution should route into closure only after execution review is complete; it should not replace close-slice by mutating closure state directly outside normal registry/status tooling.
manage_execution.py validate-slice.closed, close it through tooling.supersedes or replaces_partially# Close the active slice
python3 <path-to-close-slice>/scripts/close_slice.py
# Close a slice while explicitly confirming that it supersedes an older one
python3 <path-to-close-slice>/scripts/close_slice.py --slice "<slice-id-or-path>" --relate supersedes "<old-slice-id-or-path>" --confirm-impact
# Close a slice with a partial replacement relation scoped to one story/requirement
python3 <path-to-close-slice>/scripts/close_slice.py --slice "<slice-id-or-path>" --relate replaces_partially "<old-slice-id-or-path>" --story-title "Story 2 - Legacy flow" --requirement-id FR-002 --selector "legacy checkout path" --confirm-impact
# Output JSON for downstream tooling
python3 <path-to-close-slice>/scripts/close_slice.py --json
Use --confirm-impact when closure also changes the semantic validity of older execution slices. Use --force only for deliberate repair when the slice lifecycle is temporarily inconsistent and you have already verified the intent with the user.
If a repository later wants to archive or prune closed slices, treat that as a separate explicit maintenance workflow rather than part of slice closure.
tools
Create or resume a dedicated git worktree for one feature or subfeature, drive `ship` inside that worktree, and hand the finished branch back as a pull request to the original branch.
testing
Reviews one completed feature or subfeature against final implementation and slice artifacts, then records a durable reconciliation block before archive.
development
Tightens durable repo-level rules in AGENTS.md and adjacent governance surfaces when repeated drift reveals a policy gap.
data-ai
Resolves one reviewed feature or subfeature backlog into remaining planned slices and routes each active slice to the next owning execution step with one commit per completed slice.