phase-wrap

Enforce mandatory phase completion gates for OpenCode Swarm development workflows.

437|45|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ZaxbyHub/opencode-swarm --skill phase-wrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phase-wrap
Source: https://github.com/ZaxbyHub/opencode-swarm/tree/main/.opencode/skills/phase-wrap
Command: npx skills add https://github.com/ZaxbyHub/opencode-swarm --skill phase-wrap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of incomplete, unvalidated phase completion in AI-led software development workflows, where missing retrospectives, skipped quality checks, or unreviewed code can silently propagate to later phases or production.

Core Features & Use Cases

  • Mandatory Retrospective Gate: Blocks phase closure until a complete retrospective evidence bundle is written, capturing phase metrics, lessons learned, and rejection reasons for continuous improvement.
  • Conditional Quality Gates: Automatically runs drift verification against project specs, hallucination checks for fabricated APIs, mutation testing for test coverage, and phase/final council reviews when enabled in the QA gate profile.
  • Use Case: For OpenCode Swarm users running multi-phase implementation plans, this Skill automates enforcement of all required closure steps, ensuring no phase proceeds without passing all configured quality and validation checks.

Quick Start

Invoke the phase-wrap protocol when finishing a development phase to automatically enforce all required evidence collection, quality gates, and council reviews before allowing phase closure.

Frequently Asked Questions about phase-wrap

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

FAQPage Schema
How do I enforce mandatory phase completion in AI-led development workflows?

To enforce mandatory phase completion in AI-led development workflows, you need a gating protocol that blocks closure until retrospective evidence, quality checks, and council reviews are collected. This Skill coordinates evidence collection, drift verification, and mutation testing before allowing phase advancement.

What is a retrospective evidence gate for phased software development?

A retrospective evidence gate for phased software development is a mandatory checkpoint that blocks phase closure until a complete evidence bundle capturing phase metrics, lessons learned, and rejection reasons is written for continuous improvement.

How do I prevent hallucinated APIs and spec drift during phase closure?

You can prevent hallucinated APIs and spec drift during phase closure by running conditional quality gates that verify implementation against project specs and check for fabricated APIs. This protocol applies drift and hallucination verification before allowing phase progression.

Does phase closure require mutation testing to pass before proceeding?

Phase closure requires mutation testing to pass before proceeding when enabled in the QA gate profile. This protocol automatically runs mutation testing for test coverage alongside drift verification and council reviews to satisfy production-grade quality assurance requirements.

Can I use this quality gate protocol with OpenCode Swarm multi-phase implementation plans?

You can use this quality gate protocol with OpenCode Swarm multi-phase implementation plans. It automates enforcement of all required closure steps for OpenCode Swarm users, ensuring no phase proceeds without passing all configured validation checks.

Why does my phase closure get blocked without required agent delegations?

Your phase closure gets blocked without required agent delegations because this gating protocol satisfies production-grade quality assurance requirements by blocking incomplete phase closures that lack required evidence, agent delegations, or passing quality gate verdicts.