workflow-gate

Enforce task-state gates to prevent premature workflow advancement.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jukqaz/stack-pilot --skill workflow-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-gate
Source: https://github.com/jukqaz/stack-pilot/tree/main/addons/stackpilot-dev-kit/claude/skills/workflow-gate
Command: npx skills add https://github.com/jukqaz/stack-pilot --skill workflow-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents premature advancement of tasks by enforcing local phase gates and validating gate conditions before moving to the next stage.

Core Features & Use Cases

  • Check the current task state and compare it against the target phase to ensure compliance.
  • Persist only the signals that are actually complete, keeping the task-state lean and accurate.
  • Maintain a resumable lane with clear progress when gates change, ensuring recoverability.
  • Record and attach evidence of bounded retries and investigations to aid troubleshooting.
  • Apply gates atomically so the shift to ship/next phase occurs only when all checks pass.

Quick Start

Run a gate check to validate the current task-state and apply the transition when all checks pass.

Frequently Asked Questions about workflow-gate

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

FAQPage Schema
How do I prevent premature workflow advancement in local development tasks?

To prevent premature workflow advancement, enforce task-state gates that validate conditions before moving to the next phase. This ensures tasks only progress when specific gate checks pass, keeping progress safe and deterministic.

What is a task-state gate and how does it work for development phases?

A task-state gate is a checkpoint mechanism that compares the current task state against a target phase. It applies transitions atomically, ensuring the shift to the next stage occurs only when all compliance checks pass.

How do I maintain resumable progress when workflow gates change?

To maintain resumable progress when gates change, persist only the signals that are actually complete to keep the task-state lean. This creates a resumable lane with clear progress, ensuring recoverability across workflow modifications.

Can I record evidence of retries and investigations during a gated workflow?

Yes, you can record and attach evidence of bounded retries and investigations to aid troubleshooting. This functionality is built into the gate enforcement process to track failed attempts and diagnostic steps.

Does this task-state gate enforcement work with spec, plan, and ship stages?

Yes, task-state gate enforcement works with spec, plan, ownership, handoff, review, QA, and ship stages. It applies local development gates within StackPilot workflows to ensure safe phase transitions across all these stages.