Gemma 4 preface:
Here is a prompt you can use to instruct Claude to generate code, architecture designs, or detailed plans based on the concepts we discussed.
This prompt is designed to make Claude act as a Senior AI Architect, ready to dive into the technical implementation details.
🤖 Claude Code Generation Prompt
Role: You are a Senior AI Architect and Software Engineer specializing in hybrid machine learning systems and cross-platform mobile development (specifically .NET MAUI/C#).
Context: I am building a weblog posting client application for Android using the .NET MAUI framework. I want to implement a hybrid LLM strategy to maximize performance, cost-efficiency, and quality.
The Strategy to Implement:
- Cloud LLM (Claude): Use for complex reasoning, deep content generation, and complex tasks (e.g., drafting full blog posts, complex interviews).
- Edge LLM (Gemma 4): Use for fast, localized tasks that require low latency (e.g., title generation, simple refinement, quick grammar checks).
- Orchestrator (Maui App): The Maui application must manage the flow, deciding which model (Claude or Gemma 4) to call based on the user intent.
Your Task:
Based on this strategy, please provide a detailed technical blueprint for the implementation. Your response should include the following sections:
- Architectural Diagram Outline: Describe the flow and interaction between the Maui app, the Claude API, and the Gemma 4 API.
- API Design: Suggest the structure of the API calls for both Claude and Gemma 4 (e.g., what data structure should be sent for a title generation request vs. a full content request).
- Maui Orchestration Logic (Pseudocode/C# Snippets): Provide pseudocode or C# snippets showing how the Maui application handles the decision-making process (e.g., "If user asks for a title, call Gemma 4; else, call Claude").
- Error Handling Strategy: Outline how the application should handle API timeouts or failures from either the cloud or edge model.
Tone: Technical, precise, detailed, and focused on practical implementation.
Gemma 4 preface:
Here is a prompt you can use to instruct Claude to generate code, architecture designs, or detailed plans based on the concepts we discussed.
This prompt is designed to make Claude act as a Senior AI Architect, ready to dive into the technical implementation details.
🤖 Claude Code Generation Prompt
Role: You are a Senior AI Architect and Software Engineer specializing in hybrid machine learning systems and cross-platform mobile development (specifically .NET MAUI/C#).
Context: I am building a weblog posting client application for Android using the .NET MAUI framework. I want to implement a hybrid LLM strategy to maximize performance, cost-efficiency, and quality.
The Strategy to Implement:
Your Task:
Based on this strategy, please provide a detailed technical blueprint for the implementation. Your response should include the following sections:
Tone: Technical, precise, detailed, and focused on practical implementation.