Communitygithub.com

Odoo XML 뷰 편집기 GUI 생성

Python Tkinter를 사용하여 Odoo XML 뷰 파일을 시각화, 수정 및 관리하는 애플리케이션을 생성합니다. 재귀적 파싱, 계층적 요소 관리, 속성 편집, 유효성 검사 및 예외 처리를 포함합니다.

Odoo XML 뷰 편집기 GUI 생성란 무엇인가요?

이 스킬은 Odoo XML 뷰 파일을 위한 완전한 GUI 편집기를 Python Tkinter로 생성하도록 설계되었습니다. 사용자는 파일 시스템에서 기존 뷰 XML 파일을 로드하거나 새로운 XML 뷰를 처음부터 생성할 수 있습니다. 애플리케이션은 재귀적 파서를 사용하여 XML 구조를 Treeview 위젯에 표시하며, Odoo의 form, tree, sheet, group, notebook, page, field 등 모든 요소 유형과 깊이를 처리합니다. 주요 기능으로는 요소 태그 수정, 속성 값 편집, 자식 요소 추가(Combobox를 통한 유형 선택), 요소 및 하위 트리 제거, 수정된 XML을 원본 파일에 저장하는 기능이 포함됩니다. 유효성 검사는 필수 필드(name 속성 등)를 확인하고, 구조적 일관성을 보장하며, I/O 작업 전반에 걸쳐 try-except 블록을 통해 예외를 처리하여 파일 로드 오류(XML 형식 오류, 파일 없음)나 저장 오류(권한 거부) 발생 시 messagebox로 명확한 오류 메시지를 사용자에게 제공합니다. 이는 Flask나 Django와 같은 웹 프레임워크 없이 순수 표준 라이브러리만으로 작동하는 로컬 데스크톱 애플리케이션입니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/David-Li0406/meta-skill-evloving/tree/HEAD/AutoSkill/SkillBank/ConvSkill/Italian/creazione-di-editor-gui-per-viste-xml-odoo

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Odoo XML 뷰 GUI 편집기 생성

Python Tkinter를 사용하여 Odoo XML 뷰 파일을 시각화, 수정 및 관리하는 애플리케이션을 생성합니다. 재귀적 파싱, 계층적 요소 관리, 속성 편집, 유효성 검사 및 예외 처리를 포함합니다.

프롬프트

역할 및 목표

당신은 Tkinter를 사용한 GUI 및 Odoo 프레임워크용 XML 파일 조작에 특화된 숙련된 Python 개발자입니다. 목표는 Flask와 같은 웹 프레임워크 없이 로컬에서 Odoo XML 뷰를 로드, 표시, 수정 및 저장할 수 있는 완전한 데스크톱 애플리케이션을 위한 코드를 생성하는 것입니다.

의사소통 및 스타일 선호사항

  • 한국어로 응답하세요.
  • 깔끔하고 주석 처리된 즉시 사용 가능한 Python 코드를 제공하세요.
  • 코드 앞에 구현된 기능을 간략히 설명하세요.

운영 규칙 및 제약사항

  1. 기술: Python 표준 라이브러리(tkinter, xml.etree.ElementTree, tkinter.ttk, tkinter.filedialog, tkinter.messagebox, tkinter.simpledialog)만 사용하세요. Flask, Django 또는 다른 웹 프레임워크를 사용하지 마세요.
  2. 핵심 기능:
    • 로드: 파일 시스템에서 기존 XML 파일을 로드할 수 있어야 합니다.
    • 새로 생성: 빈 새 XML 뷰(예: <form> 루트)를 생성할 수 있어야 합니다.
    • 표시: Treeview 위젯에 계층적 XML 구조를 표시합니다. 파싱은 재귀적이어야 하며 Odoo 요소(form, tree, sheet, group, notebook, page, field 등)의 모든 깊이와 유형을 처리해야 합니다.
    • 요소 수정: 선택한 요소의 태그(이름)를 더블 클릭 등으로 수정할 수 있어야 합니다.
    • 요소 추가: Combobox와 같은 인터페이스를 제공하여 선택한 요소에 특정 유형(form, tree, sheet, group, notebook, page, field)의 새 자식 요소를 추가할 수 있어야 합니다.
    • 요소 제거: 선택한 요소와 그 하위 요소를 제거할 수 있어야 합니다.
    • 저장: XML 구조에 대한 변경 사항을 원본 파일에 저장할 수 있어야 합니다.
  3. 고급 관리 (명시적 요구사항):
    • 속성 관리: Treeview에 요소의 속성을 표시합니다(예: @key=value 형식의 하위 노드로). 선택한 속성의 값을 대화상자를 통해 수정할 수 있어야 합니다.
    • 유효성 검사: 저장 또는 추가 전에 필수 필드(예: 필드의 name)가 있는지 또는 구조가 일관적인지 확인하는 기본 검사를 구현합니다.
    • 예외 처리: 로드 중(파일 없음, 잘못된 형식의 XML) 및 저장 중(권한 거부) 오류를 처리하기 위해 강력한 try-except 블록을 구현하고, messagebox를 통해 명확한 오류 메시지를 사용자에게 표시합니다.

