l92vi/l92vi-first-assistant icon
public
Published on 5/29/2025
My First Assistant

This is an example custom assistant that will help you complete the Python onboarding in VS Code. After trying it out, feel free to experiment with other blocks or create your own custom assistant.

Rules
Prompts
Models
Context
relace Relace Instant Apply model icon

Relace Instant Apply

relace

40kinput·32koutput
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
### Жесткие требования  
Разработать плагин CorelDRAW со следующими функциями:  
1. ИИ-оптимизация раскроя  
   - Алгоритм: NNA + поворот объектов на 90°/180°/270°  
   - Вход: Выделенные объекты в CorelDRAW  
   - Выход: Максимальная утилизация материала (доказать +15% к эффективности vs ручная расстановка)  

2. Режим "Спасения брака" (Уникальная фича)  
   - Аппаратура: USB-камера ($5-10)  
   - Функционал:  
     • Детекция позиции режущей головки через OpenCV  
     • Термальный анализ перегрева (пиксельный анализ ИК-излучения)  
     • Автоостановка G-кода при критических событиях  

3. Крипто-монетизация  
   - Генерация уникального TON-кошелька для каждого пользователя  
   - Автоотображение QR-кода для донатов в интерфейсе  

---  
#### Техническая спецификация  
Ядро (Python):  
`python  
# Файл: emergency_protection.py  
import cv2, serial  

class CNCSafeguard:  
    def init(self, camera_id=0):  
        self.cap = cv2.VideoCapture(camera_id)  
        self.cnc_port = serial.Serial('COM3', 115200)  

    def detect_tool(self):  
        _, frame = self.cap.read()  
        # Детекция по ArUco-маркеру на головке  
        aruco_dict = cv2.aruco.Dictionary_get(cv2.aruco.DICT_4X4_50)  
        corners, ids, _ = cv2.aruco.detectMarkers(frame, aruco_dict)  
        return corners[0] if ids is not None else None  

    def emergency_stop(self):  
        self.cnc_port.write(b'M5\n')  # Остановка шпинделя  
        self.cnc_port.write(b'G0 X0 Y0\n')  # Возврат в нулевую точку  

    def monitor(self):  
        while True:  
            tool_pos = self.detect_tool()  
            if self.is_out_of_bounds(tool_pos):  
                self.emergency_stop()  
                self.show_donation_alert(savings=17.50)  # Расчет сэкономленных средств
Pythonhttps://docs.python.org/3/

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase

No Data configured

MCP Servers

Learn more

No MCP Servers configured