Skip to main content
Glama

Product Delivery

A unified lifecycle skill for software products — from first idea through delivery and stabilization. Replaces the separate product-discovery and product-evolution skills with a single hierarchical state machine.

What it does

Manages the full product lifecycle through ten states: intake → discover → frame → plan → deliver → release → stabilize → closed, plus blocked (resumable overlay) and aborted (terminal). A nested work-item submachine inside deliver tracks individual items through ready → implementing → verifying → reviewing → accepted.

Every transition is evidence-gated: guards check that required artifacts and recorded evidence exist before allowing a state change. State lives in .workflow/state.json with an append-only event log in .workflow/events.jsonl. Cursor hooks capture test runs and block MCP transitions that fail guards.

Related MCP server: Mission

Add to a repo

Works for brand-new and established projects:

# From the target project
uvx --from product-delivery product-delivery setup
# Or in an agent session: workflow_detect → follow next_actions
# Or one-shot: workflow_bootstrap

Situation

What happens

Empty / new repo

Setup (MCP + hooks + AGENTS) → greenfield init → intake

Has ROADMAP.md / BUILD_PLAN.md

Setup → migrate into work items → resume inferred phase

Established codebase, no legacy plan

Setup → evolution init → health-check discover

Already has .workflow/

Resume via workflow_status / workflow_next

CI gate for consumers (installed by setup when missing):

python scripts/workflow check --ci
# or: workflow_check(ci=True)

Installation

The MCP server gives any MCP-capable harness identical behavior — tools, resources, and a prompt for loading the skill instructions.

# Install and run via uvx (no clone needed)
uvx product-delivery

# Or install from source
pip install -e .
product-delivery

# With a specific project directory
product-delivery --project-dir /path/to/project

Claude Code — add to your MCP config:

{
  "mcpServers": {
    "product-delivery": {
      "command": "uvx",
      "args": ["product-delivery"]
    }
  }
}

Cursor / other MCP clients — same pattern, point to the product-delivery command.

Claude Plugin

# Install the .plugin file in Claude Code
claude plugin install product-delivery.plugin

CLI Only

For environments without MCP, the CLI wrapper provides the same engine:

python scripts/workflow init
python scripts/workflow status
python scripts/workflow transition discover

Manual (any harness)

Read SKILL.md and follow the instructions. The skill is harness-agnostic — no vendor tool names. Without MCP or CLI, state management is advisory.

MCP Server Reference

Tools (19)

Tool

Purpose

workflow_detect

Detect project path + next_actions playbook

workflow_bootstrap

Apply setup + init/migrate in one step

workflow_projects

List all registered projects across directories

workflow_project_remove

Remove a project from the registry

workflow_init

Initialize a new delivery workflow

workflow_status

Get current state, work items, events

workflow_next

Show allowed transitions with guard status

workflow_transition

Attempt a state transition (guard-checked)

workflow_item_add

Add a work item to the plan

workflow_item_list

List work items (filterable by state)

workflow_item_transition

Transition a work item

workflow_item_waive

Waive a work item in review

workflow_evidence_record

Record structured evidence

workflow_evidence_test

Run tests and record test-results evidence

workflow_check

Run guard checks (ci=True for merge gate)

workflow_block

Block the workflow

workflow_resume

Resume from blocked

workflow_waive_guard

Waive a transition guard

workflow_close

Close the workflow

workflow_render

Render a markdown status summary

workflow_config

Show active configuration from .env

workflow_setup

Set up product-delivery in a project (dry_run preview + apply)

Resources (10)

URI

Content

workflow://state

Current state.json

workflow://events

Event log

workflow://template/brief

Project brief template

workflow://template/plan

Delivery plan template

workflow://template/evidence-ledger

Evidence tracking template

workflow://reference/lifecycle

State machine specification

workflow://reference/guards

Guard catalog

workflow://reference/evidence

Evidence types and rules

workflow://reference/harness-compatibility

Harness capability matrix

workflow://reference/migration

Migration guide

Prompts (1)

Prompt

Purpose

product_delivery

Load the full conversational skill instructions (SKILL.md)

