ワンクリックで
gallery-mcp-tester
通过 MCP 工具测试 AuroraView Python API,发现设计缺陷和代码味道。 迭代式测试:启动服务 → 调用工具 → 发现问题 → 修复 → 重新测试。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
通过 MCP 工具测试 AuroraView Python API,发现设计缺陷和代码味道。 迭代式测试:启动服务 → 调用工具 → 发现问题 → 修复 → 重新测试。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Convert an existing Qt/PySide/PyQt desktop project (QWebEngineView-based UI, QMainWindow browsers, Qt DCC tools) into an AuroraView project so it ships a lighter, Rust-powered WebView and gets full MCP automation for free. Use this skill whenever the user asks to "migrate", "convert", "port" a Qt/PySide/PyQt app to AuroraView, or when they want MCP-controllable Qt tooling.
Integrates ProofShot visual proof recording with the self-improvement workflow. Use when: (1) E2E tests fail or detect visual regressions, (2) Agent needs to verify UI changes it made, (3) Running self-iteration loops (build → test → fix → retest), (4) Preparing PR proof artifacts for review.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
This skill teaches AI coding agents how to use vx - the universal development tool manager. Use this skill whenever the user's project uses vx (has vx.toml or .vx/ directory), or when the user mentions vx, tool version management, or cross-platform development setup. vx transparently manages Node.js, Python, Go, Rust, and 50+ other tools with zero-config.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
This skill produces an actionable architecture diagnosis report for a codebase. It guides the AI to scan the repository, map subsystem boundaries, identify design flaws with concrete evidence (files/functions), assess risks, and propose a phased refactor roadmap plus future extension scenarios. Use this skill when the team needs a "diagnosis report" to decide whether/how to refactor.
| name | gallery-mcp-tester |
| description | 通过 MCP 工具测试 AuroraView Python API,发现设计缺陷和代码味道。 迭代式测试:启动服务 → 调用工具 → 发现问题 → 修复 → 重新测试。 |
通过 MCP 工具测试 AuroraView Python API,发现设计缺陷和代码味道。
┌─────────────────────────────────────────────────────────────┐
│ 1. 用户手动启动: vx just gallery-mcp 27168 │
│ 2. AI 调用 auroraview-gallery MCP 工具进行测试 │
│ 3. 发现问题 → 在当前分支修复 │
│ 4. 重复测试直到所有问题解决 │
└─────────────────────────────────────────────────────────────┘
在终端中运行:
vx just gallery-mcp 27168
等待看到以下输出表示服务就绪:
[Python] MCP server listening on port 27168
| 工具名 | 描述 | 参数 |
|---|---|---|
api.get_samples | 获取所有示例列表 | 无 |
api.get_categories | 获取分类信息 | 无 |
api.get_mcp_info | 获取 MCP 服务器信息 | 无 |
api.get_source | 获取示例源代码 | sample_id: str |
api.run_sample | 运行示例 | sample_id, show_console?, use_channel? |
api.prepare_run_sample | 准备运行示例 | sample_id, show_console?, use_channel? |
api.kill_process | 终止进程 | pid: int |
api.list_processes | 列出运行中的进程 | 无 |
api.send_to_process | 发送数据到进程 | pid, data |
api.send_json_to_process | 发送 JSON 到进程 | pid, data |
api.launch_example_as_child | 作为子窗口启动示例 | sample_id, extra_env? |
api.close_child | 关闭子窗口 | child_id |
api.get_children | 获取所有子窗口 | 无 |
api.send_to_child | 发送事件到子窗口 | child_id, event, data |
api.broadcast_to_children | 广播事件 | event, data |
api.list_webview_extensions | 列出已安装扩展 | 无 |
api.install_to_webview | 安装扩展 | path, name? |
api.remove_webview_extension | 移除扩展 | id |
api.open_extensions_dir | 打开扩展目录 | 无 |
api.install_extension_from_url | 从 URL 安装扩展 | url |
api.start_extension_bridge | 启动扩展桥接 | 无 |
api.stop_extension_bridge | 停止扩展桥接 | 无 |
api.get_extension_status | 获取桥接状态 | 无 |
api.broadcast_to_extensions | 广播到扩展 | event, data |
api.install_extension | 安装浏览器扩展 | path, browser |
api.open_url | 打开 URL | url |
基础功能测试
api.get_samples - 验证返回格式api.get_categories - 验证分类结构api.get_mcp_info - 验证 MCP 信息源代码获取测试
api.get_source(sample_id="hello_world") - 验证源代码返回进程管理测试
api.list_processes - 验证进程列表api.run_sample(sample_id="hello_world") - 验证进程启动api.kill_process(pid=xxx) - 验证进程终止子窗口测试
api.get_children - 验证子窗口列表api.launch_example_as_child(sample_id="hello_world") - 验证子窗口启动扩展管理测试
api.list_webview_extensions - 验证扩展列表api.get_extension_status - 验证桥接状态{ok, data, error})## Issue: [简短描述]
**类型**: Bug / 设计缺陷 / 代码味道
**严重性**: High / Medium / Low
**文件**: [affected file]
**问题**: [详细描述]
**根因**: [分析]
**修复方案**: [解决方案]
python -c "import py_compile; py_compile.compile('path/to/file.py')"vx just gallery-mcp 27168
gallery/main.py - Gallery 主入口gallery/backend/ - API 实现
process_api.py - 进程管理child_api.py - 子窗口管理extension_api.py - 扩展管理webview_extension_api.py - WebView 扩展python/auroraview/core/ - 核心实现
mixins/api.py - bind_call 实现response.py - 响应工具所有 API 应返回标准格式:
# 成功
{"ok": True, "data": ...}
# 失败
{"ok": False, "error": "message"}
使用辅助函数:
from auroraview import ok, err
return ok({"key": "value"})
return err("Error message")