phase-enforcement

Validate phase completion artifacts and criteria in an 8-phase development workflow.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill phase-enforcement-madappgang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phase-enforcement
Source: https://github.com/MadAppGang/magus/tree/main/plugins/dev/skills/enforcement
Command: npx skills add https://github.com/MadAppGang/magus --skill phase-enforcement-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents developers from prematurely marking development phases as complete without providing necessary evidence, documentation, or passing validation checks, ensuring a robust and auditable development process.

Core Features & Use Cases

  • Artifact Verification: Ensures required files (e.g., requirements.md, architecture.md, validation/result.md) exist before a phase can be marked complete.
  • Validation Mapping: Compares Phase 1 criteria against Phase 7 results to ensure requirements are met.
  • Outer Loop Control: Manages iteration limits and ensures successful completion of previous phases before proceeding.
  • Show-Your-Work Enforcement: Mandates clear, evidence-based reporting of results, not just a confirmation of completion.
  • Use Case: When a developer claims "Phase 5: Code Review Complete," this skill will automatically check if the reviews/code-review/consolidated.md file exists and contains a "PASS" verdict, blocking completion if it's missing.

Quick Start

Before marking any phase complete, run the checkpoint verification script for the current phase.

Frequently Asked Questions about phase-enforcement

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

FAQPage Schema
How do I enforce evidence-based completion of development phases in a workflow?

To enforce evidence-based completion of development phases, you need a mechanism that validates required artifacts and prevents premature closure. This skill checks for required files, maps validation criteria, and blocks phase progression until evidence is verified.

How do I prevent developers from marking a code review complete without documentation?

Preventing premature code review completion requires artifact verification. The system checks if the consolidated review file exists and contains a PASS verdict, blocking any phase updates that lack the required evidence-based documentation.

What is the best way to manage outer loop retry logic during feature development?

Managing outer loop retry logic involves tracking iteration limits and verifying previous phase success. This orchestration mechanism enforces these constraints mechanically, ensuring phases cannot proceed until prior workflow stages are successfully validated.

How does validation mapping ensure requirements are met before phase closure?

Validation mapping ensures requirements are met by comparing Phase 1 criteria directly against Phase 7 results. This cross-phase validation provides auditable proof that initial requirements were satisfied before allowing the development phase to close.

Do I need specific session state tracking to enforce development process quality gates?

Enforcing development process quality gates requires integration with task updates and session state tracking. This setup provides the mechanical enforcement needed to validate artifacts and manage outer loop iterations without relying on manual checks.

What happens if required artifacts are missing when a development phase is marked complete?

If required artifacts are missing, phase completion is blocked. The enforcement mechanism validates the existence of necessary files and show-your-work evidence, preventing any premature phase closure until all validation criteria are satisfied.