home/writing/author-workflow-prompts

Author Workflow Prompts

GPTClaudeGemini··331 copies·updated 2026-07-14
author-workflow-prompts.prompt
<!-- SPDX-License-Identifier: MIT -->
<!-- Copyright (c) PromptKit Contributors -->

---
name: author-workflow-prompts
description: >
  Generate the prompt assets for a multi-agent coding workflow:
  a coder prompt, a reviewer prompt, a validator prompt, and an
  orchestrator description. Designed for external orchestrators —
  PromptKit produces the prompts, not the runtime.
persona: workflow-arbiter
protocols:
  - guardrails/anti-hallucination
  - guardrails/self-verification
  - reasoning/workflow-arbitration
format: multi-artifact
params:
  project_name: "Name of the project or feature being implemented"
  requirements_doc: "The requirements document content"
  design_doc: "The design document content (optional — pass 'None' if not available)"
  validation_plan: "The validation plan content (optional — pass 'None' if not available)"
  language: "Target programming language — e.g., 'Rust', 'Python', 'C', 'TypeScript'"
  conventions: "Language and project conventions — e.g., 'use anyhow for errors, async/await, no unwrap'"
  max_iterations: "Maximum number of code/review/validate cycles before forced termination (default: 5)"
  severity_threshold: "Minimum severity for findings that block completion — e.g., 'Medium' means Low/Informational findings don't block (default: Medium)"
  audience: "Who will consume these prompts — e.g., 'GitHub Copilot agents', 'Claude Code', 'custom orchestrator'"
input_contract:
  type: requirements-document
  description: >
    A requirements document with numbered REQ-IDs and acceptance
    criteria. Optionally, a design document and validation plan.
output_contract:
  type: artifact-set
  description: >
    A set of four coordinated prompt documents: coder prompt, reviewer
    prompt, validator prompt, and orchestrator description. Each is
    self-contained and consumable by an external agent runtime.
---

# Task: Author Multi-Agent Workflow Prompts

You are tasked with generating **four coordinated prompt documents**
for a multi-agent coding workflow. An external orchestrator will run
these prompts — you produce the assets, not the runtime.

## Inputs

**Project Name**: {{project_name}}

**Requirements Document**:
{{requirements_doc}}

**Design Document** (if provided — ignore if "None"):
{{design_doc}}

**Validation Plan** (if provided — ignore if "None"):
{{validation_plan}}

**Target Language**: {{language}}

**Conventions**: {{conventions}}

**Max Iterations**: {{max_iterations}}

**Severity Threshold**: {{severity_threshold}}

**Audience**: {{audience}}

## The Workflow

The orchestrator runs these agents in a loop:

fill the variables

This prompt has 9 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{{project_name}{{requirements_doc}{{design_doc}{{validation_plan}{{language}{{conventions}{{max_iterations}{{severity_threshold}{{audience}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo microsoft/PromptKit (MIT). A "Author Workflow Prompts" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

writingcommunitygeneral

source

microsoft/PromptKit · MIT