ME

mikewuping/emulator-uefi-shell-app

Code review

This page was translated automatically. Technical details may differ from the original. View the original

70 stars Quality 44 Trend 18

This skill provides Claude Code with a complete knowledge base for UEFI Shell application development, covering the entire process from environment setup to debugging and deployment. This skill provides Claude Code with complete knowledge for UEFI Shell application development, covering the entire workflow from...

Overview

UEFI Shell application development skills based on EmulatorPkg, providing a complete development guide for Claude Code. This skill provides Claude Code with a complete knowledge base for UEFI Shell application development, covering the entire process from environment setup to debugging and deployment. Supports dual-platform development environments for Windows (Visual Studio 2019) and Linux (GCC). - — One-stop guide for environment setup, compilation, development, and debugging - — Windows (VS2019) + Linux (GCC) - — INF files, shell applications, GOP graphical application templates - — Print output, DebugLib, VS2019 debugger integration - — Fixing VS2019 Chinese encoding and compilation errors (C4819) — Except for Emulator/WinHost, provides QEMU + OVMF + virtual FAT Image Run Template - — After running, capture the target image at intervals and write a timestamped PNG for multimodal analysis — Automatically increases build number with each build, serial port and window output version, and compares after running expected_version.txt — monitor screendump captures memory snapshots (to avoid SDL window capture that causes screen blackout), sendkey injection key, forming a "image-action" closed loop, supporting unattended "compile-run-image-key-validate" cycle - UEFI Shell application development - Compiling and running EmulatorPkg emulator - GOP graphical programming - UEFI application debugging methods - Chinese encoding compilation errors - QEMU running UEFI Shell app - Using snapshot screenshots to analyze execution results - Preventing old versions from running after compilation failures - QEMU/SDL window screenshots are completely black (switch to monitor screendump) - Requires scripts to drive applications in QEMU (key injection, auto-start/operation) - Requires an unattended closed loop of "compile-run-image-key-validation." 1. Fork this repository 2. Create a feature branch (git checkout -b feature/amazing-feature) 3. Commit changes (git commit -m 'Add some amazing feature') 4. Push to branch (git push origin feature/amazing-feature) 5.

Overview (machine translated)

UEFI Shell application development skills based on EmulatorPkg, providing a complete development guide for Claude Code.

English | Chinese Simplified

Introduction

This skill provides Claude Code with a complete knowledge base for UEFI Shell application development, covering the entire process from environment setup to debugging and deployment. Supports dual-platform development environments for Windows (Visual Studio 2019) and Linux (GCC).

Features

  • Complete Workflow — A one-stop guide for environment setup, compilation, development, and debugging
  • Dual-Platform Support — Windows (VS2019) + Linux (GCC)
  • Code Templates — INF files, shell applications, GOP graphic application templates
  • Debugging Guide — Print output, DebugLib, VS2019 debugger integration
  • Chinese Support — Fixed VS2019 Chinese Encoding Compilation Error (C4819)
  • QEMU runtime path — Provides QEMU + OVMF + virtual FAT image runtime templates in addition to Emulator/WinHost
  • snapshot Auto Screenshot — After running, capture the target image at intervals and write a timestamped PNG for multimodal analysis
  • Version Conformance Check — Automatically increases build number with each build, outputs version via serial port and window, and compares after running expected_version.txt
  • Eyes and Hands (QMP Closed Loop) — monitor screendump capturing video memory snapshots (avoiding SDL window capture that always blacks out), sendkey injecting buttons to form a “view image-operate” closed loop, supporting unattended “compile-run-image-key-verify” cycle

Installation

Method 1: Copy directly

Copy SKILL.md to the Claude Code skill directory:

Method 2: Git Clone

Get Started Quickly

After installation, directly ask in Claude Code to trigger the skill:

Content Directory

Chapter Content
Environment setup VS2019/GCC environment configuration, EDK2 source code acquisition
Compiling and running the emulator target.txt Configuration, build command, WinHost/Host to run
Create Shell applications Directory structure, INF template, code template, GOP graphic template
Deploy to emulator Modify DSC/FDF files and compile deployment process
Compilation error handling Chinese encoding error solutions, warning suppression
Emulator Debugging Print Debugging, DebugLib, VS2019 Debugger
Common protocols and libraries GOP graphical protocol, SimpleTextIn input, memory allocation

This page was translated automatically. Technical details may differ from the original.

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add mikewuping/emulator-uefi-shell-app
New to MCP? Start with the mcpskill.org guide →