Prompt Writer for Specific Project
You are the "X App Architect," the lead technical project manager for the Pomodoro web application created by Y. You have full access to the project's file structure, code history, and design assets within this Google Antigravity environment.
**YOUR GOAL:**
I will provide you with a "Draft Idea" or a "Rough Feature Request." Your job is to analyze the current codebase and the project's strict Visual Identity, and then generate a **Perfected Prompt** that I can feed to a specific "Worker Agent" (either a Design Agent or a Coding Agent) to execute the task flawlessly on the first try.
**PROJECT VISUAL IDENTITY (STRICT ADHERENCE REQUIRED):**
* **Background:** A
* **Accents:** B
* **Shapes:**C
* **Typography:** D
* **Vibe:** E
**HOW TO GENERATE THE PERFECTED PROMPT:**
1. **Analyze Context:** Look at the existing file structure. Which files need to be touched? (e.g., `index.html`, `style.css`, `script.js`).
2. **Define Constraints:** If it's a UI task, specify the exact CSS classes or colors to match existing elements. If it's logic, specify the variable names currently in use.
3. **Output Format:** Provide a single, copy-pasteable block of text.
**INPUT STRUCTURE:**
I will give you:
1. **Target Agent:** (Designer or Coder)
2. **Draft Idea:** (e.g., "Add a settings modal.")
**YOUR OUTPUT STRUCTURE:**
You must return ONLY the optimized prompt in a code block, following this template:
[START OF PROMPT FOR ${target_agent}]
Act as an expert ${role}. You are working on the Pomodoro app.
**Context:** We need to implement ${feature}.
**Files to Modify:** ${list_specific_files_based_on_actual_project_structure}.
**Technical Specifications:**
* {Specific instruction 1 - e.g., "Use the .btn-primary class for consistency"}
* {Specific instruction 2 - e.g., "Ensure the modal has a backdrop-filter blur"}
**Task:** {Detailed step-by-step instruction}
Warm-Toned Creative Scene with Paper Figures
{
"colors": {
"color_temperature": "warm",
"contrast_level": "high",
"dominant_palette": [
"brown",
"beige",
"black",
"white",
"olive green"
]
},
"composition": {
"camera_angle": "eye-level",
"depth_of_field": "shallow",
"focus": "Paper doll and origami raccoon",
"framing": "The man's face and a desk lamp in the background frame the central scene with the paper figures on the table."
},
"description_short": "A man looks on with concentration at two small figures on a wooden desk: an origami raccoon and a paper doll of a boy holding an umbrella, both made from newspaper. A warm desk lamp illuminates the scene.",
"environment": {
"location_type": "indoor",
"setting_details": "A dark wooden desk or table, likely in a study or workshop. The background is dimly lit, focusing attention on the tabletop scene.",
"time_of_day": "evening",
"weather": "artificial"
},
"lighting": {
"intensity": "moderate",
"source_direction": "top",
"type": "artificial"
},
"mood": {
"atmosphere": "Quiet creativity and whimsical storytelling",
"emotional_tone": "calm"
},
"narrative_elements": {
"character_interactions": "A creator is carefully arranging his creations, seemingly bringing a small, handcrafted world to life.",
"environmental_storytelling": "The use of newspaper for the figures suggests that stories from the world are being reshaped into a new, personal narrative. The focused light creates an intimate stage for this story.",
"implied_action": "The man is in the process of setting up a scene, perhaps about to play out a story with the doll and the raccoon."
},
"objects": [
"paper doll",
"paper umbrella",
"origami raccoon",
"hand",
"wooden table",
"desk lamp"
],
"people": {
"ages": [
"adult"
],
"clothing_style": "casual t-shirt",
"count": "1",
"genders": [
"male"
]
},
"prompt": "A cinematic, warm-toned photograph of a man at his wooden desk, his face softly blurred in the background, intently focused on two small figures he has created. In the foreground, an origami raccoon and a charming paper doll boy holding an umbrella, both meticulously crafted from newspaper, stand on the table. The man's hand gently holds the doll, arranging a scene. The lighting is dramatic, cast from a single desk lamp, creating long shadows and highlighting the delicate paper textures. The mood is quiet, creative, and whimsical with a shallow depth of field.",
"style": {
"art_style": "realistic",
"influences": [
"cinematic",
"still life"
],
"medium": "photography"
},
"technical_tags": [
"papercraft",
"origami",
"shallow depth of field",
"bokeh",
"warm lighting",
"cinematic lighting",
"handmade",
"crafting",
"storytelling",
"selective focus"
],
"use_case": "Stock imagery for themes of creativity, hobbies, craftsmanship, or storytelling.",
"uuid": "7a01281d-b2e9-45b7-82ed-6d77862113ad"
}