dual-pass-workflow

Orchestrate two-phase domain skill workflows with first-pass creation and optional second-pass verification.

13|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/yzhao062/agent-config --skill dual-pass-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dual-pass-workflow
Source: https://github.com/yzhao062/agent-config/tree/main/skills/dual-pass-workflow
Command: npx skills add https://github.com/yzhao062/agent-config --skill dual-pass-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Orchestrates a two-phase collaboration around a domain skill, separating the main artifact creation from independent verification.

Core Features & Use Cases

  • Outer shell around a domain skill to define a first-pass and an optional second-pass.
  • Step 1: Select The Domain Skill
  • Step 1.5: Run Environment And Input Preflight
  • Step 2: Write The Task Packet
  • Step 2.5: Build Intermediate Representation
  • Step 3: Run first-pass on the domain skill
  • Step 4: Run second-pass When Needed
  • Step 5: Reconcile Only If second-pass Ran
  • Output contracts and artifacts to support audits and handoffs

Quick Start

Wrap a domain skill with this outer workflow and execute it in first-pass mode, then optionally run a second-pass audit on the produced artifacts.

Frequently Asked Questions about dual-pass-workflow

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

FAQPage Schema
How do I separate artifact creation from independent verification in a code review workflow?

A dual-pass workflow separates artifact creation from independent verification by orchestrating a two-phase collaboration around a domain skill, running a first-pass build and an optional second-pass audit.

What is a task packet and how is it used in a preflight workflow?

A task packet is a defined layout specified via an optional workflow.yaml file, written during the workflow to configure the primary result and artifact directory before running the environment and input preflight.

How do I run a second-pass audit after generating a primary draft artifact?

To run a second-pass audit, execute the outer workflow in first-pass mode to produce the primary result, then trigger the second-pass verification pipeline, and finally reconcile the outputs only if the second-pass actually ran.

Can I use a dual-pass workflow for writing and design edits instead of just code reviews?

Yes, the dual-pass workflow applies to any task requiring a main draft and an optional second-pass audit or refinement, including writing, design edits, and code reviews, by wrapping the relevant domain skill.

When should I not use a two-phase build and audit workflow?

You should avoid a two-phase build and audit workflow for tasks that do not require independent verification or reconciliation, as the overhead of writing a task packet and running a second-pass adds unnecessary processing steps.