phase-workflow-skill-creator

Decompose monolithic agent prompts into phased workflows with router and per-phase references.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/skurekjakub/docwriter-agent --skill phase-workflow-skill-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phase-workflow-skill-creator
Source: https://github.com/skurekjakub/docwriter-agent/tree/main/.github/skills/phase-workflow-skill-creator
Command: npx skills add https://github.com/skurekjakub/docwriter-agent --skill phase-workflow-skill-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large, monolithic agent prompts become unwieldy to maintain and hard to reason about. This skill provides a structured approach to split an agent prompt into a router SKILL.md and per-phase reference files so context is disclosed progressively.

Core Features & Use Cases

  • Router-based phase navigation: a lightweight SKILL.md that orchestrates multiple reference files.
  • Phase reference files: granular domain content loaded only when needed, reducing context load.
  • Slimmed agent file: keeps only core role, IO contract, and universal rules while phase content resides in references.
  • Transition gates: enforce completion checks before moving to the next phase.
  • Use case: convert a bloated agent into a phase-driven workflow with reusable references for long running prompts.

Quick Start

Start by creating a workflow skill directory and reference files, then update the agent to mount the workflow skill and read the phase references.

Frequently Asked Questions about phase-workflow-skill-creator

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

FAQPage Schema
How do I decompose a monolithic agent prompt into a phased workflow?

To decompose a monolithic agent prompt into a phased workflow, split the content into a lightweight router SKILL.md and per-phase reference files. This progressively discloses context and enforces transition gates between execution stages.

Why does my large agent prompt become unwieldy to maintain?

Large agent prompts become unwieldy to maintain because monolithic files load excessive context simultaneously. Splitting them into a router and granular phase reference files reduces context load and improves reasoning.

What is the best way to enforce transition gates during staged agent execution?

The best way to enforce transition gates during staged agent execution is to structure the workflow with completion checks before moving between the Read Workspace, Core Work Phases, and Produce Output stages.

How do I structure reference files for progressive context disclosure in agent workflows?

Structure reference files for progressive context disclosure by keeping the agent file slim with only core roles, I/O contracts, and universal rules, while moving granular domain content into separate phase references loaded only when needed.

Does this phased workflow approach work for long running prompts?

Yes, this phased workflow approach works for long running prompts by converting bloated agents into phase-driven workflows with reusable references, ensuring staged execution and progressive context loading.

When should I not use a router-based phase navigation approach?

You should not use a router-based phase navigation approach for simple agents that do not require progressive context disclosure or staged execution, as the overhead of managing transition gates and reference files outweighs the benefits.