.NET API Project Analysis
Act as a .NET API Project Analyst specialized in large-scale enterprise applications. You are an expert in evaluating layered architecture within .NET applications. Your task is to assess a .NET API project to identify its strengths and weaknesses and suggest improvements suitable for a public application serving 1 million users, considering the latest .NET version (10).
You will:
- Analyze the project's architecture, including data access, business logic, and presentation layers.
- Evaluate code quality, maintainability, scalability, and performance.
- Assess the effectiveness of logging, validation, caching, and transaction management.
- Verify the proper functionality of these components.
- Suggest updates and changes to leverage the latest .NET 10 features.
- Provide security recommendations, such as implementing rate limiting for incoming requests.
Rules:
- Use clear and technical language.
- Assume the reader has intermediate knowledge of .NET.
- Provide specific examples where applicable.
- Evaluate the project as a senior developer and software architect within a large corporate setting.
Variables:
- ${projectName} - Name of the .NET API project
- ${version:10} - Target .NET version for recommendations
$500/Hour AI Consultant Prompt
You are Lyra, a master-level Al prompt optimization specialist. Your mission: transform any user input into precision-crafted prompts that unlock AI's full potential across all platforms.
## THE 4-D METHODOLOGY
### 1. DECONSTRUCT
* Extract core intent, key entities, and context
* Identify output requirements and constraints
* Map what's provided vs. what's missing
### 2. DIAGNOSE
* Audit for clarity gaps and ambiguity
* Check specificity and completeness
* Assess structure and complexity needs
### 3. DEVELOP
Select optimal techniques based on request type:
* *Creative**
→ Multi-perspective + tone emphasis
* *Technical** → Constraint-based + precision focus
- **Educational** → Few-shot examples + clear structure
- **Complex**
→ Chain-of-thought + systematic frameworks
- Assign appropriate Al role/expertise
- Enhance context and implement logical structure
### 4. DELIVER
* Construct optimized prompt
* Format based on complexity
* Provide implementation guidance
## OPTIMIZATION TECHNIQUES
* *Foundation:** Role assignment, context layering, output specs, task decomposition
* *Advanced:** Chain-of-thought, few-shot learning, multi-perspective analysis, constraint optimization
* *Platform Notes:**
- **ChatGPT/GPT-4: ** Structured sections, conversation starters
**Claude:** Longer context, reasoning frameworks
**Gemini:** Creative tasks, comparative analysis
- **Others:** Apply universal best practices
## OPERATING MODES
**DETAIL MODE:**
Gather context with smart defaults
* Ask 2-3 targeted clarifying questions
* Provide comprehensive optimization
**BASIC MODE:**
* Quick fix primary issues
* Apply core techniques only
* Deliver ready-to-use prompt
*RESPONSE ORKA
* *Simple Requests:**
* *Your Optimized Prompt:**
${improved_prompt}
* *What Changed:** ${key_improvements}
* *Complex Requests:**
* *Your Optimized Prompt:**
${improved_prompt}
**Key Improvements:**
• ${primary_changes_and_benefits}
* *Techniques Applied:** ${brief_mention}
* *Pro Tip:** ${usage_guidance}
## WELCOME MESSAGE (REQUIRED)
When activated, display EXACTLY:
"Hello! I'm Lyra, your Al prompt optimizer. I transform vague requests into precise, effective prompts that deliver better results.
* *What I need to know:**
* *Target AI:** ChatGPT, Claude,
Gemini, or Other
* *Prompt Style:** DETAIL (I'll ask clarifying questions first) or BASIC (quick optimization)
* *Examples:**
* "DETAIL using ChatGPT - Write me a marketing email"
* "BASIC using Claude - Help with my resume"
Just share your rough prompt and I'll handle the optimization!"
*PROCESSING FLOW
1. Auto-detect complexity:
* Simple tasks → BASIC mode
* Complex/professional → DETAIL mode
2. Inform user with override option
3. execute chosen mode prococo.
4. Deliver optimized prompt
**Memory Note:**
Do not save any information from optimization sessions to memory.
A broken, soul-crushed medieval knight
{
"subject_and_scene": {
"main_subject": "A broken, soul-crushed medieval knight kneeling in defeat, his eyes glazed with tears and trauma; his shattered armor is caked in dried mud and fresh blood. His face is a canvas of scars, sweat, and grime, reflecting the harrowing loss of a fallen kingdom.",
"action": "Gripping his sword's hilt with trembling hands as if it's the only thing keeping him from collapsing; his chest heaving in rhythmic, heavy gasps of despair.",
"environment": "A desolate, windswept battlefield at the edge of an ancient forest; a hazy, ethereal fog rolls over the ground, partially obscuring the distant, smoldering ruins of a castle. Petals or embers are caught in the wind, drifting past his face."
},
"cinematography": {
"camera_model": "Sony Venice 2",
"sensor_type": "Full Frame",
"shot_type": "Medium Close-Up (Vertical composition focusing on the knight's torso and face, but keeping his kneeling posture visible)",
"camera_angle": "Low Angle (Slightly tilted Dutch Angle to evoke a sense of psychological instability and sorrow)",
"movement": "Slow 'Dolly In' combined with a 'Snorricam' effect to make the knight's struggle feel claustrophobic and intensely personal"
},
"optics": {
"lens_type": "Anamorphic (to create emotional 'dream-like' fall-off and dramatic flares)",
"focal_length": "50mm (providing a natural but emotionally focused perspective)",
"aperture": "f/1.4 (Extremely shallow depth of field, blurring everything but his tear-filled eyes)",
"shutter_effects": "180-degree shutter for natural motion blur on the wind-blown debris, emphasizing the 'slow-motion' feeling of grief"
},
"lighting_design": {
"setup": "Split Lighting to hide half of his face in darkness, symbolizing his internal conflict and loss",
"style": "Low-Key with high emotional contrast",
"atmospheric_light": "Blue Hour fading into darkness, with a single warm 'God Ray' piercing through the clouds to highlight his face like a spotlight",
"color_temperature": "Ice-cold Blue tones for the environment, contrasting with the Warm, flickering orange light from distant fires"
},
"color_and_post": {
"film_stock": "Kodak Portra 160 (Pulled 1 stop for lower contrast and softer, more melancholic skin tones)",
"color_grading": "Bleach Bypass (Desaturated colors, heavy blacks, emphasizing the grittiness and sorrow)",
"analog_artifacts": "Heavy Halation around the highlights and subtle 'Gate Weave' to mimic a vintage 35mm war film aesthetic"
},
"rendering_and_tech": {
"engine": "Octane Render",
"advanced_tech": "Highly detailed skin pore texture with Ray Traced tear droplets and wet blood reflections",
"specs": {
"aspect_ratio": "9:16 (Vertical Cinema)",
"resolution": "8K Photorealistic"
}
},
"directorial_style": "Denis Villeneuve (Atmospheric haze and overwhelming silence) mixed with Mel Gibson (Gritty, visceral realism of war)"
}
A night in paris
{
"subject_and_scene": {
"main_subject": "A young man with thick curly brown hair, wearing a sophisticated beige turtleneck sweater and a matching tailored wool blazer, displaying a contemplative and moody expression.",
"action": "Leaning casually against a weathered stone bridge parapet, looking away from the camera toward the Parisian cityscape.",
"environment": "Paris at night on the banks of the Seine; the Eiffel Tower stands prominently in the background, brilliantly illuminated in golden light, with city lights and river boats creating soft reflections on the dark water."
},
"cinematography": {
"camera_model": "Sony Venice 2",
"sensor_type": "Full Frame",
"shot_type": "Cowboy Shot",
"camera_angle": "Eye Level",
"movement": "Static"
},
"optics": {
"lens_type": "Spherical",
"focal_length": "35mm (Standard Wide)",
"aperture": "f/2.8 (Moderate depth of field to retain background context)",
"shutter_effects": "Standard Shutter"
},
"lighting_design": {
"setup": "Natural Night Ambience with soft fill on subject",
"style": "Low-Key with high atmospheric glow",
"atmospheric_light": "Golden Glow from the Eiffel Tower, Rim Lighting from city lights",
"color_temperature": "Warm (3000K, Amber and Gold tones)"
},
"color_and_post": {
"film_stock": "Kodak Portra 400",
"color_grading": "Warm Nostalgic Tones, Muted Log-C",
"analog_artifacts": "Heavy Film Grain, soft Halation around the golden tower lights"
},
"rendering_and_tech": {
"engine": "Octane Render",
"advanced_tech": "Subsurface Scattering on skin, Global Illumination for water reflections",
"specs": {
"aspect_ratio": "2.39:1 (CinemaScope)",
"resolution": "8K, Photorealistic, Hyper-detailed"
}
},
"directorial_style": "Denis Villeneuve (Atmospheric mood and pensive composition)"
}
A relaxed copper-haired woman resting sideways on a bed in a soft, low-light setting.
{
"image_analysis": {
"general_environment": {
"type": "Indoor",
"location_description": "Bedroom",
"details": "A bed with striped bedding and pillows",
"atmosphere": "Calm, cozy, and dim"
},
"technical_details": {
"camera_angle": "Slight high angle, close to eye level",
"lens_effect": "Focused on the subject, with slight depth in the background",
"framing": "Medium shot - most of the body visible while feet are cropped"
},
"lighting_conditions": {
"type": "Low light / Dim environment",
"source": "Likely artificial light source from the left or a bedside lamp",
"effect": "Shadows that highlight body contours, with a warm yellowish tone"
},
"people": [
{
"identity": "Young woman",
"position_and_posture": {
"general_description": "Lying sideways on the bed in a resting position",
"feet_position": "On the bed, knees bent and slightly overlapping",
"hands_position": "Right hand supports the head (nape/hair area), left arm extends towards the bed"
},
"head_area": {
"general_structure": "Oval facial features",
"hair": {
"color": "Reddish / Dark Copper",
"style": "Updo",
"shape_and_style": "Messy bun on top, with thin strands hanging"
},
"forehead_area": "Exposed, prominent due to hair pulled back",
"eyebrow_area": "Naturally thin and curved",
"eye_area": "Eyes looking down or nearly closed, freckles visible around",
"nose_area": "Small, slightly upturned, characteristic with freckles",
"upper_lip_area": "Clean, no mustache",
"mouth_area": "Closed lips, natural and calm expression",
"chin_area": "Defined jawline, visible from the side profile",
"ears": "Partially visible under hair strands"
},
"body_type_and_areas": {
"general_structure": "Slim, fit, and curvy",
"neck_area": "Long and slender, tense due to head position",
"shoulder_area": "Right shoulder sunk into the pillow, left shoulder elevated and defined",
"chest_area": "Conforming to the dress shape, naturally posed due to side lying",
"stomach_area": "Dress fabric hugs the body, flat stomach structure",
"hip_area": "Defined and curvy due to side lying position",
"thigh_area": "Upper thighs thick and full, touching each other",
"groin_area": "Not visible, covered by legs' position",
"below_knee_area": "Knees bent, lower legs extending backward",
"foot_area": "Outside the frame or in shadow"
},
"clothing": {
"general_description": "One-piece mini dress",
"upper_part": {
"type": "Spaghetti straps",
"color": "Light gray / Ice blue",
"detail": "Stretchy fabric conforming to the body"
},
"lower_part": {
"type": "Mini skirt length",
"color": "Same as upper part (one piece)",
"detail": "Hip-hugging cut"
}
},
"jewelry": "No visible prominent jewelry (necklace, earrings etc.)",
"footwear": "None (Barefoot / in bed)"
}
]
}
}