What problem does it solve? Closing out a finished user story or maintenance task involves many error-prone manual steps: checking that every task is marked Done, running quality gates, resolving the correct base branch, and performing a clean merge without leaking audit artifacts. This Skill automates that entire closing workflow so nothing is merged prematurely or left half-integrated. ## Core Features & Use Cases - Pre-merge validation: Verifies the branch naming convention (feature/US-XXX, fix/WI-XXX, test/FT-XXX), a clean working tree (auto-invoking git-commit for pending changes), and that every unit in progress.md is in Done status before any git operation. - Quality gate orchestration: Runs quality-check, code-review, and coverage-verify in order, honoring per-gate enablement policies, and blocks the merge on any REJECTED or INCOMPLETE verdict. - Controlled merge and archiving: Performs a three-step --no-ff merge that strips gate reports from the base branch, then optionally archives the work folder to docs/specs/archived/ based on the archiveMode policy. - Use Case: After finishing all tasks of US-042 on branch feature/US-042-exportacion-csv, ask the agent to close the work; it validates progress, runs the gates, merges into develop, and archives the spec folder after your confirmation. ## Quick Start Ask the agent to close and integrate the work on the current branch, for example by saying: merge and close the user story on this branch once all quality gates pass.