Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

pyside6-reviewerpyside6 审阅者

Agent Skill

pyside6-reviewer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,591

周安装

65

GitHub Stars

1

下载量

510
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pyside6-reviewer(pyside6 审阅者)
来源仓库:https://github.com/akiselev/qt-llm-template
仓库路径:skills/pyside6-reviewer
安装命令:
npx skills add https://github.com/akiselev/qt-llm-template --skill pyside6-reviewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akiselev/qt-llm-template --skill pyside6-reviewer

简介

pyside6-reviewer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理时使用。

  • 适用于前端设计相关项目,支持代码审查与协作流程管理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和是否触发联网操作。
  • 安装前建议核实仓库维护状态及是否会执行命令或读写文件,避免误改数据。
  • 可结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

PySide6 Code Reviewer

Expert code review for modern PySide6/Qt 6.8+ applications.

Review Process

  1. Identify Qt version assumptions — Verify code targets Qt 6.8+ (no Qt5 compat)
  2. Check thread safety — All GUI operations on main thread, proper worker patterns
  3. Validate signal/slot usage — Modern connection syntax, proper signatures
  4. Assess Model/View implementation — Role usage, data method patterns, index validity
  5. Review resource management — Parent-child ownership, prevent leaks
  6. Evaluate async patterns — QThread, QtConcurrent, asyncio integration
  7. Check QML integration — Property bindings, type registration, context exposure

Critical Anti-Patterns (Always Flag)

# WRONG: GUI operation from worker thread
class Worker(QThread):
    def run(self):
        self.label.setText("Done")  # CRASH: Cross-thread GUI access

# WRONG: Blocking the event loop
def on_button_click(self):
    time.sleep(5)  # FREEZES UI
    requests.get(url)  # FREEZES UI

# WRONG: Old-style signal connection (Qt4/5 legacy)
self.connect(button, SIGNAL("clicked()"), self.handler)

# WRONG: String-based slot connection
button.clicked.connect("self.handler")  # Should be callable

# WRONG: No parent = memory leak risk
label = QLabel("text")  # Should have parent or be assigned to layout

# WRONG: Deleting QObject while signals pending
obj.deleteLater()  # OK
del obj  # WRONG if signals/slots active

# WRONG: Direct widget manipulation in QThread.run()
class BadWorker(QThread):
    def run(self):
        self.progress_bar.setValue(50)  # Thread violation!

Modern Patterns (Require These)

Signal/Slot Connections

# Qt 6 style - always use this
button.clicked.connect(self.on_click)
button.clicked.connect(lambda: self.handler(arg))

# Typed signals with modern syntax
class Worker(QObject):
    progress = Signal(int)          # Single type
    result = Signal(str, list)      # Multiple types
    error = Signal(Exception)       # Exception passing
    finished = Signal()             # No arguments

Thread-Safe Worker Pattern

class Worker(QObject):
    finished = Signal()
    progress = Signal(int)
    result = Signal(object)
    error = Signal(str)

    @Slot()
    def run(self):
        try:
            for i in range(100):
                # Do work
                self.progress.emit(i)
            self.result.emit(data)
        except Exception as e:
            self.error.emit(str(e))
        finally:
            self.finished.emit()

# Usage
thread = QThread()
worker = Worker()
worker.moveToThread(thread)
thread.started.connect(worker.run)
worker.finished.connect(thread.quit)
worker.finished.connect(worker.deleteLater)
thread.finished.connect(thread.deleteLater)
thread.start()

Async Integration (Qt 6.8+)

import asyncio
from PySide6.QtAsyncio import QAsyncioEventLoopPolicy

# Set up asyncio with Qt event loop
asyncio.set_event_loop_policy(QAsyncioEventLoopPolicy())

class AsyncWidget(QWidget):
    async def fetch_data(self):
        async with aiohttp.ClientSession() as session:
            async with session.get(url) as response:
                return await response.json()

    def start_fetch(self):
        asyncio.ensure_future(self.fetch_data())

Detailed Reference Files

Review Checklist (Use for PRs)

Thread Safety

  • All widget/GUI calls on main thread only
  • Workers use signal/slot for UI updates
  • No time.sleep() or blocking calls in main thread
  • QThread subclass only overrides run(), not constructor work
  • moveToThread() used correctly (object has no parent)

Memory Management

  • Widgets have parents OR are added to layouts
  • deleteLater() used for QObjects, never del
  • Lambda connections don't capture stale references
  • Circular signal connections avoided
  • Model data returned by value, not reference

Signal/Slot Correctness

  • Modern connection syntax (no strings)
  • Signal signatures match slot signatures
  • @Slot() decorator on all slots
  • Qt.QueuedConnection for cross-thread signals
  • Signals defined as class attributes

Model/View

  • beginInsertRows()/endInsertRows() bracket changes
  • dataChanged emitted for updates
  • index.isValid() checked before access
  • Custom roles use Qt.UserRole + n
  • roleNames() override for QML compatibility

Performance

  • No widget creation in paint events
  • update() not repaint() for redraws
  • Large lists use QAbstractItemModel (not QListWidget)
  • Lazy loading for expensive data
  • blockSignals() during batch updates

Qt 6.8+ Specifics

  • Using new enum scoping (Qt.AlignmentFlag.AlignCenter)
  • QtAsyncio for async patterns (not third-party)
  • QML_ELEMENT macro equivalents for type registration
  • Property bindings via QProperty where appropriate
  • New QPermission API for platform permissions

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.12%
按下载量换算194

Claude

31.06%
按下载量换算158

Cursor

18.45%
按下载量换算94

Gemini CLI

9.13%
按下载量换算47

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills