slice-closure

Evaluates whether an implemented slice meets its exit criteria and records closure status in task state files.

6|Updated Jul 10, 2026
One-click install
npx skills add https://github.com/Mozurok/fhorja.dev --skill slice-closure-mozurok
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: slice-closure
Source: https://github.com/Mozurok/fhorja.dev/tree/main/.claude/skills/slice-closure
Command: npx skills add https://github.com/Mozurok/fhorja.dev --skill slice-closure-mozurok

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After a slice of an implementation plan is coded, it is unclear whether the work is truly done, done with follow-ups, or still blocked. This Skill makes that closure decision explicit, distinguishes slice completion from full task completion, and persists the verdict as reviewable notes in slice files and TASK_STATE.md so progress survives across sessions. ## Core Features & Use Cases - Closure verdict classification: Classifies the current slice as ready to close, ready to close with follow-ups, or not ready to close, requiring recorded command output as evidence for each exit criterion. - Auditable state persistence: Writes a canonical five-section update to TASK_STATE.md with tamper-evident transaction headers and a JSONL verification log entry per section. - No-op and checkpoint handling: Returns a no-op when closure would not materially change memory, and records resumable checkpoints when a single pending verdict (such as a human feel-verdict) blocks closure. - Use Case: After implementing a HIGH-complexity slice whose exit criteria need manual verification, run this Skill to validate the evidence, close the slice, and route to the next step such as sync-task-state or implement-slice-complement. ## Quick Start Ask the AI to run slice-closure on the active task to decide whether the just-implemented slice can be closed and to update TASK_STATE.md with the verdict.

Frequently Asked Questions about slice-closure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I close a slice after implementing it?▼

Run slice-closure after the slice's implementation and validation are complete. It verifies each exit criterion against recorded command output, classifies the slice as ready, ready with follow-ups, or not ready, and updates TASK_STATE.md with the closure notes.

When should I use slice-closure versus skipping it?▼

Use it for HIGH-complexity slices, slices needing manual verification beyond typecheck, or slices with follow-ups to track. For LOW and MEDIUM complexity slices where implement-approved-slice already verified exit criteria inline, slice-closure is unnecessary.

What is the difference between slice completion and task completion?▼

Slice completion means one slice's approved goal and exit criteria are met; task completion means all slices and the overall closure target are done. slice-closure only decides the current slice and never reopens broad planning or contract decisions.

What happens if a slice is not ready to close?▼

The slice is classified as not ready to close, blockers are distinguished from intentional deferrals, and only the smallest remaining action is recommended. If a single pending verdict blocks closure, a resumable checkpoint is recorded in TASK_STATE.md.

Does slice-closure work with multi-repo tasks?▼

Yes. When SOURCE_OF_TRUTH.md contains a Repositories section, exit-criteria validation and blockers are reported per repo. A multi-repo slice is ready to close only when all repositories meet their exit criteria.