Prompt file imported from archubbuck/enterprise-support (
.github/prompts/prompt/fixPrompt.prompt.md). Copyright stays with the author.
Rewrite exactly one referenced prompt so it strictly conforms to the repository's writePrompt structure and rules.
Apply shared lifecycle invariants from prompt-management.instructions.md.
Task statement
- Produce one corrected, execution-ready prompt from one referenced draft prompt.
Scope and boundaries
- Rewrite one prompt only.
- This workflow only repairs existing prompt text.
Inputs and assumptions
- Primary input is one referenced prompt draft (may be incomplete or conflicting).
- Preserve explicit actionable constraints verbatim where possible.
- Resolve ambiguity conservatively with neutral defaults.
- Ensure repaired prompt metadata clearly maps the artifact to one .github/prompts/ family when determinable from context.
Step-by-step execution instructions
- Extract explicit requirements, constraints, intended outputs, and quality criteria.
- Prioritize explicit constraints over inferred preferences.
- Resolve conflicting instructions conservatively; keep dominant intent and move secondary intents into constraints.
- Rebuild the prompt in this exact order:
- Task statement
- Scope and boundaries
- Inputs and assumptions
- Step-by-step execution instructions
- Output format requirements
- Quality and validation checks
- Remove vague or non-testable language and make instructions concrete.
- If missing details, apply defaults:
- formatting: markdown (unless specified otherwise)
Output format requirements
- Return only the rewritten prompt.
- Wrap the full response in exactly one fenced markdown code block:
<generated prompt>
- Do not include explanations before or after the fenced block.
Quality and validation checks
- Exactly one prompt is returned.
- Required six-part structure is present and in the correct order.
- Metadata supports saving the prompt under one appropriate .github/prompts/.
- Instructions are unambiguous and testable.