Migration from legacy skills

Projects with existing BUILD_PLAN.md or ROADMAP.md can migrate:

# Via MCP
workflow_init(from_migration=True)

# Via CLI
python scripts/workflow init --from-migration

The engine detects which artifact exists, infers the current state from artifact content, creates .workflow/state.json, and logs a migration event. Legacy artifacts are preserved.

Available Tools

19 tools
workflow_blockB

Block the workflow. Records the current phase as the resume target.

Args: reason: Why the workflow is blocked. owner: Who is responsible for resolving the blocker. project_dir: Project directory. Defaults to working directory.

Inputs: owner (required), reason (required), project_dir. Returns: result

workflow_checkA

Run guard checks for all available transitions from the current state.

Returns which transitions are ready (all guards pass) and which are blocked, with per-guard status.

Args: project_dir: Project directory. Defaults to working directory.

Inputs: project_dir. Returns: result

workflow_closeB

Close the workflow (normally from stabilize phase).

Args: reason: Reason for closing. force: Close from a non-stabilize phase (logged as forced). project_dir: Project directory. Defaults to working directory.

Inputs: force, reason, project_dir. Returns: result

workflow_configA

Show the active configuration from .env and environment variables.

Returns all PRODUCT_DELIVERY_* settings and where they came from.

Args: project_dir: Project directory. Defaults to working directory.

Inputs: project_dir. Returns: result

workflow_detectA

Detect the product-delivery state of a project.

Call this FIRST when entering a project. Returns the current state and what action to take next:

  • "not_setup": No product-delivery config. Call workflow_setup to add it.

  • "setup_no_workflow": Config exists but no workflow started. Call workflow_init.

  • "active_workflow": Workflow in progress. Call workflow_status to see where it is.

  • "legacy_migration": Has BUILD_PLAN.md or ROADMAP.md from old skills. Call workflow_init(from_migration=True).

Args: project_dir: Project directory to check. Defaults to working directory.

Inputs: project_dir. Returns: result

workflow_initA

Initialize a new delivery workflow in the project directory.

Args: project_type: "greenfield" or "evolution". Leave empty to determine during intake. Can be defaulted via PRODUCT_DELIVERY_PROJECT_TYPE in .env. from_migration: Detect existing BUILD_PLAN.md or ROADMAP.md and migrate. project_dir: Project directory. Defaults to working directory.

Inputs: project_dir, project_type, from_migration. Returns: result

workflow_item_addA

Add a work item to the delivery plan.

Only valid in plan or deliver phase. The item starts in "ready" state.

Args: name: Work item name/description. acceptance_criteria: AC-NNN IDs this item satisfies. risks: RISK-NNN IDs associated with this item. project_dir: Project directory. Defaults to working directory.

Inputs: name (required), risks, project_dir, acceptance_criteria. Returns: result

workflow_item_listA

List all work items, optionally filtered by state.

Args: state_filter: Only show items in this state (e.g. "ready", "implementing"). project_dir: Project directory. Defaults to working directory.

Inputs: project_dir, state_filter. Returns: result

workflow_item_transitionB

Transition a work item to a new state.

Valid transitions: ready->implementing, implementing->verifying, verifying->reviewing, verifying->rework, reviewing->accepted, reviewing->rework, rework->implementing. Any item can be cancelled.

Args: item_id: Work item ID (WI-NNN). target: Target state. reason: Reason for the transition. project_dir: Project directory. Defaults to working directory.

Inputs: target (required), item_id (required), reason, project_dir. Returns: result

workflow_item_waiveA

Waive a work item that is in reviewing state.

Requires explicit approver and reason. The item moves to "waived" terminal state and counts toward the completion guard.

Args: item_id: Work item ID (WI-NNN). approver: Who approved the waiver. reason: Why the item is being waived. project_dir: Project directory. Defaults to working directory.

Inputs: reason (required), item_id (required), approver (required), project_dir. Returns: result

workflow_nextA

Show allowed transitions from the current state with guard status.

Returns which states can be reached and whether each guard passes, so the agent can decide what to do next.