안티 패턴

  • 수정을 위해 웹 서버나 외부 브라우저가 필요한 코드를 생성하지 마십시오 (편집은 Tkinter GUI에서 이루어져야 함).
  • 꼭 필요한 경우가 아니라면 파싱을 고정된 태그 목록으로 제한하지 마십시오; 일반적인 재귀 또는 Odoo 공통 태그 처리를 선호하세요.
  • I/O 작업에 대한 오류 처리를 생략하지 마십시오.

상호작용 워크플로우

  1. 사용자가 편집기 생성 또는 개선을 요청합니다.
  2. 위에 나열된 모든 요구사항을 구현하는 XMLEditorApp(또는 유사한) 클래스의 전체 코드를 제공합니다.
  3. 사용자가 특정 추가 기능(예: 드래그 앤 드롭, 구문 강조)을 요청하는 경우, 표준 Tkinter와 호환되는지 평가하고 구현합니다.

트리거

  • odoo 뷰를 수정할 gui 생성
  • python odoo xml 편집기
  • 로컬 odoo xml 뷰어 및 수정기
  • tkinter odoo xml 뷰 완전 관리
  • odoo 편집기에 속성 관리 및 유효성 검사 추가

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

David-Li0406/meta-skill-evloving

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request.

David-Li0406/meta-skill-evloving

Create technical diagrams using Mermaid syntax for architecture, sequences, ERDs, flowcharts, and state machines. Use for visualizing system design, data flows, and processes. Triggers: diagram, mermaid, architecture diagram, sequence diagram, flowchart, ERD, entity relationship, state diagram, C4 model, component diagram, visualize, draw.

David-Li0406/meta-skill-evloving

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

David-Li0406/meta-skill-evloving

Complete color manipulation and green screen effects system. PROACTIVELY activate for: (1) Green screen/chromakey removal, (2) Color grading with LUTs, (3) Color correction (levels, curves, white balance), (4) Colorkey/color removal effects, (5) Hue/saturation manipulation, (6) Color space conversions (BT.709, BT.2020, HDR), (7) Color isolation effects, (8) Teal and orange look, (9) Vintage/film looks, (10) Color keying for transparency. Provides: chromakey and colorkey filters, LUT application (lut3d), curves and levels adjustment, color balance, selective color manipulation, color space handling, HDR tone mapping, professional color grading chains.

David-Li0406/meta-skill-evloving

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

David-Li0406/meta-skill-evloving

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

David-Li0406/meta-skill-evloving

Build with OpenAI's stateless APIs - Chat Completions (GPT-5, GPT-4o), Embeddings, Images (DALL-E 3), Audio (Whisper + TTS), and Moderation. Includes Node.js SDK and fetch-based approaches for Cloudflare Workers. Use when: implementing chat completions with GPT-5/GPT-4o, streaming responses with SSE, using function calling/tools, creating structured outputs with JSON schemas, generating embeddings for RAG (text-embedding-3-small/large), generating images with DALL-E 3, editing images with GPT-Image-1, transcribing audio with Whisper, synthesizing speech with TTS (11 voices), moderating content (11 safety categories), or troubleshooting rate limits (429), invalid API keys (401), function calling failures, streaming parse errors, embeddings dimension mismatches, or token limit exceeded.

David-Li0406/meta-skill-evloving

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

David-Li0406/meta-skill-evloving

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

David-Li0406/meta-skill-evloving

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

David-Li0406/meta-skill-evloving

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

David-Li0406/meta-skill-evloving

Best practices for Remotion - Video creation in React

David-Li0406/meta-skill-evloving

Provides bidirectional translation (Chinese/English), grammar checking, and sentence polishing. Supports specific tense constraints, context-aware tone adjustment, and natural expression optimization. Outputs direct text without formatting.

David-Li0406/meta-skill-evloving

指导如何通过自定义注解(如@Unicom)标识Dubbo接口,利用BeanDefinitionRegistryPostProcessor在启动时扫描并动态注册ReferenceBean,实现RPC调用的封装。

David-Li0406/meta-skill-evloving

生成Python脚本,利用FFmpeg将图片序列按3x3布局合并,或将合并图拆分。要求使用subprocess模块执行命令,并支持用户交互式输入路径。

David-Li0406/meta-skill-evloving

SOP for extracting and analyzing promotional activity details, handling time formatting, location mapping, payment logic, and step-by-step process validation.

David-Li0406/meta-skill-evloving

Specializes in creating TikTok short video scripts using an anthropomorphic 'Chef' perspective to explain wildlife food chains and survival environments, utilizing real field footage.

David-Li0406/meta-skill-evloving

针对TikTok平台,以拟人化视角(如动物作为厨师)创作系列短视频脚本。重点介绍野生动物、食物链及生态环境,要求使用野外实拍素材,风格幽默且具有教育意义。

David-Li0406/meta-skill-evloving

Generates KWL (Know, Want to know, Learned) charts for educational videos, specifically BrainPOP, using simple 7th-grade language and short, concise bullet points.

David-Li0406/meta-skill-evloving

Tracks complex, multi-session work using the Beads issue tracker and dependency graphs, and provides persistent memory that survives conversation compaction. Use when work spans multiple sessions, has complex dependencies, or needs persistent context across compaction cycles. Trigger with phrases like "create task for", "what's ready to work on", "show task", "track this work", "what's blocking", or "update status".

관련 스킬