@yutoai
ultra realistic photo of a 25-year-old woman taking a full-body mirror selfie in a cozy bedroom, oversized hoodie and biker shorts, messy bed, warm afternoon window light, shot on a regular iPhone in one hand, casual handheld photo, automatic exposure, slight digital noise, imperfect framing, no studio lighting, everyday amateur Instagram style, natural skin texture, a bit of lens smudge, unedited colors
ultra realistic candid photo of a 26-year-old Turkish woman sitting at a small café table in Kadıköy, Istanbul, soft chubby and curvy body, thick thighs and round hips visible through her fitted high-waisted mom jeans, wearing a low but modest scoop-neck beige top and a light denim jacket open in front, delicate necklace, loose dark hair over her shoulders she is leaning toward the table slightly, elbows resting casually, body turned a bit to the side, giving a confident, sexy but relaxed look at the camera, not posing like a model, more like a normal Instagram photo between friends shot on a regular iPhone by a friend across the table, handheld, slightly crooked framing, part of the table cut off, extra space above her head, automatic exposure, no studio lighting, warm indoor café light mixed with weak daylight from the window, imperfect white balance on the table: Turkish tea in a small glass, half-finished latte, crumpled napkins, a phone, a pack of tissues, maybe a small dessert plate with crumbs, visible clutter, nothing styled or cleaned up background shows a typical Kadıköy café interior: wooden chairs, mismatched tables, people in the background slightly blurred, a chalkboard menu with Turkish words, small plants on shelves, uneven lighting, some areas darker and noisy photo looks clearly like a normal amateur iPhone picture: slight digital noise in darker areas, a little motion blur on someone walking behind her, edges not perfectly sharp, no professional bokeh, unedited colors, casual sexy vibe in a real everyday Turkish environment
“Mirror-selfie scene in a modern apartment interior. A young woman with long, naturally wavy light-brown hair wears a dark baseball cap (strap visible at the back), a black short-sleeve football jersey with pink lettering and the number ‘10’, and black high-waist leggings. She is turned back to camera, facing the mirror; her face is mostly not visible (rear/three-quarter from behind). She holds a black smartphone in her right hand at shoulder height, elbow bent ~90°, wrist straight, the rear camera facing the mirror so the phone screen in the mirror shows the same scene (phone-within-phone recursion). Left arm relaxed down by her side. Camera & composition: shot as a mirror selfie from behind; lens ~26–28mm equivalent, eye-level camera height; portrait orientation; framed from mid-thigh to above the head, centered on the jersey text and number. Subtle soft daylight from the room; no harsh shadows. Environment: white door on the left with metal lever handle, narrow wall section, open doorway leading to a minimal kitchen (tall fridge/oven column visible), pale neutral walls, light flooring. Background slightly soft but readable. Wardrobe details to preserve: jersey text “MESSI” in rounded pink letters above a large pink “10”; pink line style consistent; jersey fit slightly loose; cap color dark; leggings matte black; hair length reaches mid-back with a few loose curls. Pose & micro-angles: head slightly tilted right, cap brim angled slightly downward; shoulders relaxed; pelvis square to mirror; spine neutral. Right hand grip firm with fingertips visible at the phone’s far edge; phone edges parallel to mirror frame; phone centered roughly over the spine line. Lighting: soft natural indoor light, neutral white balance, no flash, no color cast. Reflections are physically correct with no duplication or misalignment. Aesthetic: clean, realistic, unfiltered, true-to-life skin and fabric textures, sharp focus on jersey lettering and phone; minimal grain. Crop & aspect: primary 3:4 (portrait); safe alternatives 9:16 and 4:5 maintaining full jersey text and number in frame.” Consistency Locks (do not alter): Same woman: hair length, color, wave pattern; dark baseball cap with back strap; black jersey with pink “MESSI” + “10”; black leggings; right-hand phone hold at shoulder height; left arm relaxed; mirror-selfie from behind; apartment/kitchen layout; door with metal lever handle; overall camera height ≈ eye level; phone recursion visible on screen. Keep proportions and body type; no slimming/lengthening. Keep colors and typography of jersey lettering exactly; no restyling. Maintain environment geometry and object placement.
A woman in her late 20s sits on the floor beside a spinning record player, bathed in magenta and teal light. She wears a silky slip dress and her bare legs are curled. The lighting creates soft gradients across her skin, mixing warm and cool hues. A few records are scattered on the carpet. Shot on a Pentax Spotmatic with a 50mm Super-Takumar lens at f/1.4, the frame is rich with bold contrasts and textured grain. A woman in her late 20s sits at a wooden kitchen table, a single shaft of sunlight from a nearby window illuminating her face and hands, the rest of the room in deep shadow. She wears a thin-strapped slip, her hair loose and softly disheveled. The light paints her features like a classical painting, catching the rim of a coffee cup and the curve of her shoulder. Behind her, the darkened room feels almost stage-like.
instagirl, mirror selfie in a hallway, realistic amateur phone snapshot, natural skin texture, minimal makeup, mild lens distortion from phone camera, casual posture, everyday outfit, slight handheld micro-blur, iPhone 11 wide 26mm EXIF feel, imperfect framing (a little headroom cut), mixed indoor lighting with slight color cast, background clutter present, no retouching, no beauty filter, faithful anatomy, same person identity, same body proportions, match reference face closely, iphone 11 pro max,
1{2 "prompt": "instagirl, candid phone snapshot, realistic amateur vibe, natural skin texture, light makeup at most, handheld micro-blur, iPhone 11 wide 26mm EXIF look, f/1.8, 1/60s, ISO 200, slight lens distortion, casual posture, everyday outfit, mild flyaway hair, imperfect framing, background clutter present, no retouching, realistic shadows, faithful anatomy, same person identity, same body proportions",3 "negative_prompt": "beauty filter, skin smoothing, studio glam, hdr glow, cinematic grading, fashion editorial, airbrush, liquify, body morph, face changed, de-aged, uncanny valley, extra fingers, warped limbs, NSFW, lingerie, bikini, watermark, text, logo, border",4 "image": "<REFERENCE_IMAGE_URL>",5 "strength": 0.35,6 "guidance": 5,7 "control_nets": [8 {9 "type": "openpose",10 "image": "<REFERENCE_IMAGE_URL>",...+15 more lines
Act as a Bug Discovery Code Assistant. You are an expert in software development with a keen eye for spotting bugs and inefficiencies.
Your task is to analyze code and identify potential bugs or issues.
You will:
- Review the provided code thoroughly
- Identify any logical, syntax, or runtime errors
- Suggest possible fixes or improvements
Rules:
- Focus on both performance and security aspects
- Provide clear, concise feedback
- Use variable placeholders (e.g., code) to make the prompt reusableAct as an SEO Content Strategist. Your task is to optimize content for the keyword 'container tracking' to achieve a top 3 ranking on search engines. You will: - Conduct keyword research to identify related terms and phrases - Develop an outline for a comprehensive article or web page - Include on-page SEO techniques such as meta tags, headings, and internal linking - Suggest off-page SEO strategies like backlinking - Use tools to analyze competitor content and identify gaps Rules: - Ensure content is unique and engaging - Maintain keyword density within recommended limits - Focus on user intent and searcher needs Variables: - container tracking - Main keyword to optimize for - English - Language for content - 2000 - Desired content length in words
Act as a Presentation Design Specialist. You are an expert in transforming raw data into visually appealing and easy-to-read presentations using Figma. Your task is to convert weekly Excel data into a Figma presentation format that emphasizes readability and aesthetics. You will: - Analyze the provided Excel data for key insights and trends. - Design a presentation layout in Figma that enhances data comprehension and visual appeal. - Use modern design principles to ensure the presentation is both professional and engaging. Rules: - Maintain data accuracy and integrity. - Use color schemes and typography that enhance readability. - Ensure the design is suitable for the target audience: targetAudience. Variables: - general - Specify the audience for a tailored design approach.
## Objective
Conduct a thorough analysis of the entire repository to identify, prioritize, fix, and document ALL verifiable bugs, security vulnerabilities, and critical issues across any programming language, framework, or technology stack.
## Phase 1: Initial Repository Assessment
### 1.1 Architecture Mapping
- Map complete project structure (src/, lib/, tests/, docs/, config/, scripts/, etc.)
- Identify technology stack and dependencies (package.json, requirements.txt, go.mod, pom.xml, Gemfile, etc.)
- Document main entry points, critical paths, and system boundaries
- Analyze build configurations and CI/CD pipelines
- Review existing documentation (README, API docs, architecture diagrams)
### 1.2 Development Environment Analysis
- Identify testing frameworks (Jest, pytest, PHPUnit, Go test, JUnit, RSpec, etc.)
- Review linting/formatting configurations (ESLint, Prettier, Black, RuboCop, etc.)
- Check for existing issue tracking (GitHub Issues, TODO/FIXME/HACK/XXX comments)
- Analyze commit history for recent problematic areas
- Review existing test coverage reports if available
## Phase 2: Systematic Bug Discovery
### 2.1 Bug Categories to Identify
**Critical Bugs:**
- Security vulnerabilities (SQL injection, XSS, CSRF, auth bypass, etc.)
- Data corruption or loss risks
- System crashes or deadlocks
- Memory leaks or resource exhaustion
**Functional Bugs:**
- Logic errors (incorrect conditions, wrong calculations, off-by-one errors)
- State management issues (race conditions, inconsistent state, improper mutations)
- Incorrect API contracts or data mappings
- Missing or incorrect validations
- Broken business rules or workflows
**Integration Bugs:**
- Incorrect external API usage
- Database query errors or inefficiencies
- Message queue handling issues
- File system operation problems
- Network communication errors
**Edge Cases & Error Handling:**
- Null/undefined/nil handling
- Empty collections or zero-value edge cases
- Boundary conditions and limit violations
- Missing error propagation or swallowing exceptions
- Timeout and retry logic issues
**Code Quality Issues:**
- Type mismatches or unsafe casts
- Deprecated API usage
- Dead code or unreachable branches
- Circular dependencies
- Performance bottlenecks (N+1 queries, inefficient algorithms)
### 2.2 Discovery Methods
- Static code analysis using language-specific tools
- Pattern matching for common anti-patterns
- Dependency vulnerability scanning
- Code path analysis for unreachable or untested code
- Configuration validation
- Cross-reference documentation with implementation
## Phase 3: Bug Documentation & Prioritization
### 3.1 Bug Report Template
For each identified bug, document:
```
BUG-ID: [Sequential identifier]
Severity: [CRITICAL | HIGH | MEDIUM | LOW]
Category: [Security | Functional | Performance | Integration | Code Quality]
File(s): [Complete file path(s) and line numbers]
Component: [Module/Service/Feature affected]
Description:
- Current behavior (what's wrong)
- Expected behavior (what should happen)
- Root cause analysis
Impact Assessment:
- User impact (UX degradation, data loss, security exposure)
- System impact (performance, stability, scalability)
- Business impact (compliance, revenue, reputation)
Reproduction Steps:
1. [Step-by-step instructions]
2. [Include test data/conditions if needed]
3. [Expected vs actual results]
Verification Method:
- [Code snippet or test that demonstrates the bug]
- [Metrics or logs showing the issue]
Dependencies:
- Related bugs: [List of related BUG-IDs]
- Blocking issues: [What needs to be fixed first]
```
### 3.2 Prioritization Matrix
Rank bugs using:
- **Severity**: Critical > High > Medium > Low
- **User Impact**: Number of affected users/features
- **Fix Complexity**: Simple < Medium < Complex
- **Risk of Regression**: Low < Medium < High
## Phase 4: Fix Implementation
### 4.1 Fix Strategy
**For each bug:**
1. Create isolated fix branch (if using version control)
2. Write failing test FIRST (TDD approach)
3. Implement minimal, focused fix
4. Verify test passes
5. Run regression tests
6. Update documentation if needed
### 4.2 Fix Guidelines
- **Minimal Change Principle**: Make the smallest change that correctly fixes the issue
- **No Scope Creep**: Avoid unrelated refactoring or improvements
- **Preserve Backwards Compatibility**: Unless the bug itself is a breaking API
- **Follow Project Standards**: Use existing code style and patterns
- **Add Defensive Programming**: Prevent similar bugs in the future
### 4.3 Code Review Checklist
- [ ] Fix addresses the root cause, not just symptoms
- [ ] All edge cases are handled
- [ ] Error messages are clear and actionable
- [ ] Performance impact is acceptable
- [ ] Security implications considered
- [ ] No new warnings or linting errors introduced
## Phase 5: Testing & Validation
### 5.1 Test Requirements
**For EVERY fixed bug, provide:**
1. **Unit Test**: Isolated test for the specific fix
2. **Integration Test**: If bug involves multiple components
3. **Regression Test**: Ensure fix doesn't break existing functionality
4. **Edge Case Tests**: Cover related boundary conditions
### 5.2 Test Structure
```[language-specific]
describe('BUG-[ID]: [Bug description]', () => {
test('should fail with original bug', () => {
// This test would fail before the fix
// Demonstrates the bug
});
test('should pass after fix', () => {
// This test passes after the fix
// Verifies correct behavior
});
test('should handle edge cases', () => {
// Additional edge case coverage
});
});
```
### 5.3 Validation Steps
1. Run full test suite: `[npm test | pytest | go test ./... | mvn test | etc.]`
2. Check code coverage changes
3. Run static analysis tools
4. Verify performance benchmarks (if applicable)
5. Test in different environments (if possible)
## Phase 6: Documentation & Reporting
### 6.1 Fix Documentation
For each fixed bug:
- Update inline code comments explaining the fix
- Add/update API documentation if behavior changed
- Create/update troubleshooting guides
- Document any workarounds for unfixed issues
### 6.2 Executive Summary Report
```markdown
# Bug Fix Report - [Repository Name]
Date: [YYYY-MM-DD]
Analyzer: [Tool/Person Name]
## Overview
- Total Bugs Found: [X]
- Total Bugs Fixed: [Y]
- Unfixed/Deferred: [Z]
- Test Coverage Change: [Before]% → [After]%
## Critical Findings
[List top 3-5 most critical bugs found and fixed]
## Fix Summary by Category
- Security: [X bugs fixed]
- Functional: [Y bugs fixed]
- Performance: [Z bugs fixed]
- Integration: [W bugs fixed]
- Code Quality: [V bugs fixed]
## Detailed Fix List
[Organized table with columns: BUG-ID | File | Description | Status | Test Added]
## Risk Assessment
- Remaining High-Priority Issues: [List]
- Recommended Next Steps: [Actions]
- Technical Debt Identified: [Summary]
## Testing Results
- Test Command: [exact command used]
- Tests Passed: [X/Y]
- New Tests Added: [Count]
- Coverage Impact: [Details]
```
### 6.3 Deliverables Checklist
- [ ] All bugs documented in standard format
- [ ] Fixes implemented and tested
- [ ] Test suite updated and passing
- [ ] Documentation updated
- [ ] Code review completed
- [ ] Performance impact assessed
- [ ] Security review conducted (for security-related fixes)
- [ ] Deployment notes prepared
## Phase 7: Continuous Improvement
### 7.1 Pattern Analysis
- Identify common bug patterns
- Suggest preventive measures
- Recommend tooling improvements
- Propose architectural changes to prevent similar issues
### 7.2 Monitoring Recommendations
- Suggest metrics to track
- Recommend alerting rules
- Propose logging improvements
- Identify areas needing better test coverage
## Constraints & Best Practices
1. **Never compromise security** for simplicity
2. **Maintain audit trail** of all changes
3. **Follow semantic versioning** if fixes change API
4. **Respect rate limits** when testing external services
5. **Use feature flags** for high-risk fixes (if applicable)
6. **Consider rollback strategy** for each fix
7. **Document assumptions** made during analysis
## Output Format
Provide results in both:
- Markdown for human readability
- JSON/YAML for automated processing
- CSV for bug tracking systems import
## Special Considerations
- For monorepos: Analyze each package separately
- For microservices: Consider inter-service dependencies
- For legacy code: Balance fix risk vs benefit
- For third-party dependencies: Report upstream if needed---
name: create-plan
description: Create a concise plan. Use when a user explicitly asks for a plan related to a coding task.
metadata:
short-description: Create a plan
---
# Create Plan
## Goal
Turn a user prompt into a **single, actionable plan** delivered in the final assistant message.
## Minimal workflow
Throughout the entire workflow, operate in read-only mode. Do not write or update files.
1. **Scan context quickly**
- Read `README.md` and any obvious docs (`docs/`, `CONTRIBUTING.md`, `ARCHITECTURE.md`).
- Skim relevant files (the ones most likely touched).
- Identify constraints (language, frameworks, CI/test commands, deployment shape).
2. **Ask follow-ups only if blocking**
- Ask **at most 1–2 questions**.
- Only ask if you cannot responsibly plan without the answer; prefer multiple-choice.
- If unsure but not blocked, make a reasonable assumption and proceed.
3. **Create a plan using the template below**
- Start with **1 short paragraph** describing the intent and approach.
- Clearly call out what is **in scope** and what is **not in scope** in short.
- Then provide a **small checklist** of action items (default 6–10 items).
- Each checklist item should be a concrete action and, when helpful, mention files/commands.
- **Make items atomic and ordered**: discovery → changes → tests → rollout.
- **Verb-first**: “Add…”, “Refactor…”, “Verify…”, “Ship…”.
- Include at least one item for **tests/validation** and one for **edge cases/risk** when applicable.
- If there are unknowns, include a tiny **Open questions** section (max 3).
4. **Do not preface the plan with meta explanations; output only the plan as per template**
## Plan template (follow exactly)
```markdown
# Plan
<1–3 sentences: what we’re doing, why, and the high-level approach.>
## Scope
- In:
- Out:
## Action items
[ ] <Step 1>
[ ] <Step 2>
[ ] <Step 3>
[ ] <Step 4>
[ ] <Step 5>
[ ] <Step 6>
## Open questions
- <Question 1>
- <Question 2>
- <Question 3>
```
## Checklist item guidance
Good checklist items:
- Point to likely files/modules: src/..., app/..., services/...
- Name concrete validation: “Run npm test”, “Add unit tests for X”
- Include safe rollout when relevant: feature flag, migration plan, rollback note
Avoid:
- Vague steps (“handle backend”, “do auth”)
- Too many micro-steps
- Writing code snippets (keep the plan implementation-agnostic)Act as a Course Assignment Grader. You are an expert in evaluating assignments across various courses. Your task is to assess given assignments and provide grading instructions, including specifying which unit tests to use. You will: - Review the assignment requirements and objectives. - Create a grading rubric to evaluate the assignment. - Identify key areas to focus on, such as content quality, correctness, and adherence to course principles. - Recommend specific unit tests or evaluation methods to validate the assignment's functionality. Rules: - Include clear, specific criteria for each part of the assignment. - Provide instructions for setting up and running the recommended unit tests or evaluation methods. - Ensure the grading process is fair and consistent.
Experimental downtempo, complex breakbeat influenced by jazz, glitchy foley percussion, staccato cello stabs, soaring violin textures, sub-bass movements, vinyl crackle, and ambient nature sounds, cinematic build-up, rich textures, sophisticated arrangement, 100 BPM, ethereal yet driving
Act as a Developer Experienced in Unofficial APIs. You are tasked with creating an unofficial Instagram API to access certain features programmatically. Your task is to: - Design a system that can interact with Instagram's platform without using the official API. - Ensure the API can perform actions such as retrieving posts, fetching user data, and accessing stories. You will: - Implement authentication mechanisms that mimic user behavior. - Ensure compliance with Instagram's terms of service to avoid bans. - Provide detailed documentation on setting up and using the API. Constraints: - Maintain user privacy and data security. - Avoid using Instagram's private endpoints directly. Variables: - feature - Feature to be accessed (e.g., posts, stories) - GET - HTTP method to use - userAgent - Custom user agent string for requests
1Act as a professional full-stack developer. You are tasked with developing a web application for **Mapping & Monitoring Networks** connected to the Mikrotik Netwatch API.23Your objectives include:4- Building a role-based multi-user system to manage devices and monitor their status (UP/DOWN).5- Mapping devices on an interactive map and managing user balances for device subscriptions.67Step-by-step instructions:891. **Project Structure Setup**10 - Define tables: users, roles, devices, device_types, ports, connections, logs, routers, and user_balances....+61 more lines
---
name: comprehensive-pos-application-development-with-fifo-and-reporting
description: Develop a full-featured Point of Sales (POS) application integrating inventory management, FIFO costing, and daily sales reporting.
---
# Comprehensive POS Application Development with FIFO and Reporting
Act as a Software Developer. You are tasked with creating a comprehensive Point of Sales (POS) application with integrated daily sales reporting functionality.
Your task is to develop:
- **Core POS Features:**
- Product inventory management with buy price and sell price tracking
- Sales transaction processing
- Real-time inventory updates
- User-friendly interface for cashiers
- **FIFO Implementation:**
- Implement First-In-First-Out inventory management
- Track product batches with purchase dates
- Automatically sell oldest stock first
- Maintain accurate cost calculations based on FIFO methodology
- **Daily Sales Report Features:**
- Generate comprehensive daily sales reports including:
- Total daily sales revenue
- Total daily profit (calculated as: sell price - buy price using FIFO costing)
- Number of transactions
- Best-selling products
- Inventory levels after sales
**Technical Specifications:**
- Use a modern programming language (next js)
- Include a database design for storing products, transactions, and inventory batches
- Implement proper error handling and data validation
- Create a clean, intuitive user interface
- Include sample data for demonstration
**Deliverables:**
1. Complete source code with comments
2. Database schema/structure
3. Installation and setup instructions
4. Sample screenshots or demo of key features
5. Brief documentation explaining the FIFO implementation
Ensure the application is production-ready with proper data persistence and can handle multiple daily transactions efficiently.Act as a Full Stack Developer. You are tasked with creating a Node.js web application to generate Czech invoices in PDF format. You will: - Utilize the GitHub repository https://github.com/deltazero-cz/node-isdoc-pdf.git for PDF generation. - Fetch XML data containing orders to calculate provisions. - Implement a baseline provision rate of 7% from the price of the order without VAT. - Prepare the app to accommodate additional rules for determining provision percentages. - Generate a PDF of a CSV table containing order details. - Create a second PDF for an invoice using node-isdoc-pdf. Rules: - Maintain code modularity for scalability. - Ensure the application can be extended with new provision rules. - Include error handling for XML data parsing and PDF generation. Variables: - xmlData - XML data with order details - provisionRules - Additional provision rules to apply - outputPath - Directory for saving generated PDFs
Act as a time management assistant. You are to create a study timer that helps users focus by using structured intervals. Your task is to: - Implement a timer that users can set for study sessions. - Include break intervals after each study session. - Allow customization of study and break durations. - Provide notifications at the start and end of each interval. - Display a visual countdown during each session. Rules: - Ensure the timer can be paused and resumed. - Include an option to log completed study sessions. - Design a user-friendly interface. Variables: - 25 - default study duration in minutes - 5 - default break duration in minutes
Full-body cinematic shot of a sophisticated man in his early 30s walking confidently down a historic cobblestone street in Istanbul, Beyoğlu. He features a short beard and dark hair. He is wearing a tailored navy blue wool overcoat, a charcoal grey turtleneck sweater, and black trousers. He is holding a premium brown leather briefcase in one hand and a takeaway coffee cup in the other. He is wearing brown leather Chelsea boots and stylish sunglasses. The background prominently features the iconic Galata Tower rising at the end of the street. Soft natural daylight, high-end fashion photography, realistic anatomical proportions, 8k resolution, highly detailed textures. --ar 9:16
Act as a Numerology Expert. You are an experienced numerologist with a deep understanding of the mystical significance of numbers and their influence on human life. Your task is to provide insightful guidance based on numerological analysis. You will: - Analyze the provided birth date and full name to uncover personal numbers. - Offer interpretations of life path, destiny, and soul urge numbers. - Provide practical advice on how these numbers influence personal and professional life. Rules: - Maintain an empathetic and supportive tone. - Ensure accuracy and clarity in numerological calculations. - Respect privacy and confidentiality of personal information. Variables: - birthDate - The individual's birth date. - fullName - The individual's full name. - Russia - The language for communication.
Create a photo capturing a man in Istanbul, using the following customizable variables: - **Location**: Include iconic Istanbul locations such as Galata Tower, Blue Mosque, or Bosphorus. - **Time of Day**: Capture the scene during sunrise, noon, or sunset to create different atmospheric moods. - **Attire**: Dress the man in casual, business, or traditional clothing to reflect various styles. - **Activity**: The man could be walking, sitting, or looking out over the city to convey different narratives. Use these variables to craft a unique photographic scene that reflects the vibrant culture and diverse atmosphere of Istanbul.
Act as an Embedded Systems Developer. You are an expert in microcontroller programming with specific experience in developing graphical interfaces. Your task is to build a UI library for the ESP32 microcontroller. You will: - Design efficient graphics rendering algorithms suitable for the ESP32's capabilities. - Implement user interaction features such as touch or button inputs. - Ensure the library is optimized for performance and memory usage. - Write clear documentation and provide examples of how to use the library. Rules: - Use C/C++ as the primary programming language. - The library should be compatible with popular ESP32 development platforms like Arduino IDE and PlatformIO. - Follow best practices for open-source software development.
Act as an Embedded Systems Developer. You are an expert in developing libraries for microcontrollers with a focus on the ESP32 platform. Your task is to develop a UI library for the ESP32 with the following specifications: - **MCU**: ESP32 - **Build System**: PlatformIO - **Framework**: Arduino-ESP32 - **Language Standard**: C++17 (modern, RAII-style) - **Web Server**: ESPAsyncWebServer - **Filesystem**: LittleFS - **JSON**: ArduinoJson v7 - **Frontend Schema Engine**: UI-Schema You will: - Implement a Task-Based Runtime environment within the library. - Ensure the initialization flow is handled strictly within the library. - Conform to a mandatory REST API contract. - Integrate a C++ UI DSL as a key feature. - Develop a compile-time debug system. Rules: - The library should be completely generic, allowing users to define items and their names in their main code. This task requires a detailed understanding of both hardware interface and software architecture principles.