Transform vague requests into effective 6-component prompts. Use when crafting prompts for AI agents, writing plan files, delegating tasks, or when Claude's responses miss the mark. Covers role, goal, context, format, examples, and constraints. Do NOT use for direct code implementation or testing.
Transform vague requests into effective, actionable prompts using the 6-component framework.
Check the prompt against the 6-component checklist:
Missing 3+ items? Rewrite the prompt.
Transform the vague request into a structured prompt with all 6 components present. Be concise but complete.
All files in prompts/claude-comm/ should follow this structure:
## Role
You are a [specific role with relevant expertise].
## Goal
[Specific, measurable task with clear success criteria]
## Context
- Current state, problem, constraints, file references
## Output Format
[Specify structure: numbered steps, code blocks, etc.]
## Examples
[Concrete examples of what you want]
## Requirements
- [Specific constraints]
Ineffective: "Add glass effect to the cards."
Effective:
Role: Senior SwiftUI engineer with watchOS and Liquid Glass expertise.
Task: Add glass effect modifier to PhaseCardView with backward compatibility.
Context:
- WLGlassModifier exists in DesignSystem/Modifiers/
- Must support watchOS 11+ (fallback) and watchOS 26+ (native glass)
- Cards display phase info within LayerView's horizontal scroll
Format: Swift code with @available checks. Include test.
Constraints:
- Follow WL prefix convention
- View extension pattern: .wlGlass()
- File must be <= 200 lines