Args: project_dir: Project directory. Defaults to working directory.

Inputs: project_dir. Returns: result

workflow_project_removeA

Remove a project from the registry.

Does not delete any files — just removes the project from the cross-project tracking list.

Args: project_dir: Project directory to remove.

Inputs: project_dir (required). Returns: result

workflow_projectsA

List all known projects managed by this server.

Shows every project that has been detected, initialized, or set up, along with its current phase and last-seen timestamp.

Args: refresh: If True, re-check each project's live state from disk. If False, return cached registry data (faster).

Inputs: refresh. Returns: result

workflow_renderB

Render a human-readable markdown summary of the workflow status.

Args: project_dir: Project directory. Defaults to working directory.

Inputs: project_dir. Returns: result

workflow_resumeC

Resume a blocked workflow back to its pre-blocked phase.

Args: reason: Why the blocker is resolved. project_dir: Project directory. Defaults to working directory.

Inputs: reason, project_dir. Returns: result

workflow_setupA

Set up product-delivery in a project.

Creates or updates: .claude/settings.json, .cursor/mcp.json, AGENTS.md (workflow rule), .env.sample, .env, and .gitignore. Merges into existing files without clobbering other settings. Idempotent — safe to run multiple times.

Call with dry_run=True first to preview changes, then with dry_run=False to apply them. Present the preview to the user before applying.

Args: dry_run: If True, preview what would change without writing. If False, apply the changes. project_dir: Project directory. Defaults to working directory.

Inputs: dry_run, project_dir. Returns: result

workflow_statusB

Get the current workflow state, work items, and recent events.

Args: project_dir: Project directory. Defaults to working directory.

Inputs: project_dir. Returns: result

workflow_transitionA

Attempt a state transition. Guards are checked automatically.

Args: target: Target state (e.g. "discover", "frame", "plan", "deliver"). evidence: Evidence keys to attach to this transition. force: Force past failed guards (logged as forced). reason: Human-readable reason for the transition. project_dir: Project directory. Defaults to working directory.

Inputs: target (required), force, reason, evidence, +1 more. Returns: result

workflow_waive_guardA

Waive a transition guard so the transition can proceed.

The waiver is recorded with the approver and reason. The guard will show as "waived" instead of "fail" on subsequent checks.

Args: guard: Guard name to waive (from workflow_check results). approver: Who approved the waiver. reason: Why the guard is being waived (risk accepted). project_dir: Project directory. Defaults to working directory.

Inputs: guard (required), reason (required), approver (required), project_dir. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 19 tools

    Disambiguation3/5

    Most tools map to distinct resources or actions, but workflow_check and workflow_next are nearly identical—both report available transitions and guard status. workflow_status and workflow_render also overlap in purpose, differing mainly in output format, which could cause an agent to select the wrong one.

    Naming Consistency4/5

    All tools share a consistent workflow_ prefix, and subdomains are marked with item_ and project_ segments. However, the pattern is not uniformly verb-first: workflow_projects, workflow_status, and workflow_config are noun-style, while workflow_item_add and workflow_project_remove place the verb at the end.

    Tool Count3/5

    19 tools is on the heavy side for a single server, though the breadth of workflow management—setup, state transitions, work items, guards, and project registry—partially justifies it. A few tools like workflow_check and workflow_next could be consolidated, which would tighten the surface.

    Completeness4/5

    The server covers the full delivery lifecycle: setup, detection, initialization, status, state transitions, blocking/resuming, closing, work item management, guard waiving, and configuration. Minor gaps exist, such as no way to edit or delete a work item, but these can be worked around without major agent failures.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables persistent work-state coordination with identity-bound assignments, governed lifecycle transitions, bounded queries, and auditable history.
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables software delivery as a sequence of named, gated workflow steps, from discovery and planning through build, review, and handoff, with verifiable gates and resumable state outside the chat.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables delivery leads to query explainable programme health, prioritized risks, dependency impacts, change request effects, blocked decisions, and evidence-backed claims with refusal on unsupported assertions, all via deterministic tools and telemetry.
      MIT